/* ============================================================
   ABC — Alexander Borger Consulting
   Welt 2 (21.08.2026): Klares Weiß über lebender 3D-Wiese.
   Flache Karten, Tinte auf Warmweiß, CI-Rot als einzige Akzentfamilie.
   Keine externen Ressourcen. Systemschriften.
   ============================================================ */

:root {
  --bg: #FDFCFB;
  --bg-2: #F6F4F1;
  --ink: #17181D;
  --ink-2: #6E6A66;
  --hair: #EBE7E2;
  --red: #D22F2F;
  --red-hot: #E4403A;
  --red-deep: #8C2332;
  --red-soft: #FF6A61;
  --wine: #6B1F2A;
  --wine-2: #8C2332;
  --dark: #101114;
  --dark-2: #1A1B20;
  --dark-hair: #2A2B31;
  --paper-dark: #F4F2EF;
  --paper-dark-2: #ACA6A0;

  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Iowan Old Style", "Palatino Nova", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;

  --r-xl: 28px;
  --r-l: 20px;
  --r-m: 14px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.22, .61, .21, 1);
  --ease-spring: cubic-bezier(.3, 1.12, .35, 1);

  --shadow-card: 0 18px 44px -28px rgba(23, 24, 29, .18);
  --shadow-card-hover: 0 26px 54px -28px rgba(23, 24, 29, .26);

  --sec: clamp(5rem, 11vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1180px;
}

/* ---------- Grundfläche ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--red);
}

::selection { background: var(--ink); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: rgba(23,24,29,.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(23,24,29,.30);
  border-radius: 999px;
  border: 2.5px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(210,47,47,.55); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { color: var(--red); }

img, svg, canvas { display: block; max-width: 100%; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 2001;
  background: var(--ink); color: #fff; padding: .7em 1.2em;
  border-radius: var(--r-pill); text-decoration: none;
  transition: top .3s var(--ease-out);
}
.skip:focus-visible { top: 1rem; color: #fff; }

.grain {
  position: fixed; inset: -50%; z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .02;
  mix-blend-mode: multiply;
}

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.033em;
  text-wrap: balance;
  margin: 0 0 .55em;
}

h1 { font-size: clamp(2.7rem, 1rem + 7.6vw, 5.9rem); font-weight: 750; }
h2 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); letter-spacing: -0.024em; line-height: 1.15; }

p { margin: 0 0 1em; max-width: 68ch; }

.accent { color: var(--red); }
.soft { color: var(--ink-2); }
.dark .accent { color: var(--red-soft); }

/* ---------- Karten (Klassenvertrag von Welt 1 bleibt) ---------- */

.glass, .glass-dark { position: relative; border-radius: var(--r-xl); }

.glass {
  background: #FFFFFF;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-card);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out), border-color .3s;
}
.glass:hover { box-shadow: var(--shadow-card-hover); }

.glass-dark {
  background: var(--dark-2);
  border: 1px solid var(--dark-hair);
  box-shadow: 0 28px 60px -34px rgba(0,0,0,.7);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.7em;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 620;
  letter-spacing: -0.012em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:active { transform: translateY(1px) scale(.995); }

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px -14px rgba(210,47,47,.55);
}
.btn-primary:hover {
  background: #B92626;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -16px rgba(210,47,47,.6);
}

.btn-ink {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(23,24,29,.5);
}
.btn-ink:hover { background: #000; color: #fff; transform: translateY(-2px); }

.btn-glass {
  color: var(--ink);
  background: #fff;
  border-color: var(--hair);
  box-shadow: 0 10px 24px -16px rgba(23,24,29,.25);
}
.btn-glass:hover { transform: translateY(-2px); border-color: #DED8D1; color: var(--ink); }

.dark .btn-glass {
  color: var(--paper-dark);
  background: rgba(255,255,255,.06);
  border-color: var(--dark-hair);
}
.dark .btn-glass:hover { color: #fff; border-color: #3A3B42; }

/* ---------- Navigation ---------- */

.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top);
  background: rgba(253,252,251,0);
  transition: background-color .35s var(--ease-out), box-shadow .35s;
}
.nav-wrap.scrolled {
  background: rgba(253,252,251,.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--hair);
}

.nav {
  max-width: 1280px;
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b {
  font-family: var(--font-brand);
  font-size: .98rem; font-weight: 700; letter-spacing: .01em;
  color: var(--wine);
}
.brand-text span {
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-2); margin-top: 2px;
}

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .25rem;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  display: block; padding: .5em .85em;
  font-size: .95rem; font-weight: 560;
  color: var(--ink-2); text-decoration: none;
  border-radius: var(--r-pill);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav .btn { padding: .62em 1.2em; font-size: .93rem; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--hair); border-radius: var(--r-pill);
  background: #fff;
  cursor: pointer; position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px;
  border-radius: 2px; background: var(--ink);
  transition: transform .35s var(--ease-spring), top .35s, background-color .25s;
}
.nav-burger span { top: 20px; }
.nav-burger span::before { top: -6px; left: 0; right: 0; }
.nav-burger span::after { top: 6px; left: 0; right: 0; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(253,252,251,.92);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: .4rem;
  opacity: 0; pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease-out), transform .4s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a {
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
  padding: .3em .8em;
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s var(--ease-out), transform .45s var(--ease-out), color .2s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .btn { font-size: 1.15rem; margin-top: 1.2rem; }
.mobile-menu.open .btn { color: #fff; }

/* ---------- Sektionen ---------- */

section { position: relative; scroll-margin-top: 84px; }

.shell { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section-head { max-width: 760px; margin-bottom: clamp(2.4rem, 6vw, 3.8rem); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.dark .section-head p { color: var(--paper-dark-2); }

/* ---------- Hero: weißer Kopf über 3D-Wiese ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(to bottom,
      var(--bg) 0%,
      #FAFBFA 34%,
      #E9F2F7 58%,
      #DDEBF3 78%,
      #D7E7F0 100%);
}
.flat .hero { min-height: 900px; }

.hero-copy {
  position: relative; z-index: 3;
  width: 100%;
  padding-top: calc(92px + 3.5vh);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 1.6rem;
  padding: .5em 1.05em;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 8px 20px -14px rgba(23,24,29,.25);
  font-size: .88rem; font-weight: 590;
  color: var(--ink-2);
}
.hero-badge svg { width: 1.1em; height: 1.1em; }

.hero h1 { margin-bottom: .3em; }
.hero h1 .soft { display: block; }

.mark-ul { position: relative; display: inline-block; white-space: nowrap; }
.ul-stroke {
  position: absolute;
  left: -2.5%; right: -2.5%; width: 105%;
  top: 88%;
  height: .30em;
  overflow: visible;
  pointer-events: none;
}
.ul-stroke path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.ul-stroke .ul-2 { stroke-width: 2.1; opacity: .5; }
.hero h1.in .ul-stroke path {
  animation: draw-ul .85s cubic-bezier(.65,.02,.32,1) forwards;
  animation-delay: .55s;
}
.hero h1.in .ul-stroke .ul-2 { animation-delay: .78s; animation-duration: .7s; }
@keyframes draw-ul { to { stroke-dashoffset: 0; } }

.hero .lede {
  font-size: clamp(1.08rem, 1rem + .55vw, 1.3rem);
  color: var(--ink-2);
  max-width: 36em;
  margin-bottom: 1.9em;
  text-wrap: pretty;
}

.hero .cta-row { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }

.hero-scene {
  position: relative; z-index: 1;
  flex: 1;
  min-height: clamp(460px, 60vh, 760px);
  margin-top: clamp(-2.5rem, -3vw, -1rem);
}

.scene-media {
  position: absolute; inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  will-change: transform;
  animation: scene-drift 38s ease-in-out infinite alternate;
}
.scene-photo, .scene-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.scene-photo img {
  object-fit: cover;
  object-position: 50% 62%;
  image-rendering: auto;
}

/* Wind: leicht verschobene Kopien des Grases, weich maskiert */
.wind {
  position: absolute; inset: 0;
  background-image: var(--wind-src, none);
  background-size: cover;
  background-position: 50% 62%;
  will-change: transform;
  pointer-events: none;
}
.wind-a {
  -webkit-mask-image: radial-gradient(38% 46% at 22% 78%, #000 0%, transparent 72%);
  mask-image: radial-gradient(38% 46% at 22% 78%, #000 0%, transparent 72%);
  animation: sway-a 7.5s ease-in-out infinite alternate;
}
.wind-b {
  -webkit-mask-image: radial-gradient(30% 38% at 68% 88%, #000 0%, transparent 74%);
  mask-image: radial-gradient(30% 38% at 68% 88%, #000 0%, transparent 74%);
  animation: sway-b 9.8s ease-in-out infinite alternate;
}
.wind-c {
  -webkit-mask-image: radial-gradient(26% 30% at 88% 70%, #000 0%, transparent 76%);
  mask-image: radial-gradient(26% 30% at 88% 70%, #000 0%, transparent 76%);
  animation: sway-c 6.4s ease-in-out infinite alternate;
}
@keyframes sway-a {
  from { transform: skewX(0deg) translate3d(0, 0, 0); }
  to   { transform: skewX(-0.42deg) translate3d(2.1px, -0.6px, 0); }
}
@keyframes sway-b {
  from { transform: skewX(0.18deg) translate3d(-1px, 0, 0); }
  to   { transform: skewX(-0.34deg) translate3d(1.8px, -0.4px, 0); }
}
@keyframes sway-c {
  from { transform: skewX(-0.2deg) translate3d(1.2px, 0, 0); }
  to   { transform: skewX(0.3deg) translate3d(-1.6px, -0.5px, 0); }
}
@keyframes scene-drift {
  from { transform: scale(1.03) translateY(0); }
  to   { transform: scale(1.09) translateY(-1.2%); }
}

/* Eingebranntes Markenzeichen auf der Feldebene */
.scene-burn {
  position: absolute;
  left: var(--burn-x, 51%);
  top: var(--burn-y, 56%);
  width: var(--burn-w, min(30%, 410px));
  aspect-ratio: 1;
  transform: translate(-50%, -50%) perspective(760px) rotateX(var(--burn-rx, 66deg)) rotateZ(var(--burn-rz, -3deg));
  mix-blend-mode: multiply;
  opacity: var(--burn-o, .74);
  pointer-events: none;
  filter: saturate(.85);
}
.scene-burn svg, .scene-fire svg { width: 100%; height: 100%; overflow: visible; }

.scene-fire {
  position: absolute;
  left: var(--burn-x, 51%);
  top: var(--burn-y, 56%);
  width: var(--burn-w, min(30%, 410px));
  aspect-ratio: 1;
  transform: translate(-50%, -50%) perspective(760px) rotateX(var(--burn-rx, 66deg)) rotateZ(var(--burn-rz, -3deg));
  opacity: var(--fire-o, .82);
  pointer-events: none;
}
.fire-halo { mix-blend-mode: screen; }
.fire-out  { animation: flick-a 2.3s ease-in-out infinite alternate; }
.fire-mid  { animation: flick-b 1.6s ease-in-out infinite alternate; }
.fire-core { animation: flick-c 1.05s ease-in-out infinite alternate; }
@keyframes flick-a { from { opacity: .55; } to { opacity: .95; } }
@keyframes flick-b { from { opacity: .95; } to { opacity: .62; } }
@keyframes flick-c { from { opacity: .6; } to { opacity: 1; } }
.burn-halo { opacity: .16; }

.scene-caption {
  position: absolute; z-index: 4;
  left: 50%; bottom: clamp(18px, 4vh, 40px);
  transform: translateX(-50%);
  padding: .55em 1.2em;
  border-radius: var(--r-pill);
  background: rgba(16,17,20,.38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .88rem; font-weight: 550;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Diagnose ---------- */

.diagnose { padding: var(--sec) 0 calc(var(--sec) * .8); }

.brakes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }

.brake {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.4rem, 3.5vw, 2.6rem);
  align-items: start;
}

.brake-grade {
  display: flex; flex-direction: column; align-items: flex-start; gap: .2rem;
  border-right: 1px solid var(--hair);
  padding-right: 1.2rem;
  height: 100%;
}
.brake-grade b {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700; line-height: 1;
  color: var(--ink);
}
.brake-grade span {
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 620;
}

.brake h3 { margin-bottom: .4em; }
.brake p { color: var(--ink-2); max-width: 62ch; }
.brake .symptom {
  margin: .9em 0 0; font-size: .97rem;
  border-top: 1px solid var(--hair);
  padding-top: .9em; max-width: 62ch;
  color: var(--ink-2);
}
.brake .symptom b { font-weight: 650; color: var(--ink); }

.brake[data-level="2"] .brake-grade b { color: var(--red-deep); }
.brake[data-level="2"] .brake-grade span { color: var(--red-deep); }
.brake[data-level="2"] .symptom b { color: var(--red-deep); }

.brake[data-level="3"] {
  border-color: #F4D6D3;
  background: linear-gradient(165deg, #FFF8F7, #FFF1F0);
  padding-block: clamp(1.9rem, 4.5vw, 3rem);
}
.brake[data-level="3"] .brake-grade b { color: var(--red); font-size: clamp(2.8rem, 6vw, 4rem); }
.brake[data-level="3"] .brake-grade span { color: var(--red); }
.brake[data-level="3"] h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.brake[data-level="3"] .symptom b { color: var(--red); }

/* ---------- Methode (Tintenraum) ---------- */

.dark {
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(210,47,47,.10) 0%, rgba(210,47,47,0) 60%),
    var(--dark);
  color: var(--paper-dark);
}
.dark p { color: var(--paper-dark-2); }

.methode { padding: var(--sec) 0; }

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}

.phase {
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out), border-color .35s;
}
.phase:hover { transform: translateY(-5px); border-color: #3A3B42; }

.phase-letter {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 18px;
  font-family: var(--font-brand);
  font-size: 1.9rem; font-weight: 700;
  color: var(--red-soft);
  background: #212228;
  border: 1px solid var(--dark-hair);
  margin-bottom: 1.3rem;
}

.phase h3 { color: #fff; margin-bottom: .15em; }
.phase .phase-sub {
  font-size: .95rem; color: var(--red-soft); font-weight: 600;
  margin-bottom: 1em;
}
.phase .phase-what { font-size: .99rem; }

.phase-list {
  list-style: none; margin: .4rem 0 1.2rem; padding: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.phase-list li {
  position: relative; padding-left: 1.7em;
  font-size: .96rem; color: var(--paper-dark);
  line-height: 1.45;
}
.phase-list li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 1.05em; height: 1.05em;
  background-color: var(--red-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.phase-out {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-hair);
  font-size: .95rem;
  color: #fff;
}
.phase-out b { color: var(--red-soft); font-weight: 650; }

/* ---------- Verkauf ---------- */

.verkauf { padding: var(--sec) 0; }

.verkauf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.verkauf-text p { color: var(--ink-2); }
.verkauf-text h2 { margin-bottom: .45em; }

.terms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.terms li {
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-l);
  display: flex; flex-direction: column; gap: .3rem;
}
.terms b {
  font-size: 1.02rem; font-weight: 650; letter-spacing: -0.016em;
  color: var(--ink);
}
.terms span { font-size: .97rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Selbsttest ---------- */

.check { padding: var(--sec) 0; background: var(--bg-2); }

.check-panel {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 4vw, 3rem);
}

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.check-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.05rem 0;
}
.check-list li + li { border-top: 1px solid var(--hair); }
.check-list .q { font-weight: 560; font-size: 1.02rem; line-height: 1.4; letter-spacing: -0.014em; }

.switch {
  position: relative;
  width: 74px; height: 40px; flex: none;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: #E9E5E0;
  box-shadow: inset 0 2px 5px rgba(23,24,29,.10);
  cursor: pointer;
  transition: background .4s var(--ease-out), border-color .3s;
  padding: 0;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(23,24,29,.28);
  transition: transform .45s var(--ease-spring);
}
.switch[aria-checked="true"] {
  background: var(--red);
  border-color: var(--red);
}
.switch[aria-checked="true"]::after { transform: translateX(34px); }

.switch-state {
  display: block;
  min-width: 2.6em;
  text-align: center;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.check-list li[data-on="1"] .switch-state { color: var(--red); }
.switch-cell { display: flex; align-items: center; gap: .7rem; }

.check-result {
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--hair);
  padding-left: clamp(0rem, 3vw, 2.5rem);
}

.gauge {
  position: relative;
  height: 24px;
  border-radius: var(--r-pill);
  background: #ECE8E3;
  border: 1px solid var(--hair);
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.gauge-fill {
  position: absolute; inset: 3px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--wine) 0%, var(--red) 100%);
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path .9s var(--ease-spring);
}

.check-score {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: .35em; color: var(--ink);
}
.check-score b { color: var(--red); font-variant-numeric: tabular-nums; }
.check-verdict { color: var(--ink-2); margin-bottom: 1.4em; }
.check-note { font-size: .85rem; color: var(--ink-2); margin: 1.1em 0 0; }
.check-result .btn { align-self: flex-start; }

/* ---------- Über ---------- */

.ueber { padding: var(--sec) 0; }

.ueber-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.portrait { padding: 1rem; }
.portrait-frame {
  border-radius: calc(var(--r-xl) - 8px);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background:
    radial-gradient(130% 100% at 25% 0%, #FBEBEA 0%, rgba(251,235,234,0) 55%),
    linear-gradient(165deg, #F8F5F1, #EFE9E2);
  display: grid; place-items: center;
}
.portrait-frame svg { width: 56%; height: auto; }
.portrait figcaption { padding: .9rem .5rem .35rem; text-align: center; }
.portrait figcaption b { display: block; font-size: 1.05rem; letter-spacing: -0.015em; }
.portrait figcaption span { font-size: .88rem; color: var(--ink-2); }

.ueber-text p { color: var(--ink-2); }
.ueber-text p.lead-line { color: var(--ink); font-size: 1.15rem; font-weight: 540; }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 0; padding: 0; }
.facts li {
  padding: .55em 1.05em;
  border-radius: var(--r-pill);
  font-size: .92rem; font-weight: 590;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair);
}

.todo-note {
  border: 1.5px dashed #DDA9A4;
  border-radius: var(--r-m);
  padding: .85em 1.1em;
  color: var(--red-deep);
  font-size: .95rem;
  background: #FDF3F2;
}
.todo-note b { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; display: block; margin-bottom: .25em; }

/* ---------- Kontakt ---------- */

.kontakt {
  padding: var(--sec) 0;
  background:
    radial-gradient(80% 70% at 20% 100%, rgba(210,47,47,.10) 0%, rgba(210,47,47,0) 60%),
    var(--dark);
  color: var(--paper-dark);
}
.kontakt p { color: var(--paper-dark-2); }

.kontakt-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.kontakt-panel h2 { color: #fff; }
.kontakt-panel .lede { font-size: 1.12rem; max-width: 42em; margin-bottom: 1.8em; }
.kontakt-alt { margin-top: 1.6rem; font-size: .95rem; }
.kontakt-alt a { color: var(--red-soft); }
.kontakt-alt a:hover { color: #fff; }

/* ---------- Footer ---------- */

footer {
  padding: 2.2rem var(--gutter) calc(2.2rem + env(safe-area-inset-bottom));
  background: #0B0C0E;
  color: #8E8A86;
  font-size: .9rem;
}
.footer-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
}
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--paper-dark); }
.footer-brand svg { width: 26px; height: 26px; }
.footer-nav { display: flex; gap: 1.4rem; }
footer a { color: #B9B4AF; }
footer a:hover { color: #fff; }
.footer-note { width: 100%; margin: .4rem 0 0; font-size: .82rem; color: #77736F; }

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity .85s var(--ease-out),
    transform .95s var(--ease-out),
    filter .85s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform, filter;
}
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Legal ---------- */

.legal-page { padding: calc(84px + 5vh) 0 var(--sec); min-height: 70vh; }
.legal-card { padding: clamp(1.8rem, 4vw, 3rem); max-width: 860px; }
.legal-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-card h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal-card h3 { font-size: 1.08rem; margin-top: 1.6em; }
.legal-card p, .legal-card li { color: var(--ink-2); max-width: 72ch; }
.legal-card .todo-note { margin: 1em 0; }
.back-link { display: inline-flex; align-items: center; gap: .45em; margin-bottom: 1.6rem; font-weight: 600; text-decoration: none; }

/* Overlay-Variante (Artifact-Preview) */
.legal-overlay { position: fixed; inset: 0; z-index: 1500; display: grid; justify-items: center; align-items: start; overflow-y: auto; padding: 6vh 16px 8vh; }
.legal-overlay[hidden] { display: none; }
.legal-scrim { position: fixed; inset: 0; background: rgba(16,17,20,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.legal-overlay .legal-card { position: relative; z-index: 1; max-width: 860px; padding: clamp(1.8rem, 4vw, 3rem); }
.legal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: transform .3s var(--ease-out), color .2s; }
.legal-close:hover { transform: scale(1.06); color: var(--red); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { position: static; transform: none; }
  .nav { justify-content: space-between; }
}

@media (max-width: 960px) {
  .phases { grid-template-columns: 1fr; }
  .check-panel { grid-template-columns: 1fr; }
  .check-result {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--hair);
    padding-top: 1.8rem;
  }
  .ueber-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
  .verkauf-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-ink { display: none; }
  .nav-burger { display: block; }
}

@media (max-width: 640px) {
  .brake { grid-template-columns: 1fr; gap: .9rem; }
  .brake-grade {
    flex-direction: row; align-items: baseline; gap: .8rem;
    border-right: 0; border-bottom: 1px solid var(--hair);
    padding: 0 0 .7rem;
  }
  .brake-grade b { font-size: 2.2rem !important; }
  .check-list li { grid-template-columns: 1fr; gap: .7rem; }
  .switch-cell { justify-content: flex-start; }
  .hero .cta-row { width: 100%; flex-direction: column; align-items: stretch; padding-inline: var(--gutter); }
  .hero .cta-row .btn { justify-content: center; }
  .scene-burn, .scene-fire { --burn-w: 50%; --burn-y: 66%; --burn-rx: 62deg; }
  .wind-c { display: none; }
  .ul-stroke { top: 86%; }
  .scene-caption {
    font-size: .8rem;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
    border-radius: 16px;
    width: max-content;
  }
}

/* ---------- Reduzierte Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-media { animation: none; }
  .wind { animation: none; }
  .fire-out, .fire-mid, .fire-core { animation: none; opacity: .7; }
  .ul-stroke path { stroke-dashoffset: 0; animation: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}
