/* OLS Tuningfiles v2 */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --navy: #0b1220;
  --navy-2: #111a2e;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eff6ff;
  --violet: #7c3aed;
  --violet-50: #f5f3ff;
  --green: #059669;
  --green-50: #ecfdf5;
  --amber: #b45309;
  --amber-50: #fffbeb;
  --red: #dc2626;
  --red-50: #fef2f2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 24px rgba(15, 23, 42, .06);
  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 750; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .9em; background: #f1f5f9; padding: .1em .35em; border-radius: 5px; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.container.small-w, .small-w { max-width: 640px; }
.container.xs { max-width: 460px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); font-size: .92em; }
.break { word-break: break-all; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.hidden { display: none !important; }
.mt { margin-top: 1rem; }
.mt-xl { margin-top: 4rem; }
.pt-0 { padding-top: 0 !important; }
.p-0 { padding: 0 !important; }
.span-2 { grid-column: span 2; }
.w-80 { width: 80px; }
.lead { font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand img { height: 36px; width: auto; display: block; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--violet)); font-size: 16px; }
.brand-name { font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: #cbd5e1; padding: 8px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.lang-menu { position: relative; margin-inline-start: 6px; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: #e2e8f0; font-size: .82rem; font-weight: 600; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: rgba(255,255,255,.08); color: #fff; }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 250px; background: #0f1a2e; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.45); z-index: 30; display: grid; gap: 2px; animation: langIn .14s ease-out; }
@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav .lang-list a { display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: .93rem; color: #cbd5e1; direction: ltr; }
.lang-list a b { display: inline-grid; place-items: center; height: 24px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: #93c5fd; }
.lang-list a span { text-align: start; unicode-bidi: isolate; white-space: nowrap; }
.lang-list a span[dir="rtl"] { text-align: left; font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; }
.nav .lang-list a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav .lang-list a.active { background: rgba(37,99,235,.18); color: #fff; }
.lang-list a.active b { background: var(--blue); border-color: var(--blue); color: #fff; }
.lang-check { color: #60a5fa; }

/* ---------- Rechts-nach-links (Arabisch) ---------- */
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif; }
[dir="rtl"] .hero-points li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .veh-arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .brand-name, [dir="rtl"] .stat strong, [dir="rtl"] .veh-plus, [dir="rtl"] .veh-count { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .mono, [dir="rtl"] code, [dir="rtl"] .dyno, [dir="rtl"] input[type="email"], [dir="rtl"] input[type="file"], [dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="email"], [dir="rtl"] .ltr { text-align: right; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(124, 58, 237, .35), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(37, 99, 235, .35), transparent 60%), var(--navy); color: #fff; padding: 72px 0 84px; }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #93c5fd; background: rgba(37, 99, 235, .15); border: 1px solid rgba(147, 197, 253, .25); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); color: #fff; }
.hero .lead { color: #cbd5e1; max-width: 40ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); background: transparent; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: #cbd5e1; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: #34d399; font-weight: 700; margin-right: 6px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 20px; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 750; letter-spacing: -.02em; }
.stat span { color: #94a3b8; font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: #eef2f7; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.page-head { padding: 44px 0 26px; }
.page-head h1 { margin-top: 10px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-2.gap-lg { gap: 24px; }
.grid-3-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.grid-2 > .card, .grid-3-1 > .card { margin-bottom: 0; }
.service-card { display: flex; flex-direction: column; gap: 6px; }
.service-card .btn { align-self: flex-start; margin-top: auto; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.price { font-weight: 750; font-size: 1.35rem; }
.price small { font-weight: 500; font-size: .8rem; color: var(--muted); }
.price-big { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; letter-spacing: .02em; }
.badge-blue { background: var(--blue-50); color: var(--blue-600); }
.badge-violet { background: var(--violet-50); color: var(--violet); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 16px; }
.chip { font-size: .8rem; background: #f1f5f9; color: var(--ink-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }
.checklist { list-style: none; padding: 0; margin: 4px 0 18px; }
.checklist li { padding-left: 24px; position: relative; margin-bottom: 6px; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.feature { padding: 4px; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-50); font-size: 20px; margin-bottom: 12px; }

.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 20px 16px; margin: 0; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font: inherit; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; text-decoration: none !important; line-height: 1.3; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: #f8fafc; }
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn.disabled, .btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0 10px; }
.btn-row form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; }
.link-btn:hover { text-decoration: underline; }
.link { font-weight: 500; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .875rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=url], input:not([type]), select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
textarea { resize: vertical; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field-error { display: block; color: var(--red); font-size: .85rem; margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: .92rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.check.warn { background: var(--amber-50); border: 1px solid #fde68a; padding: 12px; border-radius: var(--radius-sm); }
.code-input { font-family: var(--mono); font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; }
.auth-card h1 { font-size: 1.6rem; }
.inline-form { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.inline-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inline-row input { width: auto; flex: 1; min-width: 200px; }

/* Upload */
.upload-form { padding: 28px; }
.form-step + .form-step { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.form-step-title { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; }
.step-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 36px 16px; background: #fafcff; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: var(--blue-50); }
.dropzone.has-file { border-style: solid; border-color: var(--green); background: var(--green-50); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-icon { font-size: 26px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.dz-text { font-weight: 600; overflow-wrap: anywhere; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: #fff; font-weight: 500; font-size: .95rem; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--blue); }
.option input { width: 18px; height: 18px; accent-color: var(--blue); }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.summary-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.progress { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin: 16px 0 8px; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--violet)); border-radius: 99px; transition: width .4s ease; }
.trust-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.trust-list li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Order */
.file-card { padding: 18px 24px; }
.file-meta { display: grid; grid-template-columns: 3fr 1fr; gap: 12px 20px; }
.file-meta .chips { margin-bottom: 0; }
.state-card { text-align: center; padding: 36px 24px; }
.state-card h2 { margin-top: 8px; }
.state-icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; background: #f1f5f9; color: var(--ink-2); }
.state-success .state-icon { background: var(--green-50); color: var(--green); }
.state-warn .state-icon { background: var(--amber-50); color: var(--amber); }
.state-card .progress { max-width: 420px; margin-left: auto; margin-right: auto; }
.spinner { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid #dbeafe; border-top-color: var(--blue); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.version-list { display: grid; gap: 8px; }
.version { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.version:hover { border-color: var(--blue); }
.version.selected { border-color: var(--blue); background: var(--blue-50); }
.version input { accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.checkout-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pay-card { margin-top: 24px; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 12px; font-size: .95rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.address { font-style: normal; line-height: 1.6; margin-bottom: 10px; }

/* Alerts & pills */
.flashes { padding-top: 16px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 14px; border: 1px solid; font-size: .95rem; }
.alert-error { background: var(--red-50); border-color: #fecaca; color: #991b1b; }
.alert-success { background: var(--green-50); border-color: #a7f3d0; color: #065f46; }
.alert-info { background: var(--blue-50); border-color: #bfdbfe; color: #1e3a8a; }
.alert-warn { background: var(--amber-50); border-color: #fde68a; color: #92400e; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #f1f5f9; color: var(--ink-2); white-space: nowrap; }
.pill-paid, .pill-ready, .pill-verified { background: var(--green-50); color: var(--green); }
.pill-pending, .pill-processing, .pill-unchecked { background: var(--blue-50); color: var(--blue-600); }
.pill-failed, .pill-no_result, .pill-unverified { background: var(--red-50); color: var(--red); }
.pill-unpaid { background: var(--amber-50); color: var(--amber); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.row-link { cursor: pointer; }
.row-link:hover td { background: #f8fafc; }

/* Legal */
.prose { line-height: 1.75; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.3em; }

/* Footer */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 48px 0 24px; }
.site-footer a { color: #cbd5e1; display: block; margin-bottom: 6px; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-brand { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 10px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 18px; }

/* ---------- Admin ---------- */
body.admin { background: #f1f5f9; }
.admin-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.admin-header-inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 14px; min-height: 58px; flex-wrap: nowrap; }
.admin-header .brand { flex: none; }
.admin-header form { margin-left: auto; white-space: nowrap; flex: none; }
.admin-header .link-btn { color: #cbd5e1; }
.admin-nav { display: flex; gap: 2px; flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); padding-right: 20px; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a { color: #cbd5e1; padding: 7px 9px; border-radius: 8px; font-size: .92rem; white-space: nowrap; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.admin-main { max-width: 1320px; margin: 0 auto; padding: 24px 20px 60px; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-head h1 { font-size: 1.6rem; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.kpi span { display: block; color: var(--muted); font-size: .82rem; }
.kpi strong { font-size: 1.45rem; font-weight: 750; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px; }
.filters input[type=search] { flex: 2; min-width: 220px; }
.filters select { flex: 1; min-width: 140px; width: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; }
.options-table input { padding: 7px 9px; font-size: .9rem; }
.options-table input[type=checkbox] { width: 18px; height: 18px; }
.new-row td { background: #f8fafc; }
.logo-row { margin-bottom: 12px; min-height: 40px; }
.logo-preview { max-height: 60px; background: repeating-conic-gradient(#f1f5f9 0% 25%, #fff 0% 50%) 50% / 16px 16px; padding: 6px; border-radius: 8px; border: 1px solid var(--line); }
.sticky-save { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, #f1f5f9 35%); text-align: right; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
h4 { font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .grid-3-1 { grid-template-columns: 1fr; }
  .grid-4, .steps, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .header-inner { position: relative; }
  .lang-menu { position: static; }
  .lang-list { inset-inline: 16px; top: 100%; min-width: 0; }
  .container { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; padding: 10px 16px; }
  .nav { width: 100%; justify-content: flex-start; }
  .nav a { padding: 6px 9px; }
  .hero { padding: 48px 0 56px; }
  .grid-2, .grid-4, .steps, .form-grid, .file-meta, .footer-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .card, .upload-form { padding: 18px; }
  .section { padding: 44px 0; }
  .summary-row .btn, .checkout-bar .btn { width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 8px; }
}
.grid-2 + .card { margin-top: 20px; }
.grid-2.single { grid-template-columns: minmax(0, 620px); justify-content: center; }
/* Hauptportal-Hinweis */
.portal-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 28px; margin-bottom: 20px; border-radius: var(--radius); color: #fff; background: radial-gradient(600px 220px at 100% 0%, rgba(124, 58, 237, .55), transparent 70%), linear-gradient(135deg, #0b1220, #1e3a8a); box-shadow: 0 10px 30px rgba(30, 58, 138, .25); }
.portal-cta h3 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.portal-cta p { margin: 0; color: #cbd5e1; max-width: 46ch; }
.portal-btn { background: #fff; color: var(--navy); }
.portal-btn:hover { background: #e0e7ff; }
/* SEO-Bereiche Startseite */
.seo-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.seo-intro p { color: var(--ink-2); }
.seo-facts { margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-3 > .card { margin-bottom: 0; }
.sol-card h3 { margin-bottom: 6px; }
@media (max-width: 960px) { .seo-intro { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-3 { grid-template-columns: 1fr; } .portal-cta { padding: 22px 20px; } .portal-btn { width: 100%; } }

/* WinOLS-API Status */
.api-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin-left: 2px; }
.api-dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.api-dot.off { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.2); }
.api-dot.big { width: 14px; height: 14px; margin: 5px 0 0; flex: none; }
.api-status { display: flex; gap: 12px; align-items: flex-start; }
.api-newkey { border: 2px solid var(--green, #16a34a); }
.api-newkey .inline-row input { flex: 1; min-width: 0; }

/* Besucher-Log */
.flag { width: 20px; height: 15px; vertical-align: -2px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); object-fit: cover; }
.seg { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 3px; gap: 2px; }
.seg a { padding: 6px 12px; border-radius: 8px; font-size: .9rem; color: var(--ink-2); }
.seg a:hover { text-decoration: none; background: rgba(255,255,255,.6); }
.seg a.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.stat-row .card { margin-bottom: 0; }
.stat-num { font-size: 1.9rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.country-bars { display: grid; gap: 6px; }
.country-bar { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 48px; gap: 12px; align-items: center; padding: 6px 8px; border-radius: 8px; color: var(--ink); }
.country-bar:hover, .country-bar.active { background: #f1f5f9; text-decoration: none; }
.cb-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-track { height: 8px; background: #eef2f7; border-radius: 99px; overflow: hidden; }
.cb-fill { display: block; height: 100%; background: var(--blue-600, #2563eb); border-radius: 99px; min-width: 4px; }
.cb-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.cell-path { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr; }
  .country-bar { grid-template-columns: minmax(110px, 1fr) 1fr 36px; gap: 8px; }
}
@media (max-width: 640px) {
  .admin-header .brand-name { display: none; }
  .admin-header-inner { padding: 0 12px; gap: 8px; }
}
.block-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.block-form input[name=ip] { flex: 1 1 240px; max-width: 360px; }
.block-form .check { display: inline-flex; align-items: center; gap: 6px; width: auto; margin: 0; }
.block-form .check input { width: auto; margin: 0; }

/* CVN / Checksum */
.badge-green { background: var(--green-50); color: var(--green); }
.preview-bar { background: #fef3c7; color: #92400e; text-align: center; font-size: .9rem; font-weight: 600; padding: 8px 16px; border-bottom: 1px solid #fde68a; }
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mode-card { position: relative; display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--line-2); border-radius: var(--radius); padding: 14px 14px 12px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.mode-card:hover { border-color: var(--blue); }
.mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.mode-card:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.mode-name { font-weight: 700; }
.mode-price { font-weight: 700; margin-top: auto; padding-top: 6px; color: var(--ink); }
.dropzone-sm { padding: 18px 16px; }
.result-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px auto 0; max-width: 420px; text-align: left; font-size: .95rem; }
.result-facts dt { color: var(--muted); }
.result-facts dd { margin: 0; font-weight: 600; word-break: break-all; }
@media (max-width: 640px) { .mode-grid { grid-template-columns: 1fr; } }

/* Erstattung */
.pill-refunded { background: #f1f5f9; color: #475569; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; text-decoration: none; }
.refund-box { border-top: 1px solid var(--line); padding-top: 14px; }
.refund-box summary { cursor: pointer; color: #b91c1c; font-weight: 600; font-size: .95rem; }
.credit-list { list-style: none; padding: 0; margin: 10px 0 0; }
.credit-list li { padding: 4px 0; }

/* Startseite: CVN / Checksum */
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-explain .section-head .badge { margin-bottom: 10px; }
.cs-tip { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; border-left: 4px solid var(--green, #16a34a); }
.cs-tip p { margin: 4px 0 0; }
.preview-note { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; border-radius: 8px; padding: 8px 12px; font-size: .9rem; font-weight: 600; text-align: center; margin: 0 0 20px; }
@media (max-width: 900px) { .steps.steps-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cs-tip { flex-direction: column; align-items: stretch; } .cs-tip .btn { width: 100%; } }
.cs-explain .steps { margin-top: 20px; }

/* CVN / Checksum: kompakte Upload-Felder (halbe Höhe, Icon links) */
.upload-form[data-service="checksum"] .dropzone { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; justify-items: start; text-align: left; padding: 16px 18px; }
.upload-form[data-service="checksum"] .dz-icon { grid-row: span 2; width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }

/* Admin: Sicherheit / 2FA */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.otp-input { font-size: 1.35rem; letter-spacing: .25em; text-align: center; }
.sec-steps { margin: 6px 0 18px; padding-left: 20px; line-height: 1.7; }
.secret-key { display: inline-block; background: var(--bg-2, #f1f5f9); padding: 2px 8px; border-radius: 6px; letter-spacing: .06em; word-break: break-all; }
.sec-setup { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.qr-box { background: #fff; border: 1px solid var(--line, #e2e8f0); border-radius: 14px; padding: 8px; line-height: 0; }
.qr-box svg { width: 220px; height: 220px; max-width: 100%; }
.sec-box { flex: 1; min-width: 240px; }
.sec-box h4 { margin: 0 0 4px; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 14px; }
.backup-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 16px; font-size: 1.05rem; margin-top: 10px; }
.backup-codes span { background: var(--bg-2, #f1f5f9); padding: 6px 10px; border-radius: 6px; text-align: center; }
.alert-2fa { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sec-setup .sec-box { max-width: 380px; }

/* Login: Bot-Falle (für Menschen unsichtbar) */
.hp-field { position: absolute !important; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* =================== Tuned Files / Konfigurator =================== */
.configurator { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cfg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.cfg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cfg-field > span { font-size: .78rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.cfg-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; flex: none; }
.cfg-field select { width: 100%; height: 48px; padding: 0 38px 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; font: inherit; font-size: .95rem; color: var(--ink); text-overflow: ellipsis; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cfg-field select:hover:not(:disabled) { border-color: var(--blue); }
.cfg-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.cfg-field select:disabled { background-color: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
.cfg-field.loading select { background-image: none; }
.configurator-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; backdrop-filter: blur(6px); margin-top: 26px; }
.configurator-dark .cfg-field > span { color: #cbd5e1; }
@media (max-width: 980px) { .cfg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cfg-steps { grid-template-columns: 1fr; } }

.home-cfg { padding-top: 0; margin-top: -44px; position: relative; z-index: 2; }
.home-cfg-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 40px rgba(15, 23, 42, .10); padding: 26px 26px 20px; }
.home-cfg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.home-cfg-head h2 { margin: 0; font-size: 1.35rem; }
.home-cfg-head p { margin: 0; }
.home-cfg .configurator { border: 0; box-shadow: none; padding: 0; }
.home-cfg-makes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.home-cfg-makes a { font-size: .85rem; padding: 5px 12px; border-radius: 999px; background: #f1f5f9; color: var(--ink-2); border: 1px solid var(--line); }
.home-cfg-makes a:hover { background: var(--blue-50); color: var(--blue-600); border-color: #bfdbfe; text-decoration: none; }
.home-cfg-makes a.more { background: none; border-color: transparent; color: var(--blue); font-weight: 600; }

.hero-veh { padding: 34px 0 56px; }
.hero-veh h1 { max-width: 28ch; }
.hero-veh .lead { max-width: 70ch; }
.hero-veh-sm { padding-bottom: 46px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 22px; padding: 0; font-size: .85rem; }
.crumbs li { color: #94a3b8; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #64748b; }
.crumbs a { color: #cbd5e1; }
.crumbs [aria-current] { color: #fff; }

.veh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.veh-grid-makes { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.veh-tile { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.veh-tile:hover { border-color: #93c5fd; box-shadow: var(--shadow); transform: translateY(-1px); text-decoration: none; }
.veh-tile-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
.veh-initial { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 750; margin-bottom: 8px; }
.veh-name { font-weight: 650; }
.veh-count { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.veh-fuel-h { margin: 28px 0 12px; }
.veh-fuel-h:first-child { margin-top: 0; }
.veh-table-card { padding: 0; overflow: hidden; }
.veh-table td, .veh-table th { padding: 13px 16px; }
.veh-table tbody tr:hover { background: #f8fafc; }
.veh-gain { color: var(--green); font-weight: 650; }

.veh-engine { padding-top: 0; }
.veh-kpis { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 16px; margin-top: -34px; position: relative; z-index: 2; margin-bottom: 20px; }
.veh-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15, 23, 42, .08); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.veh-kpi-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.veh-kpi-nm .veh-kpi-label { color: var(--violet); }
.veh-kpi-row { display: flex; align-items: flex-end; gap: 14px; }
.veh-kpi-row > div { display: flex; flex-direction: column; }
.veh-kpi-row small { font-size: .75rem; color: var(--muted); }
.veh-kpi-row strong { font-size: 2rem; line-height: 1.1; font-weight: 750; color: var(--ink-2); }
.veh-kpi-row em { font-style: normal; font-size: .85rem; color: var(--muted); }
.veh-kpi-tuned strong { font-size: 2.5rem; color: var(--blue); }
.veh-kpi-nm .veh-kpi-tuned strong { color: var(--violet); }
.veh-arrow { font-size: 1.4rem; color: #94a3b8; padding-bottom: 14px; }
.veh-plus { display: inline-block; align-self: flex-start; background: var(--green-50); color: var(--green); font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: .9rem; }
.veh-plus span { font-weight: 600; opacity: .8; }
.veh-kpi-cta { background: linear-gradient(135deg, #0b1220, #172554); color: #fff; border: 0; }
.veh-kpi-cta .veh-kpi-label { color: #93c5fd; }
.veh-kpi-cta p { color: #cbd5e1; font-size: .92rem; margin: 0 0 6px; }
.veh-kpi-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.veh-kpi-cta .btn + .btn { margin-top: 4px; }
@media (max-width: 960px) { .veh-kpis { grid-template-columns: 1fr 1fr; } .veh-kpi-cta { grid-column: 1 / -1; } }
@media (max-width: 600px) { .veh-kpis { grid-template-columns: 1fr; } }

.dyno { margin: 0; }
.dyno-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--ink-2); margin-bottom: 8px; }
.dyno-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { display: inline-block; width: 22px; height: 0; border-top: 3px solid; border-radius: 2px; }
.lg-hp { border-color: #2563eb; } .lg-hp-s { border-color: #93c5fd; border-top-style: dashed; }
.lg-nm { border-color: #7c3aed; } .lg-nm-s { border-color: #c4b5fd; border-top-style: dashed; }
.dyno-wrap { position: relative; }
.dyno svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.dy-grid line { stroke: #e2e8f0; stroke-width: 1; }
.dy-grid line.dy-v { stroke: #f1f5f9; }
.dy-ax { font-size: 12px; fill: #64748b; }
.dy-ax-hp { fill: #2563eb; } .dy-ax-nm { fill: #7c3aed; }
.dy-unit { font-size: 12px; font-weight: 700; fill: #475569; }
.dy-l { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dy-hp { stroke: #2563eb; } .dy-nm { stroke: #7c3aed; }
.dy-hp-s { stroke: #93c5fd; stroke-dasharray: 7 6; stroke-width: 2.5; }
.dy-nm-s { stroke: #c4b5fd; stroke-dasharray: 7 6; stroke-width: 2.5; }
.dy-hover { opacity: 0; transition: opacity .12s; pointer-events: none; }
.dyno.hovering .dy-hover { opacity: 1; }
.dy-cursor { stroke: #94a3b8; stroke-width: 1; stroke-dasharray: 3 3; }
.dy-dot-hp { fill: #2563eb; stroke: #fff; stroke-width: 2; } .dy-dot-nm { fill: #7c3aed; stroke: #fff; stroke-width: 2; }
.dy-hit { fill: transparent; cursor: crosshair; }
.dyno-tip { position: absolute; top: 8px; pointer-events: none; background: rgba(11, 18, 32, .94); color: #fff; font-size: .8rem; line-height: 1.5; padding: 8px 11px; border-radius: 9px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); white-space: nowrap; transform: translateX(-50%); }
.dyno-tip b { color: #93c5fd; } .dyno-tip b.nm { color: #c4b5fd; }
.dyno figcaption { margin-top: 8px; }

.veh-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.veh-cols > div > .card:last-child, .veh-cols > .card { margin-bottom: 20px; }
@media (max-width: 860px) { .veh-cols { grid-template-columns: 1fr; } }
.veh-specs { margin: 0; }
.veh-specs > div { display: grid; grid-template-columns: 44% 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.veh-specs > div:last-child { border-bottom: 0; }
.veh-specs dt { color: var(--muted); font-size: .9rem; }
.veh-specs dd { margin: 0; font-weight: 600; word-break: break-word; }
.chip-tool { background: var(--blue-50); color: var(--blue-600); border-color: #bfdbfe; font-weight: 600; }
.chip-opt { background: var(--green-50); color: var(--green); border-color: #a7f3d0; font-weight: 600; }
.veh-text p { color: var(--ink-2); }
.veh-sib-h { margin: 32px 0 12px; }
.veh-again { margin-top: 28px; }
.veh-again .configurator { border: 0; box-shadow: none; padding: 0; }
.veh-how .card { margin-bottom: 0; }
.veh-how .cfg-num { width: 30px; height: 30px; font-size: .9rem; margin-bottom: 10px; }

/* Admin: Seitenleiste */
.pager-full { justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.pager-nums { display: flex; gap: 4px; align-items: center; }
.pager-nums a, .pager-nums span { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: .9rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.pager-nums a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.pager-nums .cur { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.pager-nums .off { opacity: .35; }
.pager-nums .gap { border: 0; background: none; min-width: 18px; }
.pager-per label { display: inline-flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
.pager-per select { width: auto; margin: 0; padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; }

/* Admin: Newsletter */
.nl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .nl-grid { grid-template-columns: 1fr; } }
.nl-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.nl-form textarea { font-family: inherit; line-height: 1.55; }
.nl-tabs { display: flex; gap: 6px; margin: 14px 0 12px; border-bottom: 1px solid var(--line); }
.nl-tab { border: 0; background: none; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.nl-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.nl-help { margin-top: -4px; }
.nl-actions { flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.nl-actions input { flex: 1; min-width: 200px; }
.nl-side { position: sticky; top: 76px; }
.nl-preview-card { padding: 14px; }
.nl-preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.nl-preview-head span { display: flex; gap: 6px; align-items: center; }
.nl-plang { font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); }
.nl-plang.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.nl-frame { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 10px; background: #eef2f7; }
.nl-progress .nl-bar { height: 10px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin-bottom: 10px; }
.nl-progress .nl-bar div { height: 100%; background: linear-gradient(90deg, var(--blue), #4ade80); transition: width .4s; }
.nl-speed { margin-top: 4px; gap: 6px; }
.nl-speed input { width: 80px; padding: 4px 8px; }
.kpi small { display: block; margin-top: 2px; }

/* Admin: Einstellungen mit Reitern */
.set-tabs { display: flex; gap: 4px; margin: 0 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.set-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; font-weight: 600; font-size: .95rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; border-radius: 8px 8px 0 0; }
.set-tabs a:hover { color: var(--ink); background: #f1f5f9; text-decoration: none; }
.set-tabs a.active { color: var(--blue); border-bottom-color: var(--blue); background: var(--surface); }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.pay-head h3 { margin: 0 0 2px; }
.pay-soon { opacity: .75; }

/* Checkout: PayPal */
.pay-or { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: var(--muted); font-size: .85rem; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-paypal { background: #ffc439; color: #111827; border: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.btn-paypal:hover { background: #f2b52a; color: #111827; }
.btn-paypal svg { display: block; margin-top: 2px; }
.pill-paypal { background: #fff4d6; color: #003087; }
