/* =========================================================================
   Exner Consulting – Stylesheet
   Aufbau: 1 Fonts · 2 Design-Tokens · 3 Basis · 4 Layout · 5 Header
           6 Komponenten · 7 Sektionen · 8 Formular · 9 Footer · 10 Utilities
   ========================================================================= */

/* -------------------------------------------------------------------------
   1 · Schriften (lokal gehostet – keine externen Requests, DSGVO-konform)
   ------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* -------------------------------------------------------------------------
   2 · Design-Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Farben */
  --ink:        #0E2233;   /* Navy – Text und dunkle Flächen */
  --ink-2:      #16334A;
  --ink-soft:   #3D5061;
  --muted:      #6B7B89;
  --accent:     #1B6B87;   /* Signalfarbe */
  --accent-dk:  #12546C;
  --accent-lt:  #E7F1F5;
  --paper:      #FFFFFF;
  --sand:       #F7F4EF;   /* warmer Sektionshintergrund */
  --sand-dk:    #EFEAE1;
  --line:       #E2DDD4;
  --line-dark:  rgba(255,255,255,.16);

  /* Typografie */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif:'Source Serif 4', Georgia, 'Times New Roman', serif;

  --fs-hero:  clamp(2rem, 1.5rem + 2.1vw, 3.2rem);
  --fs-h1:    clamp(1.95rem, 1.35rem + 2.4vw, 3.15rem);
  --fs-h2:    clamp(1.5rem, 1.15rem + 1.4vw, 2.15rem);
  --fs-h3:    clamp(1.08rem, .98rem + .4vw, 1.28rem);
  --fs-lead:  clamp(1.05rem, .98rem + .42vw, 1.28rem);
  --fs-base:  1rem;
  --fs-sm:    .9375rem;
  --fs-xs:    .8125rem;

  /* Maße */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, .6rem + 2.4vw, 2.75rem);
  --sect-y: clamp(3.5rem, 2rem + 5.5vw, 6.5rem);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(14,34,51,.06), 0 4px 14px rgba(14,34,51,.05);
  --shadow-md: 0 2px 6px rgba(14,34,51,.07), 0 14px 34px rgba(14,34,51,.09);

  --header-h: 74px;
}

/* -------------------------------------------------------------------------
   3 · Basis
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Lange deutsche Komposita sauber trennen statt hart umbrechen.
     hyphens greift zuerst, break-word ist nur die Notbremse. */
  hyphens: auto;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
  hyphens: manual;   /* Überschriften nie automatisch trennen */
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-family: var(--font-sans); font-weight: 600; letter-spacing: -.005em; }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; }

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

a { color: var(--accent-dk); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

::selection { background: var(--accent); color: #fff; }

/* -------------------------------------------------------------------------
   4 · Layout
   ------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sect-y); }
.section--tight { padding-block: calc(var(--sect-y) * .62); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #E8EEF3; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: #9CD0E4; }
.section--ink a:hover { color: #fff; }

.section + .section--sand,
.section--sand + .section { border-top: 1px solid var(--line); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
  font-size: var(--fs-sm); font-weight: 600;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* -------------------------------------------------------------------------
   5 · Header / Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(14,34,51,.05);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
}

.brand {
  display: flex; flex-direction: column; gap: .1rem;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand__name {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 1.06rem; letter-spacing: .02em; line-height: 1.1;
}
.brand__role {
  font-size: .688rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  display: inline-block;
  padding: .45rem .7rem;
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  border-radius: var(--radius);
  position: relative;
}
.nav__link:hover { color: var(--ink); background: var(--sand); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .1rem;
  height: 2px; background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; color: var(--ink);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 19px; height: 1.5px; background: currentColor;
  margin-inline: auto; transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ''; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ''; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: .85rem .2rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { left: 0; right: auto; width: 22px; bottom: .45rem; }
  .nav .btn { margin-top: 1.1rem; justify-content: center; }
}

/* -------------------------------------------------------------------------
   6 · Komponenten
   ------------------------------------------------------------------------- */

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .78rem 1.4rem;
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--muted); }
.btn--onink { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn--onink:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn svg { flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Eyebrow / Kicker ------------------------------------------------------- */
.eyebrow {
  display: block;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem;
}
.section--ink .eyebrow { color: #7FBBD3; }

.lead { font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-soft); }
.section--ink .lead { color: #C3D2DD; }

/* Sektionskopf ----------------------------------------------------------- */
.sect-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 2.6vw, 3.25rem); }
.sect-head .lead { margin-top: -.2em; }

/* Grid ------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, .5rem + 1.6vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

/* Karten ----------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 1rem + 1vw, 1.9rem);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: #C9C0B2; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: var(--fs-sm); }
.card__icon {
  width: 38px; height: 38px; margin-bottom: 1rem;
  color: var(--accent);
}
.section--sand .card { background: var(--paper); }

/* Große Leistungskarte --------------------------------------------------- */
.card--service {
  display: flex; flex-direction: column;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.card--service h3 { font-size: 1.22rem; }
.card--service ul { margin: .9rem 0 0; padding: 0; list-style: none; }
.card--service li {
  position: relative; padding-left: 1.15rem;
  font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: .5rem;
}
.card--service li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

/* Kennzahlen ------------------------------------------------------------- */
.stats { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--paper); padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem) clamp(1.1rem, .8rem + 1vw, 1.9rem); }
.section--sand .stat { background: var(--sand); }
.stat__value {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.1; letter-spacing: -.02em; color: var(--ink);
  margin-bottom: .35rem;
}
.stat__value em { font-style: normal; color: var(--accent); }
.stat__label { font-size: var(--fs-sm); color: var(--ink-soft); }

/* Zeitleiste / Phasen ---------------------------------------------------- */
.phases { counter-reset: phase; display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .phases { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.phase { position: relative; padding-top: 2.4rem; }
@media (min-width: 820px) { .phase { padding-right: 2rem; } }
.phase::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--line);
}
.phase::after {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--sand);
}
.section:not(.section--sand) .phase::after { border-color: var(--paper); }
.phase__term {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.phase h3 { margin-bottom: .4rem; }
.phase p { font-size: var(--fs-sm); color: var(--ink-soft); }

/* Vita / Stationen ------------------------------------------------------- */
.vita { list-style: none; margin: 0; padding: 0; }
.vita__item {
  position: relative;
  padding: 0 0 2.2rem 1.75rem;
  margin: 0;
  border-left: 1px solid var(--line);
}
.vita__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.vita__item::before {
  content: ''; position: absolute; left: -5px; top: .55rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.vita__period {
  display: block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .3rem;
}
.vita__org { font-size: 1.1rem; margin-bottom: .15rem; }
.vita__role { font-size: var(--fs-sm); font-weight: 500; color: var(--accent-dk); margin-bottom: .55rem; }
.vita__item p { font-size: var(--fs-sm); color: var(--ink-soft); }

/* Erfolgsliste ----------------------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
@media (min-width: 760px) { .checklist { grid-template-columns: 1fr 1fr; gap: .85rem 2.5rem; } }
.checklist li {
  position: relative; padding-left: 1.9rem; margin: 0;
  font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.6;
}
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--accent-lt);
}
.checklist li::after {
  content: ''; position: absolute; left: .3rem; top: .72em;
  width: .42rem; height: .22rem;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

/* Tag-Liste (Branchen, Systeme) ------------------------------------------ */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.tags li {
  margin: 0;
  font-size: var(--fs-sm); color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 100px; padding: .38rem .95rem;
}
.section--sand .tags li { background: var(--paper); }
.section--ink .tags li { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: #C3D2DD; }

/* Prinzipienliste -------------------------------------------------------- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; gap: 1.8rem 3rem; } }
.principles li { margin: 0; padding-left: 3.2rem; position: relative; }
.principles__no {
  position: absolute; left: 0; top: -.1em;
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  color: var(--accent); opacity: .5;
}
.principles p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* Definitionsliste (Kontaktdaten) ---------------------------------------- */
.data-list { margin: 0; }
.data-list > div {
  display: grid; gap: .15rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 560px) { .data-list > div { grid-template-columns: 150px 1fr; gap: 1rem; align-items: baseline; } }
.data-list > div:first-child { padding-top: 0; }
.data-list dt {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.data-list dd { margin: 0; font-size: var(--fs-base); color: var(--ink); }
.data-list dd a { font-weight: 500; }

/* CTA-Band --------------------------------------------------------------- */
.cta-band { background: var(--ink); color: #E8EEF3; }
.cta-band__inner {
  padding-block: clamp(2.75rem, 1.8rem + 3.4vw, 4.5rem);
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 880px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-band h2 { color: #fff; margin-bottom: .45rem; }
.cta-band p { color: #B9C9D5; font-size: var(--fs-sm); max-width: 56ch; margin: 0; }

/* Hinweisbox ------------------------------------------------------------- */
.note {
  background: var(--accent-lt);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.35rem;
  font-size: var(--fs-sm); color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note--todo { background: #FDF6E3; border-left-color: #C99A2E; }

/* -------------------------------------------------------------------------
   7 · Sektionen: Hero, Portrait
   ------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(178deg, var(--sand) 0%, var(--sand) 62%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
  overflow: hidden;
}
.hero__inner { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.75rem); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr .85fr; } }

.hero h1 { font-size: var(--fs-hero); margin-bottom: .5em; }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 54ch; margin-bottom: 2rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

.portrait { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.portrait img {
  position: relative; z-index: 1;
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* Versetztes Akzentquadrat hinter dem Bild */
.portrait::before {
  content: ''; position: absolute; inset: auto -14px -14px auto;
  width: 62%; height: 62%; background: var(--accent); opacity: .12;
  border-radius: var(--radius-lg); z-index: 0;
}

/* Seitenkopf der Unterseiten --------------------------------------------- */
.page-head {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}
.page-head h1 { max-width: 20ch; }
.page-head .lead { max-width: 62ch; margin-top: -.2em; }

/* Zweispalter Text + Medium ---------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.75rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: .95fr 1.05fr; } }
@media (min-width: 900px) {
  .split--media-first { align-items: center; }
  .split--media-first > :first-child { order: 2; }
}

/* Abbildung -------------------------------------------------------------- */
.figure { margin: 0; }
.figure svg { width: 100%; height: auto; }
.figure figcaption {
  margin-top: .85rem; font-size: var(--fs-xs); color: var(--muted);
  padding-left: .1rem;
}

/* -------------------------------------------------------------------------
   8 · Formular
   ------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: var(--fs-base); color: var(--ink);
  padding: .72rem .9rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .16s ease, box-shadow .16s ease;
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9C0B2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,107,135,.14);
}
.field__hint { font-size: var(--fs-xs); color: var(--muted); }

/* Honeypot – für Menschen unsichtbar, für Bots ein Köder */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__consent { font-size: var(--fs-sm); color: var(--ink-soft); }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); font-size: var(--fs-sm); }
.alert--ok   { background: #E8F4EC; border-left: 3px solid #2E7D4F; color: #1E5636; }
.alert--fail { background: #FBEAEA; border-left: 3px solid #B23434; color: #7E2020; }

/* -------------------------------------------------------------------------
   9 · Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: #A9BCC9;
  font-size: var(--fs-sm);
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 3.75rem) 2rem;
}
.site-footer a { color: #C7D6E1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }

.footer__brand-name {
  font-family: var(--font-serif); font-size: 1.15rem; color: #fff;
  margin-bottom: .2rem;
}
.footer__role { color: #8FA6B6; margin-bottom: 1.1rem; font-size: var(--fs-sm); }

.footer__head {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: #7C93A4; margin-bottom: .9rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: .55rem; }

.footer__bottom {
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: var(--fs-xs); color: #7C93A4;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }

/* -------------------------------------------------------------------------
   10 · Utilities
   ------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* Ersetzen frühere style="…"-Attribute. Die Content-Security-Policy in der
   .htaccess verbietet Inline-CSS, deshalb steht alles hier. */
.text-center { text-align: center; }
.btn-row--center { justify-content: center; }
.icon-hinweis { display: block; margin: 0 auto 1.5rem; }
.footer__bottom--bare { margin-top: 0; padding-top: 0; border-top: 0; }
.portrait--sm { max-width: 340px; }

/* Druck ------------------------------------------------------------------ */
@media print {
  .site-header, .nav, .cta-band, .btn, .site-footer { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}
