/* ==========================================================================
   Kanzlei Marc J. Hubrich — Premium-Landingpage
   Designsystem „Porzellan & Tinte" (Familien-Schema mit online-scheidung)
   Farbwelt: Porzellan-Canvas, Graphit/Tinte, warmer Stein, Ton-Terrakotta,
   Stahlblau als Akzent- und Lichtfarbe (Linien, Kanten, Fokus).
   Keine externen Requests: Fonts lokal, kein Tracking, keine Cookies.
   ========================================================================== */

/* ---------- Fonts (self-hosted, DSGVO-sauber) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-wght.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-wght-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Galerie-Welt: grauer Raum, rote Werke, goldenes Licht */
  --paper: #f6f7f9;        /* Grund-Canvas — warmes Hellgrau */
  --cream: #ffffff;        /* Karten, Navigation */
  --white: #ffffff;
  --akzent-050: #f2f6fa;
  --akzent-200: #a7c9e4;
  --akzent-400: #4c7ba6;
  --akzent-500: #31608a;     /* Messing — Hauptakzent, kräftig */
  --akzent-700: #24476b;     /* dunkles Gold für kleine Texte */
  --terra-500: #92594f;    /* Zenbook-Wand — Weinrot/Terrakotta */
  --terra-700: #6e423b;
  --stone-100: #ece8e2;    /* warmer Beton, hell */
  --stone-200: #e0dad2;
  --ink: #111417;          /* tiefe, warm abgestimmte Tinte */
  --ink-soft: #4a5158;
  --line: rgba(51, 54, 58, 0.14);
  --line-strong: rgba(51, 54, 58, 0.28);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 60px rgba(17, 20, 23, 0.1);
  --shadow-card: 0 14px 40px rgba(17, 20, 23, 0.07);
  --maxw: 1180px;

  --dur: 0.7s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}
::selection {
  background: var(--akzent-200);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--akzent-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Feines Papierkorn über allem — sehr dezent */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  position: relative;
}
.section-pad {
  padding: 96px 0;
}
@media (min-width: 900px) {
  .section-pad {
    padding: 128px 0;
  }
}

/* Goldene Haarlinie als Sektions-Trenner */
.hairline {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--akzent-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--terra-500);
}
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--terra-500);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1.display {
  font-size: clamp(40px, 6vw, 68px);
}
h2.display {
  font-size: clamp(32px, 4.4vw, 52px);
}
h3.display {
  font-size: clamp(24px, 2.6vw, 30px);
}
.display .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--terra-500);
}

.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62ch;
}
.small {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 14px 30px rgba(17, 20, 23, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(17, 20, 23, 0.28);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--akzent-700);
}
.btn-gold {
  background: linear-gradient(120deg, var(--akzent-500), var(--akzent-400));
  color: #fff;
  box-shadow: 0 14px 32px rgba(49, 96, 138, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
}
.btn .arr {
  transition: transform 0.35s var(--ease);
}
.btn:hover .arr {
  transform: translateX(4px);
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
}
.skip-link:focus {
  left: 16px;
  top: 14px;
  position: fixed;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 252, 253, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(17, 20, 23, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.brand {
  text-decoration: none;
  line-height: 1.15;
}
.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--akzent-700);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--akzent-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  display: none;
}
.nav-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px 6px;
}
.nav-burger span {
  width: 22px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}
@media (min-width: 980px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
  }
  .nav-burger {
    display: none;
  }
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 18px 24px 26px;
}
.mobile-menu.is-open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child {
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 84px;
  overflow: hidden;
  /* Grauer Galerie-Raum mit warmem Licht von oben rechts */
  background:
    radial-gradient(110% 85% at 82% 0%, rgba(167, 201, 228, 0.4), transparent 62%),
    linear-gradient(163deg, #f8f9fb 0%, #eef0f3 52%, #e3e6ea 100%);
}
/* Das Atmen der Seite: warmes Licht schwillt und weicht, 14s-Zyklus */
.hero::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background: radial-gradient(58% 48% at 76% 24%, rgba(167, 201, 228, 0.45), transparent 66%);
  animation: hero-breathe 14s ease-in-out infinite;
}
@keyframes hero-breathe {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--akzent-700);
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero {
    padding: 190px 0 110px;
  }
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 72px;
  }
}
.hero-copy .lead {
  margin-top: 28px;
}
.hero-ctas {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terra-500);
  flex: none;
}

/* Kalligrafische Goldlinie unter dem Schlüsselwort */
.u-swash {
  position: relative;
  white-space: nowrap;
}
.u-swash svg {
  position: absolute;
  left: -2%;
  bottom: -0.22em;
  width: 104%;
  height: 0.42em;
  overflow: visible;
}
.u-swash path {
  fill: none;
  stroke: var(--akzent-500);
  stroke-width: 3.2;
  stroke-linecap: round;
}

/* Porträt-Rahmen (Platzhalter bis die Fotos in der Nebelschleuse liegen) */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(168deg, #f3f4f6 0%, #e6e3dd 55%, #ccd2d9 100%);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.portrait-fallback .monogram {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 92px);
  font-weight: 500;
  font-style: italic;
  color: var(--akzent-700);
  line-height: 1;
}
.portrait-fallback .caption {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--akzent-700);
  opacity: 0.75;
}
.portrait-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  background: rgba(251, 247, 237, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.portrait-badge strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
.portrait-badge span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent-700);
}

/* Standards-Leiste unter dem Hero */
.standards {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
@media (min-width: 900px) {
  .standards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.standards li strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.standards li span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--akzent-700);
}

/* ---------- Philosophie ---------- */
.philosophy-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 980px) {
  .philosophy-grid {
    grid-template-columns: 6fr 5fr;
    gap: 80px;
  }
}
.philosophy-copy p + p {
  margin-top: 18px;
}
.principles {
  display: grid;
  gap: 14px;
}
.principle {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.principle:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.principle .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--akzent-500);
  line-height: 1.5;
  min-width: 26px;
}
.principle strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.principle p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------- Leistungen ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head .lead {
  margin-top: 20px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  margin-top: 18px;
}
.services {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1020px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
/* Goldener Lichtstreifen wandert langsam die linke Kartenkante entlang */
.service::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--akzent-400) 38%, #a7c9e4 50%, var(--akzent-400) 62%, transparent 100%);
  background-size: 100% 340%;
  background-repeat: no-repeat;
  animation: edge-light 11s ease-in-out infinite;
  opacity: 0.9;
  pointer-events: none;
}
.service:nth-child(2)::before { animation-delay: -3.7s; }
.service:nth-child(3)::before { animation-delay: -7.4s; }
.service:nth-child(4)::before { animation-delay: -1.8s; }
.service:nth-child(5)::before { animation-delay: -5.5s; }
.service:nth-child(6)::before { animation-delay: -9.2s; }
@keyframes edge-light {
  0%, 100% { background-position: 0 130%; }
  50% { background-position: 0 -30%; }
}
.service:hover .num {
  color: var(--terra-500);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(176, 141, 87, 0.45);
}
.service .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--akzent-500);
}
.service h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}
.service p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex-grow: 1;
}
.service ul {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 8px;
}
.service ul li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--akzent-500);
}

/* ---------- Ablauf (Etappen an der Linie) ---------- */
.process {
  position: relative;
  display: grid;
  gap: 0;
}
.process-line {
  position: absolute;
  left: 17px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  pointer-events: none;
}
.process-line .track {
  position: absolute;
  inset: 0;
  background: var(--line);
}
.process-line .fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--akzent-500), var(--akzent-400));
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.step {
  position: relative;
  padding: 26px 0 26px 64px;
}
.step .marker {
  position: absolute;
  left: 0;
  top: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--akzent-700);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.step p {
  margin-top: 6px;
  max-width: 56ch;
  font-size: 15px;
  color: var(--ink-soft);
}
@media (min-width: 980px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .process-line {
    left: 18px;
    right: 18px;
    top: 17px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .process-line .fill {
    transform-origin: left;
    transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--akzent-500), var(--akzent-400));
  }
  .step {
    padding: 72px 0 0 0;
  }
  .step .marker {
    top: 0;
  }
}

/* ---------- Leitsatz ---------- */
.quote {
  text-align: center;
  padding: 110px 0;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(167, 201, 228, 0.26), transparent 70%);
}
.quote {
  padding: clamp(120px, 18vh, 200px) 0;
}
.quote blockquote {
  margin: 0 auto;
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.quote blockquote em {
  font-style: italic;
  color: var(--terra-500);
}
.quote .quote-line {
  width: 120px;
  margin: 30px auto 0;
  color: var(--akzent-500);
}

/* ---------- Mandatsstandard — die rote Wand, graue Karten (Zenbook-Bild) ---------- */
#mandatsstandard {
  background:
    radial-gradient(120% 140% at 88% -12%, rgba(248, 223, 214, 0.22), transparent 55%),
    radial-gradient(110% 120% at 4% 110%, rgba(30, 18, 15, 0.4), transparent 60%),
    linear-gradient(160deg, #92594f, #7e4c44 60%, #6e423b);
}
#mandatsstandard .eyebrow {
  color: #f8dfd6;
}
#mandatsstandard .eyebrow::before {
  background: #f8dfd6;
}
#mandatsstandard h2 {
  color: #faf8f6;
}
#mandatsstandard .display .accent {
  color: #f8dfd6;
}
#mandatsstandard .lead {
  color: rgba(250, 247, 244, 0.8);
}
#mandatsstandard .standard-card {
  background: linear-gradient(165deg, #ece8e2, #ddd6cc);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 22px 50px rgba(20, 14, 12, 0.3);
}
.standard-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .standard-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.standard-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.standard-card .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent-700);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.standard-card .tag .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  text-transform: none;
  letter-spacing: 0;
}
.standard-card h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.standard-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Über mich ---------- */
.about {
  background: linear-gradient(180deg, var(--paper), #e9ebee 60%, var(--paper));
}
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 84px;
  }
}
.about-copy p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 58ch;
}
.about-copy p strong {
  color: var(--ink);
  font-weight: 600;
}
.signature {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.signature .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
}
.signature .line {
  width: 64px;
  height: 1px;
  background: var(--akzent-500);
}
.signature .role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--akzent-700);
}
.about-ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Diskretion — auf Beton ---------- */
.discretion {
  text-align: center;
  background: linear-gradient(180deg, var(--paper), var(--stone-100) 40%, var(--stone-200) 100%);
}
.discretion .inner {
  max-width: 680px;
  margin: 0 auto;
}
.discretion h2 {
  margin-top: 18px;
}
.discretion p {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.8;
}
.discretion-tiles {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.discretion-tiles .discretion-tile {
  margin-top: 0;
}
a.discretion-tile {
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
a.discretion-tile:hover {
  transform: translateY(-3px);
  border-color: var(--akzent-700);
  box-shadow: var(--shadow-soft);
}
.discretion-tile {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.discretion-tile .shield {
  color: var(--akzent-500);
  flex: none;
}
.discretion-tile strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.discretion-tile span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ---------- Einstiege ---------- */
.tiers {
  display: grid;
  gap: 18px;
}
@media (min-width: 980px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.tier {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.tier.featured {
  background: var(--white);
  border-color: rgba(176, 141, 87, 0.55);
  box-shadow: var(--shadow-soft);
}
.tier .badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: linear-gradient(120deg, var(--terra-700), var(--terra-500));
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.tier .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent-700);
}
.tier h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
}
.tier .meta {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.tier ul {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 10px;
  flex-grow: 1;
}
.tier ul li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.tier ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 1px;
  background: var(--akzent-500);
}
.tier .btn {
  margin-top: 26px;
}
.tier .price-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Der erste Schritt — eine Tür statt drei Karten ---------- */
.first-step {
  display: grid;
  gap: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  padding: 44px 36px;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 940px) {
  .first-step {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    padding: 56px 60px;
    gap: 64px;
  }
}
.first-step-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}
.first-step-copy p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 58ch;
}
.first-step-facts {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.first-step-facts li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.first-step-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 10px;
  height: 1px;
  background: var(--terra-500);
}
.first-step-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.btn-xl {
  height: 60px;
  font-size: 16px;
  width: 100%;
}
.first-step-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Google-Vertrauensbereich ---------- */
.trust-band {
  background: linear-gradient(180deg, var(--paper), var(--stone-100) 45%, var(--paper));
}
.trust-inner {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 940px) {
  .trust-inner {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }
}
.trust-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 940px) {
  .trust-cta {
    align-items: flex-end;
    text-align: right;
  }
}

/* ---------- Workshop-Hinweis — bewusst sekundär ---------- */
.workshop-note {
  padding: 0 0 96px;
}
.workshop-card {
  display: grid;
  gap: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terra-500);
  border-radius: var(--radius);
  padding: 28px 30px;
}
@media (min-width: 900px) {
  .workshop-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
  }
}
.workshop-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-500);
}
.workshop-card h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 600;
}
.workshop-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 70ch;
}
.workshop-card .btn {
  white-space: normal;
  text-align: center;
  height: auto;
  min-height: 52px;
  padding: 12px 26px;
}

/* ---------- Beweis-Liste (Diskretion & Professionalität) ---------- */
.proof-grid {
  margin: 36px auto 0;
  max-width: 820px;
  display: grid;
  gap: 12px;
  text-align: left;
}
@media (min-width: 760px) {
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.proof-grid li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 42px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  position: relative;
}
.proof-grid li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 1.4em;
  width: 11px;
  height: 1px;
  background: var(--akzent-500);
}

/* Fließende Linien auch im Mandats-Block und im roten Atem-Raum */
.mandate-geo path,
.atem-geo path {
  stroke-dasharray: 300 460;
  animation: line-flow 20s linear infinite;
}
.mandate-geo path:nth-of-type(2),
.atem-geo path:nth-of-type(2) {
  animation-duration: 26s;
  animation-delay: -9s;
}
.mandate-geo path:nth-of-type(3),
.atem-geo path:nth-of-type(3) {
  animation-duration: 32s;
  animation-delay: -17s;
}
.mandate-geo path:nth-of-type(4) {
  animation-duration: 38s;
  animation-delay: -5s;
}
.mandate-geo path:nth-of-type(5) {
  animation-duration: 44s;
  animation-delay: -22s;
}

/* Tilt-Elemente: sanfte Neigung zur Maus */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Mandat — der Zielblock in Espresso-Bordeaux (Zenbook-Moment) */
.mandate {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  background:
    radial-gradient(110% 130% at 92% -10%, rgba(167, 201, 228, 0.25), transparent 55%),
    radial-gradient(130% 110% at 0% 105%, rgba(49, 96, 138, 0.42), transparent 62%),
    linear-gradient(150deg, #33363a, #1c1f23 62%, #111417);
  color: #f4f7fa;
  border-radius: calc(var(--radius) + 6px);
  padding: 46px 34px;
  box-shadow: 0 34px 80px rgba(38, 16, 12, 0.45);
}
.mandate-geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mandate > :not(.mandate-geo) {
  position: relative;
}
@media (min-width: 980px) {
  .mandate {
    padding: 58px 64px;
  }
}
.mandate .eyebrow {
  color: var(--akzent-200);
}
.mandate .eyebrow::before {
  background: var(--akzent-200);
}
.mandate h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
}
.mandate .lead {
  margin-top: 18px;
  color: rgba(244, 247, 250, 0.78);
  max-width: 68ch;
}
.mandate ul {
  margin-top: 30px;
  display: grid;
  gap: 12px 28px;
}
@media (min-width: 760px) {
  .mandate ul {
    grid-template-columns: 1fr 1fr;
  }
}
.mandate ul li {
  font-size: 14.5px;
  color: rgba(244, 247, 250, 0.85);
  padding-left: 22px;
  position: relative;
}
.mandate ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 1px;
  background: var(--akzent-400);
}
.mandate-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mandate .btn-primary {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.mandate .btn-ghost {
  border-color: rgba(244, 247, 250, 0.35);
  color: #f4f7fa;
}
.mandate .btn-ghost:hover {
  background: rgba(244, 247, 250, 0.08);
  border-color: rgba(244, 247, 250, 0.7);
}
.mandate .note {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(244, 247, 250, 0.55);
}

/* ---------- Kontakt ---------- */
.contact {
  /* Beton-Bühne — das weiße Formular steht darauf wie auf dem Zenbook-Tisch */
  background: linear-gradient(180deg, var(--stone-100), var(--stone-200) 45%, var(--paper) 96%);
}
.contact-grid {
  display: grid;
  gap: 44px;
}
@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }
}
.contact-info h2 {
  margin-top: 18px;
}
.contact-info .lead {
  margin-top: 18px;
}
.contact-rows {
  margin-top: 34px;
  display: grid;
  gap: 4px;
}
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row .k {
  min-width: 92px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent-700);
}
.contact-row .v {
  font-size: 15px;
}
.contact-row .v a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s;
}
.contact-row .v a:hover {
  border-color: var(--akzent-700);
}
.contact-row .v .sub {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.privacy-hint {
  margin-top: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.privacy-hint strong {
  color: var(--ink);
}

/* Formular */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 700px) {
  .form-card {
    padding: 44px 44px 40px;
  }
}
.form-intro {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
  text-wrap: balance;
}
.form-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .full {
    grid-column: 1 / -1;
  }
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--akzent-700);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--akzent-500);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a6b3e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--akzent-700);
  flex: none;
}
.consent a {
  color: var(--ink);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.form-status {
  font-size: 13.5px;
  line-height: 1.55;
}
.form-status.ok {
  color: #2e6b3f;
}
.form-status.err {
  color: #a03434;
}
.form-fallback {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.form-fallback a {
  color: var(--ink);
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
/* Terra-Lichtkante wächst beim Öffnen */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 2.5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--akzent-200), var(--akzent-500));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.faq-item[open]::before {
  transform: scaleY(1);
}
.faq-item summary {
  transition: color 0.25s;
}
.faq-item summary:hover {
  color: var(--terra-700);
}
.faq-item[open] {
  border-color: rgba(176, 141, 87, 0.5);
  background: var(--white);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 24px;
  font-size: 16px;
  font-weight: 550;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid var(--akzent-700);
  border-bottom: 1.6px solid var(--akzent-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-item .answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ---------- Footer ---------- */
.footer {
  /* Espresso-Bordeaux — die Seite endet im Raum des Mandats-Blocks */
  background:
    radial-gradient(120% 100% at 88% 0%, rgba(167, 201, 228, 0.14), transparent 55%),
    linear-gradient(150deg, #2a2e33, #16191d 60%, #0e1114);
  color: rgba(244, 247, 250, 0.75);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 4fr 3fr 3fr 2fr;
  }
}
.footer .brand strong {
  color: #f4f7fa;
}
.footer .brand span {
  color: var(--akzent-200);
}
.footer p,
.footer li {
  font-size: 13.5px;
  line-height: 1.7;
}
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--akzent-200);
  margin-bottom: 14px;
}
.footer a {
  color: rgba(244, 247, 250, 0.85);
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer ul {
  display: grid;
  gap: 8px;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 247, 250, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(244, 247, 250, 0.5);
}

/* ---------- Mobile Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(17, 20, 23, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(130%);
  transition: transform 0.5s var(--ease);
}
.sticky-cta.is-visible {
  transform: translateY(0);
}
/* Consent-Banner hat Vorrang: Sticky-Leiste weicht, solange die Wahl offen ist */
.consent-open .sticky-cta {
  transform: translateY(130%);
}
.sticky-cta .btn {
  flex: 1;
  height: 46px;
  font-size: 14px;
  padding: 0 12px;
}
.sticky-cta .btn-primary {
  background: linear-gradient(120deg, var(--akzent-500), var(--akzent-400));
  color: #fff;
  box-shadow: none;
}
.sticky-cta .btn-ghost {
  border-color: rgba(244, 247, 250, 0.3);
  color: #f4f7fa;
}
@media (min-width: 980px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Rechtsseiten ---------- */
.legal-main {
  padding: 150px 0 90px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 600;
}
.legal-main h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 42px 0 10px;
}
.legal-main h3 {
  font-size: 16px;
  font-weight: 650;
  margin: 26px 0 6px;
}
.legal-main p,
.legal-main li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.legal-main p {
  margin-top: 10px;
}
.legal-main ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.legal-main a {
  color: var(--ink);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  color: var(--akzent-700);
}

/* ---------- Scroll-Fortschritt (goldene Haarlinie oben) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 210;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--akzent-500), var(--akzent-400), var(--terra-500));
  transform-origin: left;
  transform: scaleX(var(--sp, 0));
}

/* ---------- Atem-Räume: ein Satz, viel Luft ---------- */
.atem {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 16vh, 190px) 0;
}
.atem--stone {
  background: linear-gradient(180deg, var(--paper), var(--stone-100) 30%, var(--stone-200) 72%, var(--paper));
}
/* Atmendes Licht statt Bild — bis die neuen Firefly-Motive da sind */
.atem--stone::before {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background: radial-gradient(50% 45% at 30% 40%, rgba(167, 201, 228, 0.35), transparent 65%);
  animation: hero-breathe 18s ease-in-out infinite;
}
.atem .wrap {
  z-index: 2;
}
.atem--terra {
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(248, 223, 214, 0.25), transparent 55%),
    radial-gradient(120% 120% at 10% 115%, rgba(38, 20, 17, 0.5), transparent 60%),
    linear-gradient(155deg, #92594f, #7a4a42 65%, #6b3f38);
}
.atem-geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.atem .wrap {
  position: relative;
  text-align: center;
}
.atem-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #f8dfd6;
  margin-bottom: 26px;
}
.atem-lines {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--font-body);
  font-weight: 235;
  font-size: clamp(30px, 4.8vw, 64px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.atem-lines span {
  display: block;
}
.atem-lines .t {
  color: var(--terra-500);
  font-weight: 300;
}
.atem--terra .atem-lines {
  color: rgba(248, 242, 230, 0.94);
}
.atem--terra .atem-lines .g {
  color: #f8dfd6;
  font-weight: 300;
}

/* Zeilen-Stagger (Huawei-Effekt) */
html.js [data-stagger] span,
html.js .atem-kicker {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.22s);
}
html.js .atem.is-visible [data-stagger] span,
html.js .atem.is-visible .atem-kicker {
  opacity: 1;
  transform: none;
}

/* ---------- Duo — Farbkarten im Galerie-Raum (ASUS-Prinzip) ---------- */
.duo-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 820px) {
  .duo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.duo-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: calc(var(--radius) + 10px);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  color: #f5f7f9;
  box-shadow: 0 30px 70px rgba(17, 20, 23, 0.2);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.duo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 90px rgba(17, 20, 23, 0.28);
}
.duo-card--terra {
  background:
    radial-gradient(120% 100% at 85% -10%, rgba(248, 223, 214, 0.28), transparent 55%),
    linear-gradient(160deg, #92594f, #7a4a42 62%, #6b3f38);
}
.duo-card--ink {
  background:
    radial-gradient(120% 100% at 85% -10%, rgba(167, 201, 228, 0.2), transparent 55%),
    linear-gradient(160deg, #3b3f44, #33363a 62%, #111417);
}
.duo-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--akzent-200);
}
.duo-card--terra .duo-tag {
  color: #f8dfd6;
}
.duo-card h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
}
.duo-text {
  margin-top: 10px;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(246, 248, 250, 0.8);
}
.duo-copy {
  position: relative;
  z-index: 2;
}
.duo-art {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 62%;
}
/* Die Goldlinien fließen endlos — unser Pendant zu den ASUS-Lichtadern */
.duo-art .fl {
  stroke-dasharray: 220 360;
  animation: line-flow 11s linear infinite;
  opacity: 0.75;
}
.duo-art .fl:nth-child(2) { animation-duration: 14s; animation-delay: -4s; opacity: 0.55; }
.duo-art .fl:nth-child(3) { animation-duration: 17s; animation-delay: -8s; opacity: 0.4; }
.duo-art .fl:nth-child(4) { animation-duration: 21s; animation-delay: -2s; opacity: 0.3; }
.duo-art .fl:nth-child(5) { animation-duration: 25s; animation-delay: -11s; opacity: 0.22; }
@keyframes line-flow {
  to { stroke-dashoffset: -580; }
}
/* Licht-Sheen beim Überfahren */
.duo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-160%);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
.duo-card:hover::after {
  transform: translateX(160%);
}

/* ---------- Hero-Zeile: Wort für Wort ---------- */
html.js #heroTitle .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--wi, 0) * 0.1s);
}
html.js #heroTitle.words-in .w {
  opacity: 1;
  transform: none;
}

/* ---------- Icon-System (goldene Linie, Terra-Detail) ---------- */
.ic {
  width: 32px;
  height: 32px;
  flex: none;
  fill: none;
  stroke: var(--akzent-700);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic .t {
  stroke: var(--terra-500);
}
.ic-s {
  width: 24px;
  height: 24px;
}
.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.service-head .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--akzent-500);
}
.standards li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.standards .ic-s {
  margin-top: 2px;
  width: 22px;
  height: 22px;
}

/* ---------- Technik-Band ---------- */
.tech-band {
  background: linear-gradient(180deg, var(--paper), var(--stone-100));
  border-top: 1px solid var(--line);
  padding: 40px 0 44px;
}
.tech-grid {
  display: grid;
  gap: 22px;
}
.tech-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent-700);
}
.tech-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
@media (min-width: 900px) {
  .tech-grid {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 48px;
  }
  .tech-items {
    grid-template-columns: repeat(4, 1fr);
  }
}
.tech-items li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tech-items strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.tech-items span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
}

/* Anker landen nicht unter der fixen Navigation */
section[id],
[id="kontakt"],
[id="faq"] {
  scroll-margin-top: 86px;
}

/* ---------- Reveal-Animationen (progressive enhancement) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.js .u-swash path {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.4s var(--ease) 0.5s;
}
html.js .u-swash.is-drawn path {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .u-swash path {
    stroke-dashoffset: 0;
    transition: none;
  }
  .process-line .fill {
    transform: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Consent-Banner ---------- */
.consent {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 300;
  display: flex;
  justify-content: center;
}
.consent[hidden] {
  display: none;
}
.consent-card {
  width: 100%;
  max-width: 720px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(17, 20, 23, 0.28);
  padding: 24px 26px;
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .consent-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 26px 30px;
  }
}
html.js .consent-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html.js .consent.is-in .consent-card {
  opacity: 1;
  transform: none;
}
.consent-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--akzent-700);
}
.consent-card h2 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}
.consent-card p#consentText {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 64ch;
}
.consent-card a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Beide Buttons bewusst gleich groß — Ablehnen darf nicht benachteiligt sein (TTDSG) */
.consent-btn {
  flex: 1;
  min-width: 150px;
  height: 48px;
  padding: 0 20px;
  font-size: 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.consent-btn:hover {
  border-color: var(--akzent-700);
  background: var(--white);
}
.consent-btn--accept {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.consent-btn--accept:hover {
  background: #05204a;
  border-color: #05204a;
  color: var(--cream);
}
@media (min-width: 720px) {
  .consent-actions {
    flex-direction: column;
    min-width: 190px;
  }
  .consent-btn {
    width: 100%;
  }
}

/* ---------- Druck ---------- */
@media print {
  .nav,
  .sticky-cta,
  .grain {
    display: none;
  }
  body {
    background: #fff;
  }
}
