/* Ordelo-Webseite – Farben wie die Marke: Blau #1f3a68, Orange #f5a623. Systemschriften (keine fremden Schriftdienste). */
:root {
  --blau: #1f3a68;
  --blau-hell: #2f5ea3;
  --orange: #f5a623;
  --text: #1c2430;
  --text-leise: #566173;
  --grund: #ffffff;
  --flaeche: #f3f5f9;
  --rand: rgba(31, 58, 104, .14);
  --karte: #ffffff;
  --knopf-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8ecf2;
    --text-leise: #a9b3c2;
    --grund: #121722;
    --flaeche: #19202d;
    --rand: rgba(255, 255, 255, .12);
    --karte: #1c2433;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--grund);
  line-height: 1.55;
}
/* Sprache: ohne JavaScript Deutsch; sprache.js setzt html.en (und html lang) – nur Elemente im body ausblenden, sonst trifft
   [lang="en"] bei englischer Sprache das <html>-Element selbst und die ganze Seite bleibt weiß (19.11.2026). */
body [lang="en"] { display: none; }
html.en body [lang="en"] { display: revert; }
html.en body [lang="de"] { display: none; }
html.en body span[lang="en"] { display: inline; }

.breite { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { color: var(--blau-hell); }

.kopf { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--grund) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rand); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.5rem; }
.navi { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.navi a { text-decoration: none; color: var(--text); }
.navi a:hover { color: var(--blau-hell); }
.sprache { font: inherit; font-size: .85rem; padding: 4px 10px; border: 1px solid var(--rand); border-radius: 4px; background: transparent; color: var(--text); cursor: pointer; }

.knopf { display: inline-block; padding: 11px 22px; border-radius: 6px; background: var(--blau); color: var(--knopf-text) !important; text-decoration: none; font-weight: 600; border: 1px solid var(--blau); }
.knopf:hover { background: var(--blau-hell); border-color: var(--blau-hell); }
.knopf.zweit { background: transparent; color: var(--blau-hell) !important; border-color: var(--rand); }
.knopf.zweit:hover { border-color: var(--blau-hell); }
.knopf.klein { padding: 7px 14px; }

.held { background: linear-gradient(150deg, #1f3a68 0%, #24467e 55%, #2f5ea3 100%); color: #fff; overflow: hidden; }
.held-innen { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.held h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2; margin: 0 0 18px; }
.held .unter { font-size: 1.15rem; opacity: .92; margin: 0 0 28px; max-width: 640px; }
.held .knopf { background: var(--orange); border-color: var(--orange); color: #1c2430 !important; }
.held .knopf:hover { filter: brightness(1.05); }
.held .knopf.zweit { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff !important; }
.held .hinweis { margin: 18px 0 0; font-size: .95rem; opacity: .85; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }
.held-bild { width: 220px; height: 220px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .25)); }

.abschnitt { padding: 72px 0; }
.abschnitt.hell { background: var(--flaeche); }
.abschnitt h2 { font-size: 1.8rem; margin: 0 0 28px; color: var(--text); }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.karte { background: var(--karte); border: 1px solid var(--rand); border-radius: 10px; padding: 22px; border-top: 4px solid var(--orange); }
.karte h3 { margin: 0 0 8px; font-size: 1.15rem; }
.karte p { margin: 0; color: var(--text-leise); }
.punkte { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 900px; }
.punkte li { padding-left: 30px; position: relative; }
.punkte li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }

.demo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.demo-kasten { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 10px; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.klein-text { margin: 0; color: var(--text-leise); font-size: .9rem; }

/* Kontaktformular */
.formular { justify-items: stretch; }
.formular .feld { display: grid; gap: 4px; font-size: .95rem; }
.formular input:not([type="radio"]), .formular textarea {
  font: inherit; width: 100%; padding: 9px 11px; border: 1px solid var(--rand); border-radius: 6px;
  background: var(--karte); color: var(--text);
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--blau-hell); outline-offset: 1px; }
.formular textarea { resize: vertical; min-height: 110px; }
.formular .knopf { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.anliegen { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.anliegen legend { padding: 0; margin-bottom: 4px; font-size: .95rem; }
.anliegen label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung-fehler { display: none; margin: 0; padding: 10px 12px; border-radius: 6px; background: #fde7e9; color: #8a1c24; }
.meldung-fehler:target { display: block; }
.danke { text-align: center; }
.danke .knoepfe { justify-content: center; }

.fuss { border-top: 1px solid var(--rand); padding: 24px 0; color: var(--text-leise); font-size: .9rem; }
.fuss-innen { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fuss nav { display: flex; gap: 18px; flex-wrap: wrap; }
.fuss a { color: var(--text-leise); }

/* Rechtstexte */
.text-seite { padding: 48px 0 72px; max-width: 820px; }
.text-seite h1 { font-size: 2rem; margin: 0 0 24px; }
.text-seite h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.ausfuellen { background: #fff3cd; color: #5c4400; padding: 0 4px; border-radius: 3px; }

@media (max-width: 760px) {
  .held-innen, .demo { grid-template-columns: 1fr; }
  .held-bild { display: none; }
  .navi a:not(.knopf) { display: none; }
  .held-innen { padding-top: 48px; padding-bottom: 48px; }
  .abschnitt { padding: 48px 0; }
}
