/* ============================================================
   NAVELLI COACHING — Main Stylesheet
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Custom properties --- */
:root {
  --cream:  hsl(52,  60%, 95%);
  --yellow: hsl(50,  98%, 64%);
  --blue:   hsl(193, 100%, 84%);
  --green:  hsl(76,  70%, 66%);
  --navy:   hsl(212, 44%, 31%);

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Nunito Sans', sans-serif;
  --font-display: 'Acme', sans-serif;

  --gutter: 80px;
}

/* --- Base --- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy);
  background: #fff;
  padding-top: 120px;
}

img {
  max-width: 100%;
  height: auto;       /* respect aspect ratio; stops width/height attrs forcing a fixed height */
  display: block;
}

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  height: 120px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;        /* keep multi-word items like "Über mich" on one line */
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

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

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.nav-lang {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--navy);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--navy);
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}

.nav-lang:hover {
  background: var(--navy);
  color: #fff;
}

.btn-primary {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;   /* 700 is what the browser already rendered (no 600 file loaded) */
  text-decoration: none;
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: hsl(50, 98%, 56%);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 0 var(--gutter);
  min-height: 84vh;
  overflow: hidden;
  background: var(--cream);
}

/* Full-bleed photo behind everything */
.hero-img-col {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 6%;
}

/* Blue + green boxes overlaid on the left, anchored to the bottom */
.hero-overlay {
  position: relative;
  z-index: 1;
  width: 46%;
  display: flex;
  flex-direction: column;
}

.hero-blue {
  background: var(--blue);
  padding: 8rem 3rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.75vw, 4rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--navy);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--navy);
}

.hero-green {
  background: var(--green);
  padding: 6rem 3rem;
}

.hero-green p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy);
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 0.25rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  flex-direction: column;
  padding: 0 2rem 2.5rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  flex-shrink: 0;
}

.mobile-nav-header img {
  height: 70px;
  width: auto;
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  color: var(--navy);
}

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--navy);
  text-decoration: none;
}

.mobile-nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.mobile-nav-lang {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.mobile-nav-lang:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-cta {
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
}

/* ============================================================
   GEMEINSAM ERREICHEN WIR DEIN ZIEL (sec 13)
   ============================================================ */

.ziel {
  background: #fff;
  padding-top: 5rem;
}

/* Row inset by the gutter (like the hero); the divider below stays full-bleed */
.ziel-row {
  margin: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2.2fr 1fr;
}

.ziel-img-col {
  overflow: hidden;
}

.ziel-img {
  width: 100%;
  height: 100%;                  /* outranks the global img{height:auto}; fills the row */
  object-fit: cover;
}

.ziel-text {
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}

.ziel-text h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy);
  text-align: center;
}

.ziel .wave-divider {
  margin-top: 3.5rem;
}

/* ============================================================
   MEDIUM SCREENS
   ============================================================ */

@media (max-width: 1280px) {
  .hero-blue {
    padding: 5rem 2.5rem 4rem;
  }

  .hero-green {
    padding: 3.5rem 2.5rem;
  }
}

/* ============================================================
   MOBILE STYLES
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --gutter: 0px;
  }

  body {
    padding-top: 90px;
  }

  /* Nav */
  .site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 1.5rem;
  }

  .nav-links,
  .nav-end > .btn-primary,
  .nav-end > .nav-lang {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-logo img {
    height: 80px;
  }

  /* Hero — stack image above the boxes (no overlay on small screens) */
  .hero {
    position: static;
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-img-col {
    position: static;
    order: -1;
    height: 56vw;
  }

  .hero-img {
    object-position: center top;
  }

  .hero-overlay {
    width: 100%;
  }

  .hero-blue {
    padding: 3.5rem 1.75rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: 0.03em;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-green {
    padding: 3.5rem 1.75rem;
  }

  .hero-green p {
    font-size: 1.125rem;
  }

  /* Ziel — stack image above the green text box */
  .ziel-row {
    grid-template-columns: 1fr;
  }

  .ziel-img {
    height: auto;                /* full natural aspect when full-width */
  }

  .ziel-text {
    padding: 3rem 1.75rem;
  }
}

/* ============================================================
   PAIN POINTS — "Kennst du das auch?"
   ============================================================ */

.wave-divider {
  display: block;
  width: 100%;
  height: 90px;                  /* matches --bevel-depth so the chevron angle is identical */
  overflow: visible;             /* let the 2.5px stroke at the corners show, uncropped */
}

.wave-path {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.5;
  stroke-dasharray: 12 9;         /* dash, then gap */
  vector-effect: non-scaling-stroke;
}

.pain-points {
  background: #fff;
}

.pain-points-inner {
  padding: 5rem calc(var(--gutter) + 5rem) 6rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 3.375rem;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 3rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pain-card {
  background: var(--cream);
  padding: 3.5rem 2.5rem;
}

.pain-card-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-style: wavy;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  margin-bottom: 1.25rem;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pain-list li {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: hsl(212, 20%, 44%);   /* 44% keeps ~4.87:1 on cream — passes WCAG AA (4.5:1) */
  padding-left: 1.5rem;
  position: relative;
}

.pain-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.pain-card--quotes {
  background: #fff;
  border: 2px dashed var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

.pain-card--quotes p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--navy);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .pain-points-inner {
    padding: 3rem 3rem 4rem;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   KURZ GESAGT
   ============================================================ */

.kurz-gesagt {
  background: #fff;
  /* The preceding pain-points section is also white and already supplies the
     gap above; pad only the bottom so the space above and below stays even. */
  padding: 0 var(--gutter) 6rem;
}

.kurz-gesagt-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kurz-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
}

.kurz-body {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.7;
}

/* ============================================================
   STELL DIR VOR
   ============================================================ */

.stell-dir-vor {
  background: var(--cream);
  padding: 5rem var(--gutter) 6rem;
}

.stell-dir-vor-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.section-icon {
  width: 100px;
  height: auto;
}

.stell-heading {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
}

.green-tag {
  display: inline-block;
  background: var(--green);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
}

.stell-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.stell-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy);
}

.du-fragst-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .kurz-gesagt {
    padding: 0 2rem 4rem;
  }

  .stell-dir-vor {
    padding: 3.5rem 2rem 4rem;
  }
}

/* ============================================================
   LERNCOACHING — cream card on green, beveled top edge
   ============================================================ */

.lerncoaching {
  --bevel-depth: 90px;          /* how far the cream chevron dips into the green */
  --bevel-vertex: 30%;          /* horizontal position of the lowest point */
  position: relative;
  background: var(--green);
  padding: calc(var(--bevel-depth) + 5rem) var(--gutter) 6rem;
}

/* Decorative cream chevron forming the bevel; sits over the green top edge and
   meets the cream section above seamlessly (same colour, flush boundary). */
.lerncoaching::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bevel-depth);
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, var(--bevel-vertex) 100%, 0 18px);
}

.lern-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lern-card-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.lern-card p {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(212, 22%, 45%);
}

.lern-card strong {
  font-weight: 700;
  color: var(--navy);
}

.lern-card-italic {
  font-style: italic;
}

.lern-card-icon {
  align-self: center;
  width: 120px;
  height: auto;
  margin: 1.5rem 0;
}

@media (max-width: 1024px) {
  .lerncoaching {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .lern-card {
    padding: 2.5rem 1.75rem;
  }
}

/* ============================================================
   SCHWERPUNKTE — 2×3 sky-blue card grid + gutter icons
   ============================================================ */

.schwerpunkte {
  background: #fff;
  padding: 5rem 1.5rem 6rem;
  scroll-margin-top: 140px;        /* clear the fixed 120px header on anchor jumps */
}

/* Fluid grid: ~⅔ width so the side margins (and the icons in them) scale with
   the viewport instead of vanishing on mid-size screens. */
.sp-grid-wrap {
  position: relative;              /* positioning context for the gutter icons */
  width: 66%;
  max-width: 1100px;
  margin: 0 auto;
}

.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sp-card {
  background: var(--blue);
  padding: 3rem 2.75rem;
}

.sp-card-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.sp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sp-list li {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: hsl(212, 22%, 40%);       /* 40% → 4.7:1 on sky-blue (cream's 44% would fail here) */
  padding-left: 1.5rem;
  position: relative;
}

.sp-list li::before {
  content: '·';
  position: absolute;
  left: 0.25rem;
  line-height: 1.5;
}

.sp-list em {
  font-style: italic;
}

/* Decorative icons sitting in the fluid side margins. Offsets are a % of the
   grid width, so they track the margins at every size and never overflow. */
.sp-icon {
  position: absolute;
  width: 96px;
  height: auto;
}

.sp-icon--1 { top: 2%;  right: -22%; }   /* rocket  */
.sp-icon--2 { top: 26%; left:  -22%; }   /* focus   */
.sp-icon--3 { top: 42%; right: -22%; }   /* heart   */
.sp-icon--4 { top: 64%; left:  -22%; }   /* lion    */
.sp-icon--5 { top: 71%; right: -22%; }   /* report  */

/* Single centred icon — only when the grid stacks to one column */
.sp-icon-narrow {
  display: none;
}

.btn-outline {
  display: block;
  width: max-content;
  max-width: 100%;           /* never exceed the container — long labels wrap instead of overflowing */
  margin: 3rem auto 0;
  padding: 1.1rem 3rem;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy);
  color: #fff;
}

/* Stack to one column on tablet-portrait and below. We deliberately stack
   earlier than the original (which stays 2-col here): at <900px the cards get
   too narrow for the long German headings/bullets, so full-width is far more
   readable. Still below the 1024px nav breakpoint, so ~959px keeps 2 columns. */
@media (max-width: 900px) {
  .schwerpunkte {
    padding: 3.5rem 1.5rem 4rem;
  }

  .sp-grid-wrap {
    width: auto;
  }

  .sp-grid {
    grid-template-columns: 1fr;
  }

  .sp-card {
    padding: 2.5rem 1.75rem;
  }

  .sp-icon {
    display: none;            /* no side margins left — swap for the centred icon */
  }

  .sp-icon-narrow {
    display: block;
    width: 96px;
    height: auto;
    margin: 2.5rem auto 0;
  }
}

/* ============================================================
   HALLO, ICH BIN NATHALIE — teaser (cream box, text + circle photo)
   ============================================================ */

.nathalie {
  background: var(--cream);
  margin: 0 var(--gutter) 5rem;
  padding: 4.5rem 5rem;
}

.nathalie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "text photo"
    "text button";
  column-gap: 4rem;
  row-gap: 2.5rem;
  align-items: center;
}

.nathalie-text   { grid-area: text; }
.nathalie-photo  { grid-area: photo; justify-self: center; }
.nathalie-inner .btn-outline { grid-area: button; justify-self: center; margin: 0; }

.nathalie-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

.nathalie-text p {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(212, 22%, 45%);       /* 4.7:1 on cream */
  margin-bottom: 1.25rem;
}

.nathalie-text p:last-child {
  margin-bottom: 0;
}

/* Brand-yellow text highlight; clone so it wraps line-by-line if it breaks */
.nathalie-text mark,
.ueber-intro mark {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 0.15em 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Square crop of the portrait → circle, no distortion */
.nathalie-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 30%;        /* bias up to keep the face centred */
  border-radius: 50%;
}

@media (max-width: 900px) {
  .nathalie {
    margin: 0 0 3rem;
    padding: 3rem 1.75rem;
  }

  .nathalie-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "text"
      "button";
    row-gap: 2rem;
  }
}

/* ============================================================
   ANGEBOTE — intro + 3 offer cards (colour-banded) + price notes
   ============================================================ */

.angebote {
  background: #fff;
  padding: 2.5rem 1.5rem 6rem;
  scroll-margin-top: 140px;        /* clear the fixed 120px header on anchor jumps */
}

.angebote .section-heading {
  margin-bottom: 1.25rem;          /* tighter than default — the intro follows */
}

.angebote-intro {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(212, 22%, 40%);       /* 7:1 on white */
  text-align: center;
  max-width: 880px;
  margin: 0 auto 3.5rem;
}

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;            /* all three cards share the tallest one's height */
}

/* Each card carries its own accent via --accent; head fill + border share it. */
.angebot-card {
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
}

.angebot-card--kickstart { --accent: var(--green); }
.angebot-card--nextlevel { --accent: var(--yellow); }
.angebot-card--staycool  { --accent: var(--blue); }

.angebot-head {
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
}

.angebot-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
}

.angebot-icon {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

.angebot-body {
  flex: 1;
  padding: 2rem 1.75rem;
}

.angebot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.angebot-list li {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(212, 22%, 40%);
  padding-left: 1.25rem;
  position: relative;
}

.angebot-list li::before {
  content: '·';
  position: absolute;
  left: 0.25rem;
}

.angebot-price {
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.25rem;
}

.angebote-notes {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.angebote-notes p {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: hsl(212, 22%, 40%);
}

@media (max-width: 900px) {
  .angebote {
    padding: 3.5rem 1.5rem 4rem;
  }

  .angebote-grid,
  .angebote-notes {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ============================================================
   PROZESS — "Bereit für eine Veränderung?" 4 process steps
   ============================================================ */

.prozess {
  background: var(--cream);
  /* max() keeps the 80px desktop gutter but never drops below 1.5rem once
     --gutter collapses to 0 on mobile (avoids edge-to-edge text). */
  padding: 5rem max(1.5rem, var(--gutter)) 6rem;
}

.prozess-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.prozess-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 3.5rem;
}

.prozess-grid {
  display: grid;
  /* minmax(0,…) so a nowrap label can't force the tracks wider than the row */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
}

.prozess-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.prozess-icon {
  width: 80px;
  height: auto;
}

.prozess-step-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;             /* one line on the 4-up layout (matches original); the
                                      label may overflow its narrow column into the gutter */
}

/* Green marker highlight behind the label; clone so it wraps line-by-line */
.prozess-step-label .hl {
  background: var(--green);
  color: var(--navy);
  padding: 0.1em 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.prozess-step p {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(212, 22%, 45%);       /* 4.7:1 on cream */
}

/* The 4-up row needs a wide canvas for the single-line labels. Below ~1300px
   the columns get too narrow and the long 4th label ("Mehr Zufriedenheit …")
   would overrun its neighbour — so drop to a 2×2 grid and let labels wrap. */
@media (max-width: 1300px) {
  .prozess-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
  }

  .prozess-step-label {
    white-space: normal;
  }
}

/* Below the nav breakpoint --gutter collapses to 0 — restore side padding and
   trim the heading for small screens. */
@media (max-width: 1024px) {
  .prozess {
    padding: 3.5rem 1.5rem 4rem;
  }

  .prozess-heading {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 560px) {
  .prozess-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ÜBER MICH — full-bleed portrait (like the hero), with the
   yellow tag + cream + blue boxes overlaid on the left half
   ============================================================ */

.ueber-mich {
  position: relative;
  margin: 5rem var(--gutter);       /* inset like the hero + vertical gap from neighbours */
  overflow: hidden;
  background: var(--cream);
  scroll-margin-top: 140px;         /* clear the fixed 120px header on anchor jumps */
}

/* Full-bleed photo behind everything (the in-flow overlay drives the height) */
.ueber-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;         /* keep her face in the visible band */
}

/* Boxes overlaid on the left; the photo shows through the gaps between them */
.ueber-overlay {
  position: relative;
  z-index: 1;                       /* lift above the later-painted absolute photo */
  width: 52%;
  display: flex;
  flex-direction: column;
  padding: 3rem 2.5rem 3rem 3.5rem;
}

/* Yellow label tucked over the top-left corner of the cream box */
.ueber-tag {
  position: relative;
  z-index: 1;                       /* stay above the cream box it overlaps */
  align-self: flex-start;
  margin-bottom: -1.25rem;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
}

.ueber-intro {
  background: var(--cream);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2rem;
}

.ueber-intro p {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(212, 22%, 45%);        /* 4.7:1 on cream */
}

.ueber-intro p + p {
  margin-top: 1.25rem;
}

.ueber-credentials {
  background: var(--blue);
  padding: 2.25rem 2.5rem;
}

.ueber-credentials-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.ueber-credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ueber-credentials-list li {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(212, 22%, 40%);        /* 4.7:1 on sky-blue */
  padding-left: 1.5rem;
  position: relative;
}

.ueber-credentials-list li::before {
  content: '·';
  position: absolute;
  left: 0.25rem;
}

/* Stack like the hero once the gutter collapses: photo on top, boxes below */
@media (max-width: 1024px) {
  .ueber-mich {
    display: flex;
    flex-direction: column;
  }

  .ueber-photo {
    position: static;
    order: -1;
    height: 60vw;
    max-height: 440px;
    object-position: center 22%;
  }

  .ueber-overlay {
    width: 100%;
    padding: 2.5rem 1.5rem 3.5rem;
  }
}

/* ============================================================
   FAQ — "Die häufigsten Fragen" native <details> accordion
   ============================================================ */

.faq {
  background: var(--cream);
  /* max() keeps the 80px desktop gutter but never drops below 1.5rem on mobile */
  padding: 5rem max(1.5rem, var(--gutter)) 6rem;
}

.faq-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 2.5rem;
}

/* Top hairline closes off the list above the first row */
.faq-list {
  border-top: 1px solid hsl(212, 25%, 82%);
}

.faq-item {
  border-bottom: 1px solid hsl(212, 25%, 82%);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--navy);
  list-style: none;                 /* hide the default disclosure triangle */
}

.faq-question::-webkit-details-marker {
  display: none;                    /* Safari */
}

.faq-question:hover {
  color: hsl(212, 44%, 24%);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0.25rem 1.6rem;
}

.faq-answer p {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(212, 22%, 45%);        /* 4.7:1 on cream */
}

.faq-answer p + p {
  margin-top: 0.4rem;
}

.faq-answer strong {
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 1024px) {
  .faq {
    padding: 3.5rem 1.5rem 4rem;
  }

  .faq-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* ============================================================
   KONTAKT (sec 14) — intro + bordered form, brand boat alongside
   ============================================================ */

.kontakt {
  background: #fff;
  padding-top: 5rem;                /* breathing room below the wave divider */
  scroll-margin-top: 140px;         /* clear the fixed 120px header on anchor jumps */
}

.kontakt-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 max(1.5rem, var(--gutter)) 5rem;
}

.kontakt-heading {
  font-family: var(--font-display);
  font-size: 3.375rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.kontakt-intro {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(212, 22%, 45%);        /* muted navy, 4.7:1 on white */
  max-width: 60rem;
  margin-bottom: 3.5rem;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 6rem;
  align-items: center;
}

.kontakt-subheading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 2.5rem 2.25rem 3rem;
}

.kontakt-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;                     /* let the fieldset shrink inside the grid */
}

.kontakt-legend {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
  padding: 0;
  margin-bottom: 1.25rem;
}

.kontakt-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.kontakt-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.kontakt-field label {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--navy);
}

.kontakt-req {
  font-weight: 400;
  color: hsl(212, 18%, 55%);        /* muted "(erforderlich)" hint */
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.85rem 1rem;
}

.kontakt-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.kontakt-form input:focus-visible,
.kontakt-form textarea:focus-visible {
  outline: none;
  border-color: var(--navy);
}

.kontakt-submit {
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.9rem 2.75rem;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.kontakt-submit:hover,
.kontakt-submit:focus-visible {
  background: var(--navy);
  color: #fff;
}

.kontakt-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.kontakt-boat {
  display: block;
  width: 150px;
  aspect-ratio: 350 / 369;
  background: url(../assets/logo-2.webp) center / contain no-repeat;
}

.kontakt-tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--navy);
}

/* Honeypot – visuell versteckt, bleibt aber für Bots im DOM */
.kontakt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Statusmeldung nach dem Absenden */
.kontakt-status {
  margin: 0.5rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-align: center;
}

.kontakt-status.is-ok {
  background: var(--green);
  color: var(--navy);
}

.kontakt-status.is-error {
  background: hsl(6, 70%, 92%);
  color: hsl(6, 55%, 32%);
}

@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .kontakt-heading {
    font-size: 2.25rem;
  }

  /* Decorative boat + tagline is desktop-only; display:none also stops the
     boat's CSS background-image from being downloaded on phones. */
  .kontakt-brand {
    display: none;
  }
}

@media (max-width: 480px) {
  .kontakt-name-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER (sec 15) — 3 columns on cream
   ============================================================ */

.site-footer {
  background: var(--cream);
  padding: 4rem max(1.5rem, var(--gutter));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.footer-copy {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  color: #fff;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

/* Transparent-background logos sit straight on the cream footer (no card) */
.footer-logos img {
  width: auto;
}

.footer-logos .logo-institut {
  height: 56px;
}

.footer-logos .logo-profibox {
  height: 96px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   LEGAL PAGES — Impressum / Datenschutz
   ============================================================ */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem max(1.5rem, var(--gutter)) 5rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
}

.legal p,
.legal li {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(212, 22%, 40%);
}

.legal p + p {
  margin-top: 0.75rem;
}

.legal ul {
  margin: 0.5rem 0 0 1.25rem;
}

.legal a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal strong {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .legal h1 {
    font-size: 2.25rem;
  }
}

/* ============================================================
   TERMIN / BOOKING PAGE
   ============================================================ */

.booking {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem max(1.5rem, var(--gutter)) 5rem;
}

.booking h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.booking-intro {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(212, 22%, 40%);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* Online booking — Easy!Appointments embedded via a same-origin iframe.
   Both booking pages and /buchung/ live on this domain, so a small script on
   each page reads the frame's content height and fits the iframe to it (no
   nested scrollbar). The min-height is the fallback until that script runs. */
.booking-embed {
  width: 100%;
  margin-top: 0.5rem;
}

.booking-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.booking-alt {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: hsl(212, 22%, 40%);
  margin-top: 2.5rem;
}

.booking-alt a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .booking h1 {
    font-size: 2.25rem;
  }
}

/* ============================================================
   DANKE / CONFIRMATION PAGE
   ============================================================ */

.danke {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem max(1.5rem, var(--gutter)) 5rem;
  text-align: center;
}

.danke-check {
  color: var(--green);
  margin: 0 auto 1.5rem;
}

.danke h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}

.danke-lead {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.7;
  color: hsl(212, 22%, 40%);
  margin-bottom: 3rem;
}

.danke h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.danke-steps {
  list-style: none;
  text-align: left;
  max-width: 520px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.danke-steps li {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(212, 22%, 40%);
  padding-left: 1.75rem;
  position: relative;
}

.danke-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
}

.danke-steps strong {
  color: var(--navy);
  font-weight: 700;
}

.danke-note {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: hsl(212, 22%, 40%);
  margin-bottom: 2.5rem;
}

.danke-note a,
.danke-steps a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.danke-back {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 1024px) {
  .danke h1 {
    font-size: 2.25rem;
  }
}
