/* ============================================================
   figma.css: Kopfzeile + Startseiten-Hero nach dem Figma-Entwurf
   "Portfolio Website Landing Page" – mit Cerens Farben statt
   Dunkelgrau/Weiss, Schrift Poppins überall.
   Wird auf allen Seiten ZULETZT geladen.
   Masse aus Figma: Kopfzeile 32px/64px, Menü 18px Abstand 48px,
   Titel 96px, Text 24px, Button Rahmen 2px / Radius 16px.
   ============================================================ */
:root {
  --font-figma: "Poppins", "Inter", system-ui, sans-serif;
  --muted-figma: rgba(51, 40, 32, 0.55); /* Figma: Textfarbe mit 50 % Deckkraft */

  /* Schrift überall: Poppins */
  --font-head: var(--font-figma);
  --font-body: var(--font-figma);
  --font-script: var(--font-figma);
}

body {
  font-size: 16px;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.12; }
h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.15; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; }

/* Betonte Wörter: gerade statt kursiv */
h1 em,
h2 em {
  font-style: normal;
}

.script {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--gold);
}

.signature .script {
  font-size: 30px;
}

.step__no {
  font-weight: 600;
}

.journey__when {
  font: 600 18px/1.3 var(--font-head);
}

.quote-band blockquote {
  font: 600 clamp(22px, 2.6vw, 34px)/1.35 var(--font-head);
}

/* ---------- Kopfzeile ---------- */
.site-header {
  top: 0;
}

/* Weisse Leiste (base.css) genau hinter der flachen Kopfzeile */
.site-header::before {
  inset: 0;
}

.site-header__inner {
  justify-content: flex-start;
  gap: clamp(24px, 4.4vw, 64px);
  width: 100%;
  max-width: 1440px;
  padding: 24px clamp(24px, 4.4vw, 64px);
}

/* Logo oben links */
.site-header .brand {
  margin-right: auto;
}

.site-header .brand__mark,
.site-header.is-scrolled .brand__mark {
  width: 44px;
  height: 44px;
  color: var(--white);
  font: 600 17px/1 var(--font-figma);
  border: 0;
  background: var(--text);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header .brand__name {
  font: 700 24px/1 var(--font-figma);
  letter-spacing: 0;
}

.site-header .brand__sub {
  display: none;
}

/* Menü: schlichte Textlinks statt Glas-Pille */
.site-header .nav__panel,
.site-header.is-scrolled .nav__panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  animation: none;
}

.site-header .nav__indicator {
  display: none;
}

.site-header .nav__list {
  gap: clamp(20px, 3.3vw, 48px);
}

.site-header .nav__item {
  position: relative;
  padding: 6px 0;
  color: var(--text);
  font: 400 18px/1.2 var(--font-figma);
  border-radius: 0;
}

.site-header .nav__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease-soft);
}

.site-header .nav__item:hover::after,
.site-header .nav__item[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Trennstrich + Instagram oben rechts */
.site-header__divider {
  width: 1px;
  height: 24px;
  background: var(--text);
  opacity: 0.6;
}

.socials {
  display: flex;
  gap: clamp(20px, 3.3vw, 48px);
  align-items: center;
}

.social {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--text);
  transition: color 250ms ease, transform 350ms var(--ease);
}

.social:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Startseite: Hero ---------- */
.hero-figma {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100vh, 1024px);
  padding: 140px 0 96px;
  overflow-x: clip;
}

/* Sanfter Lichtschein hinter dem Foto (Figma: Ellipse, 10 %, weichgezeichnet) */
.hero-figma__glow {
  position: absolute;
  right: 4%;
  bottom: -14%;
  width: min(905px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 40, 32, 0.28), rgba(241, 234, 225, 0.18) 38%, transparent 68%);
  pointer-events: none;
}

.hero-figma__photo {
  position: absolute;
  right: max(16px, calc(50% - 640px));
  bottom: 0;
  height: min(calc(100% - 96px), calc((100vw - 580px) * 1.41));
  max-height: 940px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  /* Foto unten weich ausblenden – keine Kante zum nächsten Abschnitt */
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  animation: hero-photo-in 1.2s var(--ease-soft) 120ms backwards;
}

.hero-figma__inner {
  position: relative;
  z-index: 2;
}

.hero-figma__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 510px;
  font-family: var(--font-figma);
}

.hero-figma__text > * {
  animation: rise 900ms var(--ease-soft) backwards;
}

.hero-figma__text > :nth-child(2) { animation-delay: 80ms; }
.hero-figma__text > :nth-child(3) { animation-delay: 160ms; }
.hero-figma__text > :nth-child(4) { animation-delay: 240ms; }

.hero-figma__hi {
  margin: 0;
  padding: 10px;
  color: var(--text);
  font: 700 24px/1.3 var(--font-figma);
}

.hero-figma h1 {
  padding: 0 10px;
  color: var(--text);
  font: 700 clamp(52px, 6.7vw, 96px)/1 var(--font-figma);
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-figma__lead {
  margin: 0;
  padding: 10px;
  color: var(--muted-figma);
  font: 400 clamp(18px, 1.7vw, 24px)/1.5 var(--font-figma);
}

.hero-figma__btn {
  margin-top: 16px;
  padding: 16px 32px;
  color: var(--text);
  font: 700 clamp(17px, 1.7vw, 24px)/1.2 var(--font-figma);
  text-decoration: none;
  border: 2px solid var(--text);
  border-radius: 16px;
  transition: background-color 250ms ease, color 250ms ease, transform 350ms var(--ease);
}

.hero-figma__btn:hover {
  color: var(--bg);
  background: var(--text);
  transform: translateY(-2px);
}

@keyframes hero-photo-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

.no-intro .hero-figma__text > *,
.no-intro .hero-figma__photo {
  animation: none;
}

/* ---------- Tablet: Menü über den Burger ---------- */
@media (max-width: 1100px) {
  .site-header__inner {
    gap: 24px;
    padding: 14px 24px;
  }

  .site-header .nav {
    order: 3;
  }

  .site-header .nav__bar,
  .site-header.is-scrolled .nav__bar {
    padding: 0;
    border: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .site-header .nav__label {
    display: none;
  }

  .site-header .nav__toggle {
    border: 2px solid var(--text);
    background: transparent;
    box-shadow: none;
  }

  /* Klapp-Menü: deckend */
  .site-header .nav__panel,
  .site-header.is-scrolled .nav__panel {
    top: calc(100% + 4px);
    left: 16px;
    right: 16px;
    padding: 12px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(51, 40, 32, 0.22);
  }

  .site-header .nav__list {
    gap: 0;
  }

  .site-header .nav__item {
    padding: 14px 12px;
    font-size: 19px;
  }

  .site-header .nav__item::after {
    left: 12px;
    right: auto;
    bottom: 8px;
    width: 32px;
  }

  .socials {
    gap: 24px;
  }
}

/* ---------- Tablet & Handy: Text oben, Foto darunter ---------- */
@media (max-width: 960px) {
  .hero-figma {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: calc(84px + env(safe-area-inset-top)) 0 0;
  }

  .hero-figma__text {
    gap: 8px;
  }

  .hero-figma__hi {
    padding: 0;
    font-size: 16px;
  }

  .hero-figma h1 {
    padding: 0;
    font-size: clamp(44px, 13.5vw, 60px);
  }

  .hero-figma__lead {
    padding: 0;
    font-size: 17px;
  }

  .hero-figma__btn {
    align-self: stretch;
    margin-top: 12px;
    padding: 15px 20px;
    font-size: 16px;
    text-align: center;
  }

  /* Foto unter dem Text, unten bündig */
  .hero-figma__photo {
    position: relative;
    right: auto;
    order: 2;
    width: min(100%, 420px);
    height: auto;
    max-height: none;
    margin: 12px auto 0;
  }

  .hero-figma__glow {
    right: 50%;
    bottom: -10%;
    width: 130vw;
    transform: translateX(50%);
  }
}

/* ============================================================
   Handy: kompakt und breit
   - Inhalte nutzen fast die ganze Breite
   - Kartenreihen zum Wischen (statt alles untereinander)
   - grosse Fotos im Querformat, weniger Abstände
   ============================================================ */
@media (max-width: 760px) {
  /* Flache weisse Kopfzeile statt der Glas-Pille aus mobile.css */
  .site-header {
    top: 0;
    padding-top: env(safe-area-inset-top);
  }

  .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    width: 100%;
    gap: 16px;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    animation: none;
  }

  .site-header .brand__mark,
  .site-header.is-scrolled .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
    background: var(--text);
  }

  .site-header .brand__text {
    display: flex;
  }

  .site-header .brand__name {
    font-size: 18px;
  }

  .site-header__divider {
    display: none;
  }

  .site-header .nav__toggle {
    width: 40px;
    height: 40px;
  }

  .site-header .nav__toggle span:nth-child(1) { top: 13px; }
  .site-header .nav__toggle span:nth-child(2) { top: 18px; }
  .site-header .nav__toggle span:nth-child(3) { top: 23px; }

  /* Breiter: weniger Rand links und rechts */
  .container,
  .container--narrow {
    width: calc(100% - 24px);
  }

  body {
    font-size: 15px;
    line-height: 1.6;
  }

  h1 { font-size: clamp(28px, 8.2vw, 34px); }
  h2 { font-size: clamp(23px, 6.6vw, 28px); }
  h3 { font-size: 17px; }

  .lead {
    font-size: 15.5px;
  }

  /* Weniger Abstand zwischen den Abschnitten */
  .section {
    padding-block: 36px;
  }

  .section--tight {
    padding-block: 22px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-head p {
    margin-top: 10px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .card,
  .care,
  .benefit,
  .step,
  .need,
  .routine li,
  .journey__text {
    padding: 18px 16px;
  }

  p {
    margin-bottom: 0.8em;
  }

  /* ---------- Kartenreihen zum Wischen ---------- */
  .needs,
  .care-grid,
  .routine,
  .steps,
  .benefits,
  .seals,
  .duo,
  .journey {
    display: flex;
    gap: 10px;
    margin-inline: -12px;
    padding: 4px 12px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .needs::-webkit-scrollbar,
  .care-grid::-webkit-scrollbar,
  .routine::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .benefits::-webkit-scrollbar,
  .seals::-webkit-scrollbar,
  .duo::-webkit-scrollbar,
  .journey::-webkit-scrollbar {
    display: none;
  }

  .needs > *,
  .care-grid > *,
  .routine > *,
  .steps > *,
  .benefits > *,
  .duo > *,
  .journey > * {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .seals > * {
    flex: 0 0 44%;
    scroll-snap-align: start;
  }

  .needs .need {
    height: 100%;
  }

  /* Haarreise-Zeitleiste: Foto über dem Text, im Querformat */
  .journey::before,
  .journey__item::after {
    display: none;
  }

  .journey__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .journey__photo {
    aspect-ratio: 4 / 3;
    max-width: none;
  }

  /* Hinweis, dass man wischen kann */
  .needs,
  .care-grid,
  .routine,
  .steps,
  .benefits,
  .duo,
  .journey {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, rgba(0, 0, 0, 0.35));
    mask-image: linear-gradient(90deg, #000 88%, rgba(0, 0, 0, 0.35));
  }

  /* ---------- Grosse Fotos: Querformat statt Hochformat ---------- */
  .section-photo,
  .growth__photo,
  .scalp__photo,
  .intro-me .photo,
  .about__aside .photo {
    aspect-ratio: 16 / 10 !important;
    width: 100%;
    max-width: none;
    border-radius: 22px;
  }

  .intro-me .photo,
  .about__aside .photo {
    aspect-ratio: 4 / 3 !important;
    --focus: 50% 20% !important;
  }

  .about__aside {
    max-width: none;
  }

  .about {
    padding-top: calc(76px + env(safe-area-inset-top));
    gap: 16px;
  }

  .page-head {
    padding-top: calc(84px + env(safe-area-inset-top));
    padding-bottom: 12px;
  }

  .monat-hero {
    padding-top: calc(76px + env(safe-area-inset-top));
  }

  .monat-hero__visual .photo--wide {
    aspect-ratio: 16 / 10;
  }

  .monat-hero__intro {
    display: none;
  }

  /* Startseite: Foto im Hero etwas kleiner */
  .hero-figma__photo {
    width: min(82%, 340px);
  }

  .split-card {
    gap: 12px;
  }

  .intro-me {
    gap: 16px;
  }

  .cta-card {
    padding: 28px 18px;
  }

  .growth__card {
    padding: 24px 16px;
  }

  .pillars {
    margin: 16px 0;
  }

  .pillars li {
    padding: 10px 4px;
  }

  .story {
    font-size: 15.5px;
  }

  .quote-band blockquote {
    font-size: 20px;
  }

  /* Galerie (Haarreise) etwas schmaler, damit man die nächste Karte sieht */
  .gallery > .result {
    flex-basis: 78%;
  }

  .gallery {
    margin-inline: -12px;
    padding-inline: 12px;
    scroll-padding-inline: 12px;
  }

  /* Zusätzliche Deko-Fotos auf der Produktseite: auf dem Handy weglassen
     (Titelbild bleibt), damit die Seite nicht endlos lang wird */
  .section-photo,
  .growth__photo,
  .scalp__photo {
    display: none;
  }

  .care p,
  .care li,
  .tech p {
    font-size: 14px;
  }

  .care .checks {
    gap: 6px;
  }

  .care__label {
    margin: 12px 0 6px;
  }

  .cycle {
    margin-top: 14px;
    padding: 14px;
  }

  /* Startseite: Hero-Foto kleiner */
  .hero-figma__photo {
    width: min(68%, 280px);
  }
}

/* ============================================================
   Handy: noch breiter – fast randlos
   ============================================================ */
@media (max-width: 760px) {
  .container,
  .container--narrow {
    width: calc(100% - 12px);
  }

  .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    padding-inline: 10px;
  }

  /* Karten: kaum Innenrand, kleinere Rundung */
  .card,
  .split-card,
  .cta-card,
  .care,
  .benefit,
  .step,
  .need,
  .routine li,
  .journey__text,
  .growth__card,
  .legal,
  .story,
  .contact-form,
  .quiz-card {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .section-head,
  .page-head .lead {
    max-width: none;
  }

  .lead,
  .hero-figma__text,
  .hero-figma__lead {
    max-width: none;
  }

  /* Wisch-Karten fast bildschirmbreit */
  .needs,
  .care-grid,
  .routine,
  .steps,
  .benefits,
  .seals,
  .duo,
  .journey,
  .gallery {
    gap: 8px;
    margin-inline: -6px;
    padding-inline: 6px;
    scroll-padding-inline: 6px;
  }

  .needs > *,
  .care-grid > *,
  .routine > *,
  .steps > *,
  .benefits > *,
  .duo > *,
  .journey > *,
  .gallery > .result {
    flex-basis: 92%;
  }

  .seals > * {
    flex-basis: 47%;
  }

  .photo,
  .journey__photo {
    border-radius: 18px;
  }
}

/* ============================================================
   Handy = PC-Ansicht in klein (Klasse .phone kommt aus js/config.js)
   Die Seite ist hier 1120 px breit und wird verkleinert angezeigt.
   Nur die Kopfzeile wird per zoom wieder normal gross gemacht und
   bekommt das Burger-Menü.
   ============================================================ */
.phone .site-header {
  zoom: var(--phone-zoom, 3);
}

.phone .site-header .site-header__inner {
  gap: 14px;
  padding: 10px 14px;
}

.phone .site-header .brand__text {
  display: flex;
}

.phone .site-header .brand__mark {
  width: 38px;
  height: 38px;
  font-size: 14px;
}

.phone .site-header .brand__name {
  font-size: 18px;
}

.phone .site-header .site-header__divider {
  display: none;
}

.phone .site-header .socials {
  gap: 16px;
}

.phone .site-header .nav {
  position: static;
  order: 3;
}

.phone .site-header .nav__bar {
  display: flex;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.phone .site-header .nav__label,
.phone .site-header .nav__indicator {
  display: none;
}

.phone .site-header .nav__toggle {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--text);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.phone .site-header .nav__toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 350ms var(--ease), opacity 200ms ease;
}

.phone .site-header .nav__toggle span:nth-child(1) { top: 13px; }
.phone .site-header .nav__toggle span:nth-child(2) { top: 18px; }
.phone .site-header .nav__toggle span:nth-child(3) { top: 23px; }

.phone .site-header .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.phone .site-header .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.phone .site-header .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.phone .site-header .nav__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 12px;
  right: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(51, 40, 32, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top center;
  transition:
    opacity 250ms ease,
    transform 400ms var(--ease),
    visibility 0s linear 400ms;
}

.phone .site-header .nav.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 250ms ease,
    transform 400ms var(--ease),
    visibility 0s;
}

.phone .site-header .nav__list {
  flex-direction: column;
  gap: 0;
}

.phone .site-header .nav__item {
  padding: 14px 12px;
  font-size: 19px;
}

.phone .site-header .nav__item::after {
  left: 12px;
  right: auto;
  bottom: 8px;
  width: 32px;
}

.phone .site-header .nav__panel-cta {
  display: flex;
  width: 100%;
  margin-top: 8px;
}

/* Platz für die (hochgezoomte) Kopfzeile: ca. 60 px echte Höhe */
.phone main {
  padding-top: max(0px, calc(var(--phone-zoom, 3) * 60px - 90px));
}

/* ============================================================
   Startbereich: Foto direkt neben dem Text, etwas kleiner,
   Augen auf Höhe der Überschrift.
   Augen liegen im Foto bei ca. 20 % der Bildhöhe; die Mitte der
   zweizeiligen Überschrift liegt 67 px + eine Zeilenhöhe unter dem Textanfang.
   ============================================================ */
.hero-figma__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}

.hero-figma__photo {
  --photo-h: 640px;
  position: relative;
  right: auto;
  bottom: auto;
  height: var(--photo-h);
  max-height: none;
  width: auto;
  --headline-y: calc(67px + clamp(52px, 6.7vw, 96px));
  /* Oberkante so verschieben, dass die Augenlinie (20 %) auf der Überschrift liegt */
  margin-top: calc(var(--headline-y) - var(--photo-h) * 0.197);
  margin-right: 24px;
}

/* ---------- "Ich bin Ceren": nur Text, mittig ---------- */
.intro-center {
  max-width: 760px;
  text-align: center;
}

.intro-center .eyebrow {
  justify-content: center;
}

.intro-center h2 {
  margin-bottom: 18px;
}

.intro-center .chips,
.intro-center .btn-row {
  justify-content: center;
}

.intro-center .chips {
  margin: 22px 0 26px;
}

@media (max-width: 960px) {
  .hero-figma__inner {
    grid-template-columns: 1fr;
  }

  .hero-figma__photo {
    --photo-h: auto;
    height: auto;
    margin: 12px auto 0;
  }
}

/* Startbereich kompakt: keine leere Fläche unter dem Foto,
   Lichtschein passte nach dem Verschieben des Fotos nicht mehr */
.hero-figma {
  min-height: 0;
  padding-bottom: 56px;
}

.hero-figma__glow {
  display: none;
}

/* ---------- Über mich: Text läuft um das Foto, keine leere Fläche ---------- */
.about--flow {
  display: block;
}

.story__photo {
  float: left;
  width: min(38%, 400px);
  aspect-ratio: 4 / 5;
  margin: 0 clamp(24px, 3.5vw, 44px) 20px 0;
  border-radius: 220px 220px 28px 28px;
  box-shadow: 0 24px 50px rgba(51, 40, 32, 0.16);
}

.story::after {
  content: "";
  display: block;
  clear: both;
}

/* Schmales Fenster ohne .phone: Foto über dem Text */
@media (max-width: 760px) {
  .story__photo {
    float: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 16px;
    border-radius: 18px;
  }
}

/* ---------- Handy: Inhalt etwas grösser, Anordnung wie am PC ---------- */
.phone main,
.phone .site-footer {
  zoom: 1.25;
}

.phone main {
  padding-top: max(0px, calc((var(--phone-zoom, 3) * 60px - 130px) / 1.25));
}

/* Startbereich an die vergrösserte Breite anpassen (Augenlinie bleibt) */
/* Mittige Abschnitte: Linie auf beiden Seiten, damit der Text genau in der Mitte steht */
.section-head .eyebrow::after,
.intro-center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* Schmales Fenster: ruhiger und kompakter, mit klarem Rand links und rechts */
@media (max-width: 760px) {
  .container,
  .container--narrow {
    width: calc(100% - 40px);
  }

  h1 { font-size: clamp(26px, 7.4vw, 32px); }
  h2 { font-size: clamp(21px, 5.8vw, 26px); }

  .lead,
  .hero-figma__lead {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .eyebrow {
    font-size: 10px;
  }

  .chip {
    padding: 6px 11px;
    font-size: 11.5px;
  }

  /* Buttons nur so breit wie ihr Text */
  .btn,
  .btn-row .btn,
  .split-card .btn,
  .intro-me .btn,
  .monat-hero .btn,
  .gallery-actions .btn,
  .hero-figma__btn {
    width: auto;
    padding: 11px 20px;
    font-size: 13.5px;
  }

  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-figma__hi {
    padding: 0;
    font-size: 16px;
  }

  .hero-figma__text {
    gap: 8px;
  }

  /* Button im Startbereich nicht strecken */
  .hero-figma__btn {
    align-self: center;
  }

  /* Wisch-Karten beginnen bündig mit dem Text */
  .needs,
  .care-grid,
  .routine,
  .steps,
  .benefits,
  .seals,
  .duo,
  .journey,
  .gallery {
    margin-inline: -20px;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  .needs > *,
  .care-grid > *,
  .routine > *,
  .steps > *,
  .benefits > *,
  .duo > *,
  .journey > *,
  .gallery > .result {
    flex-basis: 86%;
  }

  .card,
  .split-card,
  .cta-card,
  .care,
  .benefit,
  .step,
  .need,
  .routine li,
  .journey__text,
  .growth__card,
  .legal,
  .story,
  .contact-form,
  .quiz-card {
    padding: 16px;
  }
}

/* ---------- Farben: Crèmeweiss, helles Champagner, Espresso ---------- */
:root {
  --bg: #FAF8F5;
  --bg-2: #FAF8F5;
  --taupe: #F1EAE1;
  --champagne: #332820;
  --taupe-dark: #332820;
  --gold: #332820;
  --gold-soft: #F1EAE1;
  --text: #332820;
  --text-soft: #332820;
  --white: #FAF8F5;
  --line: rgba(51, 40, 32, 0.14);
  --glass-bg: #FAF8F5;
  --glass-border: #F1EAE1;
  --glass-shadow: none;
  --glass-blur: none;
  --muted-figma: #332820;
}

html,
body {
  background: #FAF8F5;
}

.site-header::before,
.site-header.is-scrolled::before {
  background: #FAF8F5;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Keine farbigen Verläufe im Hintergrund */
.page-background {
  background: #FAF8F5;
}

.aurora {
  display: none;
}

/* Primärer Button: Espresso mit crèmeweisser Schrift */
.btn--primary,
.btn--primary:hover {
  color: #FAF8F5;
  background: #332820;
}

.btn--glass {
  border-color: #332820;
  background: transparent;
  box-shadow: none;
}

.btn--glass:hover {
  background: #F1EAE1;
}

/* Abschnitte und Auswahlfelder: helles Champagner */
.cta-card,
.option,
.upl,
.photos__tips {
  background: #F1EAE1;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.option,
.upl {
  border-color: rgba(51, 40, 32, 0.22);
}

.option[aria-pressed="true"] {
  color: #FAF8F5;
  border-color: #332820;
  background: #332820;
}

.option[aria-pressed="true"] .option__mark {
  border-color: #FAF8F5;
}

/* ---------- Startseite: Headerbild mit Text links ----------
   Originalfoto unverändert; Ausschnitt und weicher linker Rand nur per CSS.
   Der Rand endet vor dem Ärmel (bei 7.5 % der Fotobreite). */
.hero-foto {
  position: relative;
  margin-top: 92px;
  height: min(46vw, 780px);
  overflow: hidden;
  background: #F1EAE1;
}

.hero-foto__bild {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 72%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 8%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7.5%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7.5%);
}

.hero-foto__text {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 30%;
  color: #332820;
  transform: translateY(-50%);
}

.hero-foto__titel {
  margin: 0;
  color: #332820;
  font: 600 3.7vw/1.14 var(--font-figma);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-foto__marke {
  display: block;
  margin-bottom: 1.1vw;
  font-size: 1.15vw;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.hero-foto__lead {
  margin: 1.4vw 0 0;
  color: #332820;
  font: 400 1.25vw/1.5 var(--font-figma);
}

@media (min-width: 1696px) {
  .hero-foto__titel { font-size: 62px; }
  .hero-foto__marke { margin-bottom: 18px; font-size: 19px; }
  .hero-foto__lead { margin-top: 24px; font-size: 21px; }
}

/* Button direkt unter dem Foto */
.hero-foto__aktion {
  display: flex;
  justify-content: center;
  padding: 36px 20px 0;
}

/* ---------- Bereich unter dem Titelbild ---------- */
.hallo {
  padding: 56px 0 40px;
}

.hallo h2 {
  max-width: 680px;
  margin-inline: auto;
}

.werte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.werte li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 24px 12px;
  color: #332820;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-radius: 18px;
  background: #F1EAE1;
}

.werte svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1100px) {
  .hero-foto {
    margin-top: 72px;
  }
}

/* Schmales Fenster ohne .phone */
@media (max-width: 760px) {
  main:has(.hero-foto) {
    padding-top: 0;
  }

  .hero-foto {
    margin-top: 60px;
    height: 78vw;
  }

  .hero-foto__text {
    width: 32%;
  }

  .hero-foto__titel { font-size: 5vw; }
  .hero-foto__marke { margin-bottom: 1.6vw; font-size: 2vw; letter-spacing: 0.22em; }
  .hero-foto__lead { margin-top: 2vw; font-size: 2.7vw; line-height: 1.4; }

  .hallo {
    padding: 36px 0 24px;
  }

  .werte {
    gap: 8px;
  }

  .werte li {
    padding: 16px 4px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }
}

/* Handy: Seite ist 1120 px breit und main um 1.25 gezoomt, also 896 px Platz */
.phone main:has(.hero-foto) {
  padding-top: 0;
}

.phone .hero-foto {
  margin-top: calc(var(--phone-zoom, 3) * 60px / 1.25);
  height: 412px;
}

.phone .hero-foto__titel { font-size: 33px; }
.phone .hero-foto__marke { margin-bottom: 10px; font-size: 11px; }
.phone .hero-foto__lead { margin-top: 12px; font-size: 12.5px; }

@media (orientation: portrait) {
  .phone .hero-foto {
    height: 600px;
  }

  .phone .hero-foto__text {
    top: 40%;
    width: 30%;
  }

  .phone .hero-foto__titel { font-size: 38px; }
  .phone .hero-foto__marke { margin-bottom: 14px; font-size: 16px; letter-spacing: 0.22em; }
  .phone .hero-foto__lead { margin-top: 16px; font-size: 19px; line-height: 1.4; }

  .phone .werte li {
    font-size: 17px;
  }
}

/* Fragebogen auf dem Handy: Abstand unter der hochgezoomten Kopfzeile */
.phone main.quiz {
  padding-top: calc(var(--phone-zoom, 3) * 60px / 1.25 + 24px);
}

/* Fokus beim Wechsel der Frage nicht als Rahmen zeigen */
.quiz [tabindex="-1"]:focus {
  outline: none;
}

/* ---------- Kundenfeedbacks (Startseite) ---------- */
.feedbacks__title {
  margin: 48px 0 20px;
  text-align: center;
}

.feedbacks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feedback {
  margin: 0;
  padding: 24px;
}

.feedback blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

.feedback figcaption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.feedback--leer {
  padding: 0;
}

/* Schmales Fenster: zum Wischen wie die Galerie */
@media (max-width: 760px) {
  .feedbacks {
    display: flex;
    gap: 8px;
    margin-inline: -20px;
    padding: 4px 20px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }

  .feedbacks::-webkit-scrollbar {
    display: none;
  }

  .feedbacks > * {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
}

/* ---------- Haaranalyse: Sprachauswahl ---------- */
.lang-flag {
  display: inline-flex;
  flex: none;
  width: 24px;
  height: 16px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(51, 40, 32, 0.14);
}

.lang-flag svg {
  width: 100%;
  height: 100%;
}

.lang-screen {
  text-align: center;
}

.lang-screen__sub {
  margin: 12px 0 28px;
  color: var(--text-soft);
}

.lang-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lang-choice {
  gap: 12px;
  justify-content: center;
  padding: 18px 16px;
  font-weight: 500;
}

/* Sprachwechsel über dem Fragebogen */
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  width: min(100% - 32px, 780px);
  margin: 0 auto 14px;
}

.lang-switch[hidden] {
  display: none;
}

.lang-switch__btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  color: var(--text);
  font: 500 12px/1 var(--font-figma);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid rgba(51, 40, 32, 0.22);
  border-radius: 999px;
  background: transparent;
}

.lang-switch__btn .lang-flag {
  width: 18px;
  height: 12px;
}

.lang-switch__btn[aria-pressed="true"] {
  background: #F1EAE1;
  border-color: #332820;
}

.phone .lang-switch__btn {
  padding: 9px 13px;
  font-size: 15px;
}

.phone .lang-switch__btn .lang-flag {
  width: 24px;
  height: 16px;
}

@media (max-width: 480px) {
  .lang-choices {
    grid-template-columns: 1fr;
  }
}
