/* ============================================================
   Manuela Rhyner – Haaranalyse
   Farben und Schrift (Almarai) nach coiffurelaperla.ch, Layout eigenständig.
   Handy und Computer haben denselben Aufbau; Schrift und Abstände werden mit der
   Bildschirmbreite kleiner (clamp). Nur die Haaranalyse behält grosse Antwortflächen.
   Farben hier oben ändern -> gilt überall.
   ============================================================ */
:root {
  --bg: #fbf8f5;
  --bg-tint: #f6efe9;
  --surface: #ffffff;
  --blush: #e1ccbe;       /* La Perla: Rosé-Beige */
  --gold: #c0ae84;        /* La Perla: Sandgold */
  --olive: #776d53;       /* La Perla: dunkles Sandgold, gut lesbar auf Hell */
  --olive-dark: #5f5741;
  --text: #3a332b;
  --text-soft: #4f483d;
  --line: #e9dfd6;
  --error: #96433f;
  --radius: 10px;
  --header-h: 64px;
  --sans: "Almarai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(13px, 3.5vw, 16px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main { flex: 1; }

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

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; letter-spacing: 0.005em; color: var(--text); }
h1 { font-size: clamp(21px, 5.6vw, 46px); }
h2 { font-size: clamp(17px, 4.6vw, 34px); }
h3 { font-size: clamp(14px, 3.8vw, 21px); font-weight: 400; }
h1 em, h2 em { font-style: normal; color: var(--olive); }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; border-radius: 4px; }
h1:focus, h2:focus { outline: none; }

.container { width: min(1120px, 100% - clamp(20px, 6vw, 32px)); margin-inline: auto; }
.container--narrow { width: min(720px, 100% - 32px); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--text); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 8px; }

.eyebrow { margin: 0 0 clamp(6px, 1.6vw, 10px); font-size: clamp(10.5px, 2.9vw, 13px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }
.lead { font-size: clamp(14px, 3.8vw, 19px); color: var(--text); }
.text-link { color: var(--olive-dark); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(44px, 12vw, 54px);
  padding: clamp(8px, 2vw, 12px) clamp(10px, 4vw, 26px);
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: clamp(13px, 3.6vw, 17px);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn[hidden] { display: none; }
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-dark); }
.btn--primary:disabled { background: var(--blush); color: var(--text-soft); cursor: not-allowed; }
.btn--ghost { background: transparent; border-color: var(--gold); color: var(--text); }
.btn--ghost:hover { background: var(--bg-tint); }
.btn--full, .btn--block-mobile { width: 100%; }
.btn__arrow { margin-left: 8px; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 245, 0.97); border-bottom: 1px solid var(--line); }
.site-header__inner { width: min(1120px, 100% - clamp(20px, 6vw, 32px)); min-height: var(--header-h); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.brand__name { font-size: 19px; color: var(--text); }
.brand__sub { font-size: 12px; letter-spacing: 0.06em; color: var(--olive); }

.nav-list { display: flex; gap: clamp(10px, 2.6vw, 28px); }
.nav-list a { display: flex; align-items: center; min-height: 44px; font-size: clamp(12.5px, 3.4vw, 16px); text-decoration: none; white-space: nowrap; }
.nav-list a:hover { color: var(--olive); }
.nav-list a[aria-current="page"] { color: var(--olive); box-shadow: inset 0 -1px 0 var(--olive); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(28px, 7vw, 56px); padding: clamp(20px, 5vw, 36px) 0 clamp(12px, 3vw, 20px); background: var(--bg-tint); font-size: clamp(12.5px, 3.4vw, 15px); color: var(--text-soft); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(12px, 4vw, 24px); }
.site-footer p { margin: 8px 0 0; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: clamp(30px, 8vw, 40px); text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__copy { width: min(1120px, 100% - clamp(20px, 6vw, 32px)); margin: clamp(10px, 3vw, 20px) auto 0 !important; font-size: clamp(11px, 3vw, 13px); }

/* ---------- Startseite ---------- */
.hero { padding-top: clamp(14px, 4vw, 40px); }
.hero__text { order: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(14px, 5.6vw, 64px); align-items: center; }
.hero__photo { overflow: hidden; aspect-ratio: 1136 / 1500; border-radius: var(--radius); background: var(--bg-tint); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero h1 { margin-bottom: clamp(10px, 2.6vw, 18px); }
.letter { margin-bottom: clamp(12px, 3vw, 24px); color: var(--text-soft); }
.letter strong { color: var(--text); font-weight: 400; }
.letter p { margin-bottom: 0.7em; }
.letter__sign { margin-top: 1em; color: var(--text); }
.script { font-weight: 700; color: var(--olive); }

.section { padding: clamp(24px, 6.4vw, 56px) 0; }
.section--tint { margin-top: clamp(24px, 6vw, 48px); background: var(--bg-tint); }
.section--tint + .section { padding-bottom: 0; }
.section__title { margin-bottom: clamp(14px, 3.6vw, 28px); text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 4vw, 40px); }
.section__cta { display: flex; justify-content: center; margin: clamp(16px, 4vw, 32px) 0 0; }
.steps__no { display: inline-grid; place-items: center; width: clamp(28px, 7.5vw, 40px); height: clamp(28px, 7.5vw, 40px); margin-bottom: clamp(6px, 1.8vw, 12px); border: 1px solid var(--gold); border-radius: 50%; color: var(--olive); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text-soft); }

.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2.6vw, 16px); }
.teaser { display: block; padding: clamp(12px, 3.5vw, 26px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 180ms ease; }
.teaser:hover { border-color: var(--gold); }
.teaser h2 { font-size: clamp(16px, 4.4vw, 26px); margin-bottom: clamp(4px, 1.2vw, 8px); }
.teaser p { margin-bottom: clamp(6px, 1.6vw, 12px); color: var(--text-soft); }
.teaser__more { color: var(--olive); }

/* ---------- Über mich ---------- */
.about { padding-top: clamp(14px, 4.4vw, 48px); }
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(14px, 5.6vw, 64px); align-items: center; }
.about__photo { overflow: hidden; border-radius: var(--radius); background: var(--bg-tint); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about h1 { margin-bottom: clamp(10px, 2.8vw, 20px); }
.about__text p:not(.eyebrow) { color: var(--text-soft); }
.about .btn { margin-top: clamp(4px, 1.4vw, 12px); }

/* ---------- Karten & Listen ---------- */
.card { padding: clamp(12px, 3.6vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card > :last-child { margin-bottom: 0; }

.checks li { position: relative; padding-left: clamp(20px, 5vw, 28px); margin-bottom: clamp(4px, 1.2vw, 8px); }
.checks li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 0.75em; height: 0.42em; border-left: 1.5px solid var(--olive); border-bottom: 1.5px solid var(--olive); transform: rotate(-45deg); }

/* ---------- Über die Produkte ---------- */
.monat-hero { padding-top: clamp(14px, 4.4vw, 48px); }
.monat-hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 5vw, 56px); align-items: center; }
.monat-hero h1 { margin-bottom: clamp(10px, 2.6vw, 18px); }
.monat-hero__visual { order: 1; }
.monat-hero__intro { color: var(--text-soft); }
.monat-hero .btn { width: 100%; }
.photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-tint); }
.photo img { width: 100%; }

.section--tight { padding: clamp(14px, 4.4vw, 40px) 0; }
.section-head { margin-bottom: clamp(12px, 3vw, 22px); }
.section .card h2 { margin-bottom: clamp(10px, 2.6vw, 18px); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 20px); }
.duo .card h3 { margin-bottom: clamp(6px, 1.8vw, 12px); }
.duo .card p { color: var(--text-soft); }
.info__icon, .seal__icon { display: inline-grid; place-items: center; width: clamp(30px, 8vw, 46px); height: clamp(30px, 8vw, 46px); margin-bottom: clamp(6px, 1.8vw, 12px); border-radius: 50%; background: var(--bg-tint); color: var(--olive); }
.info__icon svg, .seal__icon svg { width: 54%; height: 54%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.seals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 12px); }
.seal { display: flex; flex-direction: column; padding: clamp(10px, 2.6vw, 18px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: clamp(12px, 3.3vw, 15px); line-height: 1.45; color: var(--text-soft); }
.seal strong { font-size: clamp(13px, 3.6vw, 17px); font-weight: 400; color: var(--text); margin-bottom: 4px; }
.seal:last-child { grid-column: span 2; }
.seals__footer { margin-top: clamp(12px, 3vw, 22px); text-align: center; }
.seals__claim { margin: 0; font-size: clamp(14px, 3.8vw, 19px); }

.growth { padding: clamp(14px, 4vw, 28px) 0; }
/* Hohes Bild rechts über die ganze Karte, aller Text links daneben */
.growth__card { display: grid; grid-template-columns: minmax(0, 1fr) 34%; grid-template-rows: auto auto 1fr; column-gap: clamp(12px, 3.6vw, 44px); padding: clamp(12px, 4vw, 48px); background: var(--bg-tint); border-radius: var(--radius); }
.growth__head, .pillars { grid-column: 1; }
.growth__body > div { grid-column: 1; }
.growth__photo { grid-column: 2; grid-row: 1 / -1; align-self: center; }
.growth__head h2 { margin-bottom: clamp(8px, 2vw, 14px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1.4vw, 10px); margin: clamp(10px, 2.4vw, 18px) 0 clamp(12px, 3vw, 24px); }
.pillars li { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(2px, 1.6vw, 14px); padding: clamp(6px, 2vw, 14px) clamp(6px, 2vw, 16px); background: var(--surface); border-radius: 8px; line-height: 1.3; }
.pillars strong { font-weight: 400; font-size: clamp(12px, 3.3vw, 16px); }
.pillars__no { color: var(--olive); font-size: clamp(11px, 3vw, 14px); }
.growth__body { display: contents; }
.growth__body p { color: var(--text-soft); }

.cycle { margin: clamp(12px, 3vw, 22px) 0 0; }
.cycle__bar { display: flex; height: 12px; overflow: hidden; border-radius: 6px; }
.cycle__phase--anagen { flex: 8; background: var(--olive); }
.cycle__phase--katagen { flex: 1; background: var(--gold); }
.cycle__phase--telogen { flex: 2; background: var(--blush); }
.cycle__legend { display: grid; gap: clamp(3px, 1vw, 6px); margin-top: clamp(8px, 2vw, 14px); font-size: clamp(12px, 3.3vw, 15px); }
.cycle__legend li { display: flex; flex-wrap: wrap; column-gap: 8px; }
.cycle__legend strong { font-weight: 700; }
.cycle__legend span { color: var(--text-soft); }
.cycle figcaption { margin-top: clamp(6px, 1.6vw, 10px); font-size: clamp(11px, 3vw, 14px); color: var(--text-soft); }

/* Bild links, Überschrift und Text gemeinsam daneben, senkrecht mittig */
.split-card { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); grid-template-rows: 1fr auto auto auto auto 1fr; gap: 0 clamp(12px, 4vw, 48px); }
.split-card > div:first-child { display: contents; }
.split-card .section-photo { grid-column: 1; grid-row: 1 / -1; align-self: center; }
.split-card .eyebrow { grid-column: 2; grid-row: 2; }
.split-card h2 { grid-column: 2; grid-row: 3; }
.split-card .chips { grid-column: 2; grid-row: 4; margin: 0 0 clamp(10px, 2.6vw, 18px); }
.split-card > div:last-child { grid-column: 2; grid-row: 5; }
.goal { margin: clamp(10px, 2.6vw, 18px) 0 0; padding: clamp(8px, 2.4vw, 16px) clamp(10px, 2.6vw, 18px); background: var(--bg-tint); border-radius: 8px; }

.scalp { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(12px, 4vw, 48px); align-items: center; }
.statement h2 { margin-bottom: clamp(8px, 2.2vw, 16px); }
.statement p:not(.eyebrow):not(.lead) { color: var(--text-soft); }

.chips { display: flex; flex-wrap: wrap; gap: clamp(4px, 1.2vw, 8px); margin-top: 16px; }
.hair-types .chip { min-height: 0; padding: clamp(3px, 1vw, 7px) clamp(7px, 2vw, 13px); font-size: clamp(11.5px, 3.2vw, 15px); cursor: default; }

.cta-card { padding: clamp(16px, 5vw, 52px) clamp(12px, 4vw, 52px); background: var(--bg-tint); border-radius: var(--radius); text-align: center; }
.cta-card h2 { margin-bottom: clamp(8px, 2vw, 14px); }
.btn-row { margin-top: clamp(10px, 2.4vw, 18px); }
.btn-row .btn { width: 100%; }
.source-note { margin: clamp(10px, 2.6vw, 20px) 0 0; font-size: clamp(11.5px, 3vw, 14px); color: var(--text-soft); }

/* ---------- Rechtliches ---------- */
.legal { padding-top: 36px; font-size: 16px; }
.legal h1 { margin-bottom: 20px; font-size: clamp(27px, 7vw, 42px); }
.legal h2 { margin: 30px 0 10px; font-size: 22px; font-weight: 400; }
.legal ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal-warning { padding: 14px 16px; background: var(--bg-tint); border-left: 3px solid var(--gold); font-size: 15px; }
.legal-warning strong, .legal strong { font-weight: 700; }
.todo { background: #f6e7d2; padding: 1px 5px; border-radius: 4px; font-size: 0.92em; }

/* ============================================================
   Haaranalyse
   ============================================================ */
.quiz { width: min(600px, 100% - 32px); margin-inline: auto; padding-top: clamp(16px, 4vw, 40px); font-size: 16px; }
.quiz .btn { min-height: 54px; padding: 12px 20px; font-size: 16px; }
.quiz-screen[hidden] { display: none; }
.quiz + .site-footer { margin-top: 32px; }

.progress { margin-bottom: 18px; }
.progress__label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--text-soft); }
.progress__bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress__fill { display: block; width: 0; height: 100%; background: var(--olive); transition: width 280ms ease; }
.progress__fill--full { width: 100%; }

.question__body { transition: opacity 140ms ease; }
.question__body.is-leaving { opacity: 0; }
.question__title { font-size: clamp(21px, 5.6vw, 28px); }
.question__title:focus { outline: none; }
.question__hint { margin: 6px 0 0; color: var(--text-soft); font-size: 15px; }
.question__msg { margin: 10px 0 0; font-size: 15px; color: var(--olive-dark); }

.options { display: grid; gap: 8px; margin-top: 16px; }

.option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 140ms ease, border-color 140ms ease;
}
@media (hover: hover) { .option:hover:not(:disabled) { border-color: var(--gold); } }
.option[aria-pressed="true"] { background: var(--bg-tint); border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.option:disabled { opacity: 0.45; cursor: not-allowed; }

/* Markierung rechts: Kreis bei Einzelauswahl, Kästchen bei Mehrfachauswahl */
.option__mark { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--gold); border-radius: 50%; font-size: 14px; color: #fff; }
.option--multi .option__mark { border-radius: 6px; }
.option[aria-pressed="true"] .option__mark { background: var(--olive); border-color: var(--olive); }
.option[aria-pressed="true"]:not(.options--rank *) .option__mark::after { content: ""; width: 10px; height: 5px; margin-top: -2px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }

/* Zweispaltig für lange Listen */
.options--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.options--compact .option { padding: 8px 10px; font-size: 14px; gap: 6px; min-height: 52px; }
.options--compact .option__mark { width: 18px; height: 18px; }

/* Haarstruktur mit Zeichnung */
.options--visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options--visual .option { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; font-size: 14px; }
.options--visual .option__label { flex: 1; }
.options--visual .option__mark { display: none; }
.option__art { display: block; height: 64px; border-radius: 6px; background: var(--bg-tint); }
.option__art svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--olive); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Bewertung 1–10 */
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.option--scale { justify-content: center; padding: 0; min-height: 50px; font-size: 17px; text-align: center; }
.option--scale[aria-pressed="true"] { background: var(--olive); color: #fff; }
.scale__legend { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-size: 14px; color: var(--text-soft); }

/* Häufigkeit pro Produkt */
.freq-card { margin: 0; padding: 14px 14px 16px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.freq-card legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; font-size: 17px; }
.freq-card__chips { clear: both; display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 21px; color: var(--text); font: inherit; font-size: 15px; line-height: 1.2; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }

/* Unten fixiert: Zurück/Weiter bleiben auch bei langen Listen erreichbar */
.quiz-nav {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.quiz-nav .btn { min-height: 46px; padding: 8px 16px; font-size: 15px; }
.quiz-nav__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-skip { min-height: 50px; padding: 8px 10px; background: none; border: 0; font: inherit; font-size: 16px; color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-skip[hidden] { display: none; }

/* Startbildschirm */
.intro { padding: 12px 0 8px; }
.intro h1 { margin-bottom: 14px; font-size: clamp(27px, 7vw, 40px); }
.intro p:not(.eyebrow) { color: var(--text-soft); }
.intro .btn { margin-top: 10px; }
.quiz-duration { margin: 0 0 14px; padding: 10px 14px; background: var(--bg-tint); border-radius: 8px; color: var(--olive-dark); font-weight: 700; text-align: center; }

/* Fotoschritt */
[data-photo-step] h1 { margin-bottom: 14px; font-size: clamp(23px, 6vw, 32px); }
[data-photo-step] > p { color: var(--text-soft); }
.photos__head { margin: 22px 0 10px; font-size: clamp(19px, 5vw, 24px); }
.photos__hint { margin: 10px 0 0; font-size: 14px; color: var(--text-soft); }
.photos__hint:empty, .question__msg:empty { display: none; }
.upl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.upl-grid:empty { display: none; }
.upl-grid + .upl-add { margin-top: 8px; }
.upl { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 132px; padding: 10px; background: var(--surface); border: 1px dashed var(--gold); border-radius: var(--radius); font-size: 14px; line-height: 1.3; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.upl:focus-within, .upl-add:focus-within { outline: 2px solid var(--olive); outline-offset: 2px; }
.upl--filled { justify-content: flex-start; border-style: solid; border-color: var(--olive); cursor: default; }
.upl__input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.upl__emoji { font-size: 24px; line-height: 1; }
.upl__pick { color: var(--olive-dark); text-decoration: underline; text-underline-offset: 3px; }
.upl__thumb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--bg-tint); }
.upl__title { margin-top: 2px; }
.upl__actions { display: flex; justify-content: space-between; gap: 4px; width: 100%; }
.upl__action { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 4px; background: none; border: 0; color: var(--olive-dark); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.upl-add { position: relative; }
.upl-add[hidden] { display: none; }
.photos__alt { display: grid; gap: 8px; margin-top: 22px; padding: 16px; }
.photos__alt p { margin: 0 0 4px; }
.photos__alt strong { font-weight: 400; }
.photos__alt .btn { font-size: 15px; }
[data-screen="photos"] .field[data-photo-consent] { margin-top: 16px; }
[data-photo-followup][hidden] { display: none; }

/* Kontakt-Schritt */
[data-contact-form] h1, [data-screen="success"] h1 { margin-bottom: 14px; font-size: clamp(23px, 6vw, 32px); }
[data-contact-form] > p { color: var(--text-soft); }
.promise { padding: 14px 16px; background: var(--bg-tint); border-radius: 8px; color: var(--text) !important; font-size: 16px; }

.field { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.field[hidden] { display: none; }
.field > label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 16px; }
.field__optional { margin-left: 6px; font-size: 14px; color: var(--text-soft); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input:not([type]) {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid #cfc3b6;
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* ab 16px zoomt das iPhone nicht ins Feld */
}
.field input:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 6px 0 0; color: var(--error); font-size: 15px; }
.field__error:empty { display: none; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.option--small { min-height: 48px; padding: 8px 12px; font-size: 15px; gap: 6px; }
.option--small .option__mark { width: 20px; height: 20px; }
.choice-grid--three { grid-template-columns: 1fr; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-soft); cursor: pointer; margin: 0 !important; }
.consent input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--olive); }

.form-error { margin: 18px 0 0; padding: 12px 14px; background: #f8e9e6; border-radius: 8px; color: var(--error); font-size: 15px; }
.form-error:empty { display: none; }

[data-submit] { margin-top: 22px; }
.contact__back { margin-top: 10px; }

/* Für Menschen unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bestätigung */
[data-screen="success"] > p { color: var(--text-soft); }
[data-screen="success"] > p strong { color: var(--text); font-weight: 400; font-size: 19px; }
.photo-list { margin: 22px 0; }
.photo-list strong { font-weight: 700; }
.success__note { margin: 10px 0 18px; font-size: 14px; }

/* ============================================================
   Bildschirmgrössen
   ============================================================ */
@media (min-width: 520px) {
  .choice-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btn--block-mobile, .monat-hero .btn, .btn-row .btn { width: auto; }
  .options--compact .option { font-size: 16px; padding: 12px 14px; }
  .scale { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
}

@media (min-width: 860px) {
  .seals { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seal:last-child { grid-column: auto; }
}

/* Kleine Bildschirme: Das Porträt auf der Startseite füllt die Höhe des Textes daneben */
@media (max-width: 859px) {
  .hero__grid { align-items: stretch; }
  .hero__photo { position: relative; aspect-ratio: auto; }
  .hero__photo img { position: absolute; inset: 0; }
}

/* Handy: Name oben, alle Menüpunkte darunter in einer Zeile.
   Bild und Text bleiben nebeneinander; der Text fliesst ums Bild, damit kein leerer Platz entsteht. */
@media (max-width: 639px) {
  .about__grid, .monat-hero__grid, .scalp, .split-card, .split-card > div:first-child, .growth__card, .growth__body { display: block; }
  .about__grid, .monat-hero__grid, .scalp, .split-card, .growth__body { display: flow-root; }
  .about__photo, .scalp__photo, .split-card .section-photo { float: left; width: 46%; margin: 4px 14px 8px 0; }
  .monat-hero__visual, .growth__photo { float: right; width: 44%; margin: 4px 0 8px 14px; }
  .about__photo img { height: auto; }
  .split-card > div:first-child, .split-card > div:last-child { margin: 0; }
  .split-card .chips { margin-bottom: 12px; }
  .site-header__inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; min-height: 0; }
  .brand { flex-direction: row; align-items: baseline; gap: 8px; }
  .site-footer .brand { flex-direction: column; gap: 0; }
  .brand__name { font-size: 16px; }
  .brand__sub { font-size: 11px; }
  .nav-list { justify-content: space-between; }
  .nav-list a { min-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Startseite: breites Foto als Header, Text links im Bild ---------- */
.hero--image {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 1672 / 941;
  min-height: 280px;
  max-height: 86vh;
  padding: 0;
  overflow: hidden;
  background: var(--bg-tint);
}

/* Links bündig: Auf dem Handy wird rechts der Jackenrand beschnitten, nie das Gesicht */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 20%;
}

.hero__overlay {
  position: relative;
  z-index: 1;
}

.hero--image .hero__text {
  width: min(44%, 620px);
}

.hero--image h1 {
  margin-bottom: clamp(6px, 1.2vw, 16px);
  font-size: clamp(24px, 4.1vw, 62px);
  line-height: 1.12;
}

.hero__sub {
  margin: 0;
  color: var(--text);
  font-size: clamp(12.5px, 1.5vw, 19px);
  line-height: 1.35;
}

.hero-cta {
  margin: 0;
  padding: clamp(18px, 2.6vw, 32px) 20px 0;
  text-align: center;
}

.hero-letter .letter {
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .hero--image .hero__text {
    width: 56%;
  }
}

/* Über mich: Foto rechts, Text links */
.about--photo-right .about__grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.about--photo-right .about__photo {
  order: 2;
}

@media (max-width: 639px) {
  .about--photo-right .about__photo {
    float: right;
    margin: 4px 0 8px 14px;
  }
}
