/* =========================================================
   Tanja Martens – "Welle / Eintauchen"
   Scroll-gesteuertes Vollseiten-Video als Hintergrund.
   Farbwelt aus ihrem Logo: sanftes Türkis.
   Stack: statisch HTML/CSS/JS · GSAP · Swiper
   ========================================================= */

:root {
  /* Markenfarben (aus Logo/Welle) */
  --turq:     #7FB9C8;   /* Logo-Türkis (Welle) */
  --turq-dk:  #3B8294;   /* dunkleres Türkis – Buttons/Akzent */
  --turq-deep:#1F5A68;
  --ink:      #26393F;   /* dunkler Text (heller Bereich oben) */
  --ink-soft: #4A5C63;
  --cream:    #F3EEE2;   /* heller Text (Tiefe) */
  --white:    #FFFFFF;
  --abyss:    #0B2730;   /* Sicherheits-Hintergrund (Tiefe) */

  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-name: "Cormorant Garamond", Georgia, serif;   /* Name im Hero */
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--cream);
  background: var(--abyss);          /* fällt nie auf weiß zurück */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; }
p { margin: 0 0 1.1rem; }
a { color: inherit; }

/* =========================================================
   FIXIERTES HINTERGRUND-VIDEO
   ========================================================= */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--abyss);
}
.bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* füllt die ganze Fläche – überall Welle/Wasser */
  object-position: center 18%;  /* Start: Ausschnitt auf die Welle oben (per JS beim Scrollen nach unten) */
  filter: saturate(1.07) contrast(1.05);  /* etwas knackiger (echte Schärfe = höher aufgelöstes Video) */
}
/* Tiefe-Verdunkelung: unten dunkler; Gesamt-Stärke wächst per JS beim Scrollen */
.bg__darken {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;                 /* wird per JS nach Scroll-Tiefe gesetzt */
  background: linear-gradient(180deg,
    rgba(5,22,30,0) 0%,
    rgba(4,16,22,0.45) 45%,
    rgba(2,10,15,0.94) 100%);
}

/* =========================================================
   HILFSKLASSEN
   ========================================================= */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

/* Sektionen großzügig hoch -> langer, gestreckter Tauchgang
   (zusammen ergeben sie ca. 4–5 Bildschirmhöhen Scroll) */
.section {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: clamp(5rem, 12vh, 9rem) 0;
}

/* Weiche Scrims hinter Textblöcken (kein hartes Kästchen) */
.scrim { position: relative; isolation: isolate; width: 100%; }
.scrim::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.scrim--light::before { background: radial-gradient(ellipse at center, rgba(243,238,226,0.74), rgba(243,238,226,0) 72%); }
.scrim--dark::before  { background: radial-gradient(ellipse at center, rgba(11,39,48,0.55), rgba(11,39,48,0) 74%); }
.scrim--deep::before  { background: radial-gradient(ellipse at center, rgba(11,39,48,0.80), rgba(11,39,48,0.15) 80%); }

.kicker {
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 600; margin: 0 0 1.1rem;
}

/* ---------- Skip-Link / Fokus ---------- */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  background: var(--turq-deep); color: var(--cream); padding: 0.7rem 1.1rem;
  border-radius: 10px; text-decoration: none; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--turq-dk); outline-offset: 3px; border-radius: 6px; }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.12); z-index: 200; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--turq), var(--cream)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 1rem 2rem; border-radius: 999px; text-decoration: none;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn--primary { background: var(--turq-dk); color: #fff; box-shadow: 0 16px 32px -16px rgba(59,130,148,0.85); }
.btn--primary:hover { transform: translateY(-3px); background: var(--turq-deep); box-shadow: 0 22px 40px -16px rgba(31,90,104,0.9); }

/* =========================================================
   NAVIGATION (Logo beibehalten)
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(11,39,48,0.4);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); line-height: 1.15; }
/* Logo-Slot: hier kommt später Tanjas echtes Logo (Bild) rein */
.brandmark { width: 52px; height: 52px; flex-shrink: 0; }
.nav__brand-name { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.nav__brand-sub { display: block; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.nav__logo { height: 60px; width: auto; display: block; }
.nav.is-scrolled .nav__logo { height: 52px; transition: height 0.5s var(--ease); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.96rem; position: relative; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--turq-dk); transition: width 0.35s var(--ease); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { background: var(--turq-dk); color: #fff !important; padding: 0.5rem 1.2rem; border-radius: 999px; font-weight: 600; transition: transform 0.35s var(--ease), background 0.35s var(--ease); }
.nav__cta:hover { transform: translateY(-2px); background: var(--turq-deep); }

/* Hamburger-Knopf: nur auf dem Handy sichtbar (Desktop = ausgeblendet) */
.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav__toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   1) HERO – die Oberfläche (heller Bereich, dunkler Text)
   ========================================================= */
.hero {
  min-height: 100svh;
  flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center;
  /* Name sitzt in der Welle – plus 2 cm tiefer (auf Kundenwunsch) */
  padding: calc(clamp(30vh, 34vh, 38vh) + 2cm) 1.25rem 5rem;
  color: var(--ink);
}
.hero__name {
  font-family: var(--font-name);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: 0.01em; line-height: 1; color: var(--ink);
}
.hero__role {
  font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft); margin: 1rem 0 0;
}
.hero__claim {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 1.9rem);
  font-weight: 300; font-style: italic;
  color: var(--ink); margin: 1.4rem auto 0; max-width: 34ch;
}

/* Scroll-Indikator */
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__scroll-arrow {
  width: 26px; height: 42px; border: 1.5px solid rgba(38,57,63,0.5);
  border-radius: 999px; position: relative;
}
.hero__scroll-arrow::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px;
  background: var(--ink-soft); border-radius: 999px; transform: translateX(-50%);
  animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  70% { opacity: 0; transform: translate(-50%, 16px); }
  100% { opacity: 0; }
}

/* =========================================================
   2) LEITBILD – knapp unter der Wasserlinie
   ========================================================= */
.leitbild { text-align: center; }
.leitbild__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 4.6vw, 3rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
}
.leitbild__text .word { display: inline-block; will-change: transform, opacity; }
.leitbild__text em { font-style: normal; color: var(--turq-dk); }

/* =========================================================
   3) CLAIM – mittlere Tiefe (Blur-Reveal)
   ========================================================= */
.claim { text-align: center; }
.claim__text {
  font-family: var(--font-display);
  font-weight: 300; font-style: italic;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  line-height: 1.25;
  color: var(--cream);
  max-width: 20ch; margin: 0 auto;
  will-change: filter, opacity;
}

/* =========================================================
   4) WAS DICH ERWARTET – schwebende Glas-Karten
   ========================================================= */
.erwartet { flex-direction: column; }
.erwartet__head { text-align: center; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.erwartet__head .kicker { color: var(--turq); }
.erwartet__title { font-size: clamp(1.9rem, 4.4vw, 2.8rem); color: var(--cream); }

.glass {
  background: rgba(243,238,226,0.10);
  border: 1px solid rgba(243,238,226,0.30);
  border-radius: 22px;
  padding: 2.2rem 1.9rem;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 30px 60px -34px rgba(11,39,48,0.7);
  color: var(--cream);
  height: 100%;
}
.glass__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(243,238,226,0.45);
  font-family: var(--font-display); font-size: 1.1rem; color: var(--cream);
  margin-bottom: 1.2rem;
}
.glass__title { font-size: 1.4rem; color: var(--white); margin-bottom: 0.6rem; }
.glass p { color: rgba(243,238,226,0.88); margin: 0; }

.erwartet .swiper { overflow: visible; width: 100%; }
.erwartet .swiper-wrapper { align-items: stretch; }
.erwartet .swiper-slide { height: auto; }
.erwartet .swiper-pagination { position: static; margin-top: 1.6rem; }
.erwartet .swiper-pagination-bullet { background: var(--cream); opacity: 0.4; }
.erwartet .swiper-pagination-bullet-active { background: var(--turq); opacity: 1; }

/* Klickbare Bereich-Karten */
.glass--link { display: block; text-decoration: none; transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease); }
.glass--link:hover { transform: translateY(-5px); background: rgba(243,238,226,0.16); border-color: rgba(243,238,226,0.55); }
.glass__more { display: inline-block; margin-top: 1rem; color: var(--turq); font-weight: 600; font-size: .92rem; }

/* =========================================================
   ÜBER-MICH-TEASER auf der Startseite
   ========================================================= */
.home-about__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 780px) { .home-about__grid { grid-template-columns: 0.7fr 1.3fr; text-align: left; } }
.home-about__photo { width: 100%; max-width: 320px; margin: 0 auto; border-radius: 18px; border: 1px solid rgba(243,238,226,0.3); box-shadow: 0 34px 64px -30px rgba(0,0,0,0.6); }
.home-about .kicker { color: var(--turq); }
.home-about__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--white); margin-bottom: .8rem; }
.home-about__text p { color: rgba(243,238,226,0.9); margin-bottom: 1.6rem; }

/* =========================================================
   5) KONTAKT / CTA – tiefste Tiefe
   ========================================================= */
.kontakt { text-align: center; padding-bottom: clamp(6rem, 16vh, 12rem); }
.kontakt .kicker { color: var(--turq); }
.kontakt__title { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); }
.kontakt__text { color: rgba(243,238,226,0.92); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 46ch; margin: 1.2rem auto 2.4rem; }
.kontakt__data { color: rgba(243,238,226,0.82); font-size: 0.95rem; margin-top: 2rem; }
.kontakt__data .ph { color: rgba(243,238,226,0.55); font-style: italic; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 3rem 0 2.5rem; color: rgba(243,238,226,0.7); font-size: 0.85rem; text-align: center; }
.footer a { color: rgba(243,238,226,0.85); text-decoration: none; }
.footer a:hover { color: var(--turq); }
.footer__links { display: flex; gap: 1.4rem; justify-content: center; margin: 0.8rem 0 1.4rem; }
.footer .ph { opacity: 0.55; }
.footer__legal { max-width: 60ch; margin: 0 auto 0.8rem; line-height: 1.6; opacity: 0.8; }

/* ---------- Reveal-Grundzustand ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------- Intro „Wellenschlag" ----------
   Während des Intros: Scroll gesperrt, Hero ausgeblendet -> blendet danach sanft ein */
.hero__inner { transition: opacity 1.4s ease; }
.hero__scroll { transition: opacity 1s ease; }
body.intro-active { overflow: hidden; height: 100vh; }
body.intro-active .hero__inner,
body.intro-active .hero__scroll { opacity: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 760px) {
  .nav__logo, .nav.is-scrolled .nav__logo { height: 46px; }
  .nav__toggle { display: flex; }
  /* Menü klappt als Panel unter der Leiste auf */
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.4rem clamp(1.25rem, 4vw, 3rem) 1.3rem;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 22px 34px -22px rgba(11,39,48,0.5);
    opacity: 0; transform: translateY(-12px); pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 0.95rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(11,39,48,0.08); }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: 0.9rem; padding: 0.85rem; border-bottom: 0; }
  .section { min-height: 88vh; padding: clamp(4rem, 12vh, 7rem) 0; }
}

/* =========================================================
   BARRIEREFREIHEIT: Bewegung reduzieren
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .leitbild__text .word { opacity: 1 !important; transform: none !important; }
  .claim__text { opacity: 1 !important; filter: none !important; }
  .hero__scroll-arrow::after { animation: none; }
}
