/* ============================
   Variablen & Grundeinstellungen
   ============================ */
:root {
  --bg: #0a0a0f;
  --bg-alt: #121218;
  --text: #f2f2f5;
  --text-muted: #a3a3b0;
  --accent: #ff5a36;
  --accent-2: #ffb347;
  --border: #232330;
  --radius: 14px;
  --max-width: 1100px;

  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Hanken Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  scroll-margin-top: 90px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

/* ============================
   Header
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.lang-switch {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
}

.lang-switch:hover {
  border-color: var(--accent);
}

.mobile-nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  text-align: center;
  padding: 140px 0 36px;
  background-image:
    linear-gradient(100deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.55) 35%, rgba(10, 10, 15, 0.15) 60%, rgba(10, 10, 15, 0.05) 85%),
    linear-gradient(0deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.7) 30%, rgba(10, 10, 15, 0.15) 60%, transparent 85%),
    url('../images/Hauptbild 2.JPG');
  background-size: cover, cover, cover;
  background-position: center, center, 55% 35%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 15px;
  height: 12px;
  margin-right: 9px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 12'%3E%3Crect x='0' y='4' width='3' height='8' rx='1'/%3E%3Crect x='6' y='0' width='3' height='12' rx='1'/%3E%3Crect x='12' y='3' width='3' height='9' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 12'%3E%3Crect x='0' y='4' width='3' height='8' rx='1'/%3E%3Crect x='6' y='0' width='3' height='12' rx='1'/%3E%3Crect x='12' y='3' width='3' height='9' rx='1'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-logo {
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
  width: clamp(280px, 34vw, 560px);
  height: auto;
}

.hero-kicker {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.hero-tagline {
  margin-top: 10px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--text-muted);
}

.hero-tagline a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(163, 163, 176, 0.4);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.hero-tagline a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.hero-tagline-sep {
  display: inline-block;
  margin: 0 10px;
}

.hero-meta {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-meta-sep {
  display: inline-block;
  margin: 0 14px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================
   Über mich
   ============================ */
.about {
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 20px;
}

.about-text p:not(.section-eyebrow) {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================
   Placeholder-Boxen (für spätere Fotos)
   ============================ */
.placeholder-box {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 24px;
}

/* ============================
   Leistungen
   ============================ */
.services {
  padding: 100px 0;
}

.services .section-eyebrow {
  margin-bottom: 56px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-video-card {
  width: min(320px, 80vw);
  scroll-margin-top: 90px;
}

.video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 32px 56px 20px 18px;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.8) 45%, rgba(10, 10, 15, 0) 100%);
}

.video-caption h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.video-caption p {
  color: rgba(242, 242, 245, 0.82);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ============================
   Showcase (Video)
   ============================ */
.showcase {
  padding: 100px 0;
  background: var(--bg-alt);
}

.showcase h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 640px;
  margin: 0 auto;
}

.showcase-text {
  color: var(--text-muted);
  max-width: 480px;
  margin: 20px auto 0;
}

.showcase-video {
  position: relative;
  width: min(320px, 70vw);
  aspect-ratio: 9 / 16;
  margin: 48px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.showcase-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sound-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  background: rgba(10, 10, 15, 0.8);
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
}

.sound-toggle .icon-on {
  display: none;
}

.sound-toggle.is-unmuted .icon-off {
  display: none;
}

.sound-toggle.is-unmuted .icon-on {
  display: block;
}

/* ============================
   Video-Karten (Leistungen)
   ============================ */
.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================
   Referenzen
   ============================ */
.references {
  padding: 100px 0;
  background: var(--bg-alt);
}

.references .section-eyebrow {
  margin-bottom: 48px;
}

.reference-wall {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  line-height: 2.6;
}

.ref-name {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.ref-name:not(:last-child)::after {
  content: '\00b7';
  display: inline-block;
  margin: 0 16px;
  color: var(--border);
}

.ref-name--big {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

/* ============================
   Testimonial
   ============================ */
.testimonial {
  padding: 80px 0;
}

.testimonial .section-eyebrow {
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  gap: 24px;
}

.testimonial-card {
  margin: 0;
}

.testimonial-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.testimonial-card figcaption {
  margin-top: 16px;
  text-align: center;
  color: var(--text);
  font-weight: 600;
}

/* ============================
   Kontakt
   ============================ */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.contact .container {
  width: 100%;
}

.contact-alt {
  background: var(--bg-alt);
}

.contact-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 640px;
  margin: 0 auto;
}

.contact-text {
  color: var(--text-muted);
  max-width: 480px;
  margin: 20px auto 0;
}

.contact-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 28px;
}

.social-links a,
.social-links button {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.social-links a:hover,
.social-links button:hover {
  color: var(--accent);
}

.share-btn {
  display: none;
}

/* ============================
   Footer
   ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text);
}

/* ============================
   Rechtstexte (Impressum/Datenschutz)
   ============================ */
.legal {
  padding: 160px 0 100px;
}

.legal h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.legal .legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
}

.legal .back-link {
  display: inline-block;
  margin-top: 48px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.legal .back-link:hover {
  color: var(--accent);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 860px) {
  .hero {
    min-height: calc(100vh - 76px); /* Fallback für Browser ohne svh-Unterstützung, minus Sticky-Header */
    min-height: calc(100svh - 76px); /* berücksichtigt ein-/ausblendende Adressleiste auf echten Handys, minus Sticky-Header */
    padding-bottom: 30px;
    background-image:
      linear-gradient(0deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.55) 55%, rgba(10, 10, 15, 0.35) 100%),
      url('../images/Hauptbild 2.JPG');
    background-size: cover, cover;
    background-position: center, 40% 30%;
    background-repeat: no-repeat, no-repeat;
  }

  .hero-logo {
    top: 10%;
  }

  .hero-kicker {
    margin-top: 14px;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-top: 8px;
  }

  .hero-tagline-sep {
    margin: 0 6px;
  }

  .hero-meta {
    font-size: 0.7rem;
    margin-top: 10px;
  }

  .hero-meta-sep {
    margin: 0 8px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-image {
    aspect-ratio: 4 / 5;
  }

  .services .section-eyebrow {
    margin-bottom: 28px;
  }

  .services-grid {
    gap: 32px;
  }

  .references .section-eyebrow {
    margin-bottom: 28px;
  }

  .reference-wall {
    line-height: 2.3;
  }

  .ref-name {
    font-size: 0.92rem;
  }

  .ref-name:not(:last-child)::after {
    margin: 0 10px;
  }

  .ref-name--big {
    font-size: 1.15rem;
  }

  .testimonial-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial-image {
    aspect-ratio: 16 / 9;
    max-width: 320px;
    margin: 0 auto;
  }

  .testimonial blockquote p {
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .main-nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .share-btn {
    display: inline;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
  }

  .main-nav.open .lang-switch {
    align-self: flex-start;
  }

  .main-nav.open .mobile-nav-cta {
    display: inline-block;
    margin-top: 4px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    font-weight: 600;
    text-align: center;
  }

  .hero {
    padding: 110px 0 27px;
  }

  .about,
  .services,
  .showcase,
  .references,
  .contact {
    padding: 72px 0;
  }
}
