/* Antrag-Engine — Demo-Theme. Akzentfarbe kommt per CSS-Variable aus der Form-Config. */

/* Selbst gehostete Fonts (DSGVO — kein CDN). Inter für Fließtext, Bricolage Grotesque für Headlines. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-v20-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-v20-latin-700.woff2") format("woff2");
}
:root {
  --accent: #1f6f54;
  --accent-dark: #16523e;
  --accent-soft: rgba(31, 111, 84, .14);
  --ink: #18211e;
  --muted: #5c6b65;
  --line: #dde5e1;
  --bg: #eef3f1;
  --card: #ffffff;
  --danger: #b3261e;
  --warn-bg: #fff6e6;
  --warn-bd: #e7b65a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 40, 32, .06), 0 10px 30px rgba(16, 40, 32, .07);
  --input-shadow: 0 1px 2px rgba(16, 40, 32, .05);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px; /* Basis bewusst kompakt — Inputs/Buttons erben via font:inherit */
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

/* Headlines: Inter fett, dezent verdichtet — ruhig und professionell */
h1, h2, .card-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.022em; }

a { color: var(--accent-dark); }

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

.wrap { width: 100%; max-width: 940px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1; user-select: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 15px; }
.brand-tag { font-size: 12px; color: var(--muted); }
.demo-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); background: transparent; border: 1px solid #cfe3da; padding: 4px 9px; border-radius: 999px; }

.main { padding: 18px 20px 18px; }

/* Hero / Landing — dezenter radialer Verlauf im Akzentton, ruhig und edel */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start;
  padding-top: 4px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  inset: -80px -160px -60px -160px;
  background:
    radial-gradient(680px 380px at 18% 8%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    radial-gradient(520px 320px at 85% 30%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  inset: -80px -160px -60px -160px;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--accent-dark) 35%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--accent-dark) 35%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .03;
  -webkit-mask-image: radial-gradient(600px 400px at 25% 20%, #000, transparent 75%);
  mask-image: radial-gradient(600px 400px at 25% 20%, #000, transparent 75%);
  pointer-events: none;
}
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 700; color: var(--accent-dark); margin: 0 0 10px; }
.hero h1 { font-size: clamp(25px, 2.8vw, 31px); line-height: 1.18; margin: 0 0 12px; }
.lead { font-size: 14.5px; line-height: 1.6; color: #34433d; margin: 0 0 20px; }
.hero-note { font-size: 12px; line-height: 1.55; color: var(--muted); margin-top: 16px; max-width: 52ch; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 15px; margin: 0 0 14px; }
.ticklist { list-style: none; margin: 0; padding: 0; }
.ticklist li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 13.5px; line-height: 1.45; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 800; }

/* Erklärvideo-Karte im Hero: Poster mit Play-Button, Klick öffnet das Overlay */
.video-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; align-self: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; cursor: pointer; color: #fff; font: inherit; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  background:
    radial-gradient(60% 80% at 30% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
    radial-gradient(70% 90% at 85% 80%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(circle, rgba(255, 255, 255, .05) 1px, transparent 1.5px),
    linear-gradient(135deg, #143126, #0d1f19);
  background-size: auto, auto, 26px 26px, auto; }
.video-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16, 40, 32, .12), 0 18px 44px rgba(16, 40, 32, .14); }
.video-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #10231c; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s, background .2s; }
.video-play svg { transform: translateX(2px); }
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-caption { position: absolute; left: 18px; right: 18px; bottom: 14px; text-align: left; display: flex; flex-direction: column; gap: 3px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.video-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.video-title { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }

/* Vorteils-Karte unterhalb des Heros: Ticks zweispaltig, damit sie flach bleibt */
.benefits-card { margin-top: 16px; padding: 20px 24px; }
.benefits-card .ticklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.benefits-card .ticklist li { margin-bottom: 0; }

/* Erklärvideo-Overlay: abgedunkelter Layer mit 16:9-iframe */
.video-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(12, 22, 18, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: overlay-in .15s ease; }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
.video-overlay-frame { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; background: #faf9f5; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .45); }
.video-overlay-frame iframe,
.video-overlay-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-overlay-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.video-overlay-close:hover { background: #fff; }

/* Vertrauens-Leiste unter dem Hero — bewusst leise, keine lauten Chips */
.trust-bar { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.trust-item svg { flex: none; color: var(--accent-dark); opacity: .8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; border-radius: 11px; padding: 12px 20px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 13px 22px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent-dark) 30%, transparent); }
.btn-ghost { background: transparent; color: var(--accent-dark); border-color: var(--line); }
.btn-ghost:hover { background: #e7efeb; }

/* Wizard shell */
.wizard { max-width: 780px; margin: 0 auto; }

/* Tab-Navigation (Schritte) */
.step-nav { margin: 0 0 12px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.step-nav::-webkit-scrollbar { display: none; }
.step-tabs { list-style: none; display: flex; gap: 2px; padding: 0 2px 0 0; margin: 0; min-width: max-content; border-bottom: 1.5px solid var(--line); }
.step-tab { font-size: 13px; }
.step-tab a, .step-tab > span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: var(--muted); text-decoration: none; border-bottom: 2.5px solid transparent; white-space: nowrap; margin-bottom: -1.5px; transition: color .15s, border-color .15s, background .15s; }
.step-tab-num { width: 21px; height: 21px; border-radius: 999px; background: #e2ebe6; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11.5px; flex: none; transition: background .15s, color .15s; }
.step-tab.is-done a, .step-tab.is-done > span { color: var(--ink); }
.step-tab.is-done .step-tab-num { background: var(--accent); color: #fff; }
.step-tab.is-current > span, .step-tab.is-current a { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.step-tab.is-current .step-tab-num { background: var(--accent-dark); color: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.step-tab.is-navigable a:hover { color: var(--accent-dark); background: #e7efeb; border-radius: 9px 9px 0 0; }

/* Card */
.card { background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; box-shadow: var(--shadow); }

/* Schlanke Fortschrittsleiste oben in der Wizard-Card (kein overflow:hidden — würde Dropdown-Panels kappen) */
.form-card { position: relative; }
.progress-track { position: absolute; top: 0; left: 14px; right: 14px; height: 3px; border-radius: 0 0 999px 999px; overflow: hidden; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.progress-fill { height: 100%; background: var(--accent); border-radius: 0 999px 999px 0; transition: width .3s ease; }

.step-counter { font-size: 12px; color: var(--muted); margin: 0 0 6px; letter-spacing: .02em; }
.card-title { font-size: 19px; margin: 0 0 6px; }
.card-desc { color: #34433d; margin: 0 0 16px; font-size: 13.5px; }

/* Fields */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.cols-2 { grid-column: 1 / -1; }
.field label, .field .field-label, .choice legend { font-weight: 600; font-size: 13.5px; }

/* Inputs — solide weiße Fläche, konsistent zu den Selects */
.field input[type=text], .field input[type=password], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  font: inherit; width: 100%; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff;
  box-shadow: var(--input-shadow);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8a2; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:hover, .field textarea:hover { border-color: #b9c7c0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft), var(--input-shadow);
}
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .suffix { position: absolute; right: 14px; color: var(--muted); font-size: 14px; pointer-events: none; }
.input-wrap input { padding-right: 38px; }
/* Waehrungszeichen vor dem Betrag (£25,000). Nur dort, wo eine Config
   ein prefix setzt — sonst bleibt das Feld unveraendert. */
.input-wrap .prefix { position: absolute; left: 14px; color: var(--muted); font-size: 14px; pointer-events: none; }
.input-wrap.has-prefix input { padding-left: 30px; }

/* Clean dropdown — FNR-Optik: solide Flaeche + sauberer SVG-Chevron */
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 42px; cursor: pointer;
  border-color: var(--line);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c6b65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  box-shadow: 0 1px 2px rgba(16, 40, 32, .05);
}
.select-wrap select:hover { border-color: #b9c7c0; }
.select-wrap select:focus {
  outline: none; border-color: var(--accent);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231f6f54' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 1px 2px rgba(16, 40, 32, .05);
}

/* Custom-Dropdown (JS): natives select sr-only, gestyltes Panel daneben */
.select-wrap.has-custom > select.cs-native {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0;
}
.cs-button {
  font: inherit; width: 100%; text-align: left; display: block; position: relative;
  padding: 10px 42px 10px 13px; cursor: pointer; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 1px 2px rgba(16, 40, 32, .05);
  transition: border-color .15s, box-shadow .15s;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c6b65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.cs-button:hover { border-color: #b9c7c0; }
.select-wrap.has-custom.is-open .cs-button,
.cs-button:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 1px 2px rgba(16, 40, 32, .05);
}
.cs-button.is-placeholder .cs-value { color: #9aa8a2; }

.cs-panel {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px; list-style: none; max-height: 288px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 40, 32, .14), 0 2px 6px rgba(16, 40, 32, .07);
  animation: cs-pop .12s ease;
}
.cs-panel[hidden] { display: none; }
@keyframes cs-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cs-option {
  position: relative; padding: 10px 12px 10px 36px; border-radius: 8px;
  cursor: pointer; font-size: 14px; line-height: 1.35; color: var(--ink);
}
.cs-option:hover, .cs-option.is-active { background: #eef6f2; }
.cs-option.is-selected { color: var(--accent-dark); font-weight: 600; }
.cs-option.is-selected::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 5px; height: 10px;
  margin-top: -7px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.help { font-size: 12.5px; color: var(--muted); margin: 0; }
.error { font-size: 12.5px; color: var(--danger); font-weight: 600; margin: 0; }
.req { color: var(--danger); }
.optional-tag { font-weight: 500; font-size: 11.5px; color: var(--muted); background: #eef3f0; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 8px; vertical-align: middle; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }

/* Choice (radio / checkboxgroup) */
.choice { border: none; margin: 0; padding: 0; }
.choice-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; padding: 8px 13px; cursor: pointer; background: #fff; box-shadow: var(--input-shadow); font-size: 13.5px; transition: border-color .15s, background .15s; }
.pill:hover { border-color: #b9c7c0; }
.pill:has(input:checked) { border-color: var(--accent); background: #eef6f2; box-shadow: 0 0 0 2px var(--accent-soft); }
.pill input { accent-color: var(--accent); }

/* Single checkbox (consent) */
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; cursor: pointer; }
.check input { margin-top: 3px; width: 19px; height: 19px; accent-color: var(--accent); flex: none; }

/* Upload — moderne Dropzone */
.filelist { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.filelist li { display: flex; align-items: center; gap: 12px; background: #eef3f0; border: 1px solid var(--line); border-radius: 11px; padding: 9px 13px; font-size: 13px; }
.file-name { font-weight: 600; }
.file-size { color: var(--muted); margin-left: auto; }
.link-danger { background: none; border: none; color: var(--danger); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

.dropzone { position: relative; margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 18px 18px; border: 1.5px dashed #b9c7c0; border-radius: 13px; background: #fff; box-shadow: var(--input-shadow); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover { border-color: var(--accent); background: #f4faf7; }
.dropzone.is-drag { border-color: var(--accent); border-style: solid; background: #eef6f2; }
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.dropzone-text { font-size: 13px; color: var(--muted); line-height: 1.45; }
.dropzone-text strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.dropzone-selected { display: block; color: var(--accent-dark); font-weight: 600; margin-top: 4px; }

.field-heading { grid-column: 1 / -1; margin: 10px 0 0; font-size: 16px; }

/* Notices */
.notice { grid-column: 1 / -1; border-radius: 12px; padding: 14px 16px; font-size: 13.5px; margin: 0 0 6px; border: 1px solid; }
.notice-info { background: #eef5fb; border-color: #bcd6ee; color: #1c4e80; }
.notice-warning { background: var(--warn-bg); border-color: var(--warn-bd); color: #8a5a12; }
.notice-success { background: #ecf7f1; border-color: #b6dcc8; color: var(--accent-dark); }

/* Actions */
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Review */
.review-group { margin: 0 0 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: baseline; justify-content: space-between; }
.review-group h2 { font-size: 15px; margin: 0 0 12px; }
.link { color: var(--accent-dark); font-size: 13px; font-weight: 600; }
.review-list { margin: 0; }
.review-row { display: grid; grid-template-columns: 42% 1fr; gap: 14px; padding: 6px 0; font-size: 14px; }
.review-row dt { color: var(--muted); }
.review-row dd { margin: 0; }

/* Success */
.success-card { text-align: center; }
.success-icon { width: 60px; height: 60px; border-radius: 999px; background: #ecf7f1; color: var(--accent); font-size: 32px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; border: 2px solid #bfe0d0; }
.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }
.summary-details { text-align: left; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.summary-details summary { cursor: pointer; font-weight: 600; color: var(--accent-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); }
.footer-inner { padding: 14px 20px; font-size: 12.5px; color: var(--muted); }
.footer-inner p { margin: 0 0 2px; }
.muted { color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .benefits-card .ticklist { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; gap: 22px; }
  .review-row { grid-template-columns: 1fr; gap: 2px; }
  .hero h1 { font-size: 30px; }
  .trust-bar { gap: 12px 24px; margin-top: 40px; }
  .card { padding: 26px 20px; }
}

/* --- Verwaltungsportal (Demo) ---------------------------------------- */
.portal-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.portal-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.portal-table-wrap { overflow-x: auto; }
.portal-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.portal-table th { text-align: left; font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--accent-soft, #eee); white-space: nowrap; }
.portal-table td { padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,.07); vertical-align: top; }
.portal-table tr:hover td { background: rgba(0,0,0,.02); }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .95em; }

/* --- Portal-Login: zweispaltiger Aufbau + Feature-Karten --------------- */
.portal-login { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 40px 0 8px; }
.portal-login-info h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 10px 0 14px; }
.portal-login-info .ticklist { margin-top: 18px; }
.portal-login-card { max-width: 420px; justify-self: end; width: 100%; }
.portal-login-submit { width: 100%; margin: 6px 0 14px; }
.portal-login-back { margin: 14px 0 0; text-align: center; }
.portal-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 24px; }
.portal-feature { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 22px; }
.portal-feature-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft, rgba(0,0,0,.06)); color: var(--accent, #333); margin-bottom: 12px; }
.portal-feature h3 { margin: 0 0 6px; font-size: 17px; }
.portal-feature p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #555; }
@media (max-width: 860px) {
  .portal-login { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .portal-login-card { justify-self: stretch; max-width: none; }
  .portal-features { grid-template-columns: 1fr; }
}

/* --- Landing: Zwei-Perspektiven-Sektion -------------------------------- */
.persp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 6px; }
.persp-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.persp-card h2 { margin: 0; font-size: 21px; }
.persp-card p:not(.eyebrow) { margin: 0 0 10px; color: #555; line-height: 1.55; }
.persp-card .btn { margin-top: auto; }
@media (max-width: 760px) { .persp { grid-template-columns: 1fr; } }
