/* ==========================================================
   awastat.de – Stylesheet
   Farben und Schrift stehen ganz oben in :root.
   Wer die Hausfarbe ändern will, ändert nur --brand.
   ========================================================== */

@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/public-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #0f1f3d;          /* Haupttext, Überschriften */
  --ink-2: #44506a;        /* Nebentext */
  --paper: #ffffff;        /* Hintergrund */
  --wash: #eef5fb;         /* helle Flächen */
  --line: #d3dbe6;         /* Linien */
  --brand: #0070b8;        /* awastat-Blau (dunkler für Text und Buttons) */
  --brand-dark: #005a94;
  --logo-blue: #008dd2;    /* Blau aus dem Logo, für Flächen und Akzente */
  --night: #0b1a33;        /* dunkle Bühnen-Flächen */
  --signal: #e8a317;       /* Fristen-Markierung */
  --signal-wash: #fdf3dc;
  --ok: #1d7a4a;
  --radius: 6px;
  --wrap: 1120px;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, ul, ol { margin: 0 0 1.1em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .35em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* ---------- Kopfzeile ---------- */
.site-head { border-bottom: 1px solid transparent; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s, border-color .25s; }
.site-head.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(15,31,61,.5); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: block; line-height: 0; }
.logo img { height: 40px; width: auto; }
.site-foot .logo img { height: 36px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }

@media (max-width: 920px) {
  .js .nav-toggle { display: block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .js .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--wash); }
  .nav .btn { margin-top: 12px; text-align: center; }
  html:not(.js) .site-head .wrap { flex-wrap: wrap; padding-bottom: 12px; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 12px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; transition: transform .15s, background .15s, box-shadow .15s; padding: 13px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--brand); line-height: 1.2; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(0,112,184,.7); }
.btn-secondary { background: transparent; color: var(--brand); }
.btn-secondary:hover { background: var(--wash); }
.nav .btn { padding: 9px 16px; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.actions .tel { font-weight: 600; color: var(--ink); text-decoration: none; margin-left: 6px; }

/* ---------- Abschnitte ---------- */
section { padding: 72px 0; }
.band { background: var(--wash); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); }

/* ---------- Hero (dunkle Bühne mit Logo-Schwung) ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; color: #fff;
  background: radial-gradient(900px 500px at 85% 10%, rgba(0,141,210,.45), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, rgba(0,112,184,.35), transparent 60%),
              linear-gradient(160deg, #0b1a33 0%, #10284f 100%); }
.hero::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -170px; height: 300px;
  border-radius: 50%; border-top: 26px solid rgba(0,141,210,.55); transform: rotate(-4deg); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lead { color: #c9dcf0; }
.hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-secondary:hover { background: rgba(255,255,255,.1); }
.hero-visual { position: relative; }
.hero-visual > img { width: 100%; display: block; }
.hero-visual .deadline { position: relative; margin: 0 0 0 auto; max-width: 420px; color: var(--ink); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: #c9dcf0; font-size: .95rem; }
.hero-badges li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: middle; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } .hero-visual .deadline { margin: 0 auto; } }

/* Fristen-Karte: das Erkennungszeichen der Seite */
.deadline { border-radius: 14px; padding: 24px; background: var(--paper); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.deadline-label { font-weight: 600; color: var(--ink-2); margin: 0 0 4px; font-size: .95rem; }
.deadline-date { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.deadline-sub { margin: 4px 0 18px; color: var(--ink-2); font-size: .95rem; }
.deadline-left { display: inline-block; background: var(--signal-wash); border-left: 4px solid var(--signal); padding: 4px 10px; font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .85rem; }
.cal caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.cal th { font-weight: 600; color: var(--ink-2); padding: 4px 0; text-align: center; }
.cal td { text-align: center; padding: 3px; height: 40px; vertical-align: top; }
.cal td span { display: block; border-radius: 4px; padding: 3px 0 2px; line-height: 1.15; }
.cal td small { display: block; font-size: .64rem; color: var(--brand); font-weight: 700; }
.cal td.wd span { background: var(--wash); }
.cal td.off span { color: #9aa5b8; }
.cal td.due span { background: var(--signal); color: var(--ink); font-weight: 800; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,163,23,.6); } 50% { box-shadow: 0 0 0 7px rgba(232,163,23,0); } }
.cal td.due small { color: var(--ink); }
.deadline-note { font-size: .8rem; color: var(--ink-2); margin: 14px 0 0; }

/* ---------- Faktenzeile ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: -44px 0 0; position: relative; z-index: 2; background: var(--paper); border-radius: 14px; box-shadow: 0 24px 50px -30px rgba(15,31,61,.55); padding: 0 12px; }
.facts div { padding: 22px 20px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: .9rem; color: var(--ink-2); order: 2; }
.facts dd { margin: 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts div { border-left: 0; } }

/* ---------- Leistungsliste ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.services article { padding: 24px 0 24px 64px; border-top: 1px solid var(--line); position: relative; }
.services .ico { position: absolute; left: 0; top: 24px; width: 44px; height: 44px; border-radius: 12px; background: var(--wash); color: var(--brand); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.services .ico svg { width: 24px; height: 24px; }
.services article:hover .ico { background: var(--logo-blue); color: #fff; transform: rotate(-6deg); }
.services h3 { margin-bottom: .35em; }
.services p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* ---------- Schritte (echte Reihenfolge) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; position: relative; }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--logo-blue); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform .8s ease; }
.js .steps:not(.in) li::after { --grow: 0; }
.steps li:nth-child(2)::after { transition-delay: .15s; } .steps li:nth-child(3)::after { transition-delay: .3s; } .steps li:nth-child(4)::after { transition-delay: .45s; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 2rem; color: var(--brand); line-height: 1; margin-bottom: 10px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--ink-2); margin: 0; font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Formate ---------- */
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.formats div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.formats div:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(15,31,61,.45); border-color: var(--logo-blue); }
.formats h3 { font-size: 1.05rem; }
.formats p { margin: 0; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 520px) { .formats { grid-template-columns: 1fr; } }

/* ---------- Kundenstimmen (Slider) ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quotes figure { margin: 0; scroll-snap-align: start; background: var(--paper); border-radius: 14px; padding: 28px; position: relative; box-shadow: 0 16px 34px -26px rgba(15,31,61,.5); }
.quotes figure::before { content: "„"; position: absolute; right: 20px; top: -6px; font-size: 5rem; font-weight: 800; color: var(--logo-blue); opacity: .18; line-height: 1; }
.quotes blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.quotes figcaption { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 12px; }
.quotes figcaption i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--logo-blue); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.quotes figcaption span { display: block; font-weight: 400; color: var(--ink-2); }
.slider-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: -8px; }
.slider-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--brand); background: var(--paper); color: var(--brand); font-size: 1.2rem; cursor: pointer; }
.slider-nav button:hover { background: var(--brand); color: #fff; }
@media (max-width: 860px) { .quotes { grid-auto-columns: 85%; } }

/* ---------- Text + Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; display: block; border-radius: 18px; }
.split ul { padding-left: 1.1em; }
.split li { margin-bottom: .4em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }

/* ---------- Einblendung beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Länder ---------- */
.countries { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.countries li { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 16px; background: rgba(255,255,255,.06); color: #fff; transition: background .2s; }
.countries li:hover { background: var(--logo-blue); }
.countries b { margin-right: 6px; color: var(--signal); }
.night { background: var(--night); color: #fff; }
.night h2 { color: #fff; } .night p { color: #c9dcf0; } .night a { color: #7cc7f0; }

/* ---------- Ratgeber-Liste ---------- */
.guides { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.guides li { border-top: 3px solid var(--line); padding: 18px 0; transition: border-color .2s; }
.guides li:hover { border-color: var(--logo-blue); }
.guides a { font-weight: 700; text-decoration: none; font-size: 1.08rem; }
.guides a:hover { text-decoration: underline; }
.guides p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; max-width: 72ch; }

/* ---------- Preis / CTA ---------- */
.cta { color: #fff; background: radial-gradient(700px 300px at 90% 0%, rgba(0,141,210,.5), transparent 60%), linear-gradient(140deg, #0070b8, #0b1a33); }
.cta h2 { color: #fff; }
.cta p { color: #c9d3e6; max-width: 60ch; }
.cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn-primary:hover { background: var(--wash); }
.cta .btn-secondary { color: #fff; border-color: #fff; }
.cta .btn-secondary:hover { background: rgba(255,255,255,.1); }
.cta .tel { color: #fff; }

/* ---------- Unterseiten ---------- */
.page-head { padding: 56px 0 64px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 360px at 90% 0%, rgba(0,141,210,.5), transparent 60%), linear-gradient(160deg, #0b1a33, #10284f); }
.page-head::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -200px; height: 260px; border-radius: 50%; border-top: 18px solid rgba(0,141,210,.45); transform: rotate(-3deg); }
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; max-width: 22ch; }
.page-head .lead { color: #c9dcf0; }
.page-head .meta, .page-head .crumbs, .page-head .crumbs a { color: #9fb6d1; }
.page-head a { color: #7cc7f0; }
.page-head .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.page-head.has-img .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-head.has-img img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
@media (max-width: 860px) { .page-head.has-img .wrap { grid-template-columns: 1fr; } .page-head.has-img img { max-width: 420px; } }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.meta { font-size: .9rem; color: var(--ink-2); }
.article { padding: 56px 0 72px; }
.article .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.aside-box h2 { font-size: 1.15rem; }
.aside-box p { font-size: .95rem; color: var(--ink-2); }
.aside-box .btn { display: block; text-align: center; margin-bottom: 10px; }
@media (max-width: 920px) { .article .wrap { grid-template-columns: 1fr; } .aside-box { position: static; } }

.callout { background: var(--signal-wash); border-left: 4px solid var(--signal); padding: 16px 20px; margin: 0 0 1.4em; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }

table.data { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--wash); font-weight: 700; }
.table-scroll { overflow-x: auto; }

.sources { font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }

/* ---------- Schwellen-Check ---------- */
.check { border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin: 0 0 1.6em; background: var(--wash); }
.check h2 { margin-top: 0 !important; font-size: 1.3rem !important; }
.check .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .check .row { grid-template-columns: 1fr; } }
.check output { display: block; margin-top: 16px; font-weight: 600; }
.check output .yes { color: #9a5b00; }
.check output .no { color: var(--ok); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; max-width: 720px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--ink-2); font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #aab6c8; border-radius: var(--radius); font: inherit; color: var(--ink); background: #fff;
}
textarea { min-height: 120px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 6px; }
.choice input { margin-top: 6px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Fußzeile ---------- */
.site-foot { background: var(--wash); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-foot h2 { font-size: 1rem; margin-bottom: .8em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { color: var(--ink); }
.site-foot address { font-style: normal; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--ink-2); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .js .reveal { opacity: 1; transform: none; } .js .steps:not(.in) li::after { --grow: 1; } }
@media print { .site-head, .site-foot, .aside-box, .cta { display: none; } }

/* ---------- Fotos ---------- */
.split img.photo { aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 30px 60px -32px rgba(15,31,61,.55); }
.page-head.has-img img[src$=".webp"] { aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Erklärvideo ---------- */
.video-sec { padding-top: 0; }
.vid { position: relative; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--night); aspect-ratio: 16 / 9; box-shadow: 0 40px 70px -40px rgba(15,31,61,.7); }
.vid img, .vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid .play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--logo-blue); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(0,141,210,.6); animation: ring 2.4s infinite; transition: transform .2s; }
.vid:hover .play { transform: scale(1.08); }
.vid .play svg { width: 38px; height: 38px; fill: #fff; margin-left: 5px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(0,141,210,.55); } 70% { box-shadow: 0 0 0 26px rgba(0,141,210,0); } 100% { box-shadow: 0 0 0 0 rgba(0,141,210,0); } }

/* ---------- Behörden-Logos ---------- */
.auth { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.auth li { background: #fff; border-radius: 12px; padding: 14px 14px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.auth li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(0,0,0,.5); }
.auth img { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; }
.auth span { font-size: .75rem; font-weight: 700; color: var(--ink-2); }
@media (max-width: 520px) { .auth { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Angebots-Assistent (von der Landingpage übernommen) ---------- */
.wz-ov { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6,16,25,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .28s; }
.wz-ov.on { display: flex; } .wz-ov.show { opacity: 1; }
.wz { width: 100%; max-width: 560px; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(6,16,25,.55); overflow: hidden; transform: translateY(22px) scale(.97); opacity: 0; transition: transform .34s cubic-bezier(.2,.9,.3,1.05), opacity .28s; max-height: 92vh; display: flex; flex-direction: column; }
.wz-ov.show .wz { transform: none; opacity: 1; }
.wz-head { padding: 22px 26px 0; flex-shrink: 0; }
.wz-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.wz-step { font-size: .8rem; font-weight: 700; color: var(--brand); }
.wz-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--wash); cursor: pointer; font-size: 19px; line-height: 1; color: var(--ink-2); }
.wz-x:hover { background: #dbe8f3; color: var(--ink); }
.wz-bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.wz-bar i { display: block; height: 100%; width: 0; background: var(--logo-blue); transition: width .45s cubic-bezier(.2,.9,.3,1); }
.wz-body { padding: 24px 26px 26px; overflow-y: auto; }
.wz-q { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.wz-hint { font-size: .92rem; color: var(--ink-2); margin-bottom: 20px; }
.wz-slide { animation: wzIn .34s cubic-bezier(.2,.9,.3,1.02); }
@keyframes wzIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes wzPop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.wz-opts { display: flex; flex-direction: column; gap: 10px; }
.wz-opts.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.wz-opts.zwei .wz-opt { padding: 13px 14px; font-size: .95rem; gap: 10px; }
@media (max-width: 520px) { .wz-opts.zwei { grid-template-columns: 1fr; } }
.wz-opt { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; cursor: pointer; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; font: 600 1rem var(--font); color: var(--ink); transition: border-color .2s, background .2s, transform .18s; }
.wz-opt:hover, .wz-opt.sel { border-color: var(--logo-blue); background: #e6f4fc; }
.wz-opt:hover { transform: translateX(3px); }
.wz-opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.wz-opt:hover .dot { border-color: var(--logo-blue); }
.wz-opt.sel .dot { border-color: var(--logo-blue); background: var(--logo-blue); box-shadow: inset 0 0 0 3px #fff; }
.wz-f { margin-bottom: 14px; }
.wz-f label { font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.wz-f label span { color: #8798a5; font-weight: 500; }
.wz-f input { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; font: 1rem var(--font); color: var(--ink); }
.wz-f input:focus { outline: none; border-color: var(--logo-blue); box-shadow: 0 0 0 3.5px rgba(0,141,210,.16); }
.wz-f input.err { border-color: #c0392b; box-shadow: 0 0 0 3.5px rgba(192,57,43,.1); }
.wz-err { display: none; font-size: .85rem; color: #c0392b; margin-top: 10px; } .wz-err.on { display: block; }
.wz-sum { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; margin: 0 0 22px; }
.wz-sum li { display: flex; justify-content: space-between; gap: 14px; font-size: .92rem; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.wz-sum li:last-child { border: 0; }
.wz-sum span { color: var(--ink-2); } .wz-sum b { text-align: right; }
.wz-foot { display: flex; gap: 10px; align-items: center; padding: 0 26px 24px; flex-shrink: 0; }
.wz-foot .sp { flex: 1; }
.wz-back { background: none; border: 0; color: var(--ink-2); cursor: pointer; font: 600 .92rem var(--font); padding: 10px 4px; }
.wz-back:hover { color: var(--ink); }
.wz-note { font-size: .8rem; color: #8798a5; padding: 0 26px 22px; margin: 0; line-height: 1.5; }
.wz-ok { text-align: center; padding: 14px 0 6px; }
.wz-ok .ring { width: 66px; height: 66px; border-radius: 50%; background: #e9f6f0; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; animation: wzPop .45s cubic-bezier(.2,.9,.3,1.3); }
.wz-ok .ring svg { width: 31px; height: 31px; stroke: var(--ok); fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .wz-q { font-size: 1.2rem; } .wz-body { padding: 20px; } .wz-head { padding: 18px 20px 0; } .wz-foot { padding: 0 20px 20px; } }
@media (prefers-reduced-motion: reduce) { .wz, .wz-ov, .wz-slide, .wz-ok .ring { transition: none !important; animation: none !important; } }

/* ---------- Ablauf-Grafik auf dunkler Fläche ---------- */
.flow-panel { position: relative; overflow: hidden; border-radius: 18px; padding: 24px 20px;
  background: radial-gradient(420px 260px at 85% 0%, rgba(0,141,210,.45), transparent 65%), linear-gradient(160deg, #0b1a33, #10284f);
  box-shadow: 0 30px 60px -32px rgba(15,31,61,.6); }
.flow-panel::after { content: ""; position: absolute; left: -15%; right: -15%; bottom: -150px; height: 190px; border-radius: 50%; border-top: 12px solid rgba(0,141,210,.45); transform: rotate(-4deg); pointer-events: none; }
.flow-panel img { position: relative; z-index: 1; width: 100%; display: block; }

/* ---------- Animierte Weiter-Buttons ---------- */
.more { margin-top: 28px; }
.btn-more { position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; isolation: isolate;
  padding: 12px 20px 12px 22px; border: 2px solid var(--logo-blue); border-radius: 999px;
  color: var(--brand); font-weight: 700; text-decoration: none; line-height: 1.2;
  transition: color .3s ease, box-shadow .3s ease, transform .2s ease; }
.btn-more::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--logo-blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.9,.3,1); }
.btn-more .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s ease; animation: nudge 2.4s ease-in-out infinite; }
.btn-more:hover, .btn-more:focus-visible { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(0,141,210,.8); }
.btn-more:hover::before, .btn-more:focus-visible::before { transform: scaleX(1); }
.btn-more:hover .arr { transform: translateX(4px); animation: none; }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(4px); } 90% { transform: translateX(0); } }
.night .btn-more { color: #fff; border-color: rgba(255,255,255,.55); }
.night .btn-more:hover { border-color: var(--logo-blue); }

/* ---------- Trennstriche zwischen Textabschnitten ---------- */
.prose.sectioned > h2 { border-top: 1px solid var(--line); padding-top: 1.4em; margin-top: 1.6em; }
.prose.sectioned > h2:first-child, .prose.sectioned > .callout + h2 { border-top: 0; padding-top: 0; margin-top: 0; }
.prose.sectioned > .callout + h2 { margin-top: .4em; }
@media (prefers-reduced-motion: reduce) { .btn-more .arr { animation: none; } }

/* ---------- Upload (TransferNow) ---------- */
.upload { margin: 0 0 2em; border: 2px dashed #9fcbe8; border-radius: 18px; background: #f3f9fd; }
.upload-gate { text-align: center; padding: 36px 24px 28px; }
.upload-gate h2 { margin: 0 0 .4em; font-size: 1.4rem; border: 0 !important; padding: 0 !important; }
.upload-gate p { max-width: 46ch; margin-left: auto; margin-right: auto; }
.upload-gate .btn { margin: 6px 0 16px; }
.upload-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--logo-blue); display: inline-grid; place-items: center; margin-bottom: 14px; animation: bob 2.4s ease-in-out infinite; }
.upload-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.upload.loaded { border-style: solid; border-color: var(--line); background: #fff; padding: 8px; }
.upload iframe { display: block; width: 100%; height: 360px; border: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .upload-ic { animation: none; } }
