/* dawoodshahid.de – Stylesheet */

@font-face { font-family: Gabarito; src: url(../fonts/gabarito-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Gabarito; src: url(../fonts/gabarito-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Gabarito; src: url(../fonts/gabarito-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --kopf: rgba(255, 255, 255, .74);
  --kopf-linie: rgba(0, 0, 0, .07);
  --flaeche: #F5F5F7;
  --flaeche-2: #FFFFFF;
  --ink: #1A1B1F;
  --leise: #6A6A72;
  --linie: #DCDCE1;
  --link: #2451DB;
  --knopf: #2451DB;
  --knopf-hover: #1C43BF;
  --knopf-text: #FFFFFF;
  --dunkel-kachel: #16171B;
  --schatten: 0 1px 2px rgba(20, 22, 30, .06), 0 6px 20px rgba(20, 22, 30, .06);
  --ds-blau: #4F6EF7;
  --hansebon: #1E2A55;
  --logo-flaeche: #FFFFFF;
  --rund-gross: 30px;
  --titel: Gabarito, "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

[data-design="dunkel"] {
  --bg: #000000;
  --kopf: rgba(22, 22, 24, .74);
  --kopf-linie: rgba(255, 255, 255, .08);
  --flaeche: #141416;
  --flaeche-2: #1D1D21;
  --ink: #F5F5F7;
  --leise: #A1A1A8;
  --linie: #2E2E34;
  --link: #7C9BFF;
  --knopf: #2F5BEA;
  --knopf-hover: #3F69F5;
  --dunkel-kachel: #1A1B20;
  --hansebon: #F5F5F7;
  --logo-flaeche: #F2F2F4;
  --schatten: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; transition: background-color .4s ease, color .4s ease; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titel); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.sprung { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.sprung:focus { left: 8px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mittig { text-align: center; }

/* Knöpfe & Links */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 99px; border: 0; background: var(--knopf); color: var(--knopf-text); font: 600 17px/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.knopf:hover { background: var(--knopf-hover); }
.knopf:active { transform: scale(.98); }
.knopf-klein { min-height: 32px; padding: 0 15px; font-size: 13px; }
.knopf-zweit { background: var(--flaeche); color: var(--ink); }
.knopf-zweit:hover { background: var(--linie); }
.textlink { color: var(--link); text-decoration: none; font-weight: 500; }
.textlink:hover { text-decoration: underline; }

/* Logo */
.ds-logo { display: inline-block; min-width: 46px; text-align: center; font: 700 12px/1 "JetBrains Mono", ui-monospace, monospace; background: var(--ds-blau); color: #fff; border-radius: 6px; padding: 5px 7px; }
.ds-logo.klein { min-width: 0; font-size: 11px; padding: 4px 6px; }
.ds-logo .ds-ende { display: none; }
.ds-logo.fertig .ds-cursor { display: none; }
.ds-logo.fertig .ds-ende { display: inline; }
.ds-cursor { animation: ds-blinken 1s steps(1) infinite; }
@keyframes ds-blinken { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--kopf); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--kopf-linie); }
.kopf-innen { max-width: 1080px; margin: 0 auto; padding: 0 20px; min-height: 52px; display: flex; align-items: center; gap: 8px 24px; }
.marke { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.marke-name { font: 600 16px/1 var(--titel); }
.menue { flex: 1; display: flex; justify-content: center; gap: 24px; font-size: 13px; }
.menue a[aria-current] { color: var(--ink); }
.menue a { color: var(--leise); text-decoration: none; padding: 14px 0; }
.menue a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 96px 24px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-dach { font: 600 21px/1.3 var(--titel); color: var(--leise); }
.hero h1 { font-weight: 800; font-size: clamp(2.3rem, 8vw, 6.6rem); overflow-wrap: break-word; line-height: 1; letter-spacing: -0.035em; max-width: 12em; }
.hero-text { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--leise); max-width: 32em; }
.hero-aktionen { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 10px; }
.hero-aktionen .textlink { font-size: 18px; }
.hero-bild { max-width: 1280px; margin: 72px auto 0; padding: 0 24px; transform-origin: center top; will-change: transform; }
.hero-bild img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 32px; }
.nur-dunkel, [data-design="dunkel"] .nur-hell { display: none; }
[data-design="dunkel"] .nur-dunkel { display: block; }

.aussage { padding: 120px 24px 40px; display: flex; justify-content: center; text-align: center; }
.aussage p { font: 700 clamp(1.8rem, 4.2vw, 3.4rem)/1.1 var(--titel); letter-spacing: -0.02em; max-width: 19em; }
.aussage span { color: var(--leise); }

/* Abschnitte */
.abschnitt { max-width: 1280px; margin: 0 auto; padding: 120px 24px 24px; }
.abschnitt.breit { padding-left: 12px; padding-right: 12px; }
.abschnitt.schmal { max-width: 1080px; }
.abschnitt h2 { font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.03em; }
.abschnitt h2.klein { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.abschnitt-kopf { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 12px 44px; }
.abschnitt-kopf p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--leise); max-width: 30em; }

/* Leistungskacheln */
.kachel { background: var(--flaeche); border-radius: var(--rund-gross); overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; }
.kachel + .kachel-paar, .kachel-paar { margin-top: 12px; }
.kachel-text { padding: 60px 28px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.kachel h3 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.025em; }
.kachel-text > p { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--leise); max-width: 26em; }
.kachel-bild { width: 100%; margin-top: 40px; padding: 0 28px; }
.kachel-bild img { width: 100%; border-radius: 20px 20px 0 0; object-fit: cover; }
.kachel-gross .kachel-bild { max-width: 1040px; }
.kachel-gross .kachel-bild img { aspect-ratio: 1568 / 672; }
.kachel-paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.kachel-paar .kachel-bild { margin-top: auto; padding-top: 36px; }
.kachel-paar .kachel-bild img { aspect-ratio: 4 / 3; }
.kachel-dunkel { background: var(--dunkel-kachel); color: #F5F5F7; }
.kachel-dunkel .kachel-text > p { color: #A9ADB8; }

.leistungen { list-style: none; margin: 14px 0 0; padding: 0; width: 100%; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.leistungen li { flex: 0 1 auto; }
.kachel-paar .leistungen { max-width: 560px; }
.leistung { width: 100%; min-height: 54px; white-space: nowrap; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border: 0; border-radius: 16px; background: var(--flaeche-2); color: var(--ink); font: 600 16px/1.25 var(--text); text-align: left; cursor: pointer; box-shadow: var(--schatten); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.leistung:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20, 22, 30, .06), 0 12px 28px rgba(20, 22, 30, .1); }
.leistung span { flex: 1; padding-right: 6px; }
.leistung .icon { width: 22px; height: 22px; flex: none; color: var(--link); }
.leistung .plus { width: 18px; height: 18px; flex: none; color: var(--leise); transition: transform .18s ease; }
.leistung:hover .plus { transform: rotate(90deg); color: var(--ink); }
[data-design="dunkel"] .leistung:hover { background: #26262B; box-shadow: none; }
.kachel-dunkel .leistung { background: rgba(255, 255, 255, .07); color: #F5F5F7; box-shadow: none; }
.kachel-dunkel .leistung:hover { background: rgba(255, 255, 255, .13); }
.kachel-dunkel .leistung .icon { color: #8EA8FF; }
.kachel-dunkel .leistung .plus { color: #A9ADB8; }

/* Eigene Lösungen */
.loesungen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.loesung { background: var(--flaeche); border-radius: 26px; padding: 34px 28px; min-height: 240px; display: flex; flex-direction: column; gap: 12px; }
.loesung h3 { font-size: 24px; line-height: 1.15; margin-top: auto; }
.loesung p { color: var(--leise); }
.marke-ds { align-self: flex-start; font: 700 15px/1 "JetBrains Mono", ui-monospace, monospace; background: var(--ds-blau); color: #fff; border-radius: 8px; padding: 7px 10px; }
.marke-hansebon { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; font: 700 27px/1 var(--titel); letter-spacing: -0.015em; color: var(--hansebon); }
.hansebon-icon { width: 24px; height: 28px; flex: none; }

/* Kunden */
.kunden { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.kunden li { min-height: 112px; border-radius: 20px; background: var(--logo-flaeche); display: grid; box-shadow: inset 0 0 0 1px var(--kopf-linie); }
.kunden a, .kunden li > span, .kunden li > img { display: grid; place-items: center; padding: 20px 22px; text-decoration: none; min-height: 112px; }
.kunden img { max-height: 54px; width: auto; max-width: 100%; margin: auto; transition: transform .25s ease; }
.kunden img.logo-quadrat { max-height: 80px; }
.kunden li { transition: box-shadow .25s ease, transform .25s ease; }
.kunden li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--kopf-linie), 0 10px 28px rgba(20, 22, 30, .08); }
.kunde-name { font: 700 19px/1.2 var(--titel); color: #6A6A72; letter-spacing: -0.01em; transition: color .2s ease; }
.kunden a:hover .kunde-name { color: var(--ink); }

.stimmen { margin: 72px auto 0; max-width: 860px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.stimme { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.stimme blockquote { margin: 0; font: 700 clamp(1.6rem, 3.4vw, 2.7rem)/1.18 var(--titel); letter-spacing: -0.015em; }
.stimme figcaption { color: var(--leise); }
.stimmen-steuerung { display: flex; align-items: center; gap: 12px; }
.rund { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--flaeche); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.rund svg { width: 16px; height: 16px; }
.punkte { display: flex; gap: 8px; }
.punkte span { width: 8px; height: 8px; border-radius: 50%; background: var(--linie); }
.punkte span.aktiv { background: var(--ink); }

/* Ablauf */
.schritte { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.schritte li { background: var(--flaeche); border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.schritte .nr { font: 800 56px/1 var(--titel); color: var(--link); }
.schritte h3 { font-size: 24px; }
.schritte p { color: var(--leise); }

/* Fragen */
.fragen { max-width: 860px; margin: 32px auto 0; }
.fragen details { border-bottom: 1px solid var(--linie); padding: 20px 0; }
.fragen summary { font: 600 22px/1.3 var(--titel); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font-weight: 400; color: var(--leise); transition: transform .2s ease; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen p { margin-top: 12px; color: var(--leise); font-size: 18px; }

/* Kontakt */
.kontakt { background: var(--flaeche); border-radius: var(--rund-gross); padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px); }
.kontakt .abschnitt-kopf { padding-bottom: 36px; }
.kontakt-wege { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-size: 18px; }
.formular { width: min(760px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.formular label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.formular .ganz { grid-column: 1 / -1; }
.formular input, .formular select, .formular textarea { font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--bg); border: 1px solid var(--linie); border-radius: 14px; min-height: 54px; padding: 0 16px; width: 100%; }
.formular textarea { padding: 14px 16px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px color-mix(in srgb, var(--link) 22%, transparent); }
.formular [aria-invalid="true"] { border-color: #D93848; }
.formular button { justify-self: center; min-width: 220px; min-height: 52px; }
.formular button[disabled] { opacity: .6; cursor: wait; }
.optional { font-weight: 400; color: var(--leise); }
.hinweis { font-size: 14px; color: var(--leise); text-align: center; }
.hinweis a { color: var(--link); }
.fehlermeldung { color: #C42B3A; text-align: center; font-weight: 600; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-ok { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0; }
.formular-ok svg { width: 56px; height: 56px; color: #1F9D62; }
.formular-ok h3 { font-size: 30px; }
.formular-ok p { color: var(--leise); }

/* Fußzeile */
.fuss { background: var(--flaeche); color: var(--leise); font-size: 13px; margin-top: 0; }
.fuss-innen { max-width: 1080px; margin: 0 auto; padding: 26px 20px 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.fuss-luecke { flex: 1; }
.fuss a, .fuss-link { color: var(--leise); text-decoration: none; background: none; border: 0; padding: 10px 0; font: inherit; cursor: pointer; }
.fuss a:hover, .fuss-link:hover { color: var(--ink); text-decoration: underline; }

/* Popups */
.popup { width: min(720px, calc(100% - 24px)); max-height: min(88vh, 900px); border: 0; padding: clamp(28px, 5vw, 52px); border-radius: 32px; background: var(--bg); color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, .3); overflow: auto; }
.popup::backdrop { background: rgba(0, 0, 0, .42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.popup[open] { animation: popup-auf .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes popup-auf { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.popup .schliessen { position: sticky; top: 0; float: right; margin: -12px -12px 0 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--flaeche); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.popup .schliessen svg { width: 16px; height: 16px; }
.popup-dach { color: var(--leise); font-weight: 600; margin-bottom: 6px; }
.popup h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.04; letter-spacing: -0.02em; }
.popup-text { font-size: 1.15rem; color: var(--leise); margin-top: 10px; }
.popup-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; margin-top: 26px; clear: both; }
.popup-spalten > div { background: var(--flaeche); border-radius: 20px; padding: 22px 24px; }
.popup-spalten h3 { font-size: 20px; margin-bottom: 10px; }
.popup-spalten ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--leise); }
.popup-spalten ul.haken { color: var(--ink); }
.popup-spalten ul.haken li { padding-left: 26px; position: relative; }
.popup-spalten ul.haken li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 8px; border-left: 2.6px solid var(--link); border-bottom: 2.6px solid var(--link); transform: rotate(-45deg); }
.popup-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.popup-aktionen .knopf-zweit { order: 2; }

.rechtstext { font-size: 16px; }
.rechtstext h2 { margin-bottom: 18px; padding-right: 40px; }
.rechtstext h3 { font-size: 19px; margin: 26px 0 8px; }
.rechtstext p, .rechtstext ul { color: var(--leise); margin: 0 0 10px; }
.rechtstext ul { padding-left: 20px; }
.rechtstext a { color: var(--link); }
.rechtstext b { color: var(--ink); }
.rechtstext .stand { margin-top: 24px; font-size: 14px; }

/* Cookie-Hinweis */
.cookie-banner { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 860px; background: var(--kopf); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border: 1px solid var(--kopf-linie); border-radius: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .18); padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; animation: popup-auf .35s cubic-bezier(.2, .8, .2, 1); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 360px; font-size: 15px; color: var(--leise); }
.cookie-banner p b { color: var(--ink); }
.cookie-banner a { color: var(--link); }
.cookie-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-knoepfe .knopf { min-height: 44px; padding: 0 18px; font-size: 15px; }
.cookie-optionen { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.cookie-option { display: flex; align-items: center; gap: 18px; background: var(--flaeche); border-radius: 18px; padding: 18px 20px; cursor: pointer; }
.cookie-option > div { flex: 1; }
.cookie-option h3 { font-size: 18px; margin-bottom: 4px; }
.cookie-option p { font-size: 15px; color: var(--leise); }
.immer-an { font-size: 13px; font-weight: 600; color: var(--leise); white-space: nowrap; }
.schalter { position: relative; flex: none; width: 52px; height: 32px; }
.schalter input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.schalter > span[aria-hidden] { position: absolute; inset: 0; border-radius: 99px; background: var(--linie); transition: background-color .2s ease; pointer-events: none; }
.schalter > span[aria-hidden]::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.schalter input:checked + span { background: #1F9D62; }
.schalter input:checked + span::after { transform: translateX(20px); }
.schalter input:focus-visible + span { outline: 3px solid var(--link); outline-offset: 2px; }
#dlg-cookies .hinweis { text-align: left; margin-top: 16px; }

/* Einblenden beim Scrollen (sanft, nur Abschnitts-Überschriften und Kacheln) */
.einblenden { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.einblenden.sichtbar { opacity: 1; transform: none; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .menue { display: none; }
  .kopf-innen { justify-content: space-between; }
  .marke { margin-right: auto; }
  .hero { padding-top: 64px; }
  .hero-bild { margin-top: 48px; padding: 0 12px; }
  .hero-bild img { border-radius: 20px; aspect-ratio: 4 / 3; }
  .aussage { padding-top: 80px; }
  .abschnitt { padding-top: 88px; }
  .kachel-text { padding: 44px 18px 0; }
  .kachel-bild { padding: 0 14px; }
  .kachel-gross .kachel-bild img { aspect-ratio: 4 / 3; }
  .leistungen li { flex: 1 1 100%; }
  .leistung { white-space: normal; }
  .popup { border-radius: 26px; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
  .cookie-knoepfe { width: 100%; }
  .cookie-knoepfe .knopf { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .einblenden { opacity: 1; transform: none; }
}

/* Kopf: Sprache + Hell/Dunkel */
.kopf-werkzeuge { display: flex; align-items: center; gap: 10px; }
.sprache { display: flex; gap: 2px; font-size: 12px; font-weight: 600; }
.sprache a { color: var(--leise); text-decoration: none; padding: 8px 6px; min-width: 32px; min-height: 32px; text-align: center; border-radius: 8px; }
.sprache a[aria-current] { color: var(--ink); background: var(--flaeche); }
.sprache a:hover { color: var(--ink); }
.design-wahl { display: flex; padding: 3px; gap: 2px; border-radius: 99px; background: var(--flaeche); }
.design-wahl button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border: 0; border-radius: 99px; background: transparent; color: var(--leise); font: 600 12px/1 var(--text); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.design-wahl button .icon { width: 15px; height: 15px; }
.design-wahl button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
[data-design="dunkel"] .design-wahl button[aria-pressed="true"] { background: #2C2C31; }

/* Versprechen unter der Aussage */
.aussage { flex-direction: column; align-items: center; gap: 64px; }
.versprechen { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 1180px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; text-align: left; }
.versprechen li { background: var(--flaeche); border-radius: 24px; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.versprechen .icon { width: 28px; height: 28px; color: var(--link); margin-bottom: 6px; }
.versprechen h3 { font-size: 21px; }
.versprechen p { color: var(--leise); font: 400 16px/1.5 var(--text); letter-spacing: 0; }

/* IT-Schnellcheck */
.check { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.check-fragen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: frage; }
.check-frage { background: var(--flaeche); border-radius: 20px; padding: 20px 22px; display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; counter-increment: frage; }
.check-frage p { flex: 1 1 300px; font-weight: 600; font-size: 17px; }
.check-frage p::before { content: counter(frage) ". "; color: var(--leise); }
.ja-nein { display: flex; padding: 3px; gap: 2px; border-radius: 99px; background: var(--bg); flex: none; }
.ja-nein button { min-width: 72px; min-height: 40px; border: 0; border-radius: 99px; background: transparent; color: var(--leise); font: 600 15px/1 var(--text); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ja-nein button[data-antwort="ja"][aria-pressed="true"] { background: #1F9D62; color: #fff; }
.ja-nein button[data-antwort="nein"][aria-pressed="true"] { background: #D9822B; color: #fff; }
.check-ergebnis { position: sticky; top: 76px; background: var(--flaeche); border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.check-anzeige { display: flex; align-items: baseline; gap: 10px; }
.check-zahl { font: 800 72px/1 var(--titel); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.check-von { color: var(--leise); font-weight: 600; }
.check-balken { height: 10px; border-radius: 99px; background: var(--linie); overflow: hidden; }
.check-balken span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--link); transition: width .5s cubic-bezier(.2, .8, .2, 1), background-color .3s ease; }
.check-ergebnis h3 { font-size: 24px; }
.check-ergebnis p { color: var(--leise); }
.check-tipps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.check-tipps li { background: var(--bg); border-radius: 14px; padding: 12px 14px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.check-tipps button { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--link); font: 600 14px/1.3 var(--text); cursor: pointer; }
.check-tipps button:hover { text-decoration: underline; }
.check-ergebnis .knopf { align-self: flex-start; margin-top: 6px; }

/* Einsatzgebiet */
.orte { margin: 48px auto 0; max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.orte > p:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.orte .icon { width: 20px; height: 20px; color: var(--link); }
.orte ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.orte li { background: var(--flaeche); border-radius: 99px; padding: 7px 14px; font-size: 15px; }
.orte-zusatz { color: var(--leise); font-size: 15px; }

/* Ratgeber */
.artikel-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.artikel-karte { background: var(--flaeche); border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.artikel-karte:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20, 22, 30, .08); }
.artikel-karte h2, .artikel-karte h3 { font: 700 24px/1.2 var(--titel); letter-spacing: -0.01em; }
.artikel-karte p { color: var(--leise); }
.artikel-karte .textlink { margin-top: auto; }
.artikel-meta { font-size: 14px; color: var(--leise); font-weight: 500; }
.hero-klein { padding-bottom: 0; }
.hero-klein h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
.seiten-titel { font: 800 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--titel); letter-spacing: -0.02em; }
.artikel { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.brotkrumen { font-size: 14px; color: var(--leise); display: flex; gap: 8px; flex-wrap: wrap; }
.brotkrumen a { color: var(--leise); text-decoration: none; }
.brotkrumen a:hover { color: var(--ink); text-decoration: underline; }
.entwurf { margin-top: 16px; background: #FFF4E0; color: #8A4B00; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.artikel-kopf { margin: 28px 0 40px; display: flex; flex-direction: column; gap: 16px; }
.artikel-kopf h1 { font: 800 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--titel); letter-spacing: -0.025em; text-wrap: balance; }
.artikel-einleitung { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--leise); }
.artikel-text { font-size: 18px; line-height: 1.7; }
.artikel-text > * + * { margin-top: 1.1em; }
.artikel-text h2 { font: 700 30px/1.2 var(--titel); letter-spacing: -0.015em; margin-top: 1.8em; }
.artikel-text h3 { font: 700 22px/1.3 var(--titel); margin-top: 1.5em; }
.artikel-text ul, .artikel-text ol { padding-left: 1.3em; }
.artikel-text li + li { margin-top: .4em; }
.artikel-text a { color: var(--link); }
.artikel-text em { color: var(--leise); }
.hinweis-box { background: var(--flaeche); border-radius: 18px; padding: 18px 22px; }
.artikel-cta { margin-top: 56px; background: var(--flaeche); border-radius: 28px; padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.artikel-cta h2 { font: 800 30px/1.1 var(--titel); letter-spacing: -0.02em; }
.artikel-cta p { color: var(--leise); }
.artikel-cta .hero-aktionen { justify-content: flex-start; }
.weitere { margin-top: 72px; }
.weitere h2 { font: 800 30px/1.1 var(--titel); margin-bottom: 20px; }
.weitere .artikel-liste { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.weitere .artikel-karte h3 { font-size: 19px; }
.seite-text { padding-top: 64px; padding-bottom: 96px; max-width: 820px; }

/* Fußzeile mit Spalten */
.fuss-innen { align-items: flex-start; gap: 28px 56px; padding-top: 44px; }
.fuss-spalte { display: flex; flex-direction: column; gap: 10px; }
.fuss-spalte h2 { font: 600 13px/1.3 var(--text); color: var(--ink); }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fuss-spalte ul a, .fuss-spalte .fuss-link { padding: 5px 0; display: inline-block; }
.fuss-marke { flex: 1 1 260px; gap: 14px; }
.fuss-marke p { line-height: 1.6; }
.fuss-marke b { color: var(--ink); }
.fuss-unten { max-width: 1080px; margin: 0 auto; padding: 18px 20px 30px; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }
.whoami { font: 700 12px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--leise); }
.whoami b { color: var(--link); }

@media (max-width: 900px) {
  .check { grid-template-columns: 1fr; }
  .check-ergebnis { position: static; }
}
@media (max-width: 760px) {
  .kopf-innen { gap: 6px; padding: 0 12px; }
  .marke-name { display: none; }
  .design-wahl button span { display: none; }
  .design-wahl button { padding: 0 9px; }
  .kopf-anfrage { display: none; }
  .check-frage { padding: 16px; }
  .ja-nein { width: 100%; }
  .ja-nein button { flex: 1; }
  .artikel { padding-top: 36px; }
  .artikel-text { font-size: 17px; }
}
