/* ==========================================================================
   Zenilio — self-hosted fonts (no Google Fonts CDN, DSGVO-konform)
   ========================================================================== */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/HankenGrotesk-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral-500italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100svh; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4, p, figure { overflow-wrap: break-word; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --ink: #14171A;
  --ink-soft: #454A50;
  --gold: #C6A15B;
  --gold-dark: #8A6A2E;
  --cream: #FBF8F3;
  --paper: #FFFFFF;
  --line: #E7E1D6;

  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-soft: 0 20px 50px -25px rgba(20, 23, 26, 0.35);
  --shadow-card: 0 1px 2px rgba(20,23,26,0.06), 0 12px 28px -18px rgba(20,23,26,0.18);

  --header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

section[id] { scroll-margin-top: calc(var(--header-h) + 10px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding-block: clamp(64px, 10vw, 120px);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 64px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }

.section--alt { background: var(--paper); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #F4F1EA; }
.section--ink .eyebrow { color: var(--gold); }
.section--ink h2 { color: #FFFFFF; }

em, .italic { font-style: italic; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
  background: var(--ink);
  color: #FBF8F3;
}
.btn-primary:hover { background: #262b30; box-shadow: var(--shadow-soft); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: #d3b077; box-shadow: var(--shadow-soft); }

.btn-outline {
  background: transparent;
  border-color: rgba(20,23,26,0.22);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); }

.section--ink .btn-outline {
  border-color: rgba(244,241,234,0.35);
  color: #F4F1EA;
}
.section--ink .btn-outline:hover { border-color: #F4F1EA; }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 243, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 248, 243, 0.92);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-right: auto;
}
.nav-icon {
  width: 30px;
  height: 30px;
  flex: none;
}
.nav-wordmark em { color: var(--gold-dark); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-block: 4px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Flying icon clone (progressive enhancement) */
.fly-icon {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  transform-origin: top left;
  pointer-events: none;
  z-index: 500;
  will-change: transform;
}
html.has-fly-icon .hero-icon,
html.has-fly-icon .nav-icon {
  visibility: hidden;
}

/* ==========================================================================
   Mobile nav panel
   ========================================================================== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-sm { display: none; }

  .mobile-panel {
    position: fixed;
    top: var(--panel-top, var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 90;
    padding: 28px clamp(20px, 6vw, 40px) 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    overflow-y: auto;
  }
  .mobile-panel.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .mobile-panel a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .mobile-panel .btn { margin-top: 20px; align-self: flex-start; }
}
@media (min-width: 881px) {
  .mobile-panel { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(64px, 10vw, 110px);
  padding-bottom: clamp(72px, 11vw, 130px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(60% 60% at 22% 20%, rgba(198,161,91,0.16), transparent 70%),
    radial-gradient(50% 50% at 85% 10%, rgba(20,23,26,0.06), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.hero-icon {
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.015em;
}
.hero h1 em { color: var(--gold-dark); font-style: italic; }

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta {
  margin-top: 46px;
  display: flex;
  gap: clamp(20px, 4vw, 46px);
  flex-wrap: wrap;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   Branchen-Streifen
   ========================================================================== */
.branchen {
  background: var(--ink);
  color: #F4F1EA;
  overflow: hidden;
}
.branchen-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-block: 22px;
  width: max-content;
  /* content is repeated 16x (8 per half) precisely so this always covers
     ultra-wide viewports too; duration is scaled up 8x from a 1-block/32s
     baseline to keep the same visual scroll speed regardless of screen width */
  animation: scrollTrack 256s linear infinite;
}
.branchen:hover .branchen-track { animation-play-state: paused; }
.branchen-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: #F4F1EA;
  opacity: 0.92;
  white-space: nowrap;
}
.branchen-item svg { width: 26px; height: 26px; flex: none; color: var(--gold); }

@keyframes scrollTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .branchen-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  /* only the repeated content needs hiding here — the first 4 items are the
     one real, unique set; items 5+ are the loop repeats used for the animation */
  .branchen-item:nth-child(n+5) { display: none; }
}

/* ==========================================================================
   Leistungen
   ========================================================================== */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1000px) { .leistungen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leistungen-grid { grid-template-columns: 1fr; } }

.leistung-card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.leistung-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.leistung-icon svg { width: 22px; height: 22px; }
.leistung-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.leistung-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  counter-reset: step;
}
@media (max-width: 820px) { .ablauf-grid { grid-template-columns: 1fr; gap: 28px; } }

.ablauf-step {
  position: relative;
  padding: 8px 8px 8px 0;
}
.ablauf-step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.ablauf-step h3 { font-size: 1.3rem; margin-bottom: 12px; }
.ablauf-step p { color: var(--ink-soft); }

@media (min-width: 821px) {
  .ablauf-grid { position: relative; }
  .ablauf-grid::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
}

/* ==========================================================================
   Referenzen
   ========================================================================== */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1000px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ref-grid { grid-template-columns: 1fr; } }

.ref-card {
  display: block;
  background: var(--paper);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.ref-card:hover { transform: translateY(-4px); }
.ref-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-m);
}
.ref-mock { display: block; width: 100%; height: auto; background: #EFEAE0; }
.ref-label {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ref-label .name { font-family: var(--font-display); font-size: 1.05rem; }
.ref-label .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}
.ref-note {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  text-align: center;
}

/* ==========================================================================
   Preise
   ========================================================================== */
.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin: 0 auto 40px;
  padding: clamp(20px, 3vw, 26px) clamp(22px, 4vw, 32px);
  background: rgba(198, 161, 91, 0.06);
  border: 2px solid rgba(198, 161, 91, 0.22);
  border-radius: var(--radius-l);
}
.setup-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}
.setup-banner svg { width: 18px; height: 18px; flex: none; color: var(--gold-dark); }
.setup-banner-text { color: var(--ink-soft); font-size: 0.95rem; }
.setup-banner-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.billing-toggle {
  position: relative;
  display: flex;
  width: fit-content;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(20,23,26,0.05), 0 14px 30px -16px rgba(20,23,26,0.35);
}
.billing-thumb {
  position: absolute;
  top: 6px;
  left: 0;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 10px -2px rgba(20,23,26,0.4);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  transform: translateX(6px);
}
.billing-option {
  position: relative;
  z-index: 1;
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  transition: color 0.25s ease;
  white-space: nowrap;
}
.billing-option:hover:not(.is-active) { color: var(--ink); }
.billing-option.is-active { color: #FBF8F3; }
.save-badge {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.preise-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) { .preise-wrap { grid-template-columns: 1fr; } }

.price-card {
  border-radius: var(--radius-l);
  padding: clamp(30px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}
.price-card--setup {
  background: var(--paper);
  border: 2px solid var(--line);
}
.price-card--monthly {
  background: var(--ink);
  color: #F4F1EA;
}
.price-card .label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.price-card--monthly .label { color: var(--gold); }
.price-card .amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 500;
  margin-bottom: 6px;
}
.price-card .amount span { font-size: 1.1rem; font-weight: 400; color: var(--ink-soft); }
.price-card--monthly .amount span { color: rgba(244,241,234,0.65); }
.price-card .amount .amount-value { font-size: inherit; font-weight: inherit; color: inherit; }
.price-card .amount-note {
  display: block;
  min-height: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.price-card--monthly .amount-note { color: rgba(244,241,234,0.65); }
.price-card .desc { color: var(--ink-soft); margin-bottom: 24px; }
.price-card--monthly .desc { color: rgba(244,241,234,0.75); }

.soon-details {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--cream);
}
.soon-details .price-list { margin-top: 0; padding: 16px; }
.soon-blur { filter: blur(5px); user-select: none; pointer-events: none; }
.soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.soon-badge {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
}
.soon-text { color: var(--ink); font-size: 0.9rem; font-weight: 500; max-width: 220px; }

.price-list { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; }
.price-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-dark); }
.price-card--monthly .price-list svg { color: var(--gold); }

.preise-foot {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  background: rgba(198,161,91,0.1);
  border: 2px solid rgba(198,161,91,0.28);
  border-radius: var(--radius-m);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.preise-foot svg { width: 20px; height: 20px; flex: none; color: var(--gold-dark); margin-top: 2px; }
.preise-foot strong { color: var(--ink); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 64px);
}
@media (max-width: 900px) { .kontakt-wrap { grid-template-columns: 1fr; } }

.kontakt-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.kontakt-info p { color: rgba(244,241,234,0.8); margin-bottom: 28px; }

.kontakt-list { display: flex; flex-direction: column; gap: 18px; }
.kontakt-list li { display: flex; gap: 14px; align-items: flex-start; }
.kontakt-list .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(244,241,234,0.08);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  color: var(--gold);
}
.kontakt-list .ico svg { width: 19px; height: 19px; }
.kontakt-list .txt strong { display: block; font-weight: 600; margin-bottom: 2px; }
.kontakt-list .txt span, .kontakt-list .txt a { color: rgba(244,241,234,0.75); font-size: 0.95rem; }
.kontakt-list .txt a:hover { color: var(--gold); }

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.98rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 110px; }

.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 20px; }
.field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold-dark); flex: none; }
.field-check a { text-decoration: underline; color: var(--ink-soft); }

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}
.form-status.ok { display: block; background: rgba(198,161,91,0.08); color: var(--gold-dark); }
.form-status.info { display: block; background: rgba(198,161,91,0.08); color: var(--gold-dark); }
.form-status.err { display: block; background: rgba(178,52,52,0.1); color: #9c2f2f; }
.form-status a { text-decoration: underline; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(244,241,234,0.7);
  padding-block: 50px 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 36px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(244,241,234,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.35rem; color: #F4F1EA; }
.footer-brand svg { width: 26px; height: 26px; }
.footer-brand em { color: var(--gold); font-style: italic; }
.footer-tag { color: rgba(244,241,234,0.55); font-size: 0.92rem; margin-top: 8px; max-width: 260px; }

.footer-cols { display: flex; gap: clamp(30px, 6vw, 80px); flex-wrap: wrap; }
.footer-col h4 { color: #F4F1EA; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.94rem; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(244,241,234,0.62);
}

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */
.legal {
  padding-block: clamp(50px, 8vw, 90px);
}
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 44px; }
.legal h2 { font-size: 1.3rem; margin-top: 42px; margin-bottom: 14px; }
.legal h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.legal .box h2 { font-size: 1.05rem; margin-top: 0; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { text-decoration: underline; color: var(--ink); }
.legal .box {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 26px;
  margin-bottom: 28px;
}
.legal .placeholder {
  background: rgba(198,161,91,0.08);
  color: var(--gold-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.legal .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; font-size: 0.94rem; }
.legal .back-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
