/* ==========================================================================
   EHWA Europe – Stylesheet
   Umsetzung von docs/design-guide.md. Alle Werte stammen aus den dort
   festgelegten Tokens. Keine freien Hex-Werte ausserhalb des :root-Blocks.
   Kein Framework, kein JavaScript.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schriften – selbst gehostet unter public/assets/fonts/
   Kein Google-Fonts-CDN: die Seite darf beim Aufruf keine Verbindung zu
   Dritten aufbauen (DSGVO). Alle drei Familien stehen unter der SIL Open
   Font License 1.1, Selbsthosting ist damit zulaessig.
   Subsets: latin und latin-ext. Fuer eine spaetere koreanische Fassung
   fehlt noch eine passende Familie.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/michroma-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/michroma-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* --- Farbe ------------------------------------------------------------ */
  /* Markenblau. Aufgeteilt, weil #028ee0 nur 3,53:1 erreicht und damit fuer
     Text unter WCAG AA liegt. Akzentblau bleibt die Markenfarbe fuer Flaechen,
     Rahmen, Icons und den Headerverlauf; Textblau gilt fuer alles Lesbare.   */
  --c-blue: #028ee0;          /* Akzent: Flaechen, Rahmen, Icons, Verlauf     */
  --c-blue-text: #0272b4;     /* Text: Links, Kicker, Buttons  – 5,16:1       */
  --c-blue-dark: #075a8a;     /* Hover auf Textblau            – 7,40:1       */
  --c-blue-tint: #ebf6fd;     /* Chipflaeche, deckend statt transparent       */
  --c-blue-tint-line: #bfe0f6;
  --c-green: #a0ce4e;         /* nur Signal: Regel, aktive Nav, Verlauf      */
  --c-anthracite: #172033;    /* Hero, Footer, Aussagen-Sektionen            */
  --c-anthracite-2: #1e2a41;  /* abgesetzte Flaeche auf Anthrazit            */

  --c-surface: #ffffff;
  --c-surface-alt: #f4f7fa;
  --c-line: #e2e8f0;

  --c-text: #172033;
  --c-text-muted: #55627a;
  --c-text-weak: #5f6e85;   /* AA auf Weiss (5.18) und auf #f4f7fa (4.82) */
  --c-on-dark: #ffffff;
  --c-on-dark-muted: #a8b4c8;
  --c-on-dark-line: rgba(255, 255, 255, .14);

  /* --- Typografie ------------------------------------------------------- */
  --f-brand: "Michroma", "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;

  /* --- Raster ----------------------------------------------------------- */
  --w-container: 1320px;
  --pad-container: 28px;
  --gap-section: 104px;        /* Startseite                                 */
  --gap-section-sub: 80px;     /* Unterseiten                                */

  /* --- Radien ----------------------------------------------------------- */
  --r-chip: 5.6px;
  --r-control: 10.4px;
  --r-tile: 13.6px;
  --r-card: 16px;
  --r-panel: 20px;

  /* --- Schatten --------------------------------------------------------- */
  --sh-card: 0 1px 2px rgba(23, 32, 51, .04), 0 8px 24px rgba(23, 32, 51, .06);
  --sh-card-hover: 0 2px 4px rgba(23, 32, 51, .06), 0 14px 34px rgba(23, 32, 51, .10);

  /* --- Bewegung --------------------------------------------------------- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 180ms;
  --t-mid: 260ms;
  --t-slow: 420ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  animation: page-fade-in var(--t-slow) ease both;
}

@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sanfte Seitenüberblendung beim Sprachwechsel (und generell bei Navigation)
   in Browsern mit View-Transitions-Unterstützung; degradiert andernfalls
   unauffällig zum Fade-in oben. */
@view-transition {
  navigation: auto;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--c-text);
}
h1 { font-size: clamp(34px, 4.2vw, 52px); }
h2 { font-size: clamp(27px, 3.1vw, 38px); }
h3 { font-size: 21px; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-blue-text); text-decoration: none; }
a:hover { color: var(--c-blue-dark); text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

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

/* Zahlen immer tabellarisch */
.num, td.num, .stat-value, .spec-value { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Bausteine
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--pad-container);
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--c-blue-text); color: #fff;
  padding: .7rem 1.1rem; z-index: 200; border-radius: var(--r-control);
}
.skip-link:focus { left: 16px; top: 16px; }

/* Kicker – uppercase, .18em, blau */
.kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-blue-text);
  margin: 0 0 14px;
}
.kicker--on-dark { color: var(--c-green); }

/* 2px-Regel in Gruen – das Signalelement */
.rule {
  width: 46px; height: 2px;
  background: var(--c-green);
  border: 0; margin: 0 0 22px;
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 68ch;
}
.lead--on-dark { color: var(--c-on-dark-muted); }

.section { padding: var(--gap-section) 0; }
.section--sub { padding: var(--gap-section-sub) 0; }
.section--alt,
.section-alt { background: var(--c-surface-alt); }   /* Altname – uebrige Seiten */
.section--dark { background: var(--c-anthracite); color: var(--c-on-dark); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--c-on-dark); }
/* Textblau traegt auf Anthrazit nicht – Links werden weiss, Hover gruen. */
.section--dark a, .hero a:not(.btn), .panel a { color: var(--c-on-dark); }
.section--dark a:hover, .hero a:not(.btn):hover, .panel a:hover { color: var(--c-green); }

.section-head { max-width: 74ch; margin-bottom: 44px; }
.section-head p { color: var(--c-text-muted); margin-bottom: 0; }
.section--dark .section-head p { color: var(--c-on-dark-muted); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn svg { flex: none; }

/* Grundzustand ist der Primaerbutton; Modifier ueberschreiben ihn. */
.btn, .btn--primary { background: var(--c-blue-text); color: #fff; }
.btn:hover, .btn--primary:hover { background: var(--c-blue-dark); color: #fff; }

.btn--secondary,
.btn-secondary {          /* Altname – noch auf den uebrigen Seiten in Gebrauch */
  background: transparent;
  color: var(--c-blue-text);
  border-color: var(--c-line);
}
.btn--secondary:hover,
.btn-secondary:hover { border-color: var(--c-blue); color: var(--c-blue-dark); background: #fff; }

/* auf dunklem Grund: Hover-Rahmen in Gruen */
.btn--ghost-dark {
  background: transparent;
  color: var(--c-on-dark);
  border-color: rgba(255, 255, 255, .28);
}
.btn--ghost-dark:hover { border-color: var(--c-green); color: var(--c-on-dark); }

.btn--lg { min-height: 52px; padding: 15px 28px; font-size: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Chips
   -------------------------------------------------------------------------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-chip);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .01em;
  border: 1px solid var(--c-line);
  background: var(--c-surface-alt);
  color: var(--c-text-muted);
  white-space: nowrap;
}
.chip--accent { background: var(--c-blue-tint); border-color: var(--c-blue-tint-line); color: var(--c-blue-text); }
.chip--mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0; }

/* Platzhalter – markiert unbelegte Stellen, siehe design-guide.md §8 */
.chip--fixed {
  background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f4f7fa 6px, #f4f7fa 12px);
  border-style: dashed;
  border-color: #c6d0dd;
  color: var(--c-text-weak);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }

/* --------------------------------------------------------------------------
   Karten und Raster
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--tiles { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.card--interactive {
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}
.card--interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-card-hover);
  border-color: #cfdae7;
  text-decoration: none;
  color: inherit;
}

.card--flush { padding: 0; overflow: hidden; }
.card--flush .card-body { padding: 22px 24px 26px; }

.card-media { background: var(--c-surface-alt); aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card--interactive:hover .card-media img { transform: scale(1.03); }

.card-meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-weak);
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--c-text-muted); margin-bottom: 18px; }
.card .chip-row { margin-top: auto; }

/* Verweis-Zeile am Kartenfuss */
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--c-blue-text);
}
.card--interactive:hover .card-link svg { transform: translateX(3px); }
.card-link svg { transition: transform var(--t-fast) var(--ease); }

/* --------------------------------------------------------------------------
   Kennzahlen
   -------------------------------------------------------------------------- */

.stats { display: grid; gap: 1px; background: var(--c-on-dark-line); border-radius: var(--r-tile); overflow: hidden; }
.stats--4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { background: var(--c-anthracite); padding: 22px 20px; }
.section--dark .stat { background: var(--c-anthracite); }
.stat-value {
  font-family: var(--f-head);
  font-size: 30px; font-weight: 700; line-height: 1.1;
  color: var(--c-on-dark);
  letter-spacing: -.02em;
}
.stat-label {
  display: block; margin-top: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-on-dark-muted);
}

/* Kennzahlen auf hellem Grund */
.stats--light .stat { background: var(--c-surface); }
.stats--light { background: var(--c-line); border: 1px solid var(--c-line); }
.stats--light .stat-value { color: var(--c-text); }
.stats--light .stat-label { color: var(--c-text-weak); }

/* Unbelegte Kennzahl, siehe design-guide.md §3.2 – abgesetzt statt hell,
   damit sie auf dunklem Grund lesbar bleibt. */
.stat--pending { background: var(--c-anthracite-2); }
.stat--pending .stat-value { color: var(--c-on-dark-muted); font-size: 22px; }
.stats--light .stat--pending { background: var(--c-surface-alt); }
.stats--light .stat--pending .stat-value { color: var(--c-text-weak); }

/* --------------------------------------------------------------------------
   Kacheln (Prozessgrenzen, Nutzen)
   -------------------------------------------------------------------------- */

.tile {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-tile);
  padding: 22px;
}
.section--alt .tile { background: var(--c-surface); }
.tile-icon { color: var(--c-blue); margin-bottom: 14px; }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { font-size: 14.5px; color: var(--c-text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Panel
   -------------------------------------------------------------------------- */

.panel {
  background: var(--c-anthracite);
  color: var(--c-on-dark);
  border-radius: var(--r-panel);
  padding: 44px;
}
.panel h2, .panel h3 { color: var(--c-on-dark); }
.panel p { color: var(--c-on-dark-muted); }

/* --------------------------------------------------------------------------
   Downloadliste
   -------------------------------------------------------------------------- */

.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.doc-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-line);
}
.doc-icon { color: var(--c-text-weak); flex: none; }
.doc-thumb {
  width: 44px; height: 44px; flex: none;
  object-fit: cover; border-radius: var(--r-control);
  border: 1px solid var(--c-line);
}
.doc-main { flex: 1 1 260px; min-width: 0; }
.doc-title { font-size: 16px; font-weight: 600; margin: 0 0 3px; }
.doc-meta { font-size: 12px; color: var(--c-text-weak); font-variant-numeric: tabular-nums; }
.doc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-dl {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--c-line); border-radius: var(--r-control);
  font-size: 13.5px; font-weight: 600; color: var(--c-blue-text);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.doc-dl:hover { border-color: var(--c-blue); background: rgba(2, 142, 224, .05); text-decoration: none; }

/* --------------------------------------------------------------------------
   Formular
   -------------------------------------------------------------------------- */

.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.form-grid > * { min-width: 0; }
.field-full { grid-column: 1 / -1; }

.field-label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 7px;
}
.field-label .req { color: var(--c-blue-text); }

.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-control);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(2, 142, 224, .14);
}
.textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field-hint { font-size: 12px; color: var(--c-text-weak); margin: 7px 0 0; }

.form-note {
  font-size: 13px; color: var(--c-text-muted);
  border-left: 2px solid var(--c-green);
  padding-left: 14px; margin: 0;
}

/* Auswahl-Chips im Formular (CSS-only, ohne JavaScript) */
.chip-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip-choice label {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 7px 13px;
  border: 1px solid var(--c-line); border-radius: var(--r-chip);
  background: var(--c-surface);
  font-size: 13.5px; color: var(--c-text-muted); cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip-choice label:hover { border-color: #cfdae7; }
.chip-choice input:checked + label {
  border-color: var(--c-blue);
  background: var(--c-blue-tint);
  color: var(--c-blue-text);
  font-weight: 600;
}
.chip-choice input:focus-visible + label { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
/* 3px-Verlauf, rechtes Ende gruen */
.site-header::before {
  content: "";
  display: block; height: 3px;
  background: linear-gradient(90deg, var(--c-anthracite) 0%, var(--c-blue) 62%, var(--c-green) 100%);
}

.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 130px;
}

.brand { display: flex; flex-direction: row; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand-divider {
  display: block; width: 1px; height: 38px; flex: none;
  background: var(--c-line);
}
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name {
  font-family: var(--f-body);
  font-size: 16px; font-weight: 600; letter-spacing: 0;
  color: var(--c-anthracite); line-height: 1;
}
/* Logo-Wortmarke: eingefaerbte Maske aus der einfarbigen Vorlage
   (public/images/EHWA_logo_transparent-1.webp), damit sie auf dem
   hellen Header-Hintergrund sichtbar ist, ohne eine zweite Bilddatei
   zu benoetigen. */
.brand-logo {
  display: block; width: 120px; height: 40px; flex: none;
  background-color: var(--c-blue);
  -webkit-mask-image: url('/images/EHWA_logo_transparent-1-trimmed.webp');
  mask-image: url('/images/EHWA_logo_transparent-1-trimmed.webp');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: left center; mask-position: left center;
  -webkit-mask-size: contain; mask-size: contain;
}
.brand-sub {
  font-size: 10px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-text-weak); line-height: 1;
  opacity: .75;
}

.site-nav { margin-left: auto; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center;
  min-height: 44px; padding: 10px 13px;
  font-size: 14.5px; font-weight: 500; color: var(--c-text);
  border-radius: var(--r-control);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.site-nav a:hover { color: var(--c-blue-text); background: var(--c-surface-alt); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--c-blue-text); font-weight: 600; }

/* aktive Navigation: gruene 2px-Marke */
.site-nav > ul > li > a[aria-current="page"] { position: relative; }
.site-nav > ul > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; background: var(--c-green);
}

.has-children { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 6px;
  position: absolute; left: 0; top: 100%; min-width: 268px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-card); box-shadow: var(--sh-card-hover);
  display: none; flex-direction: column;
}
.has-children:hover > .submenu,
.has-children:focus-within > .submenu { display: flex; }
.submenu a { font-size: 14px; border-radius: var(--r-chip); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a {
  min-width: 34px; min-height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--c-text-weak); border-radius: var(--r-chip);
}
.lang-switch a:hover { color: var(--c-blue-text); background: var(--c-surface-alt); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--c-anthracite); background: var(--c-surface-alt); }
.lang-switch [aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Mobile Navigation – CSS-only ueber Checkbox */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--c-line); border-radius: var(--r-control);
  cursor: pointer;
}
.nav-toggle-label span { display: block; width: 20px; height: 2px; background: var(--c-anthracite); position: relative; }
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--c-anthracite);
}
.nav-toggle-label span::before { top: -6px; }
.nav-toggle-label span::after { top: 6px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--c-anthracite);
  color: var(--c-on-dark);
  padding: 96px 0 0;
  overflow: hidden;
}
.hero h1 { color: var(--c-on-dark); max-width: 17ch; margin-bottom: 22px; }
.hero .lead { color: var(--c-on-dark-muted); max-width: 56ch; margin-bottom: 32px; }

.hero-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
.hero-body { padding-bottom: 72px; }

.hero-figure { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; }
.hero-disc {
  width: min(88%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero-disc img { width: 100%; height: 100%; object-fit: cover; }

/* Scrollgebundene Drehung – ohne JavaScript, nur wo unterstuetzt.
   scroll(root) statt scroll(): der Hero ist selbst kein Scrollcontainer,
   die Zeitachse muss ausdruecklich das Dokument sein, sonst bleibt sie leer. */
@supports (animation-timeline: scroll()) {
  @keyframes hero-spin { to { rotate: 42deg; } }
  .hero-disc {
    animation-name: hero-spin;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(root block);
    animation-range: 0 90vh;
  }
}

.hero-stats { border-top: 1px solid var(--c-on-dark-line); }
.hero-stats .stats { border-radius: 0; }

/* --------------------------------------------------------------------------
   Ansprechpartner
   -------------------------------------------------------------------------- */

.person {
  background: var(--c-anthracite-2);
  border: 1px solid var(--c-on-dark-line);
  border-radius: var(--r-card);
  padding: 22px;
  transition: border-color var(--t-mid) var(--ease);
}
.person:hover { border-color: var(--c-green); }
.person { display: flex; flex-direction: column; }

.person-photo {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .16);
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .06);
}
/* Kein Portrait vorhanden – gestrichelt statt erfundenem Bild */
.person-photo--leer {
  display: flex; align-items: center; justify-content: center;
  border-style: dashed; border-color: rgba(255, 255, 255, .22);
  color: var(--c-on-dark-muted);
}

.person-name { font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--c-on-dark); margin: 0 0 3px; }
.person-role { font-size: 12.5px; color: var(--c-on-dark-muted); margin: 0 0 14px; }

.person-focus {
  list-style: none; margin: 0 0 16px; padding: 0 0 16px;
  border-bottom: 1px solid var(--c-on-dark-line);
  font-size: 13px; color: var(--c-on-dark-muted);
}
.person-focus li { position: relative; padding-left: 14px; margin-bottom: 4px; }
.person-focus li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 2px; background: var(--c-green);
}

.person-contact { list-style: none; margin: auto 0 0; padding: 0; font-size: 13.5px; }
.person-contact li { margin-bottom: 5px; }
.person-contact a { color: var(--c-on-dark); word-break: break-word; }
.person-contact a:hover { color: var(--c-green); }

/* --------------------------------------------------------------------------
   Prozessnachweis
   -------------------------------------------------------------------------- */

.proof {
  display: grid; gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}
.proof > * { min-width: 0; }

.proof-source {
  font-size: 12.5px; color: var(--c-text-weak);
  border-top: 1px solid var(--c-line);
  padding-top: 14px; margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Anwendungsseite (design-guide.md §3.2)
   -------------------------------------------------------------------------- */

.app-head { background: var(--c-anthracite); color: var(--c-on-dark); padding: 40px 0 56px; }
.app-head h1 { color: var(--c-on-dark); margin-bottom: 18px; }
.app-head .breadcrumb { color: var(--c-on-dark-muted); }
.app-head .breadcrumb a { color: var(--c-on-dark-muted); }
.app-head .breadcrumb a:hover { color: var(--c-green); }
.app-head .breadcrumb li::after { color: var(--c-on-dark-muted); }
.app-head .lead { margin-bottom: 24px; }

.app-head-grid {
  display: grid; gap: 44px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  align-items: center;
}
.app-head-figure img {
  width: 100%; border-radius: var(--r-card);
  border: 1px solid rgba(255, 255, 255, .12);
}

.chip--on-dark {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  color: var(--c-on-dark);
}

.app-body {
  display: grid; gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
  align-items: start;
}
.app-block { margin-bottom: 56px; }
.app-block:last-child { margin-bottom: 0; }
.app-block h2 { font-size: clamp(24px, 2.4vw, 30px); }

/* Tabellen */
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--c-line); border-radius: var(--r-tile);
  overflow: hidden; font-size: 15px;
}
.data-table th, .data-table td { padding: 13px 16px; text-align: left; vertical-align: top; }
.data-table tr + tr th, .data-table tr + tr td { border-top: 1px solid var(--c-line); }
.data-table th[scope="row"] {
  width: 38%; font-weight: 600; color: var(--c-text-muted);
  background: var(--c-surface-alt);
  font-size: 13px; letter-spacing: .01em;
}
.data-table td { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Honeypot-Feld im Anfrageformular: fuer Menschen und Screenreader
   unsichtbar, aber im DOM vorhanden – Bots fuellen es haeufig aus. */
.field-honeypot { position: absolute; left: -9999px; top: -9999px; }

/* Prozessbeispiel */
.case {
  border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: 26px; background: var(--c-surface);
}
.case-head {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.case-spec {
  display: inline-block; font-family: var(--f-mono); font-size: 13px;
  color: var(--c-blue-text); background: var(--c-blue-tint);
  border: 1px solid var(--c-blue-tint-line); border-radius: var(--r-chip);
  padding: 4px 10px; margin-bottom: 12px;
}
.case-app { font-size: 16px; font-weight: 600; margin: 0 0 4px; max-width: 46ch; }
.case-goal { font-size: 14px; color: var(--c-text-muted); margin: 0; max-width: 46ch; }
.case-figure {
  flex: none; text-align: right;
  border-left: 2px solid var(--c-green); padding-left: 18px;
}
.case-value {
  font-family: var(--f-head); font-size: 34px; font-weight: 700;
  line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.case-label {
  display: block; margin-top: 4px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-text-weak);
}
.case-note { font-size: 11.5px; color: var(--c-text-weak); margin: 8px 0 0; max-width: 24ch; }
.case-result-title { font-size: 17px; margin: 26px 0 12px; }

.check-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.check-list li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--c-text-muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 2px; background: var(--c-green);
}

/* Sidebar */
.app-side { position: sticky; top: 104px; display: grid; gap: 20px; }
.side-card {
  border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: 22px; background: var(--c-surface);
}
.side-title {
  display: block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-weak); margin-bottom: 16px;
}
.side-photo {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--c-line); margin-bottom: 14px;
}
.side-name { font-family: var(--f-head); font-size: 18px; font-weight: 600; margin: 0 0 2px; }
.side-role { font-size: 13px; color: var(--c-text-muted); margin: 0 0 18px; }
.btn-row--stack { flex-direction: column; align-items: stretch; }
.btn-row--stack .btn { justify-content: center; }

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { border-top: 1px solid var(--c-line); }
.side-list a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 0; font-size: 14.5px; font-weight: 500; color: var(--c-text);
}
.side-list a:hover { color: var(--c-blue-text); text-decoration: none; }
.side-list-meta { font-size: 11.5px; color: var(--c-text-weak); }

/* Personenkarte auf hellem Grund (Kontaktseite) */
.person-card { display: flex; flex-direction: column; }
.person-card .side-title { margin-top: 4px; margin-bottom: 10px; }
.person-card .contact-lines { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 14px; line-height: 1.9; }
.side-photo--leer {
  display: flex; align-items: center; justify-content: center;
  border-style: dashed; color: var(--c-text-weak); background: var(--c-surface-alt);
}
.check-list--sm { font-size: 13.5px; margin-bottom: 18px; }
.check-list--sm li { margin-bottom: 5px; }

/* Bild-Platzhalter: Original im Legacy-Backup nur als Thumbnail bzw.
   gar nicht mehr vorhanden. Gleiche Bildsprache wie .side-photo--leer /
   .person-photo--leer, aber fuer Inhaltsbilder statt Portraits. */
.media-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; text-align: center; padding: 24px;
  border: 1px dashed var(--c-line); border-radius: var(--r-card);
  background: var(--c-surface-alt); color: var(--c-text-weak);
  aspect-ratio: 16 / 10;
}
.media-placeholder svg { opacity: .6; }
.media-placeholder-text { font-size: 12.5px; line-height: 1.5; max-width: 32ch; }
.media-placeholder-text code { font-size: 11.5px; }

.post-figure {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-card); margin-bottom: 28px;
}

/* Werkzeugtyp-Icons (FEPA-Grundformen) */
.type-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 14px;
}
.type-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 8px; border: 1px solid var(--c-line); border-radius: var(--r-card);
  background: var(--c-surface);
}
.type-tile img { width: 64px; height: 64px; object-fit: contain; }

/* Kleine Bildkacheln, z.B. Kornsorten- oder Diamanttypen */
.thumb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px; margin: 20px 0;
}
.thumb-tile { text-align: center; }
.thumb-tile img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-card); margin-bottom: 8px;
}
.thumb-tile span { font-size: 12.5px; color: var(--c-text-muted); }

.side-card--accent { background: var(--c-surface-alt); }
.side-card--accent p { font-size: 14px; color: var(--c-text-muted); margin-bottom: 16px; }
.side-card--accent .btn { width: 100%; justify-content: center; }

.card-title { font-size: 21px; font-weight: 600; margin-bottom: 10px; }

@media (max-width: 1080px) {
  .app-head-grid { grid-template-columns: 1fr; gap: 28px; }
  .app-head-figure { max-width: 380px; }
  .app-body { grid-template-columns: 1fr; gap: 44px; }
  .app-side { position: static; }
}

/* --------------------------------------------------------------------------
   Seitenkopf (Unterseiten)
   -------------------------------------------------------------------------- */

.page-header { background: var(--c-surface-alt); border-bottom: 1px solid var(--c-line); padding: 56px 0; }
.page-header h1 { margin-bottom: 14px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; font-size: 12.5px; color: var(--c-text-weak); }
.breadcrumb li::after { content: "·"; margin-left: 8px; color: var(--c-text-weak); }
.breadcrumb li:last-child::after { content: ""; }

.prose { max-width: 72ch; }
.timeline-list { list-style: none; margin: 0; padding: 0; }
.timeline-list li { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.timeline-list li:first-child { padding-top: 0; }
.timeline-list li:last-child { border-bottom: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--c-anthracite); color: var(--c-on-dark-muted); padding: 64px 0 28px; }
.footer-logo { display: block; height: 40px; width: auto; margin-bottom: 32px; }
.site-footer a { color: var(--c-on-dark); }
.site-footer a:hover { color: var(--c-green); text-decoration: none; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.footer-grid > * { min-width: 0; }
.footer-title {
  font-family: var(--f-body);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-on-dark); margin: 0 0 16px;
}
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer .plain { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.footer-legal {
  border-top: 1px solid var(--c-on-dark-line);
  margin-top: 48px; padding-top: 20px;
  font-size: 12.5px; color: var(--c-on-dark-muted);
  display: flex; flex-wrap: wrap; gap: 8px 20px;
}
.footer-legal p { margin: 0; }
.footer-consent {
  appearance: none; border: 0; padding: 0; background: transparent;
  color: var(--c-on-dark); cursor: pointer; font: inherit; text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-consent:hover { color: var(--c-green); }

/* Consent dialog: Matomo is never loaded before an explicit choice. */
.consent-dialog {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: end center;
  padding: 24px; background: rgba(23, 32, 51, .5);
}
.consent-dialog__panel {
  width: min(100%, 620px); padding: 28px; border-radius: var(--r-card);
  background: var(--c-surface); box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}
.consent-dialog__panel h2 { font-size: 24px; }
.consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.consent-dialog__actions .btn { width: auto; }

/* --------------------------------------------------------------------------
   Mobil
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 64px; }
  .hero-body { padding-bottom: 0; }
  .hero-figure { min-height: 0; order: -1; }
  .hero-disc { width: min(62%, 260px); }
  .hero-stats { margin-top: 56px; }
}

@media (max-width: 900px) {
  :root { --gap-section: 72px; --gap-section-sub: 56px; --pad-container: 20px; }

  .nav-toggle-label { display: flex; }
  .header-inner { flex-wrap: wrap; gap: 12px; padding-block: 12px; min-height: 0; }
  .brand-logo { width: 90px; height: 30px; }
  .brand-divider { height: 28px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 8px; letter-spacing: .08em; white-space: nowrap; }
  .site-nav { display: none; width: 100%; margin-left: 0; order: 3; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .site-nav a { padding: 12px 10px; }
  .site-nav > ul > li > a[aria-current="page"]::after { display: none; }
  .submenu {
    display: flex; position: static; min-width: 0;
    border: 0; box-shadow: none; padding: 0 0 6px 14px;
  }
  .header-actions { order: 2; margin-left: auto; }

  .panel { padding: 30px 24px; }
  .card { padding: 22px; }

  /* Klickflaechen mindestens 44px (design-guide.md §7) */
  .breadcrumb { gap: 4px 12px; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
  .breadcrumb li::after { margin-left: 12px; }
  .brand { min-height: 44px; justify-content: center; }
  .lang-switch a { min-width: 44px; min-height: 44px; }
  .site-footer .plain a,
  .site-footer address a { display: inline-flex; align-items: center; min-height: 44px; }
  .chip-choice label { min-height: 44px; }
}

@media (max-width: 560px) {
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .doc-actions { width: 100%; }
  .doc-dl { flex: 1 1 auto; justify-content: center; }
}

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

@media print {
  .site-header, .site-footer, .btn, .nav-toggle-label { display: none; }
  body { font-size: 11pt; color: #000; }
}
