/* Gemeinsame Hülle für die Eleventy-Seiten: Schriften, Kopf, mobiles Menü, Fuß.
   Gespiegelt aus dem Next-Projekt „Coreventa 2“ (src/app/(marke)/marke.css).
   Wer hier etwas ändert, ändert es dort auch. Navigation: docs/navigation.md. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  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: "Manrope"; src: url("/assets/fonts/manrope-latin-ext-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  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: "Geist"; src: url("/assets/fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --a-f-display: "Manrope";
  --a-f-text: "Geist";
  --a-f-mono: "Geist Mono";
  --a-tinte: #0d0f14;
  --a-text: #3a404b;
  --a-leise: #636a76;
  --a-grau: #868c97;
  --a-linie: #e8e9ee;
  --a-linie-stark: #d9dce3;
  --a-flaeche: #f6f6f8;
  --a-weiss: #ffffff;
  --a-blau: #2b66f8;
  --a-blau-tief: #1c4fd4;
  --a-breite: 1240px;
  --a-feder: cubic-bezier(.22, 1.1, .36, 1);
}
.a-rahmen { width: 100%; max-width: calc(var(--a-breite) + 48px); margin: 0 auto; padding: 0 24px; }
.a-kopf :focus-visible, .a-fuss :focus-visible { outline: 3px solid rgba(43, 102, 248, .45); outline-offset: 2px; border-radius: 8px; }
.a-kopf, .a-fuss { font-family: var(--a-f-text), Geist, system-ui, sans-serif; line-height: 1.6; }
:where(.a-kopf) button { font: inherit; cursor: pointer; }

/* ── Knöpfe ── */
.a-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font-family: var(--a-f-text), Geist, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--a-feder), background-color .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.a-knopf:hover { transform: translateY(-2px); }
.a-knopf:active { transform: translateY(0) scale(.98); }
.a-knopf--klein { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.a-knopf--schwarz { background: var(--a-tinte); color: #fff; box-shadow: 0 6px 16px -6px rgba(13, 15, 20, .45); }
.a-knopf--schwarz:hover { background: #22252d; color: #fff; }

/* ── Kopf ── */
.a-kopf { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(232, 233, 238, .8); }
.a-kopf__innen { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; min-height: 68px; }
.a-kopf__marke { display: inline-flex; margin-right: auto; text-decoration: none; border-radius: 10px; }
.a-marke { display: inline-flex; align-items: center; gap: 9px; }
.a-marke__zeichen { width: 26px; height: auto; }
.a-marke__name { font-family: var(--a-f-display), Manrope, sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--a-tinte); }
.a-kopf__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.a-kopf__liste a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--a-text); text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.a-kopf__liste a:hover { background: var(--a-flaeche); color: var(--a-tinte); }
.a-kopf__liste a:active { background: var(--a-linie); }
.a-kopf__liste a[aria-current="page"] { color: var(--a-tinte); font-weight: 600; background: var(--a-flaeche); }
.a-kopf__termin, .a-kopf__termin-mobil { display: none; }
.a-kopf__menue {
  display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px;
  border: 1px solid var(--a-linie-stark); border-radius: 12px; background: #fff;
  font-size: 15px; font-weight: 600; color: var(--a-tinte);
  transition: border-color .2s ease, transform .25s var(--a-feder);
}
.a-kopf__menue:hover { border-color: var(--a-tinte); }
.a-kopf__menue:active { transform: scale(.97); }
.a-kopf__striche { position: relative; width: 16px; height: 10px; }
.a-kopf__striche::before, .a-kopf__striche::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--a-feder); }
.a-kopf__striche::before { top: 0; }
.a-kopf__striche::after { bottom: 0; }
.a-kopf__menue[aria-expanded="true"] .a-kopf__striche::before { transform: translateY(4px) rotate(45deg); }
.a-kopf__menue[aria-expanded="true"] .a-kopf__striche::after { transform: translateY(-4px) rotate(-45deg); }

/* Schmal ohne JavaScript: Links als Zeile unter dem Logo */
@media (max-width: 1079.98px) {
  .a-kopf__marke { min-height: 68px; align-items: center; }
  .a-kopf__nav { flex-basis: 100%; padding: 2px 0 10px; }
  .a-kopf__liste { margin-left: -12px; }
  .a-kopf__liste a { min-height: 36px; font-size: 14px; }
}
/* Schmal mit JavaScript: Knopf „Menü“ und aufklappendes Feld */
@media (max-width: 1079.98px) {
  .js .a-kopf__menue { display: inline-flex; }
  .js .a-kopf__nav { display: none; }
  .js .a-kopf.ist-offen .a-kopf__nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    padding: 8px max(24px, calc((100% - var(--a-breite)) / 2)) 24px;
    background: #fff; border-bottom: 1px solid var(--a-linie);
    box-shadow: 0 24px 40px -24px rgba(13, 15, 20, .22);
    animation: a-menue-auf .28s var(--a-feder);
  }
  .js .a-kopf__liste { flex-direction: column; gap: 2px; margin: 0; }
  .js .a-kopf__liste a { display: flex; min-height: 48px; padding: 0 12px; font-size: 17px; }
  .js .a-kopf__termin-mobil { display: flex; width: 100%; margin-top: 14px; }
}
@keyframes a-menue-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1080px) {
  .a-kopf__innen { flex-wrap: nowrap; }
  .a-kopf__marke { margin-right: 0; }
  .a-kopf__nav { margin-right: auto; }
  .a-kopf__termin { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) { .a-kopf__nav, .a-kopf__striche::before, .a-kopf__striche::after { animation: none !important; transition: none !important; } }

/* ── Fuß ── */
.a-fuss { padding: clamp(48px, 6vw, 72px) 0 28px; border-top: 1px solid var(--a-linie); background: var(--a-weiss); font-size: 15px; color: var(--a-leise); }
.a-fuss__raster { display: grid; gap: 32px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .a-fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .a-fuss__marke { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .a-fuss__raster { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; } .a-fuss__marke { grid-column: auto; } }
.a-fuss__logo { display: inline-flex; text-decoration: none; }
.a-fuss__marke p { margin: 14px 0 16px; max-width: 34ch; }
.a-fuss__titel { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--a-tinte); }
.a-fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.a-fuss a { color: inherit; text-decoration: none; border-radius: 4px; transition: color .2s ease; }
.a-fuss a:hover { color: var(--a-tinte); text-decoration: underline; text-underline-offset: 3px; }
.a-fuss a:active { color: var(--a-blau-tief); }
.a-fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin-top: clamp(36px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--a-linie); font-size: 14px; }
.a-fuss__unten p { margin: 0; }
.a-fuss__unten nav { display: flex; gap: 20px; }

