/* 9u5.de – Stylesheet
   Farben und Schriften laut Markenhandbuch. Schriften lokal eingebunden (keine Google-Verbindung). */

@font-face { font-family: "Goldman"; src: url("../fonts/goldman-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Goldman"; src: url("../fonts/goldman-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --orange: #FC940E;
  --orange-ink: #A85400;
  --anthrazit: #343E42;
  --anthrazit-tief: #232A2D;
  --anthrazit-karte: #2A3236;
  --text: #2B3337;
  --text-2: #4A565B;
  --hell: #F4F6F7;
  --linie: #E3E7E9;
  --weiss: #FFFFFF;
  --ok: #4CC38A;
  --display: "Goldman", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breite: 1200px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); }
a:hover { color: var(--anthrazit); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--anthrazit); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--breite); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 20; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.kopf .marke img { height: 46px; width: auto; }
.menue { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.menue a { color: var(--text); text-decoration: none; }
.menue a:hover { color: var(--orange-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border-radius: 8px; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-orange { background: var(--orange); color: var(--anthrazit); }
.btn-orange:hover { background: #FFA733; color: var(--anthrazit); }
.btn-rahmen { border-color: #C4CCCF; color: var(--weiss); font-family: var(--body); font-weight: 600; }
.btn-rahmen:hover { border-color: var(--orange); color: var(--weiss); }
.menue .btn { color: var(--anthrazit); }

@media (max-width: 760px) {
  .kopf .marke img { height: 38px; }
  .menue a:not(.btn) { display: none; }
  .menue .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }
}

/* Hero */
.hero { background: var(--anthrazit); color: var(--weiss); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 88px 84px; }
.hero-text { flex: 999 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dachzeile { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.08; }
.hero h1 span { color: var(--orange); }
.hero .lead { font-size: 18px; color: #D9DEE0; max-width: 34em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.status { flex: 1 1 340px; min-width: 0; background: var(--anthrazit-karte); border: 1px solid #4A565B; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.status-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status-kopf p:first-child { font-family: var(--display); font-weight: 700; font-size: 18px; }
.marke-klein { font-size: 12px; color: #C4CCCF; border: 1px solid #4A565B; border-radius: 6px; padding: 2px 8px; }
.status ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.status li { display: flex; align-items: center; gap: 12px; background: var(--anthrazit); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.status li span:nth-child(2) { flex-grow: 1; }
.status li span:last-child { color: #C4CCCF; font-size: 13px; }
.punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.punkt.orange { background: var(--orange); }
.leitung { height: 6px; background: var(--orange); }

/* Abschnitte */
.abschnitt { padding-block: 84px; }
.abschnitt.grau { background: var(--hell); }
.abschnitt .wrap { display: flex; flex-direction: column; gap: 40px; }
.kopfzeile { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.kopfzeile h2 { font-size: clamp(1.8rem, 3.4vw, 2.25rem); }
.kopfzeile p { font-size: 17px; color: var(--text-2); }

.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.karte { border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--weiss); }
.grau .karte { border-color: transparent; }
.karte h3 { font-size: 20px; }
.karte p { font-size: 15px; color: var(--text-2); }
.karte svg { width: 40px; height: 40px; }
.karte .ziel { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.karte .produkt { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--text); }
.karte .mehr { margin-top: auto; font-weight: 600; font-size: 15px; }
.hinweis { background: var(--hell); border-radius: 12px; padding: 18px 22px; font-size: 15px; color: var(--text-2); }
.hinweis strong { color: var(--text); font-weight: 600; }

.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritte li { display: flex; flex-direction: column; gap: 12px; counter-increment: schritt; }
.schritte li::before { content: counter(schritt); width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--anthrazit); font-family: var(--display); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.schritte h3 { font-size: 20px; }
.schritte p { font-size: 15px; color: var(--text-2); }

/* Kontakt */
.kontakt { background: var(--anthrazit); color: var(--weiss); padding-block: 84px; }
.kontakt .wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.kontakt-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.kontakt-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.25rem); }
.kontakt-text > p { font-size: 17px; color: #D9DEE0; }
.adresse { font-size: 16px; display: flex; flex-direction: column; gap: 4px; }
.adresse .firma { font-family: var(--display); font-weight: 700; }
.adresse .grau-text { color: #D9DEE0; }
.adresse a { color: var(--orange); }
.adresse a:hover { color: #FFB257; }

.formular { flex: 999 1 480px; min-width: 0; background: var(--weiss); color: var(--text); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.zeile { display: flex; flex-wrap: wrap; gap: 16px; }
.feld { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.feld label { font-size: 14px; font-weight: 600; }
.feld input, .feld select, .feld textarea { font: inherit; font-size: 15px; padding: 12px; border: 1px solid #A9B2B6; border-radius: 8px; min-height: 46px; background: var(--weiss); color: var(--text); width: 100%; }
.feld textarea { resize: vertical; min-height: 120px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--orange-ink); outline: 2px solid var(--orange); outline-offset: 0; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.klein { font-size: 13px; color: var(--text-2); }
.einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.einwilligung input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--orange-ink); }
.formular .btn { align-self: flex-start; }
.formular .btn[disabled] { opacity: .6; cursor: default; }
.meldung { font-size: 15px; border-radius: 8px; padding: 12px 14px; }
.meldung[hidden] { display: none; }
.meldung.ok { background: #E6F6EE; color: #1E5E3E; }
.meldung.fehler { background: #FDECEA; color: #8A1F14; }

/* Fuß */
.fuss { background: var(--anthrazit-tief); color: #C4CCCF; }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: 40px; font-size: 14px; }
.fuss-marke { display: flex; flex-direction: column; gap: 10px; }
.fuss-marke img { height: 40px; width: auto; align-self: flex-start; }
.fuss nav { display: flex; gap: 24px; }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: var(--orange); }

/* Rechtstexte */
.recht { padding-block: 64px 80px; }
.recht .wrap { max-width: 800px; display: flex; flex-direction: column; gap: 30px; }
.recht h1 { font-size: clamp(2rem, 4vw, 2.5rem); }
.recht h2 { font-size: 20px; margin-bottom: 6px; }
.recht section p + p { margin-top: 10px; }
.recht .stand { font-size: 14px; color: var(--text-2); margin-top: 8px; }

/* 404 */
.leer { min-height: 60vh; display: flex; align-items: center; }
.leer .wrap { display: flex; flex-direction: column; gap: 20px; padding-block: 80px; }
.leer h1 { font-size: clamp(2rem, 5vw, 3rem); }
.leer .dachzeile { color: var(--orange-ink); }

/* ---------- Leistungsseiten & SEO-Bausteine ---------- */
.dachzeile-h1 { display: block; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; line-height: 1.4; }
.menue .aktiv { color: var(--orange-ink); }

.brotkrumen { background: var(--hell); border-bottom: 1px solid var(--linie); font-size: 14px; }
.brotkrumen ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brotkrumen li + li::before { content: "›"; margin-right: 6px; color: var(--text-2); }
.brotkrumen a { color: var(--text-2); }
.brotkrumen [aria-current] { color: var(--text); font-weight: 600; }

.seitenkopf { background: var(--anthrazit); color: var(--weiss); }
.seitenkopf .wrap { padding-block: 64px 60px; display: flex; flex-direction: column; gap: 20px; max-width: var(--breite); }
.seitenkopf h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 26ch; }
.seitenkopf .lead { font-size: 18px; color: #D9DEE0; max-width: 40em; }

.zweispaltig { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.zweispaltig > .text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.zweispaltig > .text h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-top: 12px; }
.zweispaltig > .text h3 { font-size: 20px; margin-top: 6px; }
.zweispaltig > aside { flex: 1 1 280px; min-width: 0; background: var(--hell); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.zweispaltig > aside h2 { font-size: 20px; }
.zweispaltig > aside p { font-size: 15px; color: var(--text-2); }
@media (max-width: 860px) { .zweispaltig > aside { position: static; } }

.haken { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.haken li { position: relative; padding-left: 30px; }
.haken li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

.orte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.orte li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.grau .orte li { border-color: #D5DBDE; }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--linie); border-radius: 12px; background: var(--weiss); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 24px; color: var(--orange-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); font-size: 16px; display: flex; flex-direction: column; gap: 10px; }

.karte a.titel-link { color: inherit; text-decoration: none; }
.karte a.titel-link:hover { color: var(--orange-ink); }

.fuss-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; width: 100%; }
.fuss-spalten h2 { font-family: var(--display); font-size: 15px; color: var(--weiss); margin-bottom: 10px; }
.fuss-spalten ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fuss-unten { border-top: 1px solid #3A4549; width: 100%; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 600px) { h1, h2, h3 { hyphens: auto; } }
.fuss-spalten nav { display: block; }
.fuss-spalten a { color: var(--weiss); }

/* Telefon-/Mail-Links: Berührungsfläche mind. 24 px hoch (Barrierefreiheit, WCAG 2.5.8) */
a[href^="tel:"], a[href^="mailto:"] { display: inline-block; min-height: 24px; line-height: 24px; }
