/* ============================================================
   Beratungspraxis Mindset — Styles
   Layout nach Vorlage (Portfolio-Hero) · Farben: Gold/Amber auf Schwarz
   ============================================================ */

:root {
  /* Markenfarben */
  --black-900: #08080a;   /* tiefes Schwarz (Logo-Badge) */
  --black-800: #100d09;   /* warmes Anthrazit */
  --bronze-700: #1e1408;  /* dunkles Warmbraun */
  --bronze-600: #2c1d0a;  /* Amber-Schatten */

  --text:        #f7f4ed;
  --text-muted:  #b9b4a6;
  --text-dim:    #837c6d;
  --gold:        #f0a91e;
  --gold-light:  #f6c453;
  --line:        rgba(240, 169, 30, 0.20);
  --line-soft:   rgba(255, 255, 255, 0.08);
  --surface:     rgba(255, 255, 255, 0.035);

  /* Type scale */
  --f-xs: 0.8125rem;
  --f-sm: 0.9375rem;
  --f-base: 1.0625rem;
  --f-lg: 1.25rem;
  --f-xl: 1.5rem;
  --f-2xl: 2rem;
  --f-3xl: 2.75rem;
  --f-hero: clamp(3rem, 7.5vw, 6rem);

  --maxw: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: var(--f-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--black-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .nav__logo, .footer__logo {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); }

.container { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--gold); color: var(--black-900);
  padding: 0.5rem 1rem; border-radius: 8px; z-index: 100;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ STICKY ANIMIERTER HEADER ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  transition: padding 0.4s var(--ease);
}
/* Dunkler Balken „wächst" beim Andocken von oben herein */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(12, 10, 8, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  transform: scaleY(0); transform-origin: top; opacity: 0;
  transition: transform 0.42s var(--ease), opacity 0.32s var(--ease);
}
.site-header.is-stuck { padding: 1rem 0; }
.site-header.is-stuck::before { transform: scaleY(1); opacity: 1; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(6rem, 12vh, 8rem) 0 0;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(240,169,30,0.16) 0%, transparent 55%),
    linear-gradient(105deg, var(--black-900) 0%, var(--black-800) 42%, var(--bronze-700) 74%, var(--bronze-600) 100%);
}

/* Hintergrund-Porträt */
.hero__photo {
  position: absolute; inset: 0; z-index: 1;
  display: flex; justify-content: center; align-items: flex-end;
  pointer-events: none;
}
.portrait {
  position: relative; height: 94%; aspect-ratio: 534 / 1056;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: bottom center;
  /* Duotone-Tönung in Gold/Bronze – Foto verschmilzt mit dem Verlauf (wie Vorlage) */
  filter: grayscale(1) sepia(0.6) saturate(1.6) hue-rotate(-8deg) brightness(0.9) contrast(1.08);
}
/* Richtungslicht: links golden angestrahlt, rechts ins Dunkle abfallend */
.portrait__light {
  position: absolute; inset: 0;
  background: linear-gradient(95deg,
    rgba(246,196,83,0.65) 0%,
    rgba(240,169,30,0.25) 26%,
    rgba(255,255,255,0.04) 48%,
    rgba(0,0,0,0.45) 74%,
    rgba(0,0,0,0.72) 100%);
  -webkit-mask-image: url("assets/portrait.png");
  mask-image: url("assets/portrait.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  mix-blend-mode: overlay;
}

/* Seiten-Abdunklung für Textkontrast (Mitte bleibt frei) */
.hero__overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(105deg,
      rgba(8,8,10,0.92) 0%,
      rgba(8,8,10,0.35) 28%,
      rgba(20,14,8,0.05) 48%,
      rgba(44,29,10,0.40) 70%,
      rgba(44,29,10,0.90) 100%);
}

/* Dezente gestrichelte Linie am rechten Rand (wie Vorlage) */
.hero__edge {
  position: absolute; z-index: 3; right: 26px; top: 30%; bottom: 18%;
  width: 1px;
  background: repeating-linear-gradient(to bottom,
    rgba(240,169,30,0.5) 0 6px, transparent 6px 14px);
}

/* Navigation */
.nav {
  position: relative; z-index: 6;
  width: min(100% - 3rem, var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__logo { font-size: var(--f-xl); font-weight: 700; display: inline-flex; align-items: center; gap: 0.6rem; }
.nav__logo-icon { height: 38px; width: auto; }
.nav__menu { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); list-style: none; }
.nav__menu a {
  font-size: var(--f-xs); letter-spacing: 0.12em; font-weight: 600;
  color: var(--text-muted); padding: 0.4rem 0; position: relative;
  transition: color 0.25s var(--ease);
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a.is-active { color: var(--text); }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 22px; height: 2px; background: var(--gold);
}
.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: 0.3s var(--ease); }

/* Hero-Mittelteil: Name links, Slider rechts */
.hero__main {
  position: relative; z-index: 5; flex: 1;
  width: min(100% - 3rem, var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: clamp(2rem, 6vh, 5rem) 0;
}

/* Name-Block */
.hero__name { position: relative; padding-left: 1.5rem; max-width: 42%; }
.hero__name::before {
  content: ""; position: absolute; left: 0; top: 6%; height: 88%; width: 2px;
  background: linear-gradient(var(--gold-light), var(--gold));
}
.hero__title { font-size: var(--f-hero); }
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--text-muted);
  margin: 0.6rem 0 2.2rem; font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-block; cursor: pointer; font-family: "Poppins", sans-serif;
  font-size: var(--f-sm); font-weight: 500; letter-spacing: 0.02em;
  padding: 0.85rem 2.6rem; border-radius: 40px; transition: 0.28s var(--ease);
}
.btn--pill {
  color: var(--text); background: transparent;
  border: 1.5px solid rgba(246,196,83,0.55);
}
.btn--pill:hover {
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  color: var(--black-900); border-color: transparent; transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(240,169,30,0.28);
}
.btn--solid {
  border: 0; color: var(--black-900);
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  align-self: flex-start; padding-inline: 2.6rem;
}
.btn--solid:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(240,169,30,0.28); }

/* Slider / Counter (rechts) */
.hero__slider { text-align: left; min-width: 240px; }
.counter { display: flex; align-items: center; gap: 0.9rem; font-family: "Poppins", sans-serif; }
.counter__num { font-size: var(--f-3xl); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.counter__total { font-size: var(--f-xl); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.counter__nav { display: flex; align-items: center; gap: 0.75rem; margin-left: 1.25rem; }
.counter__arrow {
  background: none; border: 0; cursor: pointer; color: var(--text);
  font-size: 1.6rem; line-height: 1; padding: 4px 6px; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.counter__arrow:hover { color: var(--gold); }
.counter__divider { width: 1px; height: 22px; background: rgba(255,255,255,0.35); }
.counter__bar {
  margin: 1rem 0 1.5rem; height: 3px; width: 230px; max-width: 100%;
  background: var(--line-soft); border-radius: 3px; overflow: hidden;
}
.counter__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transition: width 0.45s var(--ease); }
.view-link { font-weight: 600; font-size: var(--f-base); color: var(--text); transition: color 0.2s var(--ease); }
.view-link:hover { color: var(--gold); }

/* Untere Infoleiste */
.hero__infobar {
  position: relative; z-index: 5;
  width: min(100% - 3rem, var(--maxw)); margin: 0 auto 1.5rem;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding: 1.4rem 1.6rem;
  background: rgba(0,0,0,0.42);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.hero__infobar-label { font-size: var(--f-xs); font-weight: 700; letter-spacing: 0.22em; color: var(--gold); align-self: center; }
.hero__infobar-tabs { display: flex; gap: 0.85rem; font-size: var(--f-sm); margin-bottom: 0.9rem; align-items: center; }
.hero__infobar-tabs .is-active { color: var(--text); font-weight: 600; }
.hero__infobar-tabs .muted { color: var(--text-dim); }
.hero__infobar-tabs .sep { color: rgba(255,255,255,0.2); }
.hero__infobar-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.info-post strong { display: block; color: var(--text); font-weight: 600; font-size: var(--f-sm); margin-bottom: 3px; }
.info-post span { color: var(--text-muted); font-size: var(--f-sm); }

/* ============ SECTIONS ============ */
.section { padding: clamp(4rem, 10vh, 8rem) 0; position: relative; }
.section--intro { background: var(--black-900); }
.section--approaches { background: linear-gradient(180deg, var(--black-900), var(--black-800)); }
.section--topics { background: var(--black-800); }
.section--quote { background: linear-gradient(105deg, var(--bronze-700), var(--bronze-600)); }
.section--contact { background: var(--black-900); }

.kicker { font-size: var(--f-xs); letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.section__title { font-size: clamp(1.9rem, 4vw, var(--f-3xl)); margin-bottom: 1.5rem; }
.lead { font-size: var(--f-lg); color: var(--text-muted); max-width: 62ch; font-weight: 300; }

/* Approaches */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.approach {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.approach::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(var(--gold-light), var(--gold)); opacity: 0.8;
}
.approach__index { font-family: "Poppins", sans-serif; font-size: var(--f-sm); font-weight: 700; color: var(--gold); letter-spacing: 0.1em; }
.approach__title { font-size: var(--f-xl); margin: 0.5rem 0 1rem; }
.approach p { color: var(--text-muted); margin-bottom: 1rem; }
.approach p:last-child { margin-bottom: 0; }

/* Topics */
.grid-2--topics { margin-top: 2.5rem; }
.topic-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(240,169,30,0.06), transparent);
}
.topic-card__title { font-size: var(--f-lg); margin-bottom: 1.25rem; color: var(--text); }
.topic-list { list-style: none; }
.topic-list li { position: relative; padding: 0.6rem 0 0.6rem 1.85rem; color: var(--text-muted); border-bottom: 1px solid var(--line-soft); }
.topic-list li:last-child { border-bottom: 0; }
.topic-list li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Quote */
.quote { max-width: 60ch; margin-inline: auto; text-align: center; }
.quote p { font-family: "Poppins", sans-serif; font-weight: 400; font-size: clamp(1.35rem, 3.2vw, 2.1rem); line-height: 1.4; color: var(--text); }
.quote footer { margin-top: 1.5rem; color: var(--text-muted); font-size: var(--f-sm); letter-spacing: 0.08em; }

/* Contact */
.grid-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-list { list-style: none; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0; }
.contact-list__icon { color: var(--gold); display: inline-flex; }
.contact-list a { color: var(--text-muted); transition: color 0.2s var(--ease); }
.contact-list a:hover { color: var(--text); }

.contact-form {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--f-sm); font-weight: 600; color: var(--text); }
.field label span { color: var(--gold); }
.field input, .field textarea {
  font-family: inherit; font-size: var(--f-base); color: var(--text);
  background: rgba(0,0,0,0.3); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.8rem 1rem; min-height: 48px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(0,0,0,0.4); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #f08a8a; }
.field__error { color: #f5a3a3; font-size: var(--f-xs); min-height: 1rem; }
.form-status { font-size: var(--f-sm); color: var(--gold); min-height: 1.2rem; }

/* ============ FOOTER ============ */
.footer { background: var(--black-900); border-top: 1px solid var(--line-soft); padding: 3rem 0 2rem; }
.footer__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.footer__badge { height: 84px; width: auto; border-radius: 50%; }
.footer__note { color: var(--text-muted); font-size: var(--f-sm); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: var(--text-muted); font-size: var(--f-sm); transition: color 0.2s var(--ease); }
.footer__legal a:hover { color: var(--text); }
.footer__copy { text-align: center; color: var(--text-dim); font-size: var(--f-xs); margin-top: 2rem; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero__main { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2rem; padding-bottom: 2rem; }
  .hero__name { max-width: 100%; }
  .portrait { height: 78%; opacity: 0.5; }
  .hero__overlay { background: linear-gradient(180deg, rgba(8,8,10,0.55), rgba(8,8,10,0.85)); }
  .hero__edge { display: none; }
  .hero__infobar { grid-template-columns: 1fr; gap: 1rem; }
  .hero__infobar-label { display: none; }
}

@media (max-width: 760px) {
  .nav__menu {
    position: absolute; top: 100%; right: 1.5rem; left: 1.5rem;
    flex-direction: column; gap: 0.25rem; padding: 1rem;
    background: rgba(16,13,9,0.97); backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: var(--radius);
    transform-origin: top; transform: scaleY(0); opacity: 0;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    margin-top: 0.75rem;
  }
  .nav__menu.is-open { transform: scaleY(1); opacity: 1; }
  .nav__menu a { display: block; padding: 0.65rem 0.25rem; font-size: var(--f-sm); }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__infobar-posts { grid-template-columns: 1fr; gap: 1rem; }
  .grid-2, .grid-contact { grid-template-columns: 1fr; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   ERWEITERUNGEN: Footer · Form-Status · Rechtsseiten · Cookies
   ============================================================ */

/* Footer-Erweiterungen */
.footer__right { display: flex; align-items: center; gap: 1.25rem; }
.footer__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--text-muted);
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.footer__social:hover {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(240, 169, 30, 0.07);
}
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}
.footer__bottom .footer__copy { margin: 0; text-align: left; }
.footer__diseta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-dim); font-size: var(--f-xs);
  transition: color 0.2s var(--ease);
}
.footer__diseta:hover { color: var(--gold-light); }
.footer__diseta img {
  height: 22px; width: auto; display: block;
  opacity: 0.8; transition: opacity 0.2s var(--ease);
}
.footer__diseta:hover img { opacity: 1; }
@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom .footer__copy { text-align: left; }
}

/* Form-Status (gesendet / Fehler) */
.form-status.is-success { color: var(--gold-light); }
.form-status.is-error { color: #ff8a8a; }

/* ============ RECHTSSEITEN ============ */
.legal-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 10, 8, 0.95);
}
.legal-header__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.legal-header__brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 1.25rem; color: var(--text);
}
.legal-header__brand img { height: 36px; width: 36px; }
.legal-header__back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--text-muted); font-size: var(--f-sm);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.legal-header__back:hover {
  color: var(--gold); border-color: var(--line); background: rgba(240, 169, 30, 0.05);
}
.legal-content { padding: 3rem 0 5rem; }
.legal-content .container { max-width: 820px; }
.legal-page-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.legal-intro { color: var(--text-muted); font-size: var(--f-base); }
.legal-section { margin-top: 2.5rem; }
.legal-section h2 {
  font-family: "Poppins", sans-serif;
  font-size: var(--f-xl);
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
}
.legal-section p { color: var(--text-muted); margin-bottom: 0.6rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--gold); border-bottom: 1px solid var(--line); transition: color 0.2s var(--ease); }
.legal-section a:hover { color: var(--gold-light); }
.legal-note {
  margin-top: 3rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--f-sm);
}

/* ============ COOKIE-EINSTELLUNGEN ============ */
.cookie-card {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  margin-bottom: 1rem;
}
.cookie-card__text h3 {
  font-family: "Poppins", sans-serif;
  font-size: var(--f-lg);
  color: var(--text);
  margin-bottom: 0.4rem;
}
.cookie-card__text p { color: var(--text-muted); font-size: var(--f-sm); margin: 0; }
.toggle {
  position: relative;
  width: 52px; height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 0; cursor: pointer; padding: 0;
  transition: background-color 0.25s var(--ease);
}
.toggle[aria-checked="true"] { background: var(--gold); }
.toggle::before {
  content: "";
  position: absolute; top: 4px; left: 4px;
  width: 20px; height: 20px;
  border-radius: 50%; background: #fff;
  transition: transform 0.25s var(--ease);
}
.toggle[aria-checked="true"]::before { transform: translateX(24px); }
.toggle[disabled] { opacity: 0.55; cursor: not-allowed; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0.5rem; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: rgba(240, 169, 30, 0.08); }
.cookie-saved {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(240, 169, 30, 0.08);
  color: var(--gold-light);
  font-size: var(--f-sm);
  display: none;
}
.cookie-saved.is-shown { display: block; }

/* ============ COOKIE-POPUP ============ */
.cookie-banner {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1rem;
  animation: cb-fade-in 0.3s var(--ease);
}
@media (min-width: 720px) {
  .cookie-banner { align-items: center; padding: 2rem; }
}
.cookie-banner.is-hiding { animation: cb-fade-out 0.28s var(--ease) forwards; }
.cookie-banner__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cookie-banner__panel {
  position: relative;
  width: 100%; max-width: 580px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--black-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  animation: cb-slide-up 0.35s var(--ease);
}
@media (min-width: 720px) {
  .cookie-banner__panel { animation: cb-zoom-in 0.32s var(--ease); }
}
.cookie-banner__title {
  font-family: "Poppins", sans-serif;
  font-size: var(--f-xl);
  color: var(--text);
  margin-bottom: 0.5rem;
}
.cookie-banner__intro {
  color: var(--text-muted);
  font-size: var(--f-sm);
  margin-bottom: 1.25rem;
}
.cookie-banner__panel .cookie-card { margin-bottom: 0.75rem; padding: 1rem 1.1rem; }
.cookie-banner__panel .cookie-card__text h3 { font-size: var(--f-base); }
.cookie-banner__panel .cookie-card__text p { font-size: var(--f-xs); }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin-top: 1.25rem;
}
.cookie-banner__actions .btn { padding: 0.75rem 1.15rem; font-size: var(--f-sm); }
.cookie-banner__link {
  color: var(--text-dim);
  font-size: var(--f-xs);
  margin-top: 1rem;
  text-align: center;
}
.cookie-banner__link a {
  color: var(--gold);
  border-bottom: 1px solid var(--line);
}
.cookie-banner__link a:hover { color: var(--gold-light); }

@keyframes cb-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes cb-fade-out  { from { opacity: 1; } to { opacity: 0; } }
@keyframes cb-slide-up  { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes cb-zoom-in   { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
