/* ==========================================================================
   Freshfields Nova · Designsystem-Anwendung für KDW Rechtsanwälte
   Konzeptentwurf, 11.09.2026 — Tokens nach Nova 1.0, Abschnitt 3 & 4
   ========================================================================== */

/* 1 — Foundation-Tokens ---------------------------------------------------- */
:root {
  /* Farbe (Nova 3.1) */
  --ink-950: #0d1718;
  --ink-800: #203235;
  --ink-600: #506064;
  --teal-700: #006d68;
  --teal-500: #00a39b;
  --mist-100: #dcebe6;
  --paper-50: #f7f6f2;
  --clay-200: #e8c9af;
  --coral-500: #d86146;
  --white: #ffffff;
  --error-700: #a42c2a;
  --success-700: #176c51;

  /* Semantische Tokens (Nova 4) */
  --color-text: var(--ink-950);
  --color-text-subtle: var(--ink-600);
  --color-surface: var(--paper-50);
  --color-surface-inverse: var(--ink-950);
  --color-surface-soft: var(--mist-100);
  --color-surface-warm: var(--clay-200);
  --color-action: var(--teal-700);
  --color-action-hover: #005652;
  --color-focus: var(--teal-500);
  --color-line: rgba(13, 23, 24, 0.16);
  --color-line-strong: var(--ink-950);

  /* Raum (4-px-Basis) */
  --space-1: .25rem; --space-2: .5rem;  --space-3: .75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem;   --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;  --space-20: 5rem;  --space-28: 7rem;  --space-40: 10rem;

  /* Typografie */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;

  /* Form & Bewegung */
  --radius-none: 0;
  --radius-subtle: 2px;
  --duration-fast: 160ms;
  --duration-standard: 200ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-overlay: 0 16px 40px rgba(13, 23, 24, .16);

  /* Raster */
  --gutter: 24px;
  --margin: 64px;
  --max: 1440px;
}

@media (max-width: 1439px) { :root { --margin: 40px; --gutter: 20px; } }
@media (max-width: 1023px) { :root { --margin: 32px; --gutter: 16px; } }
@media (max-width: 767px)  { :root { --margin: 24px; --gutter: 16px; } }
@media (max-width: 479px)  { :root { --margin: 16px; --gutter: 12px; } }

/* 2 — Reset & Basis -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}
@media (max-width: 767px) { body { font-size: 16px; } }

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

::selection { background: var(--mist-100); color: var(--ink-950); }

/* 3 — Layout --------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--margin);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}
@media (max-width: 1023px) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.section { padding-block: var(--space-28); }
.section--tight { padding-block: var(--space-16); }
@media (max-width: 1023px) { .section { padding-block: 72px; } .section--tight { padding-block: var(--space-12); } }
@media (max-width: 767px)  { .section { padding-block: 56px; } .section--tight { padding-block: var(--space-10); } }

.surface-soft { background: var(--color-surface-soft); }
.surface-warm { background: var(--color-surface-warm); }
.surface-white { background: var(--white); }
.surface-inverse { background: var(--color-surface-inverse); color: var(--paper-50); }
.surface-inverse .eyebrow { color: var(--mist-100); }
.surface-inverse .lede, .surface-inverse .text-subtle { color: rgba(247, 246, 242, .78); }

.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: 1 / -1; }
.start-7 { grid-column: 7 / span 6; }
@media (max-width: 1023px) {
  .col-5, .col-6, .col-7, .col-8, .start-7 { grid-column: 1 / -1; }
}

.stack > * + * { margin-top: var(--space-4); }
.stack-6 > * + * { margin-top: var(--space-6); }
.stack-8 > * + * { margin-top: var(--space-8); }

/* 4 — Typografie ----------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.display--s { font-size: clamp(34px, 4.2vw, 56px); }
.headline {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 500;
}
.headline--s { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; }
.title { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.3; font-weight: 500; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--teal-700);
  margin: 0 0 var(--space-4);
  display: block;
}
.lede {
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-800);
  max-width: 62ch;
}
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--space-12); margin-bottom: var(--space-4); font-size: clamp(24px, 2.4vw, 32px); }
.prose h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: 21px; }
.prose ul { margin: 0 0 var(--space-4); padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: var(--space-6); margin-bottom: var(--space-2); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 10px; height: 1px; background: var(--teal-700);
}
.text-subtle { color: var(--color-text-subtle); }
.meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-subtle);
  letter-spacing: .01em;
}
.tabular { font-variant-numeric: tabular-nums; }

/* 5 — Aktionen & Links ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-none);
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease);
}
.btn--primary { background: var(--color-action); color: var(--white); }
.btn--primary:hover { background: var(--color-action-hover); }
.btn--secondary { background: transparent; color: var(--ink-950); border-color: var(--ink-950); }
.btn--secondary:hover { background: var(--mist-100); }
.surface-inverse .btn--secondary { color: var(--paper-50); border-color: rgba(247,246,242,.6); }
.surface-inverse .btn--secondary:hover { background: rgba(247,246,242,.12); border-color: var(--paper-50); }

a { color: var(--color-action); }
.link {
  color: var(--color-action);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.link:hover { color: var(--color-action-hover); }
.surface-inverse .link, .surface-inverse a { color: var(--mist-100); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  color: var(--color-action);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.arrow-link .arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease);
  text-decoration: none;
}
.arrow-link:hover .arrow { transform: translateX(4px); }
.surface-inverse .arrow-link { color: var(--mist-100); }

.tag {
  display: inline-block;
  padding: 5px 10px;
  background: var(--mist-100);
  color: var(--ink-950);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-none);
}
.tag--line { background: transparent; border: 1px solid var(--color-line); }

/* 6 — Skip-Link, Header, Navigation --------------------------------------- */
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--ink-950); color: var(--white);
  padding: var(--space-3) var(--space-4); text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

.utility {
  background: var(--ink-950);
  color: rgba(247,246,242,.9);
  font-size: 13px;
}
.utility .shell {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 40px; gap: var(--space-6);
}
.utility ul { display: flex; gap: var(--space-6); list-style: none; }
.utility a { color: rgba(247,246,242,.9); text-decoration: none; }
.utility a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .utility { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper-50);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease);
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--color-line); }
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: var(--space-8);
  transition: min-height var(--duration-fast) var(--ease);
}
.site-header[data-scrolled="true"] .header-bar { min-height: 64px; }
@media (max-width: 1023px) { .header-bar, .site-header[data-scrolled="true"] .header-bar { min-height: 64px; } }

.wordmark {
  display: inline-flex; align-items: baseline; gap: 10px;
  text-decoration: none; color: var(--ink-950);
  font-family: var(--font-display);
  font-size: 26px; line-height: 1; letter-spacing: .01em;
}
.wordmark b { font-weight: 500; }
.wordmark span {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; color: var(--ink-600); text-transform: none;
}
@media (max-width: 479px) { .wordmark span { display: none; } }

.primary-nav > ul { display: flex; gap: var(--space-8); list-style: none; }
.primary-nav a, .primary-nav .nav-trigger {
  display: inline-flex; align-items: center; min-height: 44px;
  font: inherit; font-size: 16px; font-weight: 500;
  color: var(--ink-800); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.primary-nav a:hover, .primary-nav .nav-trigger:hover { color: var(--ink-950); border-bottom-color: var(--teal-700); }
.primary-nav [aria-current="page"] { color: var(--ink-950); border-bottom-color: var(--ink-950); }
.primary-nav .nav-trigger[aria-expanded="true"] { color: var(--ink-950); border-bottom-color: var(--teal-700); }
@media (max-width: 1023px) { .primary-nav { display: none; } }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-actions .contact-link {
  font-size: 16px; font-weight: 500; color: var(--ink-950);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  display: inline-flex; align-items: center; min-height: 44px;
}
@media (max-width: 767px) { .header-actions .contact-link { display: none; } }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--ink-950);
}
.icon-btn:hover { color: var(--teal-700); }
.menu-btn { display: none; }
@media (max-width: 1023px) { .menu-btn { display: inline-flex; gap: var(--space-2); width: auto; padding-inline: var(--space-2); font: inherit; font-weight: 500; } }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 1px solid var(--color-line);
  box-shadow: var(--shadow-overlay);
}
.mega[hidden] { display: none !important; }
.mega .grid { padding-block: var(--space-10) var(--space-12); }
.mega h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-600); margin-bottom: var(--space-4); }
.mega ul { list-style: none; }
.mega li + li { margin-top: var(--space-2); }
.mega li a {
  display: block; padding: 6px 0; color: var(--ink-950); text-decoration: none;
  border-bottom: 1px solid transparent; font-weight: 500;
}
.mega li a:hover { color: var(--teal-700); border-bottom-color: var(--teal-700); }
.mega .mega-col { grid-column: span 3; }
.mega .mega-feature { background: var(--mist-100); padding: var(--space-6); }
@media (max-width: 1023px) { .mega { display: none !important; } }

/* Mobile panel */
.mobile-panel {
  position: fixed; inset: 0; z-index: 150;
  background: var(--paper-50);
  overflow-y: auto; padding-bottom: var(--space-16);
}
.mobile-panel[hidden] { display: none !important; }
.mobile-panel .panel-head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; border-bottom: 1px solid var(--color-line);
}
.mobile-panel nav ul { list-style: none; }
.mobile-panel nav > ul > li { border-bottom: 1px solid var(--color-line); }
.mobile-panel nav a {
  display: block; padding: var(--space-4) 0; min-height: 44px;
  color: var(--ink-950); text-decoration: none; font-size: 20px; font-weight: 500;
}
.mobile-panel nav ul ul { padding: 0 0 var(--space-4); }
.mobile-panel nav ul ul a { font-size: 16px; font-weight: 400; color: var(--ink-800); padding: var(--space-2) 0; }

/* Suchpanel */
.search-panel { background: var(--white); border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-overlay); }
.search-panel[hidden] { display: none !important; }
.search-panel .shell { padding-block: var(--space-8) var(--space-10); }
.search-big {
  width: 100%; height: 64px; font: inherit; font-size: 20px;
  padding: 0 var(--space-4); border: 1px solid var(--ink-950);
  border-radius: var(--radius-subtle); background: var(--white); color: var(--ink-950);
}
.search-groups { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-6); }
.search-groups h3 { font-size: 13px; letter-spacing: .06em; color: var(--ink-600); margin-bottom: var(--space-2); font-weight: 600; }
.search-groups ul { list-style: none; font-size: 15px; }
.search-groups li { margin-top: 4px; }

/* 7 — Hero ----------------------------------------------------------------- */
.hero { padding-block: var(--space-20) var(--space-28); }
@media (max-width: 767px) { .hero { padding-block: var(--space-10) var(--space-16); } }
.hero .grid { align-items: center; row-gap: var(--space-10); }
.hero-text { grid-column: span 5; }
.hero-visual { grid-column: 7 / span 6; }
@media (max-width: 1023px) { .hero-text, .hero-visual { grid-column: 1 / -1; } }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
@media (max-width: 479px) { .hero .actions .btn { width: 100%; } }

.figure-field { position: relative; background: var(--mist-100); aspect-ratio: 4 / 3; }
.figure-field svg { width: 100%; height: 100%; }
.figure-caption {
  margin-top: var(--space-3); font-size: 13px; color: var(--ink-600);
  display: flex; gap: var(--space-2); align-items: baseline;
}

/* 8 — Entry points / Karten ------------------------------------------------ */
.entry-list { list-style: none; border-top: 1px solid var(--color-line-strong); }
.entry {
  display: grid; grid-template-columns: 88px 1fr auto; gap: var(--gutter);
  align-items: start; padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-line);
}
.entry .idx {
  font-family: var(--font-display); font-size: 34px; line-height: 1;
  color: var(--teal-700); font-variant-numeric: tabular-nums;
}
.entry h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: var(--space-2); }
.entry h3 a { color: var(--ink-950); text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.entry p { color: var(--ink-800); max-width: 60ch; }
.entry .entry-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
@media (max-width: 767px) {
  .entry { grid-template-columns: 56px 1fr; }
  .entry > .entry-action { grid-column: 2; }
  .entry .idx { font-size: 26px; }
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

.teaser { border-top: 1px solid var(--color-line-strong); padding-top: var(--space-4); }
.teaser .meta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-3); }
.teaser h3 { font-size: 21px; margin-bottom: var(--space-2); }
.teaser h3 a { color: var(--ink-950); text-decoration: none; }
.teaser h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.teaser p { font-size: 16px; color: var(--ink-800); }
.teaser--feature { background: var(--clay-200); padding: var(--space-8); border-top-color: var(--ink-950); }
.teaser--feature h3 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.1; }

/* Expert card */
.expert { display: flex; flex-direction: column; }
.portrait {
  aspect-ratio: 3 / 4; background: var(--mist-100);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: var(--space-4); position: relative; overflow: hidden;
}
.portrait--clay { background: var(--clay-200); }
.portrait--ink { background: var(--ink-800); }
.portrait .monogram {
  font-family: var(--font-display); font-size: 76px; line-height: .9;
  color: rgba(13,23,24,.32); font-weight: 400;
}
.portrait--ink .monogram { color: rgba(247,246,242,.42); }
.portrait::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(13,23,24,.08) 1px, transparent 1px);
  background-size: 24px 100%;
  pointer-events: none;
}
.expert h3 { font-size: 20px; margin: var(--space-4) 0 2px; }
.expert h3 a { color: var(--ink-950); text-decoration: none; }
.expert h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.expert .role { font-size: 15px; color: var(--ink-600); }
.expert .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-3); }
.expert .expert-actions { display: flex; gap: var(--space-4); margin-top: var(--space-4); font-size: 15px; }

/* 9 — Capability index / Akkordeon ---------------------------------------- */
.acc { border-top: 1px solid var(--color-line-strong); }
.acc-item { border-bottom: 1px solid var(--color-line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); padding: var(--space-6) 0; min-height: 44px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; color: var(--ink-950);
}
.acc-btn:hover { color: var(--teal-700); }
.acc-btn .sign { font-size: 24px; line-height: 1; color: var(--teal-700); flex: none; }
.acc-panel { padding-bottom: var(--space-6); max-width: 68ch; }
.acc-panel[hidden] { display: none !important; }

/* 10 — Zitat / Beleg ------------------------------------------------------- */
.pullquote { display: grid; grid-template-columns: 7fr 4fr; gap: var(--space-12); align-items: start; }
@media (max-width: 1023px) { .pullquote { grid-template-columns: 1fr; gap: var(--space-6); } }
.pullquote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3.2vw, 42px); line-height: 1.18; letter-spacing: -.01em;
}
.pullquote cite { display: block; margin-top: var(--space-6); font-style: normal; font-size: 15px; color: var(--ink-600); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); list-style: none; }
@media (max-width: 767px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts li { border-top: 1px solid var(--color-line-strong); padding-top: var(--space-4); }
.facts .num {
  font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 60px); line-height: 1;
  font-variant-numeric: tabular-nums; display: block; margin-bottom: var(--space-2);
}
.facts .lbl { font-size: 15px; color: var(--ink-800); }

/* 11 — Filter / Referenzen ------------------------------------------------- */
.facets { border-block: 1px solid var(--color-line); padding-block: var(--space-4); }
.facet-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.facet-row + .facet-row { margin-top: var(--space-3); }
.facet-row .facet-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-600); min-width: 116px; }
.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 40px; padding: 0 var(--space-4);
  background: transparent; border: 1px solid var(--color-line);
  font: inherit; font-size: 15px; color: var(--ink-950); cursor: pointer;
  border-radius: var(--radius-none);
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.chip:hover { border-color: var(--ink-950); background: var(--white); }
.chip[aria-pressed="true"] { background: var(--ink-950); color: var(--paper-50); border-color: var(--ink-950); }
.chip .count { font-size: 13px; color: var(--ink-600); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .count { color: rgba(247,246,242,.72); }

.result-bar {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--space-4); margin-top: var(--space-6);
}
.ref-list { list-style: none; border-top: 1px solid var(--color-line-strong); margin-top: var(--space-4); }
.ref {
  display: grid; grid-template-columns: 1fr 300px; gap: var(--gutter);
  padding-block: var(--space-6); border-bottom: 1px solid var(--color-line);
}
@media (max-width: 1023px) { .ref { grid-template-columns: 1fr; gap: var(--space-3); } }
.ref h3 { font-size: 20px; margin-bottom: var(--space-2); }
.ref p { font-size: 16px; color: var(--ink-800); max-width: 62ch; }
.ref .ref-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); align-content: start; }
.ref[hidden] { display: none !important; }

/* 12 — Formular ------------------------------------------------------------ */
.field { margin-bottom: var(--space-6); }
.field label { display: block; font-size: 15px; font-weight: 500; margin-bottom: var(--space-2); }
.field .req { color: var(--ink-600); font-weight: 400; }
.field .help { font-size: 14px; color: var(--ink-600); margin-bottom: var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px;
  min-height: 48px; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--ink-800); border-radius: var(--radius-subtle);
  background: var(--white); color: var(--ink-950);
}
.field textarea { min-height: 132px; resize: vertical; }
.field .error { color: var(--error-700); font-size: 14px; margin-top: var(--space-2); display: flex; gap: 6px; }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; }
.checkbox input { width: 24px; height: 24px; min-height: 24px; padding: 0; }
.checkbox label { font-size: 15px; font-weight: 400; margin: 0; }

/* 13 — Breadcrumb / Kontaktzone / Footer ---------------------------------- */
.breadcrumb { padding-block: var(--space-6) 0; font-size: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); color: var(--ink-600); }
.breadcrumb a { color: var(--ink-600); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink-950); }
.breadcrumb [aria-current="page"] { color: var(--ink-950); }

.contact-zone .grid { align-items: end; row-gap: var(--space-8); }

.site-footer { background: var(--ink-950); color: var(--paper-50); }
.site-footer a { color: var(--paper-50); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--mist-100); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding-block: var(--space-12); border-top: 1px solid rgba(247,246,242,.2); }
@media (max-width: 1023px) { .footer-nav { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-8); } }
@media (max-width: 479px) { .footer-nav { grid-template-columns: 1fr; } }
.footer-nav h3 { font-size: 13px; letter-spacing: .06em; color: rgba(247,246,242,.7); margin-bottom: var(--space-4); font-weight: 600; }
.footer-nav ul { list-style: none; }
.footer-nav li + li { margin-top: var(--space-2); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  padding-block: var(--space-6) var(--space-12);
  border-top: 1px solid rgba(247,246,242,.2); font-size: 14px; color: rgba(247,246,242,.72);
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: var(--space-6); list-style: none; }

.concept-note {
  background: var(--coral-500); color: var(--white);
  font-size: 13px; line-height: 1.5;
}
.concept-note .shell { padding-block: var(--space-2); display: flex; gap: var(--space-3); align-items: baseline; }
.concept-note b { font-weight: 600; }

/* 14 — Bewegung reduzieren ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .arrow-link:hover .arrow { transform: none; }
}

/* 15 — Konzepthinweis auf kleinen Breakpoints kürzen ---------------------- */
@media (max-width: 767px) {
  .concept-note span { display: none; }
  .concept-note b::after { content: " · Platzhalterinhalte"; font-weight: 400; }
}

/* 16 — Header im mittleren Breitenbereich verdichten ---------------------- */
.primary-nav a,
.primary-nav .nav-trigger,
.header-actions .contact-link { white-space: nowrap; }

@media (max-width: 1199px) {
  .header-bar { gap: var(--space-6); }
  .primary-nav > ul { gap: var(--space-5, 1.25rem); }
  .primary-nav a,
  .primary-nav .nav-trigger { font-size: 15px; }
  .header-actions .contact-link { font-size: 15px; }
}

/* 17 — Buttons im Footer nicht als Textlink zeichnen ---------------------- */
.site-footer .btn { text-decoration: none; }
.site-footer .btn--primary { color: var(--white); }
