/* ==========================================================
   KATHRIN OTTO — SHARED DESIGN SYSTEM
   Linked by all prototype pages.
   WordPress handoff: compile into theme/assets/css/main.css
   ========================================================== */

/* ============ TOKENS ============ */
:root {
  --ink-900: #14202F; --ink-800: #1E3047; --ink-700: #2A4361;
  --ink-500: #5A7392; --ink-300: #B8C4D4;
  --ochre-700: #8A5A1F; --ochre-600: #A66E2A; --ochre-500: #C4893E; --ochre-100: #F3E6D0;
  --paper-50: #FBF8F2; --paper-100: #F5EFE3; --paper-200: #ECE3D0; --paper-300: #D9CDB4;
  --text-900: #1A1A1A; --text-700: #3A3A3A; --text-500: #6B6B6B;
  --font-serif: 'Source Serif 4', 'Source Serif Fallback', 'Iowan Old Style', Georgia, serif;
  --font-sans:  'Figtree', 'Figtree Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;
  --r-sm: 4px; --r-md: 8px; --r-lg: 14px;
  --wrap: 1240px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper-50); color: var(--text-900);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
a, button { touch-action: manipulation; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-6); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ TYPE PRIMITIVES ============ */
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ochre-700); margin: 0;
}
.eyebrow.on-dark { color: var(--ochre-500); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; color: var(--ink-900); letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }

/* Prose (article/content pages) */
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: var(--s-7) 0 var(--s-4); line-height: 1.15; }
.prose h3 { font-size: clamp(18px, 1.8vw, 22px); margin: var(--s-5) 0 var(--s-3); }
.prose p  { color: var(--text-700); font-size: 17px; line-height: 1.7; margin: 0 0 var(--s-4); max-width: 72ch; }
.prose ul { color: var(--text-700); font-size: 17px; line-height: 1.7; padding-left: var(--s-5); margin: 0 0 var(--s-5); }
.prose ul li { margin-bottom: var(--s-2); max-width: 72ch; }
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--paper-300); margin: var(--s-8) 0; }
.prose a { color: var(--ochre-700); text-decoration: underline; text-underline-offset: 3px; }

/* ============ UTILITY BAR ============ */
.util {
  background: var(--ink-900); color: var(--paper-200);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
}
.util .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; gap: var(--s-5); }
.util a { color: var(--paper-200); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.util a:hover { color: var(--ochre-500); }
.util .l, .util .r { display: flex; gap: var(--s-5); }
.util .sep { color: rgba(255,255,255,.2); }

/* ============ NAV ============ */
.nav-wrap { position: sticky; top: 0; z-index: 30; background: rgba(251,248,242,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--paper-300); }
.nav { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-6); align-items: center; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.crest { width: 42px; height: 42px; border-radius: 50%; background: var(--ink-900); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.crest svg { width: 56%; height: 56%; display: block; fill: currentColor; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--ochre-700); text-transform: uppercase; }
.brand-text .name { font-family: var(--font-serif); font-size: 17px; font-weight: 500; color: var(--ink-900); margin-top: 4px; letter-spacing: -0.01em; }
.nav ul { list-style: none; display: flex; gap: var(--s-6); padding: 0; margin: 0; justify-self: center; }
.nav li a { font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--ink-800); text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.nav li a:hover, .nav li a.active { border-bottom-color: var(--ochre-600); color: var(--ink-900); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--text-500); text-transform: uppercase; padding: var(--s-4) 0 0;
}
.breadcrumb a { color: var(--text-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--ochre-700); }
.breadcrumb .sep { color: var(--paper-300); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.btn .arr { transition: transform .15s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--ink-800); color: #fff; }
.btn-primary:hover { background: var(--ink-900); }
.btn-accent { background: var(--ochre-600); color: #fff; }
.btn-accent:hover { background: var(--ochre-700); }
.btn-ghost { background: transparent; color: var(--ink-800); border-color: var(--ink-300); }
.btn-ghost:hover { border-color: var(--ink-700); color: var(--ink-900); background: rgba(20,32,47,.03); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
.btn-link { background: transparent; color: var(--ink-800); padding: 6px 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--ochre-500); }
.btn-link:hover { color: var(--ochre-700); border-bottom-color: var(--ochre-700); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ============ SECTION SHELL ============ */
section.block { padding: var(--s-10) 0; }
section.block.tight { padding: var(--s-9) 0; }
section.surface { background: var(--paper-100); }
section.dark { background: var(--ink-900); color: var(--paper-200); }
section.dark h2, section.dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: end; margin-bottom: var(--s-7); }
.section-head h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; max-width: 18ch; }
.section-head h2 em { font-style: italic; color: var(--ochre-700); font-weight: 400; }
.section-head .right { color: var(--text-700); font-size: 17px; max-width: 50ch; justify-self: end; }
section.dark .section-head .right { color: var(--ink-300); }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: var(--s-8) 0 var(--s-7); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--paper-300);
}
.page-hero::before {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,137,62,.07), transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px); line-height: 1.0; letter-spacing: -0.025em;
  margin: var(--s-4) 0 var(--s-5); max-width: 18ch; font-weight: 400;
}
.page-hero h1 em { font-style: italic; color: var(--ochre-700); font-weight: 400; }
.page-hero .lede {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-800);
  max-width: 58ch;
}
.page-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-8); align-items: end; }

/* ============ TRUST STRIP ============ */
.trust { background: var(--paper-100); border-top: 1px solid var(--paper-300); border-bottom: 1px solid var(--paper-300); padding: var(--s-6) 0; }
.trust-grid { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: var(--s-6); }
.trust .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--text-500); text-transform: uppercase; }
.trust .items { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; }
.trust .item { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 16px; color: var(--ink-900); line-height: 1.2; }
.trust .item .glyph { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ochre-500); display: grid; place-items: center; font-family: var(--font-serif); color: var(--ochre-700); font-size: 14px; font-weight: 600; flex-shrink: 0; }

/* ============ SERVICE CARDS ============ */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.service {
  background: #fff; border: 1px solid var(--paper-300); border-radius: var(--r-md);
  padding: var(--s-6); position: relative; overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s-3);
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ochre-600); }
.service:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(20,32,47,.22); }
.service .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; }
.service h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; }
.service p { color: var(--text-700); font-size: 15px; line-height: 1.6; }
.service .topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-2); }
.service .topic { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-700); background: var(--paper-100); border: 1px solid var(--paper-300); padding: 4px 8px; border-radius: 999px; }
.service .more { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--ink-800); display: inline-flex; gap: 6px; align-items: center; margin-top: var(--s-3); }
.service:hover .more { color: var(--ochre-700); }
.service .more .arr { transition: transform .15s ease; }
.service:hover .more .arr { transform: translateX(3px); }

/* ============ ABOUT ============ */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; }
.about-portrait {
  aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(20,32,47,.04) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--paper-200), var(--paper-300));
  border: 1px solid var(--paper-300); position: relative;
}
.about-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.95) contrast(1.02); }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r-md); background: repeating-linear-gradient(135deg, rgba(20,32,47,.04) 0 2px, transparent 2px 14px), linear-gradient(180deg, var(--paper-200), var(--paper-300)); border: 1px solid var(--paper-300); display: flex; align-items: flex-end; justify-content: flex-start; padding: var(--s-4); position: relative; overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.95) contrast(1.02); }
.signature { margin-top: var(--s-4); padding: var(--s-4) var(--s-5); background: #fff; border: 1px solid var(--paper-300); border-radius: var(--r-md); font-family: var(--font-serif); font-style: italic; font-size: 28px; color: var(--ink-900); text-align: center; letter-spacing: -0.01em; }
.signature .name { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--text-500); text-transform: uppercase; display: block; margin-top: 6px; }
.credentials { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5); }
.credentials li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-family: var(--font-sans); font-size: 15px; color: var(--ink-900); line-height: 1.4; padding: 4px 0; }
.credentials li::before { content: "—"; font-family: var(--font-serif); color: var(--ochre-600); font-size: 18px; line-height: 1.4; }
.pull { margin: var(--s-6) 0 var(--s-5); padding: var(--s-5) var(--s-6); border-left: 3px solid var(--ochre-600); font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink-800); max-width: 56ch; }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: var(--s-7); border-top: 1px solid rgba(255,255,255,.12); }
.step { padding: var(--s-6) var(--s-5) 0 0; border-right: 1px solid rgba(255,255,255,.12); position: relative; }
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: var(--s-5); }
.step .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-500); text-transform: uppercase; }
.step h3 { font-size: 24px; color: #fff; margin: var(--s-3) 0; line-height: 1.2; }
.step p { color: var(--ink-300); font-size: 15px; line-height: 1.6; max-width: 36ch; }
.step .duration { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--paper-200); text-transform: uppercase; background: rgba(255,255,255,.06); padding: 6px 10px; border-radius: 999px; }
.step .duration::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ochre-500); }

/* ============ NEWS CARDS ============ */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.news-card { display: grid; gap: var(--s-3); padding: var(--s-5) 0; text-decoration: none; color: inherit; border-top: 1px solid var(--paper-300); }
.news-card time { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-500); display: flex; gap: 12px; align-items: center; }
.news-card time .cat { color: var(--ochre-700); }
.news-card h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.news-card:hover h3 { color: var(--ochre-700); }
.news-card p { color: var(--text-700); font-size: 15px; line-height: 1.55; max-width: 38ch; }
.news-card .more { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--ink-800); display: inline-flex; gap: 6px; align-items: center; margin-top: var(--s-2); }
.news-card:hover .more { color: var(--ochre-700); }
.news-foot { margin-top: var(--s-6); display: flex; justify-content: flex-end; }

/* ============ FAQ ============ */
.faq-list { list-style: none; padding: 0; margin: var(--s-7) 0 0; }
.faq-item { border-top: 1px solid var(--paper-300); }
.faq-item:last-child { border-bottom: 1px solid var(--paper-300); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); padding: var(--s-5) 0; cursor: pointer; font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--ink-900); letter-spacing: -0.01em; line-height: 1.25; background: none; border: none; width: 100%; text-align: left; transition: color .15s; }
.faq-q:hover { color: var(--ochre-700); }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--paper-300); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, border-color .2s, color .2s; color: var(--ink-800); }
.faq-icon svg { width: 12px; height: 12px; transition: transform .28s ease; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq-item.open .faq-icon { background: var(--ochre-600); border-color: var(--ochre-600); color: #fff; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a-inner { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner p { font-family: var(--font-sans); font-size: 16px; color: var(--text-700); line-height: 1.65; padding-bottom: var(--s-5); max-width: 72ch; }

/* ============ CTA BANNER ============ */
.cta-section { padding: var(--s-9) 0 var(--s-10); background: var(--paper-100); }
.cta { background: var(--ink-900); color: #fff; border-radius: var(--r-lg); padding: var(--s-8); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7); align-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(196,137,62,.30), transparent 60%); pointer-events: none; }
.cta .copy { position: relative; }
.cta .copy h2 { color: #fff; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; margin: var(--s-3) 0 var(--s-3); max-width: 22ch; }
.cta .copy p { color: var(--ink-300); font-size: 17px; max-width: 50ch; }
.cta .actions { display: flex; flex-direction: column; gap: var(--s-3); position: relative; align-items: flex-start; }
.cta .actions .promise { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--paper-200); text-transform: uppercase; opacity: .8; margin-top: var(--s-2); display: flex; align-items: center; gap: 8px; }
.cta .actions .promise::before { content: "✓"; color: var(--ochre-500); font-size: 14px; }

/* ============ FOOTER ============ */
footer { background: var(--ink-900); color: var(--paper-200); padding: var(--s-9) 0 var(--s-5); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--s-7); }
footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-500); text-transform: uppercase; margin: 0 0 var(--s-3); font-weight: 500; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer li, footer p { font-family: var(--font-sans); font-size: 14px; color: var(--ink-300); line-height: 1.55; }
footer a { color: var(--paper-200); text-decoration: none; }
footer a:hover { color: var(--ochre-500); }
.foot-brand .name { font-family: var(--font-serif); font-size: 22px; color: #fff; margin: 0 0 var(--s-2); letter-spacing: -0.01em; line-height: 1.15; }
.foot-brand .role { color: var(--ink-300); font-size: 14px; }
.silent-link { color: inherit; text-decoration: none; transition: color .15s ease; }
.silent-link:hover { color: var(--ochre-500); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.foot-awards { display: flex; align-items: center; gap: var(--s-6); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,.10); }
.foot-awards .awards-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-500); text-transform: uppercase; font-weight: 500; flex-shrink: 0; max-width: 140px; line-height: 1.5; }
.foot-awards .awards-row { display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.foot-awards .award { display: inline-flex; background: #fff; padding: 10px; border-radius: 4px; transition: transform .15s ease; }
.foot-awards .award:hover { transform: translateY(-2px); }
.foot-awards .award img { display: block; height: 96px; width: auto; }
.foot-bot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.10); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-300); text-transform: uppercase; }
.foot-bot ul { display: flex; gap: var(--s-5); }

/* ============ COOKIE BANNER ============ */
.cookie-banner { position: fixed; bottom: var(--s-5); left: var(--s-5); z-index: 200; background: var(--ink-900); color: var(--paper-200); border-radius: var(--r-md); padding: var(--s-5); max-width: 400px; width: calc(100vw - 2 * var(--s-5)); box-shadow: 0 24px 60px -12px rgba(0,0,0,.50), 0 0 0 1px rgba(255,255,255,.07); transition: transform .35s ease, opacity .35s ease; }
.cookie-banner.hidden { transform: translateY(12px); opacity: 0; pointer-events: none; }
.cookie-banner h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-500); text-transform: uppercase; margin: 0 0 var(--s-2); font-weight: 500; }
.cookie-banner p { font-family: var(--font-sans); font-size: 13px; color: var(--ink-300); line-height: 1.55; margin: 0 0 var(--s-4); }
.cookie-banner p a { color: var(--paper-200); text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cookie-btns .btn { font-size: 13px; padding: 10px 16px; }

/* ============ FORM ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-700); font-weight: 500; }
input, select, textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink-900);
  background: #fff; border: 1px solid var(--paper-300); border-radius: var(--r-sm);
  padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink-700); box-shadow: 0 0 0 3px rgba(30,48,71,.08); }
textarea { min-height: 70px; resize: vertical; line-height: 1.55; }
.form-section textarea,
.form-section .wpcf7-textarea { height: 110px !important; min-height: 70px !important; }

/* CF7-Acceptance (Einverständnis-Checkbox): Häkchen links neben den Text */
.form-section .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: block; }
.form-section .wpcf7-acceptance .wpcf7-list-item-label { display: block; }
.form-section .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 14px; color: var(--text-700); line-height: 1.5; font-weight: 400; cursor: pointer; }
.form-section .wpcf7-acceptance label input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0 0; padding: 0; accent-color: var(--ochre-600); cursor: pointer; }
.form-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--text-500); }
.form-disclaimer { font-size: 13px; color: var(--text-500); line-height: 1.55; margin-top: var(--s-3); }
.form-disclaimer a { color: var(--ochre-700); }

/* ============ LEGAL (Impressum / Datenschutz) ============ */
.legal-body { max-width: 740px; }
.legal-body h2 { font-size: 20px; margin: var(--s-7) 0 var(--s-3); }
.legal-body h3 { font-size: 16px; margin: var(--s-5) 0 var(--s-2); }
.legal-body p, .legal-body li { font-size: 16px; color: var(--text-700); line-height: 1.7; margin-bottom: var(--s-3); max-width: 72ch; }
.legal-body ul { padding-left: var(--s-5); }
.legal-body a { color: var(--ochre-700); text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .right { justify-self: start; }
  .services { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: var(--s-5) 0; }
  .news { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: var(--s-7); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-awards { flex-direction: column; align-items: flex-start; }
  .credentials { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav ul { display: none; }
  .util { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .cookie-banner { left: var(--s-3); right: var(--s-3); bottom: var(--s-3); max-width: none; width: auto; }
}

/* ---------- CF7-Formularmeldungen (statt CF7-Default-Rahmen) ----------
   Die Standard-Meldungen von Contact Form 7 kommen mit grellem Orange/Rot
   und passen nicht zur warmen Papier-Optik. Hier dezent eingebunden:
   Erfolg gedaempftes Gruen, Fehler/Spam warmes Rotbraun, Turnstile-Widget
   mit etwas Luft darueber. */
.form-section .wpcf7-response-output {
  margin: var(--s-4) 0 0; padding: 12px 16px;
  border: 1px solid var(--paper-300); border-left-width: 3px;
  border-radius: var(--r-sm); background: var(--paper-100);
  font-size: 15px; line-height: 1.55; color: var(--text-700);
}
.form-section form.sent .wpcf7-response-output {
  border-color: #C3DACB; border-left-color: #2E6B4F; background: #F0F6F2; color: #24523D;
}
.form-section form.invalid .wpcf7-response-output,
.form-section form.unaccepted .wpcf7-response-output,
.form-section form.payment-required .wpcf7-response-output {
  border-color: var(--paper-300); border-left-color: var(--ochre-600); background: var(--ochre-100); color: var(--ochre-700);
}
.form-section form.failed .wpcf7-response-output,
.form-section form.aborted .wpcf7-response-output,
.form-section form.spam .wpcf7-response-output {
  border-color: #E4CEC8; border-left-color: #8A3A2A; background: #F8EDEA; color: #7A3324;
}
.form-section .wpcf7-not-valid-tip {
  display: block; margin-top: 6px; font-size: 13px; color: #8A3A2A;
}
.form-section input.wpcf7-not-valid, .form-section textarea.wpcf7-not-valid { border-color: #8A3A2A; }
.form-section .ko-turnstile { margin: var(--s-4) 0 var(--s-2); }

/* ---------- AI-Grounding-Seite (Faktenseite, groundingpage.com/spec) ---------- */
.grounding { padding: clamp(20px, 4vw, 36px) 0 clamp(40px, 7vw, 72px); }
.grounding-inner { max-width: 760px; }
.grounding h2 { font-size: clamp(19px, 2.4vw, 23px); margin: var(--s-6) 0 var(--s-3); padding-bottom: 6px; border-bottom: 1px solid var(--paper-300); }
.grounding p { margin-bottom: var(--s-3); line-height: 1.6; color: var(--text-700); }
.grounding-disclaimer { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-sm); padding: 15px 18px; font-size: 14px; color: var(--text-500); line-height: 1.55; }
.grounding-facts { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 1px; margin: var(--s-1) 0 var(--s-2); background: var(--paper-300); border: 1px solid var(--paper-300); border-radius: var(--r-sm); overflow: hidden; }
.grounding-facts dt { background: var(--paper-100); padding: 10px 14px; font-family: var(--font-sans); font-weight: 600; color: var(--ink-900); }
.grounding-facts dd { background: #fff; padding: 10px 14px; margin: 0; color: var(--text-700); }
.grounding-facts a { color: var(--ochre-700); text-decoration: underline; text-underline-offset: 2px; }
.grounding-list { margin: var(--s-1) 0 var(--s-4); padding-left: 22px; color: var(--text-700); }
.grounding-list li { margin-bottom: 7px; line-height: 1.55; }
.grounding-list a { color: var(--ochre-700); text-decoration: underline; text-underline-offset: 2px; }
.grounding-meta { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--paper-300); font-size: 13px; color: var(--text-500); line-height: 1.55; }
@media (max-width: 560px) { .grounding-facts { grid-template-columns: 1fr; } .grounding-facts dt { padding-bottom: 2px; } .grounding-facts dd { padding-top: 4px; } }
