/* Self-hosted fonts (SIL Open Font License 1.1 — frei für kommerzielle Nutzung).
   Lokal gehostet, damit keine Besucher-IP an Google übertragen wird (DSGVO). */

/* DM Sans — Variable Font, deckt font-weight 300–500 ab */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/fonts/dmsans-latin-ext.XRjTHSOtph.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/fonts/dmsans-latin.ynLSvOqPTa.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Serif Display — 400 normal + italic */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-latin-ext.OvR4FdYYPv.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-latin.fYeIP0sAQj.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-italic-latin-ext.4CZSHlm3sX.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-italic-latin.7YspFhHjL6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ══════════════════════════════════════════════════════════════
   Designsystem „Warmes Papier“ — helles Hanseatic Editorial.
   Creme wie hochwertiges Briefpapier, Tinte statt Schwarz,
   Bronze-Gold als Markenfaden. Die Variablennamen sind bewusst
   dieselben wie zuvor, damit alle Views weiter funktionieren.
   ══════════════════════════════════════════════════════════════ */
:root {
  /* Flächen */
  --bg: #FAF6EF;             /* warmes Papier */
  --surface: #FFFDF8;        /* Karten, leicht erhaben */
  --surface2: #F7F2E6;       /* leicht abgesetzte Papier-Bänder */
  --surface-hover: #EFE7D4;

  /* Feste Anker, unabhängig von Sektions-Overrides (z. B. dunkler Footer) */
  --ink: #26221B;            /* warmes Tintenschwarz */
  --paper: #FAF6EF;

  /* Text */
  --text: #26221B;
  --text-muted: #5A5244;
  --text-dim: #86795F;

  /* Linien */
  --border: #E6DEC9;
  --border-hover: #D0C4A6;

  /* Akzent: Bronze-Gold, für hellen Grund nachgedunkelt */
  --accent: #9A621C;
  --accent-deep: #7C4E13;
  --accent-soft: rgba(154, 98, 28, 0.10);
  --accent-wash: rgba(193, 140, 58, 0.24);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 10px rgba(58, 50, 36, 0.05);
  --shadow-md: 0 14px 34px rgba(58, 50, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(58, 50, 36, 0.14);

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --transition: all 0.35s var(--ease);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Hauchfeine Papier-Körnung über allem — das „Briefpapier“-Gefühl. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent-wash);
  color: var(--ink);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 2rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

strong {
  color: var(--text);
  font-weight: 500;
}

/* Textmarker-Effekt: kursives Serif-Wort mit Amber-Wisch darunter.
   Das Signatur-Element der Marke — sparsam einsetzen. */
.hl {
  font-style: italic;
  white-space: nowrap;
  background: linear-gradient(transparent 58%, var(--accent-wash) 58%, var(--accent-wash) 92%, transparent 92%);
  padding: 0 0.08em;
}

/* Layout Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  position: relative;
  scroll-margin-top: 100px;
}

/* Tiefes Papier-Band für Sektionen, die sich abheben sollen. */
.section-alt {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Typografischer Trenner im Druck-Stil: Linie ✦ Linie */
.rule {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 320px;
  margin: 0 auto;
  color: var(--accent);
  font-size: 0.9rem;
}

.rule::before,
.rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-hover);
}

/* Header & Nav */
/* Nur die Site-Navigation (<header id="navbar">) ist fixiert. Der nackte
   header-Selektor traf früher AUCH die <header>-Elemente im Admin-Panel und
   riss deren Seitentitel als position:fixed aus dem Fluss – daher #navbar. */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.4rem 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

#navbar.scrolled {
  padding: 0.9rem 0;
  background: rgba(255, 253, 248, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(58, 50, 36, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.logo span {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-left: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

/* Buttons — Pillen wirken freundlicher und hochwertiger. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--ink);
  color: #FBF7F0;
}

.btn-primary:hover {
  background-color: var(--accent-deep);
  color: #FBF7F0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-hover);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Text-Link mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 3px;
}

.arrow-link:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Hero Section — reine Typografie statt 2,4-MB-Bild. */
.hero {
  padding: 11rem 0 5.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 85% 8%, rgba(193, 140, 58, 0.13), transparent 70%),
    radial-gradient(ellipse 50% 40% at 8% 95%, rgba(193, 140, 58, 0.07), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 4.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-content {
  max-width: 720px;
}

.hero-content > p {
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Vertrauensanker unter den CTAs */
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-trust li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* Portrait im Bogenrahmen — das menschliche Gesicht der Marke. */
.hero-portrait {
  margin: 0 auto;
  max-width: 330px;
  text-align: center;
}

.arch-frame {
  position: relative;
  border-radius: 165px 165px var(--radius-md) var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hover);
  background: var(--surface2);
  box-shadow: var(--shadow-md);
}

.arch-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Zweite, feine Druck-Linie um den Bogen */
.hero-portrait .arch-outline {
  border-radius: 175px 175px calc(var(--radius-md) + 8px) calc(var(--radius-md) + 8px);
  border: 1px solid var(--border-hover);
  padding: 9px;
  background: var(--surface);
}

.hero-portrait figcaption {
  margin-top: 1.25rem;
  line-height: 1.4;
}

.hero-portrait figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--text);
}

.hero-portrait figcaption span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-statement h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 0;
  color: var(--text);
}

.philosophy-statement h2 span {
  color: var(--accent-deep);
  font-style: italic;
}

.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.point {
  border-left: 2px solid var(--border-hover);
  padding-left: 1.5rem;
  transition: var(--transition);
}

.point:hover {
  border-left-color: var(--accent);
}

.point h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.point p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Footer — bleibt Teil der hellen Papier-Familie (tiefstes Band),
   damit kein zweiter dunkler Block entsteht. Die Tinte ist der
   featured Preiskarte vorbehalten. */
footer {
  --text: #F4EEE2;
  --text-muted: rgba(244, 238, 226, 0.72);
  --text-dim: rgba(244, 238, 226, 0.5);
  --border: rgba(244, 238, 226, 0.12);
  --border-hover: rgba(244, 238, 226, 0.26);
  --accent: #D9A85C;
  --accent-deep: #E9C488;
  background: #1B1711;
  color: var(--text);
  padding: 6rem 0 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1.3fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col.contact-col h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 0.4rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.contact-email:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Process Timeline */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.process-step {
  position: relative;
  border-top: 1px solid var(--border-hover);
  padding-top: 1.75rem;
  transition: var(--transition);
}

.process-step:hover {
  border-top-color: var(--accent);
}

.process-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 9rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-portrait {
    max-width: 280px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s var(--ease);
    box-shadow: 0 20px 40px rgba(58, 50, 36, 0.12);
  }

  .nav-links.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links .btn {
    margin-left: 0 !important;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Animations — bewusst deaktiviert: Inhalte sind sofort sichtbar. */
.fade-in {
  /* Animation removed for performance and immediate visibility */
}

.fade-in.visible {
  /* Animation removed */
}

.delay-1,
.delay-2,
.delay-3 {
  /* Animation removed */
}

/* Accordion FAQ */
details {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

summary {
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] summary {
  margin-bottom: 1rem;
}

details p {
  color: var(--text-muted);
  margin-bottom: 0;
  padding-right: 2rem;
  line-height: 1.6;
}

/* WhatsApp Sticky Button */
.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
}

@media (max-width: 600px) {
  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
  }

  .whatsapp-fab svg {
    width: 26px;
    height: 26px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 253, 248, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 -10px 40px rgba(58, 50, 36, 0.12);
  z-index: 9999;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  gap: 3rem;
}

.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.cookie-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 900px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .cookie-actions {
    flex-direction: column-reverse;
  }
  .cookie-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ── Kontaktformular ─────────────────────────────────────────── */
.kontakt-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 3.5rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.kontakt-layout-text {
  display: flex;
  flex-direction: column;
}

.kontakt-layout-text .hero-eyebrow {
  margin-bottom: 1rem;
}

.kontakt-layout-text h2,
.kontakt-layout-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.kontakt-layout-text > p {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Sprungziel für /kontakt#formular — Abstand für den fixen Header */
  scroll-margin-top: 110px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-deep);
}

/* Hinweis unter dem E-Mail-/Telefon-Feld – rückt näher an die Felder darüber. */
.form-hint {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: -0.75rem;
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: var(--transition);
  resize: vertical;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: var(--text-dim);
}

.kontakt-form input:hover,
.kontakt-form textarea:hover {
  border-color: var(--text-dim);
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Honeypot – für Menschen unsichtbar, von Bots aber ausgefüllt. */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile-Widget im interaction-only-Modus: bleibt für die meisten
   Besucher unsichtbar (0 Höhe) und wächst nur, wenn wirklich eine
   Prüfung nötig ist — daher hier bewusst keine Höhe reserviert. */
.form-turnstile {
  min-height: 0;
}

.form-turnstile .cf-turnstile {
  width: 100%;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-submit-row .btn {
  flex-shrink: 0;
}

.kontakt-submit:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.kontakt-privacy {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.kontakt-privacy a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-hover);
}

.kontakt-privacy a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.kontakt-status {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.kontakt-status:empty {
  display: none;
}

.kontakt-status.success {
  color: #2E7D46;
}

.kontakt-status.error {
  color: #B4462E;
}

/* E-Mail/Telefon (sekundär/tertiär) – füllt die linke Spalte und ankert unten. */
.kontakt-direkt {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2.25rem;
}

.kontakt-direkt-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

.kontakt-direkt-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.kontakt-direkt-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.kontakt-direkt-item:hover {
  color: var(--text);
}

.kontakt-direkt-kind {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

@media (max-width: 960px) {
  .kontakt-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 640px;
  }
  .kontakt-layout-text {
    text-align: center;
    align-items: center;
  }
  .kontakt-layout-text > p {
    max-width: 52ch;
  }
  .kontakt-direkt {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .kontakt-form {
    padding: 1.75rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-submit-row .btn {
    width: 100%;
  }
}

/* Themen-Auswahl im Kontaktformular – optisch wie die Textfelder. */
.kontakt-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #FFFFFF 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 1.5 6 6.5 11 1.5' fill='none' stroke='%239A621C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
}

.kontakt-form select:invalid {
  color: var(--text-dim);
}

.kontakt-form select option {
  color: var(--text);
}

.kontakt-form select:hover {
  border-color: var(--text-dim);
}

.kontakt-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Navigation: Leistungen-Menü ─────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-caret {
  margin-left: 0.2rem;
  vertical-align: 0.1em;
  transition: transform 0.25s var(--ease);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-container {
  position: relative;
}

/* Das Menü hängt an der Navigationsleiste, nicht am Link: So bleibt es bei
   jeder Fensterbreite im Bild und schließt rechts mit der Leiste ab. */
.nav-dropdown {
  position: static;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  right: 2rem;
  width: min(920px, calc(100% - 4rem));
  padding: 1.75rem 1.75rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Unsichtbare Brücke über den Abstand, damit das Menü beim Hinüberfahren
   mit der Maus nicht zuklappt. */
.nav-dropdown::after {
  content: '';
  position: absolute;
  right: 2rem;
  width: min(920px, calc(100% - 4rem));
  top: calc(100% - 0.5rem);
  height: 1.7rem;
  pointer-events: none;
}

.nav-dropdown:hover::after {
  pointer-events: auto;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-menu-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.nav-menu-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-menu-label {
  padding: 0 0.85rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav-menu a.nav-menu-item {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-menu-item strong {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}

.nav-menu-item span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.nav-menu a.nav-menu-item:hover,
.nav-menu a.nav-menu-item.current {
  background: var(--surface2);
}

.nav-menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem -1.75rem 0;
  padding: 1.1rem 2.6rem;
  border-top: 1px solid var(--border);
  background: var(--surface2);
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .nav-caret {
    display: none;
  }
}

/* ── Leistungsseiten ─────────────────────────────────────────── */
.page-hero {
  padding: 8.5rem 0 4rem;
  background: radial-gradient(ellipse 60% 50% at 85% 8%, rgba(193, 140, 58, 0.12), transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  max-width: 26ch;
}

.page-hero .lead {
  font-size: 1.2rem;
  max-width: 60ch;
}

.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--border-hover);
}

.crumbs a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-hover);
}

.crumbs a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

.lp-hero-grid h1 {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
}

/* Produktname im Stil der Wortmarke: Serif-Name + gesperrter Zusatz. */
.product-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem 0.4rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  background: var(--surface);
}

.product-mark b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
}

.product-mark span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}

.lp-section-head h2 {
  margin-bottom: 1rem;
}

.lp-section-head p {
  margin-bottom: 0;
}

/* Screenshot im Browserrahmen */
.shot {
  margin: 0;
}

.shot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-hover);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(58, 50, 36, 0.16);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 36px;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.shot-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-hover);
  box-shadow: 16px 0 0 var(--surface-hover), 32px 0 0 var(--surface-hover);
  margin-right: 32px;
}

.shot-bar span {
  flex: 0 1 300px;
  padding: 0.15rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  font-size: 0.72rem;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Aufzählungen ohne Kästen: nummeriert, durch Linien getrennt. Die Linie
   füllt sich beim Überfahren mit der Akzentfarbe. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 3rem;
  counter-reset: feat;
}

.feature-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
  position: relative;
  counter-increment: feat;
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--border-hover);
}

.feature::before {
  content: counter(feat, decimal-leading-zero);
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent);
}

.feature::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.feature:hover::after {
  width: 100%;
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 1rem;
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.check-list.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2.5rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.split h2 {
  margin-bottom: 1.25rem;
}

/* Preisübersicht als dunkle Tinten-Fläche – derselbe Blickfang wie früher
   die hervorgehobene Preiskarte. */
.price-panel {
  --text: #F4EEE2;
  --text-muted: rgba(244, 238, 226, 0.75);
  --text-dim: rgba(244, 238, 226, 0.55);
  --border: rgba(244, 238, 226, 0.16);
  --accent: #D9A85C;
  background: #241F17;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.price-panel .hero-eyebrow {
  margin-bottom: 0.75rem;
}

.price-panel h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
}

.price-row strong {
  display: block;
  font-weight: 500;
  font-size: 1.05rem;
}

.price-row small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.price-value {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}

.price-value span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.price-note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Hinweis auf den kostenlosen Entwurf unter den Hero-Buttons. */
.draft-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm, 8px);
}

.draft-note-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.draft-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.draft-note .arrow-link {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .draft-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

.lp-faq {
  max-width: 820px;
  margin: 0 auto;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  --text: #F4EEE2;
  --text-muted: rgba(244, 238, 226, 0.72);
  --text-dim: rgba(244, 238, 226, 0.5);
  --border-hover: rgba(244, 238, 226, 0.26);
  --accent: #D9A85C;
  --accent-deep: #E9C488;
  background: #1B1711;
  color: var(--text);
  padding: 3rem 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.lp-cta .btn-primary {
  background: #F2B53D;
  color: #1B1711;
}

.lp-cta .btn-outline {
  color: var(--text);
  border-color: var(--border-hover);
}

.section-ink .lp-cta {
  background: #2A241B;
  box-shadow: none;
}

.lp-cta-text {
  flex: 1 1 420px;
}

.lp-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.lp-cta p {
  margin-bottom: 0;
}

.lp-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-shrink: 0;
}

.lp-more {
  margin-top: 5rem;
}

.lp-more-title {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .page-hero {
    padding-top: 8.5rem;
  }

  .lp-hero-grid,
  .split,
  .shot-grid,
  .feature-grid,
  .check-list.cols-2 {
    grid-template-columns: 1fr;
  }

  .lp-hero-grid,
  .split {
    gap: 3rem;
  }

  .lp-cta {
    padding: 2.5rem 2rem;
  }

  .price-panel {
    padding: 2rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .price-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .price-value {
    text-align: left;
  }

  

  .lp-cta-actions {
    width: 100%;
  }
}

/* Einzeilige Code-Anzeige, z. B. das Einbindungs-Snippet */
.code-line {
  display: block;
  overflow-x: auto;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #241F17;
  color: #F4EEE2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: nowrap;
}

.code-line .tok {
  color: #D9A85C;
}

/* Illustrationen aus Karten (E-Mail, Automatisierung, Zertifikat) */
.visual-card {
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
}

.visual-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.mailbox-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.mailbox-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.mailbox-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 0.9rem;
}

.mailbox-list strong {
  display: block;
  font-weight: 500;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.mailbox-list small {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.mailbox-list em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.storage {
  margin-top: 1.25rem;
}

.storage-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.storage-bar {
  height: 8px;
  border-radius: 100px;
  background: var(--surface-hover);
  overflow: hidden;
}

.storage-bar i {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--accent);
}

.flow {
  list-style: none;
  counter-reset: flow;
}

.flow li {
  position: relative;
  display: flex;
  gap: 1rem;
  padding-bottom: 1.4rem;
}

.flow li:last-child {
  padding-bottom: 0;
}

.flow li::before {
  counter-increment: flow;
  content: counter(flow);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F3E9D8;
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 0.9rem;
}

.flow li::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.flow li:last-child::after {
  display: none;
}

.flow strong {
  display: block;
  font-weight: 500;
}

.flow span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.flow .flow-tag {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.05rem 0.6rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.cert-card img {
  width: 132px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 16px rgba(58, 50, 36, 0.12));
}

.cert-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.cert-card p {
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.chip-row span {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg);
}

@media (max-width: 600px) {
  .cert-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .visual-card {
    padding: 1.25rem;
  }

  .mailbox-list em {
    display: none;
  }
}

/* Laufende Leistungen nebeneinander: Hosting (dunkel) und Zusatzleistungen */
.addon-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.addon-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.addon-card.price-panel {
  background: #241F17;
  border-color: #241F17;
  box-shadow: var(--shadow-lg);
}

.addon-card .hero-eyebrow {
  margin-bottom: 0.6rem;
}

.addon-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.addon-card p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.addon-price {
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--accent);
}

.addon-price span {
  margin-left: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.addon-card .check-list {
  gap: 0.6rem;
}

.addon-card .check-list li {
  font-size: 0.98rem;
}

.addon-card > .arrow-link {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 1000px) {
  .addon-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   Tinten-Bänder, Geräte-Showcase, Leistungsliste, Fallstudien
   ══════════════════════════════════════════════════════════════ */

/* Dunkles Band: dieselben Variablen, nur umgefärbt. Alles darin
   (Überschriften, Links, Buttons) passt sich dadurch automatisch an. */
.section-ink {
  --text: #F4EEE2;
  --text-muted: rgba(244, 238, 226, 0.72);
  --text-dim: rgba(244, 238, 226, 0.5);
  --border: rgba(244, 238, 226, 0.12);
  --border-hover: rgba(244, 238, 226, 0.26);
  --accent: #D9A85C;
  --accent-deep: #E9C488;
  --accent-soft: rgba(217, 168, 92, 0.14);
  --surface: #2A241B;
  --surface2: #221D16;
  position: relative;
  background:
    radial-gradient(ellipse 55% 40% at 90% 0%, rgba(217, 168, 92, 0.10), transparent 70%),
    radial-gradient(ellipse 45% 35% at 0% 100%, rgba(217, 168, 92, 0.06), transparent 70%),
    #1B1711;
  color: var(--text);
}

.section-ink .btn-primary {
  background: #F4EEE2;
  color: #1B1711;
}

.section-ink .btn-primary:hover {
  background: var(--accent);
  color: #1B1711;
}

/* Einblenden beim Scrollen (site.js). Ohne JS bleibt alles sichtbar. */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Kopf einer Sektion mit Link rechts daneben */
.sc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  max-width: none;
}

.sc-head > div {
  max-width: 720px;
}

.sc-head > .arrow-link {
  flex-shrink: 0;
  margin-bottom: 0.4rem;
}

.showcase > .sc-head {
  margin-bottom: 2.5rem;
}

.showcase > .sc-head h2 {
  margin-bottom: 0.9rem;
}

.showcase > .sc-head p {
  margin-bottom: 0;
}

.sc-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.1rem;
  flex-shrink: 0;
}

.sc-head-side .sc-controls {
  margin-top: 0;
}

/* ── Geräterahmen ────────────────────────────────────────────── */
.sc-stage {
  position: relative;
  display: block;
  padding: 0 0 2.25rem;
  isolation: isolate;
}

/* Farbschein der Kundenmarke hinter dem Gerät */
.sc-stage::before {
  content: '';
  position: absolute;
  inset: 12% 8% 4%;
  z-index: -1;
  border-radius: 50%;
  background: var(--brand, #D9A85C);
  opacity: 0.28;
  filter: blur(70px);
  transition: opacity 0.6s var(--ease);
}

.sc-browser {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #100E0B;
  box-shadow: 0 30px 70px rgba(12, 9, 5, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform 0.6s var(--ease);
}

.sc-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 30px;
  padding: 0 0.85rem;
  background: #2A251D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sc-bar i {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-right: 28px;
  border-radius: 50%;
  background: #4A4337;
  box-shadow: 14px 0 0 #4A4337, 28px 0 0 #4A4337;
}

.sc-bar span {
  flex: 0 1 260px;
  margin: 0 auto;
  padding: 0.1rem 0.8rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 238, 226, 0.6);
  font-size: 0.7rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-screen {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #16130F;
}

/* Beim Überfahren läuft der Screenshot von oben nach unten durch.
   Die Dauer (--pan) setzt site.js passend zur Seitenlänge. */
.sc-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  user-select: none;
  -webkit-user-drag: none;
  transition: object-position 1.1s var(--ease);
}

.sc-stage:hover .sc-screen img,
.sc-item:hover .sc-screen img {
  object-position: 50% 100%;
  transition: object-position var(--pan, 6s) cubic-bezier(0.37, 0, 0.63, 1);
}

.sc-stage:hover::before,
.sc-item:hover .sc-stage::before {
  opacity: 0.45;
}

.sc-stage:hover .sc-browser,
.sc-item:hover .sc-browser {
  transform: translateY(-6px);
}

.sc-phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  z-index: 2;
  width: 23%;
  min-width: 92px;
  padding: 5px;
  border-radius: 20px;
  background: #100E0B;
  box-shadow: 0 24px 50px rgba(12, 9, 5, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.6s var(--ease);
}

.sc-phone .sc-screen {
  aspect-ratio: 9 / 19;
  border-radius: 15px;
}

.sc-stage:hover .sc-phone,
.sc-item:hover .sc-phone {
  transform: translateY(-12px);
}

/* ── Showcase ────────────────────────────────────────────────── */
.sc-info {
  min-width: 0;
}

.sc-meta {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sc-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent);
}

.sc-name {
  margin: 0.7rem 0 0.9rem;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.05;
}

.sc-name a {
  color: inherit;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.5s var(--ease);
}

.sc-name a:hover {
  background-size: 100% 2px;
}

.sc-demo {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.5em;
  color: var(--text-dim);
}

.sc-info p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.sc-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
}

.sc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 4.5rem;
}

.sc-filter button {
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.sc-filter button span {
  margin-left: 0.2rem;
  font-size: 0.8em;
  color: var(--text-dim);
}

.sc-filter button:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.sc-filter button.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #1B1711;
}

.sc-filter button.is-active span {
  color: rgba(27, 23, 17, 0.55);
}

.sc-item[hidden] {
  display: none !important;
}

.sc-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.showcase.is-scrollable .sc-controls {
  display: flex;
}

.sc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.sc-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.sc-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.sc-count {
  min-width: 4.5ch;
  text-align: center;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
}

.sc-count b {
  font-weight: 500;
  color: var(--text);
}

/* Liste: groß und abwechselnd links/rechts */
.showcase--list .sc-track {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.showcase--list .sc-item {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 5rem;
  align-items: center;
}

.showcase--list .sc-item.is-even {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.showcase--list .sc-item.is-even .sc-stage {
  order: 2;
}

.showcase--list .sc-item.is-even .sc-phone {
  right: auto;
  left: -2%;
}

/* Karussell: Karten nebeneinander, wischbar, rastet ein */
.showcase--carousel .sc-track {
  display: flex;
  gap: 2rem;
  margin: 0 -2rem;
  padding: 0.5rem 2rem 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2rem;
  scrollbar-width: none;
}

.showcase--carousel .sc-track::-webkit-scrollbar {
  display: none;
}

.showcase--carousel .sc-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(420px, 36%);
  scroll-snap-align: start;
}

.showcase--carousel .sc-stage {
  margin-bottom: 1.25rem;
  padding-bottom: 1.75rem;
}

.showcase--carousel .sc-info,
.showcase--list .sc-info {
  display: flex;
  flex-direction: column;
}

.showcase--carousel .sc-info {
  flex: 1;
}

.showcase--carousel .sc-links {
  margin-top: auto;
}

.showcase--carousel .sc-name {
  font-size: 1.6rem;
  margin: 0.45rem 0 0.5rem;
}

.showcase--carousel .sc-info p {
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .showcase--list .sc-track {
    flex-direction: row;
    gap: 1.25rem;
    margin: 0 -2rem;
    padding: 0.5rem 2rem 1.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2rem;
    scrollbar-width: none;
  }

  .showcase--list .sc-track::-webkit-scrollbar {
    display: none;
  }

  .showcase--list .sc-item {
    display: block;
    flex: 0 0 min(86%, 440px);
    scroll-snap-align: start;
  }

  .showcase--list .sc-stage {
    margin-bottom: 1.5rem;
  }

  .showcase--list .sc-item.is-even .sc-phone {
    left: auto;
    right: -2%;
  }

  .showcase--list .sc-name,
  .showcase--carousel .sc-name {
    font-size: 1.65rem;
  }

  .showcase--carousel .sc-item {
    flex-basis: min(86%, 440px);
  }

  .sc-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -2rem 2.5rem;
    padding: 0 2rem 0.25rem;
    scrollbar-width: none;
  }

  .sc-filter::-webkit-scrollbar {
    display: none;
  }

  .sc-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sc-head-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .showcase--list .sc-track,
  .showcase--carousel .sc-track,
  .sc-filter {
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    scroll-padding-inline: 1.25rem;
  }
}

/* ── Leistungen: Schwerpunkt + Zeilen ───────────────────────── */
.svc-hero {
  --text: #F4EEE2;
  --text-muted: rgba(244, 238, 226, 0.72);
  --text-dim: rgba(244, 238, 226, 0.5);
  --border-hover: rgba(244, 238, 226, 0.26);
  --accent: #D9A85C;
  --accent-deep: #E9C488;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  padding: 3.25rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(217, 168, 92, 0.16), transparent 70%),
    #1B1711;
  color: var(--text);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.svc-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.svc-hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.svc-hero-teaser {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.svc-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 238, 226, 0.14);
}

.svc-prices span {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.svc-prices b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--accent);
}

.svc-collage {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
}

.svc-shot {
  position: absolute;
  width: 72%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.7s var(--ease);
}

.svc-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.svc-shot:nth-child(1) { top: 0; left: 0; transform: rotate(-3deg); z-index: 1; }
.svc-shot:nth-child(2) { top: 22%; right: 0; transform: rotate(2.5deg); z-index: 2; }
.svc-shot:nth-child(3) { bottom: 0; left: 12%; transform: rotate(-1deg); z-index: 3; }

.svc-hero:hover .svc-shot:nth-child(1) { transform: rotate(-5deg) translate(-8px, -6px); }
.svc-hero:hover .svc-shot:nth-child(2) { transform: rotate(4deg) translate(10px, -4px); }
.svc-hero:hover .svc-shot:nth-child(3) { transform: rotate(0deg) translateY(6px); }

.svc-hero .arrow-link {
  border-bottom-color: var(--border-hover);
}

.svc-hero:hover .arrow-link {
  color: #fff;
  border-bottom-color: var(--accent);
}

.svc-list {
  list-style: none;
  border-top: 1px solid var(--border-hover);
}

.svc-list li {
  border-bottom: 1px solid var(--border-hover);
}

.svc-list a {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.25fr) 40px;
  gap: 2rem;
  align-items: center;
  padding: 1.7rem 0.5rem;
  color: var(--text);
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease);
}

.svc-list a:hover {
  background: var(--surface);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  color: var(--accent-deep);
  transition: var(--transition);
}

.svc-list a:hover .svc-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: #F4EEE2;
}

.svc-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.15;
}

.svc-name small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.svc-teaser {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-arrow {
  justify-self: end;
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}

.svc-list a:hover .svc-arrow {
  transform: translateX(6px);
}

.svc-other .svc-icon {
  border-style: dashed;
}

.svc-list--compact a {
  padding-block: 1.2rem;
}

.svc-list--compact .svc-name {
  font-size: 1.3rem;
}

.svc-list--compact .svc-teaser {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .svc-hero {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .svc-collage {
    order: -1;
    width: 92%;
    margin: 0 auto;
  }

  .svc-list a {
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    gap: 0.4rem 1.1rem;
    padding: 1.35rem 0;
  }

  .svc-list a:hover {
    padding-left: 0;
    padding-right: 0;
    background: none;
  }

  .svc-icon {
    width: 40px;
    height: 40px;
    grid-row: span 2;
    align-self: start;
  }

  .svc-name {
    font-size: 1.35rem;
  }

  .svc-teaser {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.95rem;
  }

  .svc-arrow {
    grid-column: 3;
    grid-row: 1;
  }
}

/* ── Laufband mit Kundennamen unter dem Hero ─────────────────── */
.clients-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.clients-strip-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
}

.clients-label {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.marquee-group a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.25rem;
  border-right: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.3rem;
  white-space: nowrap;
  color: var(--text);
}

.marquee-group a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 0.25rem;
}

.marquee-group a small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.marquee-group a:hover {
  color: var(--accent-deep);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .clients-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .marquee {
    width: 100%;
  }
}

/* ── Hero mit Gerät (Leistungsseite Webseite) ────────────────── */
.hero-stage {
  margin: 0;
  padding-right: 3%;
}

.hero-stage figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── Referenzen ──────────────────────────────────────────────── */
.ref-hero {
  padding-bottom: 4.5rem;
}

.ref-showcase {
  padding: 6rem 0 7rem;
}

/* ── Fallstudie ──────────────────────────────────────────────── */
.cs-hero {
  padding-bottom: 4rem;
}

.cs-hero h1 {
  max-width: none;
  margin-bottom: 1rem;
}

.cs-stage {
  padding: 4.5rem 0 3.5rem;
}

.cs-devices {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 2.5rem;
  align-items: end;
  isolation: isolate;
}

.cs-devices::before {
  content: '';
  position: absolute;
  inset: 10% 15% 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.22;
  filter: blur(90px);
}

.cs-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #100E0B;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cs-screen {
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  background: #16130F;
}

.cs-browser .cs-screen {
  height: min(68vh, 640px);
}

.cs-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-phone {
  padding: 6px;
  border-radius: 30px;
  background: #100E0B;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cs-phone .cs-screen {
  height: 520px;
  border-radius: 24px;
  scrollbar-width: none;
}

.cs-hint {
  margin: 1.75rem 0 0;
  max-width: none;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-align: center;
}

.cs-hint a {
  color: var(--accent-deep);
  border-bottom: 1px solid var(--border-hover);
}

.cs-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 5rem;
  align-items: start;
}

.cs-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 62ch;
}

.cs-main h2 {
  margin-bottom: 1.5rem;
}

.cs-facts {
  position: sticky;
  top: 110px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cs-facts dl > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cs-facts dl > div:first-child {
  padding-top: 0;
}

.cs-facts dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cs-facts dt {
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cs-facts dd {
  font-size: 1rem;
  color: var(--text);
}

.cs-facts dd a {
  display: block;
  color: var(--accent-deep);
}

.cs-facts dd a:hover {
  color: var(--ink);
}

.cs-facts ul {
  list-style: none;
}

.cs-facts li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cs-next {
  padding: 1rem 0 6rem;
}

.cs-next-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: var(--transition);
}

.cs-next-link:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.cs-next-text {
  display: flex;
  flex-direction: column;
}

.cs-next-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  color: var(--text);
}

.cs-next-meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cs-next-shot {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(2deg) translateY(12px);
  transition: transform 0.6s var(--ease);
}

.cs-next-link:hover .cs-next-shot {
  transform: rotate(0deg) translateY(0);
}

.cs-next-shot img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1000px) {
  .cs-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cs-facts {
    position: static;
  }
}

@media (max-width: 900px) {
  .feature-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .cs-devices {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cs-browser {
    display: none;
  }

  .cs-phone {
    width: min(290px, 80vw);
  }

  .cs-phone .cs-screen {
    height: min(600px, 70vh);
  }

  .cs-next-link {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }

  .sc-screen img,
  .sc-stage:hover .sc-screen img,
  .sc-item:hover .sc-screen img {
    transition: none;
  }
}

.section-ink#arbeiten {
  padding: 5rem 0;
}

.showcase--carousel .sc-meta {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase--carousel .sc-num {
  margin-right: 0.7rem;
}

.sc-head-side .arrow-link {
  white-space: nowrap;
}

/* Referenzen: Kundenprojekte hell, Designbeispiele als eigenes Raster */
.ref-showcase .sc-filter button.is-active {
  color: var(--paper);
}

.ref-showcase .sc-filter button.is-active span {
  color: rgba(250, 246, 239, 0.6);
}

.ref-demos {
  background: var(--surface2);
  border-top: 1px solid var(--border);
}

.ref-demos-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.ref-demos-head h2 {
  margin-bottom: 0.9rem;
}

.showcase--grid .sc-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.5rem 4rem;
}

.showcase--grid .sc-stage {
  margin-bottom: 1.5rem;
  padding-bottom: 1.75rem;
}

.showcase--grid .sc-num {
  display: none;
}

.showcase--grid .sc-name {
  font-size: 1.6rem;
  margin: 0.45rem 0 0.5rem;
}

.showcase--grid .sc-info p {
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .showcase--grid .sc-track {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* Footer: Wortmarke über die volle Breite, Schrift wie im Header-Logo */
footer {
  overflow: hidden;
}

.footer-mark-wrap {
  container-type: inline-size;
  margin-bottom: 4.5rem;
}

.footer-mark {
  display: flex;
  align-items: baseline;
  gap: 1.6cqi;
  width: fit-content;
  color: var(--text);
  text-decoration: none;
  line-height: 0.78;
}

.footer-mark-cwik {
  font-family: var(--font-display);
  font-size: 13cqi;
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
}

.footer-mark-consulting {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 2.8cqi;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-mark:hover .footer-mark-cwik {
  color: var(--accent);
}

@media (max-width: 760px) {
  /* Auch auf dem Smartphone in einer Zeile, nur etwas größer. */
  .footer-mark {
    gap: 3cqi;
  }

  .footer-mark-cwik {
    font-size: 22cqi;
  }

  .footer-mark-consulting {
    font-size: 4cqi;
  }
}

/* Footer wie ein Vorhang: Der Inhalt schiebt sich nach oben weg und gibt
   den feststehenden Footer frei, von unten nach oben. Nur wenn der Footer
   ganz in den Bildschirm passt, sonst wäre sein oberer Teil nie zu sehen
   (Klasse setzt site.js). */
html.footer-curtain main {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 0 0 28px 28px;
  overflow: clip;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

html.footer-curtain footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
}

/* Karussell über die volle Fensterbreite: Die Spur reicht bis an beide
   Ränder, die erste Karte steht aber bündig mit dem Inhalt darüber. */
/* --bleed: Abstand vom Fensterrand bis zum Inhalt (Container max. 1200px,
   2rem Innenabstand). Prozente gehen hier nicht, weil scroll-padding sich
   auf die Spur selbst bezieht. */
.showcase--carousel {
  --bleed: calc(max(0px, (100vw - 1200px) / 2) + 2rem);
  --gutter: max(2rem, 4vw);
}

/* Die Spur nutzt die ganze Fensterbreite, links wie rechts, mit einem
   schmalen Rand zum Fenster. */
.showcase--carousel .sc-track {
  gap: 2.5rem;
  margin-inline: calc(-1 * var(--bleed));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}

.showcase--carousel .sc-item {
  flex: 0 0 clamp(300px, 28vw, 440px);
}

.section-ink {
  overflow-x: clip;
}

@media (max-width: 900px) {
  .showcase--carousel .sc-track {
    gap: 1.25rem;
  }

  .showcase--carousel .sc-item {
    flex-basis: min(86%, 440px);
  }
}

/* ── Dunkle Navigationsleiste: dieselben Farben wie der Footer ── */
#navbar {
  --text: #F4EEE2;
  --text-muted: rgba(244, 238, 226, 0.72);
  --text-dim: rgba(244, 238, 226, 0.5);
  --border: rgba(244, 238, 226, 0.12);
  --border-hover: rgba(244, 238, 226, 0.26);
  --accent: #D9A85C;
  --surface: #1B1711;
  background: #1B1711;
  border-bottom-color: rgba(244, 238, 226, 0.08);
  color: var(--text);
}

#navbar.scrolled {
  background: #1B1711;
  box-shadow: 0 10px 30px rgba(27, 23, 17, 0.25);
}

#navbar .nav-link:hover,
#navbar .nav-link.active {
  color: #F4EEE2;
}

/* Kontakt-Button hell, damit er auf dem dunklen Grund heraussticht */
#navbar .nav-links > .btn-primary {
  background: #F4EEE2;
  color: #1B1711;
}

#navbar .nav-links > .btn-primary:hover {
  background: #F2B53D;
  color: #1B1711;
}

/* Das Leistungen-Menü bleibt hell wie die Seite */
#navbar .nav-menu {
  --text: #26221B;
  --text-muted: #5A5244;
  --text-dim: #86795F;
  --border: #E6DEC9;
  --border-hover: #D0C4A6;
  --accent: #9A621C;
  --surface: #FFFDF8;
  color: var(--text);
}

/* ── Feinschliff Layout und Bedienung ────────────────────────── */

/* Startseite: Hero etwas niedriger, damit die Vertrauenszeile und der
   Anfang der Kundenleiste auf einem üblichen Laptop-Bildschirm zu sehen sind. */
.hero {
  padding: 9rem 0 3.5rem;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-trust {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

/* Kontaktbereich: Der Text links begleitet das Formular beim Scrollen,
   statt eine leere Spalte zu hinterlassen. */
.hero-kern {
  display: none;
}

@media (min-width: 961px) {
  .kontakt-layout {
    align-items: start;
  }

  .kontakt-layout-text {
    position: sticky;
    top: 7.5rem;
  }

  .kontakt-direkt {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  /* Menü auf dem Smartphone: linksbündige Liste, die Leistungen sind
     direkt erreichbar. */
  .nav-links {
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 1.5rem 1.5rem;
    max-height: calc(100vh - 4.5rem);
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
  }

  .nav-links .nav-link {
    display: block;
    padding: 0.95rem 0;
    font-size: 1.05rem;
  }

  .nav-links > .nav-link,
  .nav-links > .nav-dropdown {
    border-bottom: 1px solid var(--border);
  }

  .nav-link.active::after {
    display: none;
  }

  #navbar .nav-link.active {
    color: var(--accent);
  }

  .nav-dropdown::after {
    display: none;
  }

  #navbar .nav-menu {
    display: block;
    position: static;
    width: auto;
    padding: 0 0 0.9rem;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }

  .nav-menu-cols {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }

  .nav-menu-col {
    display: contents;
  }

  .nav-menu-label,
  .nav-menu-item span,
  .nav-menu-foot {
    display: none;
  }

  .nav-menu a.nav-menu-item {
    padding: 0.45rem 0;
    border-radius: 0;
  }

  .nav-menu a.nav-menu-item:hover,
  .nav-menu a.nav-menu-item.current {
    background: none;
  }

  .nav-menu-item strong {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(244, 238, 226, 0.72);
  }

  .nav-menu-item.current strong {
    color: #D9A85C;
  }

  #navbar .nav-links > .btn {
    margin-top: 1.25rem;
    padding: 0.8rem 1.5rem !important;
  }
}

@media (max-width: 600px) {
  /* Hero: Buttons ohne Scrollen sichtbar, Portrait als kleine Karte. */
  .hero {
    padding: 7rem 0 3.5rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  /* Statt Fließtext stehen auf dem Smartphone die Kernleistungen. */
  .hero-content > p,
  .hero-actions .btn-outline {
    display: none;
  }

  .hero-kern {
    display: block;
    list-style: none;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-hover);
  }

  .hero-kern li {
    border-bottom: 1px solid var(--border-hover);
  }

  .hero-kern a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 0.9rem;
    align-items: center;
    padding: 0.8rem 0;
    color: var(--text);
  }

  .hero-kern .svc-icon {
    width: 38px;
    height: 38px;
    grid-row: auto;
    align-self: center;
  }

  .hero-kern strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .hero-kern small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--text-muted);
  }

  .hero-kern .svc-arrow {
    grid-column: auto;
    grid-row: auto;
    font-size: 1.1rem;
  }

  .hero-actions {
    margin-top: 1.75rem;
    gap: 0.75rem;
  }

  .hero-trust {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }

  .hero .hero-portrait {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .hero .hero-portrait .arch-outline {
    padding: 4px;
    border-radius: 56px 56px 14px 14px;
  }

  .hero .hero-portrait .arch-frame {
    border-radius: 52px 52px 10px 10px;
  }

  .hero .hero-portrait figcaption {
    margin-top: 0;
  }

  /* Startseite: Leistungen als kurze Liste, die Beschreibung steht auf
     der jeweiligen Seite. */
  .home-leistungen .svc-teaser {
    display: none;
  }

  .home-leistungen .svc-list a {
    align-items: center;
    padding: 1rem 0;
  }

  .home-leistungen .svc-icon {
    grid-row: auto;
    align-self: center;
  }

  .home-leistungen .svc-name {
    font-size: 1.2rem;
  }
}

/* Referenzen auf dem Smartphone: kleinere Karten, die nächste schaut
   am Rand heraus. */
@media (max-width: 600px) {
  .showcase--carousel .sc-item {
    flex: 0 0 72vw;
    min-width: 0;
    max-width: 72vw;
  }

  .showcase--carousel .sc-track {
    gap: 1rem;
  }

  .showcase--carousel .sc-name {
    font-size: 1.3rem;
  }

  .showcase--carousel .sc-item p {
    font-size: 0.9rem;
  }

  .sc-head h2 {
    font-size: 1.9rem;
  }

  .sc-head p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* ── Mobiles Menü: Vollbild, Leistungen immer offen als einzelne Kacheln ── */
.nav-menu .nav-menu-icon {
  display: none;
}

@media (max-width: 900px) {
  html.menu-open,
  html.menu-open body {
    overflow: hidden;
  }

  html.menu-open .whatsapp-fab {
    display: none;
  }

  #navbar .nav-links {
    display: flex;
    max-height: none;
    padding: 0.25rem 1.5rem 1.5rem;
    scrollbar-width: none;
    box-shadow: none;
    overscroll-behavior: contain;
  }

  /* Reihenfolge: Seiten zuerst, dann die Leistungen, Kontakt am Ende */
  .nav-links > a[href="/"] { order: 1; }
  .nav-links > a[href="/referenzen"] { order: 2; }
  .nav-links > a[href="/ueber-mich"] { order: 3; }
  .nav-links > .nav-dropdown { order: 4; border-bottom: 0 !important; }
  #navbar .nav-links > .btn { order: 5; flex-shrink: 0; }

  #navbar .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links .nav-link {
    font-size: 1.1rem;
  }

  .nav-links > .nav-link {
    padding: 0.8rem 0 !important;
  }

  .nav-dropdown > .nav-link {
    padding: 1.25rem 0 0.75rem;
    font-size: 0.72rem !important;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244, 238, 226, 0.5);
    pointer-events: none;
  }

  .nav-dropdown .nav-caret {
    display: none;
  }

  #navbar .nav-menu {
    display: block;
    margin: 0;
    padding: 0;
    background: none;
  }

  .nav-menu-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
  }

  .nav-menu-col {
    display: contents;
  }

  #navbar .nav-menu-label {
    display: none;
  }

  #navbar .nav-menu a.nav-menu-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    min-height: 58px;
    padding: 0.55rem 0.7rem;
    background: rgba(244, 238, 226, 0.05);
    border: 1px solid rgba(244, 238, 226, 0.1);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  #navbar .nav-menu a.nav-menu-item:active,
  #navbar .nav-menu a.nav-menu-item.current {
    background: rgba(244, 238, 226, 0.1);
    border-color: rgba(217, 168, 92, 0.5);
  }

  #navbar .nav-menu .nav-menu-icon {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(217, 168, 92, 0.14);
    color: #D9A85C;
  }

  #navbar .nav-menu-item strong {
    min-width: 0;
    hyphens: manual;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.3;
    color: #F4EEE2;
  }

  .nav-menu-foot {
    display: block;
    margin: 0;
    padding: 0.85rem 0 0;
    border: 0;
    background: none;
  }

  .nav-menu-foot > span {
    display: none;
  }

  #navbar .nav-menu-foot .arrow-link {
    border-bottom: 0;
    padding-bottom: 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: #D9A85C;
  }

  #navbar .nav-links > .btn {
    margin-top: 1.25rem;
  }
}

/* ───────────── Runde 3: Über-mich-Fakten, Ablauf mobil, Footer mobil, Sprunglink ───────────── */

/* Sprunglink für Tastaturbedienung: erst bei Fokus sichtbar */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #F4EEE2;
  color: #1B1711;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

main:focus {
  outline: none;
}

/* Startseite: Über mich als Text links, Fakten rechts */
.home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: center;
}

.home-about-text p {
  margin-bottom: 2rem;
  max-width: 34rem;
}

.fact-list {
  margin: 0;
  border-top: 1px solid var(--border-hover);
}

.fact-list > div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border-hover);
}

.fact-list dt {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.fact-list dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--text);
}

@media (max-width: 900px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .fact-list > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.9rem 0;
  }

  .fact-list dd {
    font-size: 1.15rem;
  }

  /* Ablauf: Nummer links, Text rechts, verbunden durch eine Linie */
  .process-steps {
    gap: 0;
    margin-top: 2.25rem;
  }

  .process-step {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    column-gap: 1rem;
    border-top: 0;
    padding: 0 0 1.75rem;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .process-step::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: 0.35rem;
    width: 1px;
    background: var(--border-hover);
  }

  .process-step:last-child::before {
    display: none;
  }

  .process-number {
    grid-row: 1 / span 2;
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 0;
    text-align: center;
  }

  .process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.45;
  }

  .process-step p {
    font-size: 0.97rem;
  }
}

/* Footer auf dem Smartphone: Seiten und Rechtliches nebeneinander, engere Abstände */
@media (max-width: 760px) {
  footer {
    padding-top: 4rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.25rem 1.5rem;
    margin-bottom: 3rem;
  }

  .footer-top > .footer-col:nth-child(1),
  .footer-top > .footer-col:nth-child(2) {
    grid-column: 1 / -1;
  }

  .footer-col h3 {
    margin-bottom: 1rem;
  }

  .footer-nav {
    gap: 0.8rem;
  }
}

/* Mobiles Menü: Cookie-Banner nicht über dem offenen Menü, kompakter auf niedrigen Displays */
@media (max-width: 900px) {
  html.menu-open .cookie-banner {
    display: none;
  }
}

@media (max-width: 900px) and (max-height: 720px) {
  #navbar .nav-links > .nav-link {
    padding: 0.55rem 0;
  }

  #navbar .nav-menu a.nav-menu-item {
    min-height: 50px;
    padding: 0.4rem 0.6rem;
  }

  #navbar .nav-menu .nav-menu-icon {
    width: 28px;
    height: 28px;
  }

  .nav-menu-foot {
    padding-top: 0.6rem;
  }

  #navbar .nav-links > .btn {
    margin-top: 0.75rem;
  }
}

/* ───────────── Anfrageformular in Schritten ───────────── */
.kontakt-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Mit JavaScript ist immer nur ein Schritt zu sehen. Ohne JS stehen alle untereinander. */
.js .form-step:not(.is-current),
.js .kontakt-form.is-sent .form-step,
.js .kontakt-form.is-sent .form-progress {
  display: none;
}

.js .form-step.is-entering {
  animation: form-step-in 0.35s var(--ease);
}

@keyframes form-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .form-step.is-entering { animation: none; }
}

.form-progress {
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

.js .form-progress {
  display: flex;
}

.form-progress-text {
  flex-shrink: 0;
}

.form-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
}

.form-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.form-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: var(--text);
  padding: 0;
  margin-bottom: 1.5rem;
}

.choice-list {
  display: grid;
  gap: 0.75rem;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.9rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.choice:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(58, 50, 36, 0.10);
  transform: translateY(-1px);
}

/* Radio bleibt für Tastatur und Screenreader erreichbar, ist aber unsichtbar. */
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.choice:has(input:focus-visible) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: #FBF3E4;
}

.choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.choice:hover .choice-icon,
.choice:has(input:checked) .choice-icon {
  background: var(--accent);
  color: #FFFDF8;
}

.choice-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.choice-label {
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--text);
}

.choice-lg {
  padding: 1.1rem 1.25rem;
}

.choice-lg .choice-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
}

.choice-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.choice-arrow {
  margin-left: auto;
  padding-left: 0.75rem;
  font-size: 1.15rem;
  color: var(--text-dim);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.choice:hover .choice-arrow,
.choice:has(input:checked) .choice-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.form-back {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-back:hover {
  color: var(--text);
}

/* „Zurück“ gibt es nur, wenn die Schritte einzeln gezeigt werden. */
html:not(.js) .form-back {
  display: none;
}

/* Zusammenfassung der Klick-Antworten über den Eingabefeldern */
.form-summary {
  margin: -0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 0.35rem;
}

.kontakt-form.is-sent .kontakt-status {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
}

.kontakt-form input[aria-invalid="true"] {
  border-color: #B4462E;
}

.kontakt-form .form-step .kontakt-status {
  margin-top: -0.25rem;
}

/* ── Anfrage-Band: dunkler Grund, helle Formularkarte ── */
.kontakt-band .kontakt-layout {
  align-items: center;
}

.kontakt-band .kontakt-layout-text h1,
.kontakt-band .kontakt-layout-text h2,
.kontakt-band .kontakt-layout-text h3 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  color: var(--text);
}

.kontakt-band .kontakt-layout-text > p {
  color: var(--text-muted);
}

.kontakt-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 2rem 0 0;
  padding: 0;
}

.kontakt-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1rem;
}

.kontakt-trust li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.kontakt-band .kontakt-direkt {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.75rem;
}

.kontakt-band .kontakt-direkt-item:hover {
  color: #F4EEE2;
}

/* Die Karte behält die hellen Papierfarben, auch auf dunklem Grund. */
.kontakt-band .kontakt-form {
  --text: #26221B;
  --text-muted: #5A5244;
  --text-dim: #86795F;
  --border: #E6DEC9;
  --border-hover: #D0C4A6;
  --accent: #9A621C;
  --accent-deep: #7C4E13;
  --accent-soft: rgba(154, 98, 28, 0.10);
  --surface: #FFFDF8;
  color: var(--text);
  background: var(--surface);
  border: 0;
  padding: 2.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(217, 168, 92, 0.28);
}

.kontakt-band .kontakt-form .btn-primary {
  background: #26221B;
  color: #F4EEE2;
}

.kontakt-band .kontakt-form .btn-primary:hover {
  background: #9A621C;
  color: #FFFDF8;
}

/* Kontaktseite: Anfrage direkt oben, ohne vorgeschalteten Textblock. */
.kontakt-band--top {
  padding-top: 9.5rem;
}

@media (min-width: 961px) {
  .kontakt-band .kontakt-layout-text {
    position: static;
  }
}

@media (max-width: 960px) {
  .kontakt-trust {
    align-items: center;
  }
  .kontakt-band .kontakt-direkt {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .choice {
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    gap: 0.85rem;
  }
  .choice-lg {
    padding: 0.95rem 1rem;
  }
  .choice-lg .choice-label {
    font-size: 1.15rem;
  }
  .choice-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  .kontakt-band .kontakt-form {
    padding: 1.75rem 1.25rem;
  }
  .kontakt-band--top {
    padding-top: 7.5rem;
  }
}

/* Smartphone: Formular direkt unter der Überschrift, Vorteile und Direktkontakt
   darunter. display: contents löst die Textspalte auf, damit sich ihre Teile
   einzeln um das Formular anordnen lassen. */
@media (max-width: 960px) {
  .kontakt-band .kontakt-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .kontakt-band .kontakt-layout-text {
    display: contents;
  }
  .kontakt-band .kontakt-layout-text > * {
    order: 1;
  }
  .kontakt-band .kontakt-form {
    order: 2;
    align-self: stretch;
    margin-top: 2rem;
  }
  .kontakt-band .kontakt-trust {
    order: 3;
    margin-top: 2.5rem;
  }
  .kontakt-band .kontakt-direkt {
    order: 4;
    align-self: stretch;
  }
}

@media (max-width: 600px) {
  .choice-arrow {
    display: none;
  }
  .choice-lg {
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
  }
  .choice-lg .choice-label {
    font-size: 1.08rem;
  }
  .choice-lg .choice-icon {
    width: 2.3rem;
    height: 2.3rem;
  }
  .choice-text {
    font-size: 0.84rem;
  }
  .kontakt-band .kontakt-form {
    padding: 1.5rem 1.1rem;
  }
}

/* Auswahlfelder als klar erkennbare Knöpfe: getönte Fläche mit kräftigem Rand
   statt weiß auf hellem Papier. Beim Überfahren und Auswählen werden sie
   dunkel wie der Haupt-Button. */
.choice {
  background: #F1E7D3;
  border: 1.5px solid #D6C29A;
  box-shadow: 0 2px 0 rgba(124, 78, 19, 0.12);
}

.choice-label {
  font-weight: 500;
}

.choice-icon {
  background: #FFFDF8;
}

.choice-arrow {
  color: var(--accent);
  font-size: 1.25rem;
}

.choice:hover,
.choice:has(input:checked) {
  background: #26221B;
  border-color: #26221B;
  box-shadow: 0 10px 24px rgba(38, 34, 27, 0.22);
}

.choice:hover .choice-label,
.choice:has(input:checked) .choice-label {
  color: #F4EEE2;
}

.choice:hover .choice-text,
.choice:has(input:checked) .choice-text {
  color: rgba(244, 238, 226, 0.7);
}

.choice:hover .choice-icon,
.choice:has(input:checked) .choice-icon {
  background: #D9A85C;
  color: #1B1711;
}

.choice:hover .choice-arrow,
.choice:has(input:checked) .choice-arrow {
  color: #D9A85C;
}

.choice:has(input:focus-visible) {
  outline: 3px solid rgba(154, 98, 28, 0.45);
  outline-offset: 2px;
}

/* Auf Touch-Geräten gibt es kein echtes Überfahren: dort bleibt der Hover-Zustand
   nach dem Antippen sonst auf dem nächsten Schritt hängen. */
@media (hover: none) {
  .choice:hover:not(:has(input:checked)) {
    background: #F1E7D3;
    border-color: #D6C29A;
    box-shadow: 0 2px 0 rgba(124, 78, 19, 0.12);
    transform: none;
  }
  .choice:hover:not(:has(input:checked)) .choice-label { color: var(--text); }
  .choice:hover:not(:has(input:checked)) .choice-text { color: var(--text-muted); }
  .choice:hover:not(:has(input:checked)) .choice-icon { background: #FFFDF8; color: var(--accent); }
  .choice:hover:not(:has(input:checked)) .choice-arrow { color: var(--accent); transform: none; }
}

/* Smartphone: Einleitungstext im Anfrage-Band weglassen, damit das Formular
   näher an die Überschrift rückt. */
@media (max-width: 960px) {
  .kontakt-band .kontakt-layout-text > p {
    display: none;
  }
}
