/* ===========================================================================
   Lokale Fonts (DSGVO-konform, keine Google-Server-Anfragen)
   Dateien liegen in assets/fonts/
   =========================================================================== */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/bebas-neue-v16-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/oswald-v57-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/oswald-v57-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/oswald-v57-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/oswald-v57-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}

/* ===========================================================================
   Hairbase Style Ratgeber – Frontend-Design (warmes Barbershop-Dark)
   Bewusst KEIN blaustichiges Near-Black, sondern warmes Braun-Schwarz + Gold.
   =========================================================================== */

:root {
  --ink:        #15110D;
  --ink-800:    #1B1611;
  --ink-700:    #211A13;
  --ink-600:    #2B2219;
  --ink-500:    #3A2F22;
  --gold:       #C8A24A;
  --gold-bright:#E4C66A;
  --gold-deep:  #9C7A2E;
  --cream:      #F2E9D8;
  --cream-soft: #E7DCC6;
  --muted:      #A1907A;
  --muted-deep: #6E6253;
  --gold-sheen: linear-gradient(135deg, #E4C66A 0%, #C8A24A 45%, #9C7A2E 100%);
  --shadow-glow: 0 0 0 1px rgba(228,198,106,.45), 0 0 28px -4px rgba(200,162,74,.45);
  --shadow-glow-soft: 0 0 0 1px rgba(200,162,74,.25), 0 0 20px -6px rgba(200,162,74,.30);
  --shadow-card: 0 18px 40px -22px rgba(0,0,0,.85);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--cream);
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(200,162,74,.10), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(156,122,46,.08), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }

h1,h2,h3 { color: var(--cream); margin: 0; }

.font-display { font-family: "Bebas Neue", Oswald, sans-serif; letter-spacing: .04em; line-height: .92; }
.font-head { font-family: Oswald, sans-serif; }
.eyebrow {
  font-family: Oswald, sans-serif; text-transform: uppercase;
  letter-spacing: .18em; font-size: .7rem; color: var(--gold);
}
.gold-text {
  background: var(--gold-sheen);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Layout shells ------------------------------------------------------- */
#app { min-height: 100svh; display: flex; flex-direction: column; }
.stage { flex: 1; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.center-screen {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.25rem; position: relative;
}

/* --- Buttons ------------------------------------------------------------- */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; cursor: pointer; border-radius: 999px;
  background: var(--gold-sheen); color: var(--ink);
  font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .18em;
  padding: 1rem 2.4rem; font-size: .9rem; transition: filter .2s, box-shadow .2s, transform .1s;
}
.btn-gold:hover { box-shadow: var(--shadow-glow); filter: brightness(1.05); }
.btn-gold:active { transform: scale(.98); }
.btn-gold:disabled { opacity: .5; pointer-events: none; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  cursor: pointer; border-radius: 999px; background: transparent;
  border: 1px solid var(--ink-500); color: var(--cream);
  font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .18em;
  padding: .8rem 1.6rem; font-size: .72rem; transition: border-color .2s, color .2s, transform .1s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-ghost:active { transform: scale(.98); }

.linklike {
  background: none; border: 0; cursor: pointer; color: var(--muted);
  font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; transition: color .2s;
}
.linklike:hover { color: var(--gold-bright); }

/* --- Panels / cards ------------------------------------------------------ */
.panel {
  border-radius: 1rem; background: rgba(33,26,19,.8);
  border: 1px solid rgba(58,47,34,.6); box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
}

/* --- Ambient glow blobs -------------------------------------------------- */
.glow {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0;
}
.glow.g1 { width: 380px; height: 380px; background: rgba(200,162,74,.12); top: -80px; left: 8%; }
.glow.g2 { width: 320px; height: 320px; background: rgba(156,122,46,.12); bottom: -60px; right: 10%; }

/* --- Start screen -------------------------------------------------------- */
.hero-eyebrow { margin-bottom: 1rem; }
.hero-title {
  font-family: "Bebas Neue", Oswald, sans-serif; letter-spacing: .03em; line-height: .9;
  font-size: clamp(2.8rem, 8vw, 6rem); position: relative; z-index: 1;
}
/* text-wrap:balance gleicht die Zeilenlängen aus, damit nicht ein einzelnes
   Wort allein in der letzten Zeile steht. Ältere Browser ignorieren die
   Angabe und brechen wie bisher um. */
.hero-sub { color: var(--muted); max-width: 36rem; margin: 1.2rem auto 2.2rem; font-size: 1.05rem; line-height: 1.6; z-index: 1; position: relative; text-wrap: balance; }

/* --- Loading / analysis -------------------------------------------------- */
.pulse-wrap { position: relative; width: 90px; height: 90px; margin-bottom: 2rem; }
.pulse-core {
  position: absolute; inset: 33px; border-radius: 50%; background: var(--gold-sheen);
  box-shadow: var(--shadow-glow);
}
.pulse-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold);
  animation: pulsering 1.8s ease-out infinite;
}
.pulse-ring.d2 { animation-delay: .6s; }
.pulse-ring.d3 { animation-delay: 1.2s; }
@keyframes pulsering {
  0% { transform: scale(.4); opacity: .7; }
  100% { transform: scale(1.3); opacity: 0; }
}
.loading-msg { font-family: Oswald, sans-serif; font-size: 1.1rem; color: var(--cream); min-height: 1.6em; }
.loading-msg.fade { animation: fadeup .4s ease both; }

.progress-track { width: min(420px, 80vw); height: 4px; background: var(--ink-500); border-radius: 999px; overflow: hidden; margin-top: 1.6rem; }
.progress-fill { height: 100%; background: var(--gold-sheen); width: 0; transition: width .4s ease; }

.spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink-500); border-top-color: var(--gold-bright); animation: spin 1s linear infinite; margin-bottom: 1.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Section header (entry/quiz) ----------------------------------------- */
.section-head { text-align: center; margin: 2.5rem 0 1.8rem; }
.section-head h2 { font-family: Oswald, sans-serif; font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: .5rem; }

/* --- Top progress bar (quiz) --------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(21,17,13,.82); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(58,47,34,.5); }
.topbar-inner { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.topbar .brand { font-family: "Bebas Neue", Oswald, sans-serif; letter-spacing: .04em; font-size: 1.4rem; color: var(--gold-bright); }
.topbar .steps { flex: 1; height: 4px; background: var(--ink-500); border-radius: 999px; overflow: hidden; }
.topbar .steps > span { display: block; height: 100%; background: var(--gold-sheen); width: 0; transition: width .35s ease; }
.topbar .count { font-family: Oswald, sans-serif; font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* --- Style cards grid ---------------------------------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
/* Breiter Desktop: höchstens 4 Frisuren pro Zeile -> größere Karten */
@media (min-width: 900px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}
.style-card {
  position: relative; cursor: pointer; border-radius: 1rem; overflow: hidden;
  background: var(--ink-700); border: 1px solid var(--ink-500);
  transition: transform .2s, box-shadow .2s, border-color .2s; text-align: left;
  padding: 0; color: inherit; font: inherit;
  display: flex; flex-direction: column;
}
.style-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-soft); border-color: rgba(200,162,74,.5); }
.style-card.selected { border-color: var(--gold); box-shadow: var(--shadow-glow); }
.style-card .thumb {
  aspect-ratio: 4/5; width: 100%; background: var(--ink-600); flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.style-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.style-card .thumb .placeholder { font-family: "Bebas Neue", Oswald, sans-serif; font-size: 3.4rem; color: var(--muted-deep); }
.style-card .meta { padding: .85rem .9rem 1rem; text-align: center; flex: 1 1 auto; }
.style-card .meta .name { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--cream); display: block; }
.style-card .meta .sub { color: var(--muted); font-size: .82rem; margin-top: .25rem; line-height: 1.35; display: block; }
.style-card .badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  background: var(--gold-sheen); color: var(--ink); font-family: Oswald, sans-serif;
  text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 600;
  padding: .25rem .6rem; border-radius: 999px;
}
.style-card .check {
  position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-sheen); color: var(--ink); display: none; align-items: center; justify-content: center; font-size: .9rem; font-weight: 700;
}
.style-card.selected .check { display: flex; }

/* --- Quiz answer tiles --------------------------------------------------- */
.q-card { max-width: 760px; margin: 0 auto; }
.q-title { font-family: Oswald, sans-serif; font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.2rem); text-align: center; }
.q-sub { color: var(--muted); text-align: center; margin-top: .5rem; }
.answers { display: grid; gap: .8rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.answer-tile {
  cursor: pointer; text-align: center; border-radius: .9rem; padding: 1.1rem 1.2rem;
  background: var(--ink-700); border: 1px solid var(--ink-500); color: inherit; font: inherit;
  transition: transform .15s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
}
.answer-tile:hover { transform: translateY(-2px); border-color: rgba(200,162,74,.55); box-shadow: var(--shadow-glow-soft); }
.answer-tile.selected { border-color: var(--gold); box-shadow: var(--shadow-glow); }
.answer-tile .lbl { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--cream); display: block; }
.answer-tile .desc { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }

.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }

/* --- Result -------------------------------------------------------------- */
.result-eyebrow { text-align: center; margin-bottom: .4rem; }
.result-title { text-align: center; font-family: Oswald, sans-serif; font-weight: 600; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-bottom: .3rem; }
.result-style { text-align: center; color: var(--gold-bright); font-family: "Bebas Neue", Oswald, sans-serif; letter-spacing: .04em; font-size: 1.6rem; margin-bottom: 2rem; }

.hero-product { display: flex; flex-direction: column; gap: 0; padding: 1.4rem; }
.hero-main { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: center; padding-top: 1.1rem; }
.hero-product .pimg { aspect-ratio: 1; border-radius: .8rem; background: var(--ink-600); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-product .pimg img { width: 100%; height: 100%; object-fit: cover; }
.hero-product .pimg .ph { font-family: "Bebas Neue", Oswald, sans-serif; font-size: 3rem; color: var(--muted-deep); }
.hero-product .role { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--gold); }
.hero-product .pname { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.5rem; color: var(--cream); margin: .25rem 0; }
.hero-product .pprice { font-size: 1.2rem; color: var(--cream); }
.hero-product .pmenge { font-family: Oswald, sans-serif; font-size: .85rem; letter-spacing: .05em; color: var(--muted); margin: .05rem 0 .25rem; }
.reasons { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.reasons li { font-size: .78rem; color: var(--cream-soft); background: var(--ink-600); border: 1px solid var(--ink-500); padding: .25rem .65rem; border-radius: 999px; }

.companions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.comp { padding: 1rem; display: flex; gap: .85rem; align-items: center; }
.comp .cimg { width: 60px; height: 60px; border-radius: .6rem; background: var(--ink-600); overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; }
.comp .cimg img { width: 100%; height: 100%; object-fit: cover; }
.comp .cimg .ph { font-family: "Bebas Neue", Oswald, sans-serif; font-size: 1.6rem; color: var(--muted-deep); }
.comp .role { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; color: var(--gold); }
.comp .cname { font-size: .92rem; color: var(--cream); margin-top: .15rem; line-height: 1.3; }
.comp .cprice { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

.coupon-chip {
  display: inline-flex; align-items: center; gap: .5rem; margin: 1.6rem auto 0;
  background: rgba(200,162,74,.1); border: 1px dashed rgba(200,162,74,.5); color: var(--gold-bright);
  border-radius: 999px; padding: .5rem 1rem; font-size: .85rem;
}
.coupon-chip code { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--cream); }

.result-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 2rem; }

.empty-state { text-align: center; padding: 3rem 1.25rem; }
.empty-state .big { font-family: "Bebas Neue", Oswald, sans-serif; font-size: 2.4rem; color: var(--muted); }

.note { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 1rem; }
.error-text { color: #e7a3a3; font-size: .9rem; text-align: center; margin-top: 1rem; }

/* --- helpers ------------------------------------------------------------- */
.hidden { display: none !important; }
.fade-up { animation: fadeup .5s ease both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 540px) {
  .hero-product { text-align: center; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-recap-items { justify-content: center; }
  .hero-product .pimg { max-width: 200px; margin: 0 auto; }
  .reasons { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* === Start-Logo (animiert, formgenau maskiert) ========================== */
.brand-logo {
  position: relative; z-index: 2;
  margin: 0 auto 1.6rem;
  width: min(340px, 72vw);
  animation: logo-drop 1s cubic-bezier(.2,.8,.2,1) both;
  transform-style: preserve-3d; perspective: 800px;
}
.brand-logo .logo-img {
  position: relative; display: block; width: 100%;
  animation: logo-float 5.5s ease-in-out infinite 1s;
  transition: transform .35s ease, filter .35s ease;
  will-change: transform;
}
.brand-logo .logo-img img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.55));
}
/* Glanz-Sweep liegt ÜBER dem Logo, wird aber per Mask exakt auf die
   sichtbaren (nicht transparenten) Bildbereiche begrenzt. */
.brand-logo .logo-sheen {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 38%, rgba(255,240,200,.5) 47%, rgba(255,255,255,.85) 50%, rgba(255,240,200,.5) 53%, transparent 62%);
  background-size: 250% 100%;
  background-position: 200% 0;
  mix-blend-mode: screen; opacity: 0;
  -webkit-mask: url(../img/hairbase-logo.png) center / 100% 100% no-repeat;
          mask: url(../img/hairbase-logo.png) center / 100% 100% no-repeat;
  animation: logo-sheen 6.5s ease-in-out 1.1s infinite;
}
/* dezenter Gold-Glow hinter dem Logo (rund, dekorativ) */
.brand-logo::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 118%; height: 130%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200,162,74,.26), transparent 70%);
  filter: blur(16px);
  animation: logo-glow 4s ease-in-out infinite;
}
.brand-logo:hover .logo-img { transform: rotateX(6deg) rotateY(-6deg) scale(1.03); filter: drop-shadow(0 14px 38px rgba(200,162,74,.4)); }

@keyframes logo-drop {
  0%   { opacity: 0; transform: translateY(-34px) scale(.9); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logo-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes logo-sheen {
  0%   { background-position: 200% 0; opacity: 0; }
  4%   { opacity: 1; }
  22%  { background-position: -120% 0; opacity: 0; }
  100% { background-position: -120% 0; opacity: 0; }
}
@keyframes logo-glow {
  0%,100% { opacity: .5;  transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: .85; transform: translate(-50%,-50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo, .brand-logo .logo-img, .brand-logo .logo-sheen, .brand-logo::before { animation: none !important; }
}

/* ===========================================================================
   Stil-Logik-Update: Längen-Hinweis, Ergebnis-Hinweis, Optional-Badge
   =========================================================================== */
.hint-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--ink-700); border: 1px solid var(--ink-500);
  border-radius: 18px; padding: 2.2rem 1.8rem 2rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.hint-card .hint-ico {
  width: 46px; height: 46px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: Oswald, sans-serif; font-weight: 700; font-size: 1.4rem;
  color: var(--ink); background: var(--gold-sheen);
  box-shadow: 0 6px 18px rgba(200,162,74,.35);
}
.hint-card .hint-text {
  color: var(--cream-soft); font-size: 1.02rem; line-height: 1.55;
  margin: 0 0 1.6rem;
}
.hint-card .btn-gold { width: 100%; }

/* Ehrlicher Ergebnis-Hinweis (z. B. Buzz Cut: kein Produkt nötig) */
.result-note {
  max-width: 620px; margin: 1.1rem auto 0; text-align: center;
  background: rgba(200,162,74,.08);
  border: 1px solid rgba(200,162,74,.30);
  border-radius: 14px; padding: 1rem 1.3rem;
  color: var(--cream-soft); font-size: .97rem; line-height: 1.5;
}
.result-hint {
  max-width: 620px; margin: .55rem auto 0; text-align: center;
  background: rgba(231,220,198,.05);
  border: 1px solid rgba(231,220,198,.16);
  border-radius: 12px; padding: .7rem 1.1rem;
  color: var(--cream-soft); font-size: .9rem; line-height: 1.45; opacity: .92;
}

/* Styling-Tipp im "Hairbase-Tipp von Roman"-Design – identisch zur Frisurenseite
   (.fp-expert in frisur.css). Sitzt im Ergebnis vor "Dazu empfehlen wir". */
.result-expert { margin: 2.4rem 0 0; }
.result-expert-inner {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; align-items: start;
  background: var(--ink-800); border: 1px solid var(--ink-600);
  border-radius: 14px; padding: 1.2rem 1.35rem;
}
.result-expert-mark {
  grid-row: 1 / span 3; align-self: start; width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; background: var(--ink-700);
}
.result-expert-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.result-expert-h {
  margin: 0 0 .3rem; font-family: Oswald, sans-serif; font-weight: 600;
  color: var(--gold-bright); font-size: 1rem;
}
.result-expert-t { margin: 0; color: var(--cream-soft); font-size: .96rem; line-height: 1.6; }
.result-expert-since {
  margin: .55rem 0 0; font-family: Oswald, sans-serif; text-transform: uppercase;
  letter-spacing: .06em; font-size: .66rem; color: var(--muted);
}

/* "Optional"-Kennzeichnung an Produkt-Rollen */
.opt-badge {
  display: inline-block; vertical-align: middle;
  font-family: Oswald, sans-serif; font-weight: 600;
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(200,162,74,.45); border-radius: 999px;
  padding: .12rem .5rem; margin-left: .15rem;
}

/* Positive Inline-Bestätigung bei passender Länge + grüne Hinweis-Variante */

/* ===========================================================================
   Ergebnis-Erweiterung: KI-Kennzeichnung, Frisur-Visual, Alternativen, Set-Summe
   =========================================================================== */

/* KI-Kennzeichnung (EU AI Act, Art. 50) – klar sichtbar, dezent */
.style-card .thumb { position: relative; }
.ai-badge {
  position: absolute; left: .55rem; bottom: .55rem; z-index: 2;
  font-family: Oswald, sans-serif; font-weight: 600;
  font-size: .64rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--cream); background: rgba(8,6,4,.72);
  border: 1px solid rgba(242,233,216,.28); border-radius: 7px;
  padding: .22rem .5rem; backdrop-filter: blur(3px);
}
.ai-badge.sm { left: .45rem; bottom: .45rem; font-size: .56rem; padding: .16rem .42rem; pointer-events: none; }
.ai-note { display: inline-flex; align-items: center; gap: .5rem; margin: .8rem auto 0; color: var(--cream-soft); font-size: .86rem; line-height: 1.3; background: rgba(200,162,74,.09); border: 1px solid rgba(200,162,74,.30); border-radius: 999px; padding: .42rem .9rem; }
.ai-note-tag { font-family: Oswald, sans-serif; font-weight: 700; font-size: .62rem; letter-spacing: .08em; color: var(--ink); background: var(--gold-sheen); border-radius: 5px; padding: .14rem .42rem; }

/* Hauptprodukt + gewählte Frisur nebeneinander */
.result-hero-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.1rem; align-items: start; margin-top: 1.4rem; }
.hero-left { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
@media (min-width: 721px) {
  .result-headline,
  .result-headline .result-eyebrow,
  .result-headline .result-title,
  .result-headline .result-style,
  .result-headline .result-note,
  .result-headline .result-disclaimer { text-align: left; }
  .result-headline .result-note,
  .result-headline .result-disclaimer { margin-left: 0; margin-right: 0; max-width: none; }
  .result-headline .result-hint { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
  .result-headline .result-style { margin-bottom: 1.2rem; }
}
.result-hero-row .hero-product { margin: 0; }
.style-visual { display: flex; flex-direction: column; text-align: center; padding: 1.1rem; }
.style-visual .svimg {
  position: relative; aspect-ratio: 4 / 5; border-radius: .8rem; overflow: hidden;
  background: var(--ink-600); display: flex; align-items: center; justify-content: center; margin-bottom: .8rem;
}
.style-visual .svimg img { width: 100%; height: 100%; object-fit: cover; }
.style-visual .svimg .ph { font-family: "Bebas Neue", Oswald, sans-serif; font-size: 3rem; color: var(--muted-deep); }
.style-visual .role { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; color: var(--gold); }
.style-visual .svname { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--cream); margin-top: .2rem; }
.style-visual .svsub { color: var(--muted); font-size: .82rem; margin-top: .25rem; line-height: 1.35; }

/* Detail-Link zu Shopware (neuer Tab) */
.plink { display: inline-block; margin-top: .7rem; font-family: Oswald, sans-serif; font-size: .8rem; letter-spacing: .03em; color: var(--gold-bright); border-bottom: 1px solid rgba(200,162,74,.4); padding-bottom: 1px; }
.plink:hover { color: var(--cream); border-color: var(--cream); text-decoration: none; }
.comp .plink, .alt-card .plink { margin-top: .35rem; font-size: .76rem; }
/* Pfeil-Icon (ersetzt das \u2197-Emoji): immer in Textfarbe, plattformunabhängig */
.ico-ne { width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plink .ico-ne { margin-left: .35em; vertical-align: -0.12em; }

/* Alternativen zum Hauptprodukt */
.alts-wrap { margin-top: 2rem; }
.alts-head { text-align: center; font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--cream); margin: 0 0 .2rem; }
.alts-hint { text-align: center; color: var(--muted); font-size: .82rem; margin: 0 0 1rem; }
.alts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.alt-card { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; }
.alt-card .cimg { width: 64px; height: 64px; border-radius: .6rem; background: var(--ink-600); overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; }
.alt-card .cimg img { width: 100%; height: 100%; object-fit: cover; }
.alt-card .cimg .ph { font-family: "Bebas Neue", Oswald, sans-serif; font-size: 1.6rem; color: var(--muted-deep); }
.alt-card .cname { font-size: .95rem; color: var(--cream); line-height: 1.3; }
.alt-card .cprice { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.alt-card .cmenge, .comp .cmenge { font-family: Oswald, sans-serif; font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin-top: .12rem; }
.alt-reason { font-size: .76rem; color: var(--cream-soft); margin-top: .35rem; line-height: 1.35; }
.alt-actions { display: flex; align-items: center; gap: .85rem; margin-top: .6rem; flex-wrap: wrap; }
.btn-mini { cursor: pointer; border: 1px solid var(--gold); background: transparent; color: var(--gold-bright); font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding: .4rem .9rem; border-radius: 999px; }
.btn-mini:hover { background: var(--gold-sheen); color: var(--ink); }

/* Set-Zusammenfassung (Preis + Ersparnis) */
.set-summary { margin-top: 1.6rem; }
.summary-panel { padding: 1.2rem 1.3rem; max-width: 520px; margin: 0 auto; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .95rem; color: var(--cream-soft); padding: .25rem 0; }
.sum-row.save { color: var(--gold-bright); }
.sum-row.total { border-top: 1px solid var(--ink-500); margin-top: .35rem; padding-top: .6rem; font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--cream); }
.sum-hint { margin-top: .7rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
/* Besuchte Links behalten ihre Farbe - der Browser würde sie sonst violett
   einfärben, was im Preisblock deplatziert wirkt. */
.sum-hint a, .sum-hint a:visited { color: var(--cream-soft); text-decoration: underline; text-underline-offset: 2px; }
.sum-hint a:hover { color: var(--gold-bright); }
.sum-hint code { color: var(--gold-bright); background: var(--ink-600); padding: .05rem .35rem; border-radius: 5px; }

@media (max-width: 720px) {
  .result-hero-row { grid-template-columns: 1fr; }
}

/* Wartungsmodus + Vorschau-Banner */
.maint-card { max-width: 480px; margin: 0 auto; text-align: center; background: var(--ink-700); border: 1px solid var(--ink-500); border-radius: 18px; padding: 2.4rem 1.9rem; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.maint-card .maint-title { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.6rem; color: var(--cream); margin: .45rem 0 .85rem; }
.maint-card .maint-text { color: var(--cream-soft); font-size: 1rem; line-height: 1.6; }
.preview-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 60; text-align: center; font-family: Oswald, sans-serif; font-size: .78rem; letter-spacing: .04em; color: var(--ink); background: var(--gold-sheen); padding: .5rem 1rem; box-shadow: 0 2px 12px rgba(0,0,0,.25); }

/* Warenkorb: Erklärtext + Folge-Button (neuer Tab) */
.cart-explain { max-width: 540px; margin: 0; text-align: center; color: var(--cream-soft); font-size: .9rem; line-height: 1.55; }
.cart-explain strong { color: var(--gold-bright); }
.cart-hint { max-width: 540px; margin: -.25rem 0 0; text-align: center; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.cart-followup { display: flex; justify-content: center; width: 100%; }
.cart-followup:empty { display: none; }
.cart-go { text-decoration: none; display: inline-block; }
.cart-go:hover { text-decoration: none; }
.ok-text { color: #9FD68A; }

/* Ergebnis: Hinweis auf Vor-Ort-Beratung */
.result-disclaimer { max-width: 620px; margin: .6rem auto 0; text-align: center; color: var(--muted); font-size: .82rem; line-height: 1.55; font-style: italic; }

/* Ergebnis: Recap-Box "Deine Angaben" */
.hero-recap { display: flex; flex-direction: column; gap: .6rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(58,47,34,.55); }
.hero-recap-head { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: var(--gold); }
.hero-recap-items { display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; }
.hero-recap-item { display: flex; flex-direction: column; gap: .12rem; line-height: 1.1; }
.hr-label { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; color: var(--muted); }
.hr-val { font-family: Oswald, sans-serif; font-weight: 600; font-size: .9rem; color: var(--cream); }

/* Ergebnis: Frisuren-Beschreibung unter dem Foto */
.style-visual .svdesc{margin-top:.7rem;padding-top:.7rem;border-top:1px solid rgba(58,47,34,.5);color:var(--cream-soft);font-size:.86rem;line-height:1.55;text-align:left}

/* === Site-Footer: rechtliche Links === */
.site-footer { width: 100%; padding: 1.4rem 1.25rem 1.6rem; text-align: center; border-top: 1px solid rgba(58,47,34,.4); margin-top: auto; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3rem .6rem; }
.site-footer a { color: var(--muted); font-size: .75rem; text-decoration: none; letter-spacing: .03em; transition: color .18s; }
.site-footer a:hover { color: var(--gold); }
.footer-sep { color: rgba(255,255,255,.15); font-size: .7rem; user-select: none; }

/* === Gespeichertes Ergebnis (E-Mail-Link) ================================ */
.saved-note { text-align: center; color: var(--muted); font-size: .92rem; line-height: 1.5; margin: .2rem auto 1.4rem; max-width: 34rem; }
.saved-note-h { color: var(--gold); white-space: nowrap; }

/* === "Ergebnis per E-Mail sichern" ====================================== */
.save-panel { max-width: 640px; margin: 2.6rem auto 0; padding: 1.9rem 1.6rem; text-align: center; }
.save-eyebrow { display: block; }
.save-title { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--cream); margin: .4rem 0 .55rem; }
.save-intro { color: var(--muted); font-size: .96rem; line-height: 1.55; margin: 0 auto 1.3rem; max-width: 31rem; }
.save-fields { display: flex; flex-direction: column; gap: .85rem; max-width: 31rem; margin: 0 auto 1.25rem; }
/* Feldbeschriftung über dem E-Mail-Feld */
.save-label{display:block;font-family:Oswald,sans-serif;font-size:.72rem;
  text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:.35rem}
.save-input { width: 100%; box-sizing: border-box; background: var(--ink-800); border: 1px solid var(--ink-500); border-radius: 12px; color: var(--cream); padding: .9rem 1rem; font-size: 1rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.save-input::placeholder { color: var(--muted-deep); }
.save-input:focus { outline: none; border-color: var(--gold); box-shadow: var(--shadow-glow-soft); }
.save-check { display: flex; gap: .6rem; align-items: flex-start; text-align: left; color: var(--muted); font-size: .82rem; line-height: 1.5; cursor: pointer; }
.save-check input { margin-top: .15rem; width: 1rem; height: 1rem; accent-color: var(--gold); flex: 0 0 auto; cursor: pointer; }
.save-check a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.save-check a:hover { color: var(--gold-bright); }
.save-btn { margin-top: .2rem; }
.save-msg { margin-top: .95rem; font-size: .85rem; min-height: 1em; color: var(--muted); }
.save-msg.err { color: #e7a3a3; }
.save-panel.save-done { opacity: .55; pointer-events: none; }
/* Honeypot: für Menschen unsichtbar, von Bots ggf. ausgefüllt */
.hp-wrap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* === Goldenes Popup (wiederverwendbar) ================================== */
.gold-modal-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(10,8,5,.66); backdrop-filter: blur(6px); animation: gmFade .18s ease; }
.gold-modal { position: relative; width: 100%; max-width: 420px; background: var(--ink-700); border: 1px solid var(--gold); border-radius: 18px; padding: 2.1rem 1.8rem 1.7rem; text-align: center; box-shadow: var(--shadow-glow), var(--shadow-card); animation: gmPop .2s ease; }
.gm-close { position: absolute; top: .55rem; right: .8rem; background: none; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: .15rem .45rem; }
.gm-close:hover { color: var(--cream); }
.gm-eyebrow { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--gold); }
.gm-title { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.35rem; color: var(--cream); margin: .5rem 0 .7rem; line-height: 1.25; }
.gm-body { color: var(--cream-soft); font-size: .95rem; line-height: 1.6; margin: 0 0 1.4rem; }
.gm-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.gold-modal .btn-gold { padding: .82rem 1.8rem; font-size: .8rem; }
.gm-ghost { background: none; border: 1px solid var(--ink-500); color: var(--cream); border-radius: 999px; padding: .82rem 1.6rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; cursor: pointer; transition: border-color .2s; }
.gm-ghost:hover { border-color: var(--gold); }
@keyframes gmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gmPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* === Basis-Badge (oil-/waterbased) links neben dem Preis ================ */
.base-badge {
  display: inline-block; vertical-align: middle; margin-right: .5rem;
  padding: .14rem .5rem .1rem; border-radius: 999px;
  font-family: Oswald, sans-serif; font-size: .62rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; line-height: 1.3;
}
.base-water { color: #8fc7f0; background: rgba(59,130,246,.14); border: 1px solid rgba(96,165,250,.45); }
.base-oil   { color: #f0b07a; background: rgba(224,138,60,.15); border: 1px solid rgba(224,138,60,.5); }

/* === Quiz: ausgewählte Frisur rechts neben den Fragen =================== */
.q-layout { display: flex; gap: 2rem; align-items: flex-start; justify-content: center; }
.q-layout .q-card { flex: 1 1 560px; max-width: 620px; margin: 0; }
.q-style-aside { flex: 0 0 300px; position: sticky; top: 84px; }
.q-style-card {
  background: rgba(33,26,19,.8); border: 1px solid rgba(58,47,34,.6);
  border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-card);
}
.q-style-thumb { position: relative; aspect-ratio: 4/5; width: 100%; background: var(--ink-600); overflow: hidden; }
.q-style-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-style-meta { padding: .85rem .9rem 1rem; text-align: center; }
.q-style-eyebrow { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .65rem; color: var(--gold); }
.q-style-name { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--cream); margin-top: .15rem; }
@media (max-width: 860px) {
  .q-layout { flex-direction: column; gap: 1.5rem; }
  .q-layout .q-card { flex: none; max-width: 760px; width: 100%; }
  /* Foto UNTER die Fragen (kein order-Wechsel), volles 4/5-Format, nur schmaler */
  .q-style-aside { position: static; flex: none; width: 100%; max-width: 230px; margin: .2rem auto 0; }
}

/* Zweiter "Ich kenne meinen Style nicht"-Button über dem KI-Hinweis */
.alt-cta-top { margin: 1.2rem 0 .4rem; }

/* === "Dazu empfehlen wir" + Vorteils-Set-Karte (Resultat) =============== */
.comp-head { text-align: center; margin: 2.4rem 0 .4rem; }
.comp-title { font-weight: 600; margin: 0; }
.comp-sub { color: var(--muted); font-size: .9rem; margin: .35rem auto 0; max-width: 30rem; line-height: 1.5; }

.set-card { margin-top: 2rem; padding: 1.5rem 1.5rem 1.6rem; border-color: rgba(200,162,74,.40); box-shadow: var(--shadow-glow-soft), var(--shadow-card); }
.set-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.set-card-title { font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.3rem; color: var(--cream); }
.set-deal-tag { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--ink); background: var(--gold-sheen); padding: .32rem .7rem; border-radius: 999px; white-space: nowrap; }

.set-lineup { display: flex; flex-direction: column; }
.set-line { display: flex; align-items: center; gap: .85rem; padding: .65rem 0; border-bottom: 1px solid rgba(58,47,34,.4); }
.set-line:last-child { border-bottom: 0; }
.set-line-thumb { width: 62px; height: 62px; border-radius: .55rem; background: var(--ink-600); overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; }
.set-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.set-line-thumb .ph { font-family: "Bebas Neue", Oswald, sans-serif; font-size: 1.65rem; color: var(--muted-deep); }
.set-line-info { flex: 1 1 auto; min-width: 0; }
.set-line-role { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--gold); }
.set-line-name { font-size: .95rem; color: var(--cream); margin-top: .1rem; line-height: 1.3; }
.set-line-price { font-family: Oswald, sans-serif; font-size: .98rem; color: var(--cream-soft); flex: none; white-space: nowrap; }

.set-prices { margin-top: .9rem; border-top: 1px solid var(--ink-500); padding-top: .85rem; }
.set-final { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: Oswald, sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--cream); }
.set-final span:last-child { color: var(--gold-bright); }
.set-prices .set-final:not(:first-child) { border-top: 1px solid var(--ink-500); margin-top: .45rem; padding-top: .6rem; }
.set-save { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .85rem; }
.set-save-pill { font-family: Oswald, sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .02em; color: var(--ink); background: var(--gold-sheen); padding: .32rem .8rem; border-radius: 999px; }
.set-save-code code { color: var(--gold-bright); background: var(--ink-600); padding: .05rem .35rem; border-radius: 5px; }

/* === Hairbase-Tipp im Begleitprodukt-Card =============================== */
.comp-tip { margin-top: .6rem; padding-top: .55rem; border-top: 1px solid rgba(200,162,74,.22); }
.tip-badge { display: inline-block; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .11em; font-size: .72rem; font-weight: 600; line-height: 1; color: #2A1B05; background: linear-gradient(135deg, #F2D479 0%, #D9B255 45%, #B6862C 100%); padding: .22rem .62rem; border-radius: 6px; white-space: nowrap; box-shadow: 0 0 12px -2px rgba(217,178,85,.6); }
.tip-text { margin: .45rem 0 0; font-size: .85rem; font-style: italic; color: var(--cream); line-height: 1.5; }

/* === Wege zu den Frisurenseiten ========================================== */
/* Startbildschirm: leiser Zweitweg für alle, die lieber stöbern als antworten */
.start-browse{display:inline-block;margin-top:1.1rem;color:var(--muted);font-family:Oswald,sans-serif;
  font-size:.86rem;letter-spacing:.04em;text-decoration:none;border-bottom:1px solid rgba(161,144,122,.35);
  padding-bottom:.15rem;transition:color .2s,border-color .2s}
.start-browse:hover{color:var(--gold-bright);border-color:var(--gold)}

/* Ergebnis: Anleitung zur gewählten Frisur. Bewusst ohne Gold-Fläche, damit
   der Warenkorb-Knopf darüber der klare Hauptweg bleibt. */
/* Zweiter sinnvoller Weg neben dem Warenkorb: breiter und heller umrandet als
   zuvor, damit die Box nicht wie eine Fußnote unter dem Kaufbereich wirkt. */
.result-guide{display:block;margin:1.4rem auto 0;max-width:38rem;text-align:left;
  background:rgba(200,162,74,.09);border:1px solid rgba(228,198,106,.45);border-radius:14px;
  padding:1.05rem 1.25rem;text-decoration:none;transition:border-color .2s,background .2s}
.result-guide:hover{border-color:var(--gold-bright);background:rgba(200,162,74,.15)}
.result-guide-k{display:block;font-family:Oswald,sans-serif;font-size:.64rem;
  text-transform:uppercase;letter-spacing:.14em;color:var(--gold);margin-bottom:.3rem}
.result-guide-t{display:block;font-family:Oswald,sans-serif;font-weight:600;font-size:1.06rem;
  color:var(--gold-bright);margin-bottom:.2rem}
.result-guide-t::after{content:' \2192';}
.result-guide-s{display:block;color:var(--cream-soft);font-size:.86rem;line-height:1.5}

/* === Marken-Badge und "Zeig deinem Friseur" im Ergebnis =================== */
/* Das Bild im Ergebnis ist der Bezugsrahmen für beide Kennzeichnungen. */
.style-visual .svimg{position:relative}
.style-visual .brand-badge{position:absolute;right:.55rem;bottom:.55rem;z-index:2;
  font-family:Oswald,sans-serif;font-weight:700;font-size:.62rem;letter-spacing:.1em;
  color:var(--gold-bright);background:rgba(8,6,4,.72);border:1px solid rgba(228,198,106,.42);
  border-radius:7px;padding:.2rem .48rem;backdrop-filter:blur(3px);pointer-events:none;user-select:none}

.sv-show-btn{display:inline-flex;align-items:center;gap:.5rem;margin:1rem auto 0;
  font-family:Oswald,sans-serif;font-size:.84rem;letter-spacing:.03em;color:var(--cream-soft);
  background:rgba(200,162,74,.10);border:1px solid rgba(200,162,74,.34);border-radius:999px;
  padding:.52rem 1rem;cursor:pointer;transition:border-color .18s,color .18s,background .18s}
.sv-show-btn:hover{border-color:var(--gold);color:var(--cream);background:rgba(200,162,74,.17)}
.sv-show-btn:focus,.sv-show-x:focus{outline:none}
.sv-show-btn:focus-visible,.sv-show-x:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}
.sv-show-btn svg{color:var(--gold-bright);flex:none}

/* Ansicht zum Abfotografieren */
.sv-show{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:.8rem;padding:1.1rem;
  background:rgba(6,4,3,.93);backdrop-filter:blur(6px);overflow-y:auto}
.sv-show-x{position:absolute;top:.7rem;right:.9rem;background:none;border:0;
  color:var(--muted);font-size:2rem;line-height:1;cursor:pointer;padding:.2rem .5rem}
.sv-show-x:hover{color:var(--cream)}
.sv-show-card{position:relative;margin:0;width:min(440px,92vw);border-radius:16px;overflow:hidden;
  border:1px solid var(--ink-600);box-shadow:0 30px 70px -30px rgba(0,0,0,.95)}
.sv-show-card img{display:block;width:100%;height:auto}
.sv-show-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:58%;pointer-events:none;
  background:linear-gradient(to top,rgba(6,4,3,.94) 0%,rgba(6,4,3,.78) 38%,rgba(6,4,3,.30) 70%,transparent 100%)}
.sv-show-cap{position:absolute;left:0;right:0;bottom:2.7rem;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:0 1.1rem;text-align:center}
.sv-show-name{font-family:'Bebas Neue',Oswald,sans-serif;font-weight:400;
  font-size:clamp(1.6rem,7.5vw,2.3rem);line-height:1;letter-spacing:.03em;color:#fff;
  text-shadow:0 2px 14px rgba(0,0,0,.75)}
.sv-show-name.is-long{font-size:clamp(1.25rem,5.6vw,1.75rem)}
.sv-show-sub{font-family:Oswald,sans-serif;font-size:.95rem;letter-spacing:.06em;color:#fff;
  opacity:.92;text-shadow:0 2px 12px rgba(0,0,0,.75)}
.sv-show-hint{margin-top:.5rem;font-size:.8rem;line-height:1.4;color:rgba(255,255,255,.82);
  max-width:26ch;text-shadow:0 2px 10px rgba(0,0,0,.8)}
/* Kennzeichnungen im Bild: links KI-Hinweis, rechts Marke - wie auf den
   Frisurenseiten. Die Angaben werden hier vollständig gesetzt, weil die
   allgemeinen Regeln im Quiz auf die Ergebniskachel zugeschnitten sind. */
.sv-show-card .ai-badge,
.sv-show-card .brand-badge{
  position:absolute;bottom:.55rem;z-index:3;margin:0;
  font-family:Oswald,sans-serif;font-size:.64rem;line-height:1;text-transform:uppercase;
  background:rgba(8,6,4,.72);border-radius:7px;padding:.24rem .5rem;
  backdrop-filter:blur(3px);pointer-events:none;user-select:none;
}
.sv-show-card .ai-badge{left:.55rem;font-weight:600;letter-spacing:.05em;
  color:var(--cream);border:1px solid rgba(242,233,216,.28)}
.sv-show-card .brand-badge{right:.55rem;font-weight:700;letter-spacing:.1em;
  color:var(--gold-bright);border:1px solid rgba(228,198,106,.42)}
.sv-show-tip{margin:0;color:var(--muted);font-size:.82rem;text-align:center}
@media (max-width:420px){ .sv-show-cap{bottom:2.4rem} .sv-show-hint{font-size:.76rem} }

/* === Filter nach Haarlänge in der Frisurenauswahl ======================== */
/* Gleiche Einteilung und Optik wie auf der Frisurenübersicht. */
.len-filter{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;
  max-width:1080px;margin:0 auto 1.4rem;padding:.8rem 1.05rem;
  background:var(--ink-800);border:1px solid var(--ink-600);border-radius:14px}
.len-filter-t{font-family:Oswald,sans-serif;font-size:.72rem;text-transform:uppercase;
  letter-spacing:.12em;color:var(--muted);flex:none}
.len-chips{display:flex;flex-wrap:wrap;gap:.4rem}
.len-chip{display:inline-flex;align-items:center;gap:.45rem;font-family:Oswald,sans-serif;
  font-size:.85rem;letter-spacing:.02em;color:var(--cream-soft);background:transparent;
  border:1px solid var(--ink-600);border-radius:999px;padding:.42rem .9rem;cursor:pointer;
  transition:border-color .18s,color .18s,background .18s;white-space:nowrap}
.len-chip:hover{border-color:var(--ink-500);color:var(--cream)}
.len-chip.is-on{background:rgba(200,162,74,.16);border-color:var(--gold);color:var(--gold-bright)}
.len-n{font-size:.73rem;color:var(--muted);font-variant-numeric:tabular-nums}
.len-chip.is-on .len-n{color:var(--gold-bright)}
/* Fokusring nur bei Tastaturbedienung */
.len-chip:focus{outline:none}
.len-chip:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}
@media (max-width:600px){
  .len-filter{padding:.7rem .8rem;gap:.6rem}
  .len-chip{font-size:.8rem;padding:.38rem .75rem}
}

/* === Ausstieg aus dem Fragebogen ========================================= */
/* Bewusst zurückhaltend: ein Textlink, kein Knopf - er soll erreichbar sein,
   aber nicht vom Beantworten der Frage ablenken. */
.q-exit{margin-top:.9rem;padding-top:.9rem;border-top:1px solid var(--ink-600);text-align:center}
.q-exit-link{background:none;border:0;padding:0;cursor:pointer;
  color:var(--muted);font-size:.84rem;letter-spacing:.02em;
  text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:rgba(161,144,122,.4);transition:color .18s}
.q-exit-link:hover{color:var(--gold-bright);text-decoration-color:var(--gold)}
.q-exit-link:focus{outline:none}
.q-exit-link:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px;border-radius:4px}

/* === Frisur wechseln, Angaben behalten =================================== */
/* Bewusst als Textlink: Der goldene Warenkorb-Knopf darüber bleibt die
   dominante Aktion, hier steht nur ein zweiter Weg - gut lesbar, aber ohne
   eigene Fläche, die mit dem Kauf konkurriert. */
.result-switch{display:inline-block;margin:.9rem auto 0;background:none;border:0;padding:.35rem .2rem;
  cursor:pointer;font-family:Oswald,sans-serif;font-size:.9rem;letter-spacing:.02em;
  color:var(--cream-soft);text-decoration:underline;text-underline-offset:4px;
  text-decoration-color:rgba(200,162,74,.45);transition:color .2s,text-decoration-color .2s}
.result-switch:hover{color:var(--gold-bright);text-decoration-color:var(--gold)}
.result-switch:focus{outline:none}
.result-switch:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px;border-radius:4px}

/* Hinweis auf gespeicherte Angaben über der Frisurenauswahl */
.entry-reset{max-width:var(--maxw,1080px);margin:0 auto 1.1rem;padding:.6rem .9rem;
  background:var(--ink-800);border:1px solid var(--ink-600);border-radius:10px;
  color:var(--muted);font-size:.83rem;line-height:1.5;text-align:center}
.entry-reset-link{background:none;border:0;padding:0;cursor:pointer;
  color:var(--cream-soft);font-size:.83rem;text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:rgba(161,144,122,.5);transition:color .18s}
.entry-reset-link:hover{color:var(--gold-bright);text-decoration-color:var(--gold)}
.entry-reset-link:focus{outline:none}
.entry-reset-link:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px;border-radius:4px}

@media (max-width:600px){
  .result-switch{font-size:.86rem;display:block;width:100%;text-align:center}
  .entry-reset{font-size:.8rem;padding:.55rem .75rem}
  .entry-reset span{display:block;margin-bottom:.25rem}
}



/* Hairbase-Tipp-Box (Quiz-Ergebnis): auf schmalen Screens Logo+Titel oben, Text darunter */
@media (max-width: 560px) {
  .result-expert-inner { grid-template-columns: auto 1fr; column-gap: .7rem; row-gap: .5rem; align-items: center; }
  .result-expert-mark { grid-row: 1; align-self: center; }
  .result-expert-t { grid-column: 1 / -1; }
  .result-expert-since { grid-column: 1 / -1; }
}
