/* Gemeinsame Gestaltung aller Seiten (Startseite, Unterseiten, Microsites): Schrift, Farben, Grundlagen, Knöpfe,
   Kopfleiste mit Menü, Fuß. Wird vor der Seiten-CSS geladen. Herausgelöst aus stil.css am 27.11.2026. */

@font-face {
  font-family: "Mona Sans";
  src: url("schriften/MonaSans.woff2?v=5ea3740633") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --nacht: #17203a;
  --nacht-tief: #0d1226;
  --lampe: #ffcf8a;
  --lampenweiss: #fbf3e6;
  --creme: #fff6e9;
  --abendrot: #ef8d62;
  --licht: #5eead4;
  --tinte: #141b36;
  --tinte-leise: #434b6c;
  --fokus: #5eead4;
  --rand: clamp(22px, 5vw, 96px);
  --kopf-hoehe: 72px;
  --weich: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #56618f #0d1226;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--nacht-tief);
  color: var(--creme);
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1875rem;
  font-stretch: 97%;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--licht);
  accent-color: var(--licht);
}

::selection { background: var(--lampe); color: var(--tinte); }
.lampe ::selection { background: var(--tinte); color: var(--lampe); }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2.5px solid var(--fokus); outline-offset: 3px; }
.hell, .lampe { --fokus: #141b36; }
main:focus { outline: none; }

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

.sprung {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 14px 22px; border-radius: 999px;
  background: var(--licht); color: var(--tinte); font-weight: 600; text-decoration: none;
  transform: translateY(-220%);
}
.sprung:focus { transform: none; }

.zeichen {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

.rahmen { max-width: 1472px; margin-inline: auto; padding-inline: var(--rand); }

.titel {
  font-size: clamp(2.375rem, 5.6vw, 5.25rem);
  font-stretch: 86%;
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.027em;
  text-wrap: balance;
}
.vorspann {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.42;
  text-wrap: pretty;
}

/* Knöpfe */
.pille {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 1.0625rem; font-weight: 560; line-height: 1.15; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--weich);
}
.pille .zeichen { transition: transform 0.3s var(--weich); }
.pille:hover .zeichen { transform: translateX(4px); }
.pille.kontur:hover .zeichen { transform: translateY(4px); }
.pille:active { transform: scale(0.97); }
.pille.haupt { background: var(--licht); color: #0b1830; }
.pille.haupt:hover { background: #8df3e2; }
.pille.kontur { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1.5px rgba(255, 246, 233, 0.62); }
.pille.kontur:hover { background: rgba(255, 246, 233, 0.14); box-shadow: inset 0 0 0 1.5px var(--creme); }
.pille.tinte { background: var(--tinte); color: var(--lampenweiss); }
.pille.tinte:hover { background: #26305c; }
.pille.lampe { background: var(--lampe); color: var(--tinte); }
.pille.lampe:hover { background: #ffdca8; }
.pille.klein { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

.pfeil-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 560; text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}
.pfeil-link:hover { text-decoration-color: currentColor; }
.pfeil-link .zeichen { transition: transform 0.3s var(--weich); }
.pfeil-link:hover .zeichen { transform: translateX(4px); }

/* ───────── Kopfleiste ───────── */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px);
  height: var(--kopf-hoehe); padding-inline: var(--rand);
  color: var(--creme);
  transition: background-color 0.35s ease, color 0.25s ease, box-shadow 0.35s ease;
}
.kopf[data-ton="dunkel"] { color: var(--tinte); --fokus: #141b36; }
.kopf[data-grund="flaeche"] {
  background: rgba(19, 27, 54, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.kopf[data-grund="flaeche"][data-ton="dunkel"] {
  background: rgba(251, 243, 230, 0.8);
  box-shadow: 0 1px 0 rgba(20, 27, 54, 0.08);
}
.kopf[data-grund="lampe"] {
  background: rgba(255, 207, 138, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.marke { display: flex; align-items: center; flex: none; min-height: 44px; margin-right: auto; border-radius: 6px; }
.logo { width: auto; height: 40px; }
.kopf[data-ton="hell"] .logo-dunkel, .kopf[data-ton="dunkel"] .logo-hell { display: none; }
.menue ul { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.menue a:not(.pille) {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.96875rem; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 1.5px no-repeat;
  transition: background-size 0.35s var(--weich);
}
.menue a:not(.pille):hover { background-size: 100% 1.5px; }
.nur-menue { display: none; }
.tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 0.96875rem; font-weight: 560; text-decoration: none; white-space: nowrap;
}
.tel .zeichen { width: 1.1em; height: 1.1em; }
.menue-knopf {
  display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  border: 0; border-radius: 999px; background: none; color: inherit;
}
.menue-knopf .zeichen { width: 26px; height: 26px; }
.menue-knopf path { transition: transform 0.35s var(--weich); transform-origin: 12px 12px; }
.menue-offen .strich-1 { transform: translateY(3.5px) rotate(45deg); }
.menue-offen .strich-2 { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1219px) {
  .js .menue-knopf { display: grid; }
  .js .kopf-knopf { display: none; }
  .js .menue {
    position: fixed; inset: 0; z-index: -1;
    display: flex; align-items: center;
    padding: calc(var(--kopf-hoehe) + 24px) var(--rand) 40px;
    background: linear-gradient(#131a35, #1c2749 60%, #2a2b56);
    color: var(--creme);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
    overflow-y: auto;
  }
  .js .menue-offen .menue {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.4s var(--weich), transform 0.5s var(--weich), visibility 0s;
  }
  .js .menue ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .js .menue a:not(.pille) {
    min-height: 56px; font-size: clamp(1.75rem, 6vw, 2.5rem); font-stretch: 86%; font-weight: 540; letter-spacing: -0.02em;
    background-position: 0 calc(100% - 6px);
  }
  .js .nur-menue { display: block; margin-top: 28px; }
  .js .kopf.menue-offen { --fokus: #5eead4; color: var(--creme); background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .kopf.menue-offen .logo-hell { display: block; }
  .js .kopf.menue-offen .logo-dunkel { display: none; }
  html:not(.js) .kopf { flex-wrap: wrap; height: auto; padding-block: 12px; row-gap: 0; }
  html:not(.js) .menue { order: 5; width: 100%; }
  html:not(.js) .menue ul { flex-wrap: wrap; gap: 0 22px; }
  html:not(.js) .kopf-knopf { display: none; }
}
@media (max-width: 759px) {
  :root { --kopf-hoehe: 60px; }
  .logo { height: 32px; }
  .tel { font-size: 0.9375rem; }
  .tel .zeichen { display: none; }
}

html:not(.js) .kopf { position: absolute; }
@media (max-width: 1219px) {
  html:not(.js) .kopf { position: relative; background: #0f1530; }
}

[hidden] { display: none !important; }

/* Fuß */
.fuss { background: var(--nacht-tief); color: rgba(255, 246, 233, 0.84); padding-block: clamp(64px, 8vw, 112px) 40px; font-size: 1rem; }
.fuss-kopf { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(28px, 7vw, 120px); align-items: center; }
.fuss-kopf .logo { height: 56px; }
.fuss-kopf p { max-width: 22em; font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-stretch: 90%; line-height: 1.3; color: var(--creme); text-wrap: balance; }
.fuss-spalten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin-top: clamp(48px, 6vw, 88px); padding-top: 36px; border-top: 1px solid rgba(255, 246, 233, 0.2); }
.fuss h3 { font-size: 1rem; font-weight: 600; color: var(--creme); margin-bottom: 10px; }
.fuss-spalten a, .fuss-recht a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.2s ease, color 0.2s ease; }
.fuss-spalten a:hover, .fuss-recht a:hover { color: var(--creme); text-decoration-color: currentColor; }
.fuss address { line-height: 1.6; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 48px; }

/* Fuß */
.fuss-zweite { margin-top: 28px; }
.fuss-umkreis { margin-top: 12px; }
.fuss-service { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 12px; }
.fuss-unten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 246, 233, 0.14); font-size: 0.9375rem;
}
.fuss-unten .fuss-recht { margin-top: 0; }

@media (max-width: 899px) {
  body { font-size: 1.0625rem; }
  .fuss-kopf { grid-template-columns: 1fr; row-gap: 24px; }
  .fuss-kopf .logo { height: 44px; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
  .fuss-unten { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 539px) {
  .fuss-spalten { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
