/* Rahmen: Kopfzeile, Navigation, Footer — für alle Templates gleich,
   Farben kommen aus der Palette, Feinheiten aus dem jeweiligen Theme. */

.kopfzeile { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, #fff 92%, var(--surface));
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.kopfzeile__inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: -.02em; }
.marke__zeichen { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); display: inline-block; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { padding: 9px 12px; border-radius: 8px; font-size: var(--t-small); font-weight: 600;
  color: var(--ink-2); text-decoration: none; }
.nav__link:hover { background: var(--surface); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand); background: var(--accent-soft); }
.kopfzeile__aktion { display: flex; align-items: center; gap: 12px; }
.kopfzeile__telefon { font-size: var(--t-small); font-weight: 600; color: var(--ink); text-decoration: none; }

.fuss { background: var(--surface); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.fuss__inner { display: grid; gap: 24px; padding-block: clamp(28px, 4vw, 44px); }
@media (min-width: 820px) { .fuss__inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuss strong { font-size: var(--t-h3); }
.fuss p { margin-top: 8px; font-size: var(--t-small); color: var(--muted); }
.fuss a { color: var(--brand); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss__nav { display: grid; gap: 8px; font-size: var(--t-small); }
.fuss__nav a { color: var(--ink-2); text-decoration: none; }
.fuss__nav a:hover { color: var(--brand); }
.fuss__unten { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-block: 16px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--muted); }
.fuss__unten .notiz { margin: 0; }

.prose h1 { font-size: var(--t-h2); }
.prose h2 { font-size: var(--t-h3); margin-top: 26px; }
.prose p { margin-top: 8px; color: var(--muted); font-size: var(--t-small); }

@media (max-width: 860px) {
  .nav { display: none; }
  .kopfzeile__telefon { display: none; }
  .kopfzeile__inner { justify-content: space-between; }
}
