/* ============================================================
   Kravo Personalberatung, Stylesheet
   Vibe: Editorial Luxury (warmes Cream, Espresso-Ink, Clay-Akzent)
   Fonts: Fraunces (Display) + Plus Jakarta Sans (UI)
   ============================================================ */

:root {
  --paper: #FAF6EE;
  --paper-2: #F2EADB;
  --card: #FFFDF9;
  --ink: #1C1813;
  --ink-2: #2B251E;
  --espresso: #191510;
  --muted: #6E6357;
  --muted-2: #8A8073;
  --line: rgba(28, 24, 19, 0.12);
  --hair: rgba(28, 24, 19, 0.07);
  --hair-light: rgba(255, 253, 249, 0.14);
  --muted-light: rgba(250, 246, 238, 0.66);

  --accent: #A85D3B;
  --accent-deep: #8C4A2C;
  --accent-soft: #C8895F;
  --accent-tint: rgba(168, 93, 59, 0.10);

  --maxw: 1200px;
  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 18px;

  --shadow-soft: 0 40px 80px -44px rgba(28, 24, 19, 0.30);
  --shadow-lift: 0 30px 60px -34px rgba(28, 24, 19, 0.26);
  --inset-hi: inset 0 1px 1px rgba(255, 255, 255, 0.7);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film-grain overlay (fixed, GPU-safe) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.035;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 0.4em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-family: var(--font-sans); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 22px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--accent-tint); border: 1px solid rgba(168, 93, 59, 0.18);
}
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.eyebrow-light { color: var(--accent-soft); background: rgba(200, 137, 95, 0.12); border-color: rgba(200, 137, 95, 0.24); }
.eyebrow-light::before { background: var(--accent-soft); }

/* ---------- Buttons (button-in-button) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  padding: 8px 8px 8px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; position: relative;
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-ico {
  width: 38px; height: 38px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease-spring), background 0.4s var(--ease);
}
.btn-ico svg { width: 17px; height: 17px; }
.btn:hover .btn-ico { transform: translate(3px, -3px); }
.btn:active { transform: scale(0.978); }

.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lift); }
.btn-primary .btn-ico { background: rgba(250, 246, 238, 0.14); color: var(--paper); }
.btn-primary:hover { background: var(--espresso); color: var(--paper); }
.btn-primary:hover .btn-ico { background: var(--accent); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 24px 44px -22px rgba(168, 93, 59, 0.85); }
.btn-accent .btn-ico { background: rgba(255, 255, 255, 0.18); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); padding-left: 22px; }
.btn-ghost .btn-ico { background: rgba(28, 24, 19, 0.06); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-block { width: 100%; justify-content: space-between; }
.btn-sm { font-size: 0.92rem; padding: 6px 6px 6px 20px; }
.btn-sm .btn-ico { width: 32px; height: 32px; }

.on-dark .btn-primary { background: var(--paper); color: var(--ink); }
.on-dark .btn-primary .btn-ico { background: rgba(28, 24, 19, 0.10); color: var(--ink); }
.on-dark .btn-primary:hover .btn-ico { background: var(--accent); color: #fff; }

/* ---------- Floating island nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: center;
  padding: 20px 20px 0; pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  width: min(1080px, 100%);
  padding: 9px 9px 9px 22px;
  background: rgba(250, 246, 238, 0.72);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(28, 24, 19, 0.09);
  border-radius: 999px;
  box-shadow: 0 18px 40px -24px rgba(28, 24, 19, 0.42), var(--inset-hi);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.site-header.scrolled .nav-pill { box-shadow: 0 24px 54px -26px rgba(28, 24, 19, 0.5), var(--inset-hi); background: rgba(250, 246, 238, 0.85); }

.brand { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; font-weight: 600; }

.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a {
  color: var(--muted); font-size: 0.92rem; font-weight: 500;
  padding: 9px 15px; border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(28, 24, 19, 0.05); }

.nav-toggle {
  display: none; pointer-events: auto;
  width: 46px; height: 46px; border-radius: 999px; margin-left: auto;
  background: rgba(28, 24, 19, 0.05); border: 1px solid var(--hair); cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform 0.45s var(--ease-spring), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 39;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 32px 48px;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-overlay a.m-link {
  font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-weight: 400;
  padding: 14px 0; border-bottom: 1px solid var(--hair);
  transform: translateY(26px); opacity: 0;
  transition: transform 0.6s var(--ease-spring), opacity 0.6s var(--ease);
}
.mobile-overlay.open a.m-link { transform: translateY(0); opacity: 1; }
.mobile-overlay.open a.m-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-overlay.open a.m-link:nth-child(2) { transition-delay: 0.13s; }
.mobile-overlay.open a.m-link:nth-child(3) { transition-delay: 0.18s; }
.mobile-overlay.open a.m-link:nth-child(4) { transition-delay: 0.23s; }
.mobile-overlay.open a.m-link:nth-child(5) { transition-delay: 0.28s; }
.mobile-overlay .btn { margin-top: 32px; align-self: flex-start; transform: translateY(26px); opacity: 0; transition: transform 0.6s var(--ease-spring) 0.34s, opacity 0.6s var(--ease) 0.34s; }
.mobile-overlay.open .btn { transform: translateY(0); opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 152px) 0; position: relative; }
.section-alt { background: var(--paper-2); }
.section-lead { font-size: clamp(1.08rem, 1.7vw, 1.24rem); color: var(--muted); max-width: 60ch; margin: 4px 0 44px; }
.section-head { max-width: 22ch; }

/* ---------- Hero (Editorial Split) ---------- */
.hero {
  min-height: 100dvh; display: flex; align-items: center;
  padding: 150px 0 90px;
  background:
    radial-gradient(1000px 620px at 82% 8%, rgba(168, 93, 59, 0.14), transparent 58%),
    radial-gradient(760px 520px at 6% 92%, rgba(94, 107, 82, 0.08), transparent 60%),
    linear-gradient(180deg, #FCF9F3 0%, var(--paper) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; width: 100%; }
.hero h1 { margin-top: 10px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 48ch; margin: 26px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 38px 0 0; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-trust div { max-width: 22ch; }
.hero-trust dt { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); font-weight: 500; margin-bottom: 3px; }
.hero-trust dd { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* Hero visual: illustrative profile card in double-bezel */
.hero-visual { position: relative; }
.bezel {
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(242,234,219,0.5));
  border: 1px solid var(--hair); border-radius: var(--r-xl); padding: 8px;
  box-shadow: var(--shadow-soft);
}
.bezel-inner {
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--inset-hi), 0 1px 0 rgba(28,24,19,0.03);
  padding: 26px;
}
.profile-card .pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pc-tag { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.pc-status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: #4E7A54; background: rgba(78,122,84,0.10); padding: 5px 12px; border-radius: 999px; }
.pc-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5C9163; box-shadow: 0 0 0 3px rgba(92,145,99,0.2); }
.pc-role { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); font-weight: 500; margin: 0 0 4px; }
.pc-sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 22px; }
.pc-row { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--hair); font-size: 0.92rem; }
.pc-row span:first-child { color: var(--muted); }
.pc-row span:last-child { color: var(--ink); font-weight: 600; }
.pc-foot { margin-top: 20px; font-size: 0.72rem; color: var(--muted-2); text-align: center; letter-spacing: 0.02em; }
.hero-chip {
  position: absolute; left: -26px; bottom: 42px;
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-md);
  box-shadow: var(--shadow-lift); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-chip .hc-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); display: grid; place-items: center; color: var(--accent); }
.hero-chip .hc-ico svg { width: 20px; height: 20px; }
.hero-chip strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); font-weight: 500; }
.hero-chip span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Bento (Problem) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.tile {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-xl);
  padding: 34px; position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(28,24,19,0.02);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.tile-wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }
.tile-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; }
.tile h3 { margin: 14px 0 8px; font-size: 1.32rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.tile p { color: var(--muted); margin: 0; }
.tile-cost { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--ink); line-height: 1; margin: 0; }
.tile-cost span { color: var(--accent); }

/* ---------- Ansatz (split values) ---------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; }
.split-sticky { position: sticky; top: 120px; }
.value-list { display: grid; gap: 4px; }
.value {
  padding: 26px 4px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  transition: padding-left 0.4s var(--ease);
}
.value:last-child { border-bottom: 1px solid var(--line); }
.value:hover { padding-left: 12px; }
.value-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.value-ico svg { width: 22px; height: 22px; }
.value h3 { margin: 6px 0 6px; font-size: 1.18rem; }
.value p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- Ablauf (dark timeline) ---------- */
.section-dark {
  background: var(--espresso); color: var(--muted-light);
  background-image:
    radial-gradient(900px 520px at 90% -5%, rgba(168, 93, 59, 0.20), transparent 60%),
    radial-gradient(700px 480px at 4% 106%, rgba(94, 107, 82, 0.12), transparent 62%);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #FCF9F3; }
.section-dark .section-lead { color: var(--muted-light); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--hair-light);
}
.step:last-child { border-bottom: 1px solid var(--hair-light); }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-soft); font-weight: 500;
  border: 1px solid rgba(200, 137, 95, 0.4); background: rgba(200, 137, 95, 0.06);
}
.step h3 { margin: 8px 0 6px; font-size: 1.3rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.step p { color: var(--muted-light); margin: 0; max-width: 60ch; }

/* ---------- Spezialisierung ---------- */
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 12px; }
.vertical { padding: 40px; }
.vertical .v-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.vertical .v-ico svg { width: 26px; height: 26px; }
.vertical h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.vertical > p { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 24px 0 0; }
.tags li { font-size: 0.85rem; font-weight: 500; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; }

/* ---------- Konditionen ---------- */
.kond {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; margin-top: 12px;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--espresso); color: var(--muted-light); box-shadow: var(--shadow-soft);
  background-image: radial-gradient(600px 400px at 20% 10%, rgba(168, 93, 59, 0.26), transparent 66%);
}
.kond-figure { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--hair-light); }
.kond-pct { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 9vw, 6rem); line-height: 0.95; color: #FCF9F3; }
.kond-pct sup { color: var(--accent-soft); font-size: 0.4em; vertical-align: super; }
.kond-cap { color: var(--muted-light); margin-top: 18px; max-width: 22ch; }
.kond-body { padding: 52px 48px; display: flex; flex-direction: column; gap: 28px; }
.kond-body h3 { color: #FCF9F3; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.02em; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted-light); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17l-3.59-3.58L4 14l5 5 11-11-1.41-1.42z'/></svg>") center / 13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17l-3.59-3.58L4 14l5 5 11-11-1.41-1.42z'/></svg>") center / 13px no-repeat;
}

/* ---------- Prose (Über uns / Kandidaten) ---------- */
.prose { font-size: 1.16rem; color: var(--muted); max-width: 64ch; }
.prose-light { color: var(--muted-light); }
.prose-lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); font-weight: 400; line-height: 1.28; letter-spacing: -0.015em; max-width: 26ch; margin-bottom: 28px; }
.section-dark .prose-lead { color: #FCF9F3; }
.check-list-inline { margin: 30px 0 36px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 24px; margin-top: 12px; align-items: start; }
.contact-book { padding: 42px 36px; color: var(--muted-light); display: flex; flex-direction: column; height: 100%;
  background: var(--espresso); border-radius: var(--r-xl); box-shadow: var(--shadow-soft);
  background-image: radial-gradient(420px 300px at 88% 6%, rgba(168, 93, 59, 0.24), transparent 68%);
}
.contact-book h3 { color: #FCF9F3; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; }
.contact-book p { color: var(--muted-light); }
.contact-book .btn { margin: 10px 0 20px; }
.contact-alt { font-size: 0.92rem; margin: auto 0 0; padding-top: 22px; border-top: 1px solid var(--hair-light); }
.contact-alt a { color: var(--accent-soft); }

.contact-form { padding: 12px; }
.contact-form .bezel-inner { padding: 38px 34px; }
.contact-form h3 { margin-bottom: 22px; font-size: 1.4rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.005em; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 4px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid textarea { border-color: #C0563C; }
.error { display: block; color: #C0563C; font-size: 0.8rem; margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin: 4px 0; }
.consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--accent); }
.consent a { text-decoration: underline; }
.contact-form .btn { margin-top: 24px; }
.form-status { margin: 16px 0 0; font-size: 0.92rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #4E7A54; }
.form-status.err { color: #C0563C; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--muted-light); padding: 84px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 44px; }
.footer-brand .brand-mark { color: #FCF9F3; font-size: 1.7rem; }
.footer-brand p { color: var(--muted-light); max-width: 34ch; margin: 16px 0 0; font-size: 0.96rem; }
.footer-mail { margin-top: 18px; }
.footer-mail a { color: var(--accent-soft); font-weight: 500; }
.footer-nav { display: flex; flex-direction: column; gap: 13px; }
.footer-head { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250,246,238,0.45); font-weight: 600; margin-bottom: 4px; }
.footer-nav a { color: var(--muted-light); font-size: 0.95rem; }
.footer-nav a:hover { color: #FCF9F3; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair-light); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: rgba(250,246,238,0.5); font-size: 0.85rem; margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: 150px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; margin-bottom: 30px; font-weight: 600; color: var(--muted); }
.legal-back:hover { color: var(--ink); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 34px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal address { font-style: normal; color: var(--ink); line-height: 1.95; }
.legal ul { padding-left: 22px; }
.legal ul li { margin-bottom: 6px; }
.legal .muted { color: var(--muted); font-size: 0.96rem; }

/* ---------- Reveal (nur mit JS versteckt, sonst immer sichtbar) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-spring), filter 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; filter: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav { display: none; }
  .nav-pill .nav ~ .btn { display: none; } /* nur die Homepage-CTA, nicht den Legal-Zurueck-Button */
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-sticky { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; grid-template-columns: 1fr; gap: 22px; }
  .vgrid, .contact-grid, .kond { grid-template-columns: 1fr; }
  .kond-figure { border-right: none; border-bottom: 1px solid var(--hair-light); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .bento, .tile-wide { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-chip { left: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .kond-figure, .kond-body, .contact-book, .vertical { padding: 34px 26px; }
  .contact-form .bezel-inner { padding: 30px 22px; }
  .step { grid-template-columns: auto 1fr; gap: 18px; }
}
