/* ============================================================
   Seetalwebsites — Grundlagen
   Die Gestaltung der Startseite steht als Inline-Stil im HTML
   (1:1 aus der Design-Datei). Hier: Schriften, globale Regeln,
   Formular-Zusätze und die Rechtsseiten.
   ============================================================ */

/* ---- Schriften (selbst gehostet, SIL Open Font License) ---- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/archivo-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }

/* ---- Global (aus dem <helmet> der Design-Datei) ---- */
html { scroll-padding-top: 88px; }
body { margin: 0; background: #F6F8FA; }
a { color: #275B87; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: #101E30; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
::selection { background: #275B87; color: #ffffff; }
input, textarea, select, button { font: inherit; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.55); }
@keyframes laufband { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { [data-laufband] { animation: none !important; } }

[hidden] { display: none !important; }
.klammer { display: contents; }

/* Sichtbarer Tastatur-Fokus auf allem Bedienbaren */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #9AC4E2;
  outline-offset: 3px;
}
#anfrage-dialog a:focus-visible, #anfrage-dialog button:focus-visible, #anfrage-dialog input:focus-visible,
.recht a:focus-visible { outline-color: #275B87; }

[tabindex="-1"]:focus { outline: none; }

.nur-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprung:focus {
  position: fixed !important; z-index: 300; left: 16px; top: 16px; width: auto; height: auto;
  margin: 0; clip: auto; padding: 12px 18px; background: #ffffff; color: #101E30; font-weight: 600;
}

/* Intro nur, wenn intro-vorab.js es freigibt (erster Besuch, Bewegung erlaubt) */
html:not(.mit-intro) [data-wenn="intro"] { display: none !important; }

/* ---- Anfrage-Formular: Zusätze ---- */
.fang { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-meldung {
  margin: 0; padding: 14px 16px; border-left: 3px solid #B42318; background: #FEF3F2;
  color: #7A271A; font-size: 15px; line-height: 1.5;
}
.formular-meldung a { color: #7A271A; font-weight: 600; }
.formular-hinweis { margin: 0; font-size: 14px; color: #5E6B7E; }
.formular-hinweis a { color: #275B87; }
button[aria-busy="true"] { opacity: .7; cursor: progress !important; }
input[aria-invalid="true"] { border-color: #B42318 !important; }

/* ---- Rechtsseiten (Impressum, Datenschutz, 404) ---- */
.recht-seite {
  min-height: 100vh; display: flex; flex-direction: column;
  background-color: #F6F8FA;
  background-image: repeating-linear-gradient(to bottom, rgba(39,91,135,.07) 0px, rgba(39,91,135,.07) 1px, transparent 1px, transparent 56px);
  color: #101E30; font-family: "Instrument Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.recht-kopf { background: #14304E; color: #fff; }
.recht-kopf-innen {
  max-width: 1280px; margin: 0 auto; padding: 20px 32px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.recht-marke { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.recht-marke:hover { color: #9AC4E2; }
.recht-zurueck { color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: #9AC4E2; }
.recht-zurueck:hover { color: #9AC4E2; }
.recht-held { background: #14304E; color: #fff; padding: 40px 0 72px; }
.recht-held-innen { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.recht-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin: 0 0 16px; }
.recht-held h1 { font-family: "Archivo", sans-serif; font-weight: 700; font-size: clamp(36px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; margin: 0 0 18px; }
.recht-held p.lead { margin: 0; max-width: 52ch; font-size: 19px; color: #C8D3DF; }
.recht { max-width: 900px; margin: 0 auto; padding: 64px 32px 96px; box-sizing: border-box; flex: 1; width: 100%; }
.recht section { border-top: 1px solid #E2E6EC; padding: 28px 0 8px; }
.recht h2 { font-family: "Archivo", sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 12px; }
.recht h3 { font-family: "Archivo", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 20px 0 6px; }
.recht p, .recht li { color: #3E4A5C; max-width: 64ch; }
.recht p { margin: 0 0 14px; }
.recht ul { margin: 0 0 14px; padding-left: 1.2em; }
.recht li { margin: 0 0 6px; }
.recht address { font-style: normal; color: #101E30; margin: 0 0 14px; line-height: 1.7; }
.recht strong { color: #101E30; }
.recht .stand { margin-top: 32px; font-size: 15px; color: #5E6B7E; }
.recht-fuss { background: #102844; color: rgba(255,255,255,.82); padding: 44px 0; font-size: 15px; }
.recht-fuss-innen {
  max-width: 1280px; margin: 0 auto; padding: 0 32px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: baseline;
}
.recht-fuss p { margin: 0; }
.recht-fuss .marke { font-family: "Archivo", sans-serif; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.recht-fuss nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.recht-fuss a { color: rgba(255,255,255,.88); }
.recht-fuss a:hover { color: #fff; }
.recht-fuss a[aria-current="page"] { color: #9AC4E2; }

@media (max-width: 480px) {
  .recht-kopf-innen, .recht-held-innen, .recht, .recht-fuss-innen { padding-left: 20px; padding-right: 20px; }
}
