@import url('/fonts/fonts.css');
@import url('/fonts/brand.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Frickelfabrik-Design: Petrol + Amber, Schrift Geist (siehe frickelfabrik.de/styles/global.css) */
:root {
  /* pcap-diagnose.de: ruhige, neutrale Palette – Zinc-Grau + ein gedeckter Teal-Akzent, flach */
  --teal-800:#115e59; --teal-700:#0f766e; --teal-600:#0d9488; --teal-100:#ccfbf1; --teal-50:#f0fdfa;
  --zinc-900:#18181b; --zinc-800:#27272a; --zinc-700:#3f3f46; --zinc-600:#52525b; --zinc-500:#71717a; --zinc-300:#d4d4d8; --zinc-200:#e4e4e7; --zinc-100:#f4f4f5; --zinc-50:#fafafa;
  --primary: #0f766e;
  --primary-hover: #115e59;
  --accent: #0f766e;
  --bg: #f7f7f6;
  --card-bg: #ffffff;
  --border: #e4e4e7;
  --line: #e4e4e7;
  --text: #18181b;
  --fg: #18181b;
  --muted: #71717a;
  --danger: #C62828;
  --success: #2E7D32;
  --link: #0f766e;
  --shadow: 0 1px 2px #18181b0d, 0 8px 24px #18181b10;
  /* Alias-Namen älterer Komponenten -> ruhige Palette */
  --amber: #0f766e; --amber-600: #115e59; --amber-100: #ccfbf1; --brand-amber: #0f766e;
  --indigo-50: #f0fdfa; --indigo-100: #ccfbf1; --indigo-500: #0d9488; --indigo-600: #0f766e; --indigo-700: #115e59;
  --slate-50: #fafafa; --slate-100: #f4f4f5; --slate-200: #e4e4e7; --slate-500: #71717a; --slate-700: #3f3f46; --slate-800: #27272a; --slate-900: #18181b;
  --petrol-50: #f4f4f5; --petrol-100: #e4e4e7; --petrol-500: #52525b; --petrol-600: #0f766e; --petrol-700: #115e59; --petrol-800: #27272a; --petrol-900: #18181b;
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, monospace;
  --radius: 12px;
  --radius-sm: 8px;
  color-scheme: light;
}

h1, h2 { font-family: var(--f-display); letter-spacing: -.01em; }
.ff-brand-text, .ff-login-title, .legal-title { font-family: var(--f-display); }

body, input, textarea, select, button {
  font-family: var(--f-sans);
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 135, 150, .15);
}

.content-wrapper { max-width: 1400px; margin: 24px auto; padding: 0 24px; width: 100%; }

/* ── FOOTER ── */
.ff-footer { margin-top: auto; width: 100%; background: var(--petrol-900); color: #b9d3ce; }
.ff-footer-inner { max-width: 1400px; margin: 0 auto; padding: 18px 24px; font-size: 13px; text-align: center; }
.ff-footer-support strong { color: #e9f7f1; }
.ff-footer a { color: #e9f7f1; text-decoration: none; }
.ff-footer a:hover { text-decoration: underline; }
.ff-footer-sep { color: #2a5452; margin: 0 .35rem; }

/* ── HEADER ── weiß, Petrol-Text, Amber-Brand (wie frickelfabrik.de) */
.ff-header { background: #ffffff; color: var(--petrol-800); width: 100%; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 #ece4d6; }
.ff-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; max-width: 1400px; margin: 0 auto; flex-wrap: wrap; gap: .5rem; }
.ff-brand { display: flex; flex-direction: column; }
.ff-logo-img { height: 56px; width: auto; }
.ff-header-right { display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.ff-tool-name { font-weight: 700; font-size: 15px; color: var(--petrol-800); }
.ff-navlink { color: var(--petrol-800); text-decoration: none; opacity: .9; padding: 6px 10px; border-radius: 8px; }
.ff-navlink:hover { opacity: 1; background: #0e3b3a0f; text-decoration: none; }
.ff-navlink.is-active { opacity: 1; font-weight: 700; background: #0e3b3a0f; text-decoration: none; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 8px 8px 0 0; }
.ff-user { opacity: .75; color: var(--muted); }
.ff-logout { color: var(--petrol-800); text-decoration: none; opacity: .8; }
.ff-logout:hover { opacity: 1; text-decoration: underline; }

/* ── LOGIN ── */
.ff-login-wrapper { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 70px); }
.ff-login-card { background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 2.5rem 3rem; width: 100%; max-width: 700px; text-align: center; }
.ff-login-title { font-size: 1.4rem; font-weight: 700; margin-bottom: .25rem; color: var(--text); }
.ff-login-version { font-size: .75rem; color: var(--muted); margin-bottom: 1.5rem; }
.ff-login-form { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: nowrap; }
.ff-login-field { display: flex; flex-direction: row; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.ff-login-field small { font-size: .7rem; font-weight: 400; text-transform: none; color: var(--muted); }
.ff-login-field input { min-width: 140px; height: 36px; }
.ff-login-form button { height: 36px; padding: 0 24px; background: var(--amber); color: #1c1f1e; border: none; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s; }
.ff-login-form button:hover { background: var(--amber-600); }
.ff-login-hint { font-size: .75rem; color: var(--muted); margin-top: 1.5rem; }

/* ── SCHMALE ZENTRIERTE KARTE (Passwort ändern etc.) ── */
.ff-card-narrow { max-width: 420px; text-align: left; }
.ff-card-narrow .ff-login-title { text-align: center; }

/* ── ALERTS ── */
.alert { padding: .6rem .9rem; border-radius: var(--radius-sm); font-size: .875rem; margin-bottom: 1rem; text-align: left; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); }
.alert-ok    { background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--success); }

/* ── ADMIN-SEITEN (Einstellungen, Audit-Log) ── */
.admin-page { display: flex; flex-direction: column; min-height: 100vh; }
.admin-wrap { width: 100%; }
.admin-heading { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.admin-section { background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 1.25rem; }

.section-title { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1rem; }

/* Einklappbare Einstellungs-Bereiche (details/summary), standardmäßig zu */
details.admin-section > summary.section-title {
  cursor: pointer;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  user-select: none;
}
details.admin-section > summary.section-title::-webkit-details-marker { display: none; }
details.admin-section > summary.section-title::before {
  content: "\203A"; /* › — dreht sich beim Aufklappen */
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent);
  transition: transform .15s ease;
}
details.admin-section[open] > summary.section-title::before { transform: rotate(90deg); }
details.admin-section[open] > summary.section-title { margin-bottom: 1rem; }
.muted { color: var(--muted); font-size: .8rem; }

.field { margin-bottom: 1rem; text-align: left; }
.field label { display: block; font-size: .75rem; font-weight: 600; color: var(--text); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .04em; }
.field input, .field textarea, .field select { width: 100%; }
.field textarea { resize: vertical; min-height: 4.5rem; }

.user-form { display: flex; flex-direction: column; gap: .9rem; }
.btn-primary { padding: .6rem 1.1rem; background: var(--amber); color: #1c1f1e; border: none; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700; cursor: pointer; align-self: flex-start; transition: background .15s; }
.btn-primary:hover { background: var(--amber-600); }
.btn-primary:disabled { opacity: .5; cursor: default; }
.btn-secondary { padding: .6rem 1.1rem; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700; cursor: pointer; transition: border-color .15s, color .15s; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── BENUTZERVERWALTUNG ── */
.role-badge { display: inline-flex; padding: .2rem .6rem; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.role-admin { background: #FCE4EC; color: var(--primary); border: 1px solid var(--primary); }
.role-benutzer { background: #E0F2F1; color: var(--accent); border: 1px solid var(--accent); }

.status-badge { display: inline-flex; padding: .2rem .6rem; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-active { background: #f0fdf4; color: var(--success); border: 1px solid var(--success); }
.status-inactive { background: #f3f3f4; color: var(--muted); border: 1px solid var(--border); }

.row-actions { display: flex; gap: .35rem; white-space: nowrap; }
.row-action-btn { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); cursor: pointer; transition: border-color .15s, color .15s; font-size: 14px; }
.row-action-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.row-action-btn:disabled { opacity: .35; cursor: not-allowed; }

.audit-table th[data-sort] { cursor: pointer; user-select: none; }
.audit-table th[data-sort]:hover { color: var(--accent); }

/* ── DIALOGE (Benutzerverwaltung) ── */
.ff-dialog { border: 2px solid var(--accent); border-radius: var(--radius); padding: 1.5rem 1.75rem; max-width: 420px; width: 90vw; }
.ff-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.ff-dialog .admin-heading { margin-bottom: 1rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .5rem; }

.audit-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.audit-table th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .5rem .6rem; border-bottom: 2px solid var(--border); }
.audit-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--border); color: var(--text); }
.audit-table tbody tr:hover { background: #FAFAFB; }

/* ── PCAP-DIAGNOSE HAUPTSEITE ── */
.pcap-wrap { width: 100%; }
.pcap-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pcap-heading { font-size: 1.15rem; font-weight: 700; margin: 0; color: var(--text); }

.pcap-utility-row { margin-bottom: 1rem; }
.ff-textlink { background: none; border: none; color: var(--accent); font-size: 13px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: .35rem; }
.ff-textlink:hover { text-decoration: underline; }
.ff-textlink.is-active { font-weight: bold; }

.pcap-card { background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 24px; }
.pcap-card-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 1rem; }

.pcap-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .pcap-form-grid { grid-template-columns: 1fr; } }
.pcap-col { display: flex; flex-direction: column; gap: 1rem; }

.pcap-dropzone { border: 2px dashed var(--accent); border-radius: var(--radius-sm); padding: 2rem 1rem; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; background: #fff; }
.pcap-dropzone:hover { background: rgba(0, 135, 150, .08); }
.pcap-dropzone.drag-over { background: rgba(0, 135, 150, .08); }
.pcap-dropzone-icon { font-size: 1.8rem; color: var(--accent); display: block; margin-bottom: .5rem; }
.pcap-dropzone .drop-text { font-size: 14px; font-weight: 600; color: var(--text); }
.pcap-dropzone-sub { font-size: 12px; color: var(--muted); margin-top: .25rem; }
.pcap-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.pcap-field { display: flex; flex-direction: column; gap: .35rem; }
.pcap-field[hidden] { display: none; }
.pcap-field label { font-family: Arial, Verdana, sans-serif; font-size: 12px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .03em; }
.pcap-field .pcap-optional { text-transform: none; font-weight: 400; color: var(--muted); }
.pcap-field textarea, .pcap-field input, .pcap-field select { width: 100%; resize: vertical; }

.pcap-produkt-field { max-width: 420px; margin-bottom: 1.5rem; }
#isdnUploadSection { display: flex; flex-direction: column; gap: 1rem; }
#isdnUploadSection[hidden] { display: none; }
#formFields[hidden] { display: none; }
#formFields.is-entering { animation: formFadeIn .22s ease; }
@keyframes formFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.pcap-context-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.pcap-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 480px) { .pcap-row-2 { grid-template-columns: 1fr; } }

.pcap-hint-sm { font-size: 11px; color: var(--muted); margin: 0; }
.pcap-hint-center { font-size: 11px; color: var(--muted); text-align: center; margin-top: .5rem; }

.pcap-debug-content { background: #1d1f21; color: #d4d4d4; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 480px; overflow-y: auto; border-radius: var(--radius-sm); padding: 1rem; margin-top: .5rem; }

.pcap-submit-btn { width: 100%; padding: 12px 32px; background: var(--amber); color: #1c1f1e; border: none; border-radius: var(--radius-sm); font-family: var(--f-sans); font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .5rem; transition: background .15s; }
.pcap-submit-btn:hover { background: var(--amber-600); }
.pcap-submit-btn:disabled { opacity: .7; cursor: default; }

/* ── PCAP PRECHECK AMPEL ── */
.pcap-precheck-card { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }

.pcap-precheck-ampel { display: flex; align-items: center; gap: .55rem; padding: .65rem 1rem; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; flex-wrap: wrap; }
.pcap-precheck-ampel .ti { font-size: 1.1rem; flex-shrink: 0; }
.pcap-precheck-ampel-text { flex: 1; }
.pcap-precheck-meta { margin-left: auto; font-size: 11px; font-weight: 400; color: inherit; opacity: .75; white-space: nowrap; }

.pcap-precheck-green  { background: #f0fdf4; border: 1px solid #2E7D32; color: #1B5E20; }
.pcap-precheck-yellow { background: #FFFDE7; border: 1px solid #F9A825; color: #795548; }
.pcap-precheck-red    { background: #FFEBEE; border: 1px solid #C62828; color: #B71C1C; }

/* Link-Layer-Hinweis (Encapsulation): eigene Achse neben der SIP/RTP-Ampel */
.pcap-precheck-linklayer { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; padding: .5rem .85rem; border-radius: var(--radius-sm); font-size: 12px; }
.pcap-precheck-linklayer .ti { font-size: 1rem; flex-shrink: 0; }
.pcap-precheck-ll-green  { background: #f0fdf4; border: 1px solid #2E7D32; color: #1B5E20; }
.pcap-precheck-ll-yellow { background: #FFFDE7; border: 1px solid #F9A825; color: #795548; }
.pcap-precheck-ll-red    { background: #FFEBEE; border: 1px solid #C62828; color: #B71C1C; }

.pcap-precheck-calls { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.pcap-precheck-calls-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem .75rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); background: #fff; }
.pcap-precheck-calls-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.pcap-precheck-reg { font-size: 11px; display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .5rem; border-radius: 999px; }
.pcap-precheck-reg-success   { background: #f0fdf4; color: var(--success); border: 1px solid var(--success); }
.pcap-precheck-reg-failed    { background: #fef2f2; color: var(--danger);  border: 1px solid var(--danger); }
.pcap-precheck-reg-challenge { background: #fff8e1; color: #795548;        border: 1px solid #F9A825; }

.pcap-precheck-reg-solo { display: inline-flex; align-items: center; gap: .35rem; font-size: 12px; padding: .4rem .75rem; border-radius: var(--radius-sm); }

.pcap-precheck-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pcap-precheck-table th { text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .4rem .75rem; background: #fafafa; }
.pcap-precheck-table td { padding: .4rem .75rem; border-top: 1px solid var(--border); color: var(--text); }
.pcap-precheck-table td code { font-size: 11px; font-family: 'SFMono-Regular', Consolas, monospace; background: rgba(0,0,0,.04); padding: .1rem .3rem; border-radius: 3px; }
.pcap-precheck-rtp { text-align: center; }
.pcap-precheck-rtp .ti-check { color: var(--success); }
.pcap-precheck-rtp .ti-x     { color: var(--muted); }

.pcap-precheck-sc { display: inline-block; padding: .1rem .4rem; border-radius: 3px; font-size: 11px; font-weight: 700; font-family: 'SFMono-Regular', Consolas, monospace; }
.pcap-precheck-sc-ok  { background: #f0fdf4; color: #1B5E20; }
.pcap-precheck-sc-err { background: #fef2f2; color: var(--danger); }
.pcap-precheck-sc-inf { background: #EEF2FF; color: #3730a3; }

.pcap-precheck-codes { display: flex; flex-wrap: wrap; gap: .35rem; padding: .1rem 0; }
.pcap-precheck-code  { padding: .2rem .55rem; border-radius: 999px; font-size: 11px; font-weight: 700; font-family: 'SFMono-Regular', Consolas, monospace; }

.pcap-precheck-dns { font-size: 11px; color: var(--muted); display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.pcap-precheck-dns code { font-size: 11px; }
.pcap-precheck-dns-type { font-size: 10px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 3px; padding: 0 .3rem; margin-left: -.2rem; color: var(--muted); }

.pcap-divider { height: 1px; background: var(--border); margin: 2rem 0; }
.pcap-section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 1rem; }

.pcap-kat-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: 13px; margin-bottom: 1.25rem; }
.pcap-kat-b_teilnehmer { background: #FFF3E0; border: 1px solid #E65100; color: #E65100; }
.pcap-kat-a_teilnehmer { background: #FFEBEE; border: 1px solid #C62828; color: #C62828; }
.pcap-kat-netzwerk     { background: #E0F2F1; border: 1px solid #1a6b68; color: #1a6b68; }
.pcap-kat-unklar       { background: #F3F3F4; border: 1px solid #999999; color: #666666; }

.pcap-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .pcap-result-grid { grid-template-columns: 1fr; } }

.pcap-kurzfazit { border-left: 4px solid var(--accent); background: var(--card-bg); border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: 1rem; font-size: 13px; line-height: 1.6; color: var(--text); }

.pcap-diagnose-box { max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; font-size: 13px; line-height: 1.6; color: var(--text); }
.pcap-diagnose-box h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin: 14px 0 4px 0; color: var(--primary); }
.pcap-diagnose-box h3:first-child { margin-top: 0; }
.pcap-diagnose-box p { margin: 0 0 .5rem; }
.pcap-diagnose-box ul, .pcap-diagnose-box ol { margin: 0 0 .5rem 1.1rem; }
.pcap-diagnose-box strong { font-weight: 700; }

.pcap-customerinfo-card { display: flex; flex-direction: column; gap: .75rem; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.pcap-customerinfo-header { display: flex; align-items: center; justify-content: space-between; }
.pcap-label-sm { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.pcap-copy-btn { background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .3rem .7rem; font-size: 12px; color: var(--accent); cursor: pointer; display: flex; align-items: center; gap: .35rem; transition: border-color .15s, color .15s; text-decoration: none; width: fit-content; }
.pcap-copy-btn:hover { border-color: var(--accent); color: var(--primary); }
.pcap-customerinfo-text { font-size: 13px; line-height: 1.6; color: var(--text); white-space: pre-wrap; }

.pcap-actions { display: flex; gap: .75rem; margin-top: 1rem; }
.pcap-action-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; background: #fff; cursor: pointer; transition: border-color .15s, color .15s; }
.pcap-action-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.spin { animation: pcap-spin 1s linear infinite; display: inline-block; }
@keyframes pcap-spin { to { transform: rotate(360deg); } }

/* ── Symptom-Field ──────────────────────────────────────────────────────── */
.pcap-symptom-field { margin-top: .5rem; }
.pcap-symptom-field select { font-size: 15px; padding: .55rem .75rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border); width: 100%; background: #fff; color: var(--text); cursor: pointer; }
.pcap-symptom-field select:focus { outline: none; border-color: var(--accent); }

/* ── Call-Selector ──────────────────────────────────────────────────────── */
.pcap-call-select-table th:first-child,
.pcap-call-select-table td:first-child { width: 2.25rem; text-align: center; padding-left: .5rem; padding-right: .25rem; }
.pcap-call-select-table input[type=radio] { accent-color: var(--primary); cursor: pointer; width: 14px; height: 14px; }
.pcap-call-select-row { cursor: pointer; transition: background .1s; }
.pcap-call-select-row:hover { background: rgba(0,0,0,.03); }
.pcap-call-select-row.pcap-call-select-selected { background: rgba(150, 20, 75, .06); }
.pcap-precheck-action-row { display: flex; justify-content: flex-end; padding-top: .25rem; }
/* ── SBC-Leg-Gruppierung ────────────────────────────────────────────────── */
.pcap-leg-count { font-size: 10px; color: var(--muted); font-weight: 600; }
.pcap-leg-toggle { border: none; background: none; color: var(--muted); cursor: pointer; padding: 0 .2rem 0 0; line-height: 1; vertical-align: middle; }
.pcap-leg-toggle i { transition: transform .12s; display: inline-block; }
.pcap-leg-toggle.open i { transform: rotate(90deg); }
.pcap-call-leg-row { background: rgba(0,0,0,.015); }
.pcap-call-leg-row .pcap-leg-label { color: var(--muted); font-size: 11px; padding-left: 1rem; }
.pcap-call-leg-row .pcap-leg-id { font-size: 10px; color: var(--muted); }

/* ── Toast-Notification ─────────────────────────────────────────────────── */
.pcap-toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: #222; color: #fff; font-size: 13px; font-weight: 600; padding: .65rem 1.1rem; border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(0,0,0,.25); opacity: 0; transform: translateY(.5rem); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 9999; }
.pcap-toast.pcap-toast-show { opacity: 1; transform: translateY(0); }

/* ── Ticket-Export-Buttons ───────────────────────────────────────────────── */
.pcap-export-row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; padding: .75rem 1rem; background: #f8f8f8; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pcap-export-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.pcap-export-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.pcap-export-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .85rem; border: 1.5px solid var(--accent); border-radius: var(--radius-sm); background: #fff; font-size: 12px; font-weight: 700; color: var(--accent); cursor: pointer; transition: background .15s, color .15s; }
.pcap-export-btn:hover { background: var(--accent); color: #fff; }

/* ── Wiederaufnahme-Banner ───────────────────────────────────────────────── */
.pcap-resume-banner { display: flex; align-items: flex-start; gap: .6rem; padding: .75rem 1rem; background: #FFF8E1; border: 1px solid #FFE082; border-radius: var(--radius-sm); font-size: 13px; color: #5D4037; margin-bottom: .75rem; }
.pcap-resume-banner i { color: #F57F17; flex-shrink: 0; margin-top: 1px; }
.pcap-resume-link { color: #E65100; font-weight: 600; }

/* ── SIP Call Flow ──────────────────────────────────────────────────────── */
.sip-flow-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .25rem; }
.sip-flow-wrap { overflow-x: auto; border-radius: var(--radius-sm); margin-top: .5rem; }
.sip-flow-wrap[hidden] { display: none; }
.pcap-toggle-btn { display: inline-flex; align-items: center; gap: .25rem; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .3rem .7rem; font-size: 12px; font-weight: 600; color: var(--accent); cursor: pointer; transition: border-color .15s, background .15s; }
.pcap-toggle-btn:hover { border-color: var(--accent); background: rgba(0,135,150,.06); }
.pcap-sipflow-card { margin-top: .75rem; }

/* ── Feedback-Buttons (Analyse-Seite) ───────────────────────────────────── */
.pcap-feedback-card { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: #fafafa; border: 1px solid var(--border); border-radius: var(--radius); }
.pcap-feedback-question { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: .85rem; display: flex; align-items: center; gap: .4rem; }
.pcap-feedback-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.pcap-feedback-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1.1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.pcap-feedback-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pcap-feedback-btn[data-rating="correct"].is-selected  { border-color: #1a8a4a; background: #f0fdf4; color: #1a8a4a; }
.pcap-feedback-btn[data-rating="partial"].is-selected  { border-color: #E65100; background: #FFF3E0; color: #E65100; }
.pcap-feedback-btn[data-rating="incorrect"].is-selected { border-color: #C62828; background: #FFEBEE; color: #C62828; }
.pcap-feedback-btn:disabled { opacity: .45; cursor: default; pointer-events: none; }
#feedbackDetails { display: flex; flex-direction: column; gap: .6rem; margin-top: .85rem; }
#feedbackDetails[hidden] { display: none; }
#feedbackDetails textarea { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: .55rem .75rem; font-size: 13px; font-family: inherit; resize: vertical; box-sizing: border-box; }
#feedbackDetails textarea:focus { outline: none; border-color: var(--accent); }
.pcap-feedback-submit { align-self: flex-start; }
#feedbackDone { margin-top: .75rem; font-size: 13px; font-weight: 600; color: #1a8a4a; display: flex; align-items: center; gap: .4rem; }
#feedbackDone[hidden] { display: none; }

/* ── Feedback-Badges (Audit-Log + Admin-Übersicht) ──────────────────────── */
.feedback-badge { display: inline-flex; align-items: center; padding: .15rem .6rem; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.feedback-badge-correct   { background: #f0fdf4; color: #1a8a4a; border: 1px solid #1a8a4a; }
.feedback-badge-partial   { background: #FFF3E0; color: #E65100; border: 1px solid #E65100; }
.feedback-badge-incorrect { background: #FFEBEE; color: #C62828; border: 1px solid #C62828; }
.feedback-row-incorrect td { background: #fff8f8; }

/* ── Admin-Feedback-Seite ───────────────────────────────────────────────── */
.feedback-stats-bar { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.feedback-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.5rem; flex: 1; min-width: 90px; text-align: center; }
.feedback-stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); }
.feedback-stat-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: .2rem; }
.feedback-stat-correct .feedback-stat-num   { color: #1a8a4a; }
.feedback-stat-partial .feedback-stat-num   { color: #E65100; }
.feedback-stat-incorrect .feedback-stat-num { color: #C62828; }
.feedback-filter-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .25rem; }
.feedback-symptom-cell { max-width: 180px; font-size: 12px; }
.feedback-correction-cell { max-width: 260px; font-size: 12px; color: var(--muted); }

/* ── Datenschutz-Checkbox (Einstellungen) ───────────────────────────────── */
.settings-checkbox-row { display: flex; align-items: center; gap: .55rem; font-size: 14px; cursor: pointer; }
.settings-checkbox-row input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }

/* ── System-Status (Einstellungen) ─────────────────────────────────────── */
.health-grid { display: flex; flex-direction: column; gap: .4rem; }
.health-item { display: flex; align-items: baseline; gap: .5rem; font-size: 13px; padding: .3rem 0; border-bottom: 1px solid var(--border); }
.health-item:last-child { border-bottom: none; }
.health-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.health-pending { background: #aaa; }
.health-ok  { background: #1a8a4a; }
.health-err { background: #C62828; }
.health-label { font-weight: 700; min-width: 120px; flex-shrink: 0; }
.health-value { color: var(--muted); font-size: 12px; word-break: break-all; }

/* ── Daten-Vorschau Modal ───────────────────────────────────────────────── */
.pcap-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.pcap-modal-overlay[hidden] { display: none; }
.pcap-modal { background: #fff; border-radius: var(--radius); box-shadow: 0 8px 40px rgba(0,0,0,.25); max-width: 720px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; }
.pcap-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem .75rem; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 700; }
.pcap-modal-close { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 .25rem; }
.pcap-modal-close:hover { color: var(--text); }
.pcap-modal-hint { padding: .6rem 1.25rem; font-size: 12px; color: var(--muted); background: #f8f8f8; border-bottom: 1px solid var(--border); }
.pcap-modal-pre { flex: 1; overflow: auto; margin: 0; padding: 1rem 1.25rem; font-family: monospace; font-size: 11px; line-height: 1.6; color: var(--text); white-space: pre-wrap; word-break: break-all; }
.pcap-modal-footer { display: flex; justify-content: flex-end; gap: .75rem; padding: .75rem 1.25rem; border-top: 1px solid var(--border); }

@media (max-width: 600px) {
  .ff-header-inner { flex-direction: column; align-items: flex-start; }
  .ff-login-card { padding: 2rem 1.5rem; }
  .ff-login-form { flex-direction: column; align-items: stretch; }
}

/* ── Frickelfabrik ── */
.ff-brand-text { font-size: 20px; font-weight: 700; color: var(--petrol-800); text-decoration: none; display: inline; }
.ff-brand-text span { color: var(--brand-amber); }
.ff-login-lead { margin: 0 0 16px; color: var(--muted); }
.ff-login-sso { display: block; text-align: center; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--amber); color: #1c1f1e; font-weight: 700; text-decoration: none; }
.ff-login-sso:hover { background: var(--amber-600); }
.ff-login-admin { margin-top: 20px; font-size: 13px; color: #5d6e6b; }
.ff-login-admin summary { cursor: pointer; }
.ff-login-admin form { margin-top: 12px; }
.ff-quota { margin-bottom: 1rem; }
#symptomSection { margin-bottom: 16px; }

/* ── Produkt-Landingpage ── */
.lp-hero-band { background: radial-gradient(1100px 420px at 50% -40%, #312e81 0%, transparent 62%), linear-gradient(160deg, #0f172a 0%, #1e1b4b 100%); color: #e2e8f0; padding: 4rem 16px 7rem; text-align: center; }
.lp-hero-inner { max-width: 840px; margin: 0 auto; }
.lp-eyebrow { display: inline-block; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #a5b4fc; background: #ffffff14; border: 1px solid #ffffff1f; padding: 7px 12px; border-radius: 99px; margin-bottom: 1.25rem; }
.lp-h1 { font-family: var(--f-display); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1rem; }
.lp-lead { font-size: 1.12rem; color: #cbd5e1; line-height: 1.6; max-width: 620px; margin: 0 auto 1.75rem; }
.lp-cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.lp-cta { display: inline-block; padding: 13px 26px; background: var(--primary); color: #fff; font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; box-shadow: 0 8px 24px #4f46e555; transition: background .15s, transform .1s; }
.lp-cta:hover { background: var(--primary-hover); text-decoration: none; transform: translateY(-1px); }
.lp-cta-sec { display: inline-block; padding: 13px 26px; background: #ffffff14; border: 1px solid #ffffff2e; color: #fff; font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; }
.lp-cta-sec:hover { background: #ffffff24; text-decoration: none; }
.lp-note { font-size: .9rem; color: #94a3b8; margin-top: 1rem; }
.lp-note strong { color: #e2e8f0; }
.lp-mock { max-width: 640px; margin: 2.5rem auto -5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px #0f172a40; text-align: left; overflow: hidden; }
.lp-mock-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--slate-50); }
.lp-dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-dot.r { background: #f87171; } .lp-dot.y { background: #fbbf24; } .lp-dot.g { background: #34d399; }
.lp-mock-title { margin-left: .5rem; font: 600 12px/1 var(--f-mono); color: var(--muted); }
.lp-mock-body { padding: 1.1rem 1.25rem; }
.lp-mock-kat { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 99px; font-weight: 700; font-size: 12.5px; background: #FFF3E0; border: 1px solid #E65100; color: #E65100; margin-bottom: .75rem; }
.lp-mock-fazit { font-size: .95rem; line-height: 1.6; color: var(--text); margin-bottom: .9rem; }
.lp-mock-flow { font: 12px/1.7 var(--f-mono); color: var(--slate-500); background: var(--slate-50); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; white-space: pre-wrap; }
.lp-mock-flow b { color: var(--text); }
.lp-section { max-width: 1000px; margin: 7rem auto 0; }
.lp-section-first { margin-top: 7.5rem; }
.lp-h2 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; text-align: center; color: var(--text); margin-bottom: .4rem; letter-spacing: -.01em; }
.lp-sub { text-align: center; color: var(--muted); margin-bottom: 2rem; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 760px) { .lp-grid { grid-template-columns: 1fr; } .lp-mock { margin-bottom: -4rem; } }
.lp-feature { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.lp-ficon { width: 40px; height: 40px; border-radius: 10px; background: var(--indigo-50); color: var(--primary); display: grid; place-items: center; margin-bottom: .9rem; }
.lp-feature h3 { font-family: var(--f-display); font-size: 1.02rem; color: var(--text); margin-bottom: .4rem; }
.lp-feature p { font-size: .92rem; color: var(--muted); line-height: 1.6; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 760px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.lp-step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 14px/1 var(--f-display); display: grid; place-items: center; margin-bottom: .8rem; }
.lp-step h3 { font-family: var(--f-display); font-size: 1rem; margin-bottom: .35rem; color: var(--text); }
.lp-step p { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.lp-pricing { max-width: 460px; margin: 7rem auto 4rem; text-align: center; }
.lp-price-card { background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: 2rem; }
.lp-price-badge { display: inline-block; font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--indigo-50); padding: 6px 10px; border-radius: 99px; margin-bottom: 1rem; }
.lp-price { font-family: var(--f-display); font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.lp-price span { font-size: 1rem; color: var(--muted); font-weight: 500; font-family: var(--f-sans); }
.lp-price-sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.6; }
.lp-price-card .lp-cta { display: block; }

/* ── Lebendigeres Hero: zweispaltig, Illustration, Animation ── */
.lp-hero-band { text-align: left; padding: 4.5rem 16px 7rem; }
.lp-hero-wrap { max-width: 1120px; margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.lp-hero-text { min-width: 0; }
.lp-hero-band .lp-lead { margin-left: 0; }
.lp-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; pointer-events: none; }
.lp-glow-1 { width: 440px; height: 440px; background: #4f46e5; opacity: .5; top: -150px; left: -90px; }
.lp-glow-2 { width: 380px; height: 380px; background: #06b6d4; opacity: .38; bottom: -170px; right: -70px; }
.lp-glow-3 { width: 320px; height: 320px; background: #a855f7; opacity: .3; top: 35%; left: 52%; }
.lp-hero-art { position: relative; z-index: 2; }
.lp-hero-art .lp-mock { margin: 0; }
.lp-float { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: .45rem; font: 600 12px/1 var(--f-mono); color: var(--text); background: #fff; padding: .5rem .7rem; border-radius: 10px; box-shadow: 0 12px 26px #0f172a3a; animation: lpfloat 5.5s ease-in-out infinite; }
.lp-float .d { width: 8px; height: 8px; border-radius: 50%; }
.lp-float-1 { top: -20px; right: 6%; }
.lp-float-2 { top: 42%; left: -28px; animation-delay: 1.3s; }
.lp-float-3 { bottom: -18px; right: 16%; animation-delay: .7s; }
@keyframes lpfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.lp-wave-eq { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: .8rem; }
.lp-wave-eq i { flex: 1; background: linear-gradient(to top, var(--primary), #22d3ee); border-radius: 2px; animation: lpeq 1.1s ease-in-out infinite; }
@keyframes lpeq { 0%,100% { height: 25%; } 50% { height: 100%; } }
.lp-divider { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.lp-divider svg { width: 100%; height: 64px; display: block; }
@media (max-width: 880px) {
  .lp-hero-band { text-align: center; padding-bottom: 6rem; }
  .lp-hero-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-hero-text .lp-cta-row { justify-content: center; }
  .lp-hero-band .lp-lead { margin-left: auto; margin-right: auto; }
  .lp-hero-art { max-width: 460px; margin: 0 auto; }
  .lp-float-2 { left: 0; }
}
.lp-feature { transition: transform .15s, box-shadow .15s; }
.lp-feature:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #0f172a14; }
.lp-ficon { color: #fff; }
.lp-ficon-1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.lp-ficon-2 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.lp-ficon-3 { background: linear-gradient(135deg, #10b981, #22c55e); }
.lp-section, .lp-pricing { animation: lpfade .6s ease both; }
@keyframes lpfade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lp-float, .lp-wave-eq i, .lp-section, .lp-pricing { animation: none; } }

/* Logo im Header (einzeilig: Zeichen + Wortmarke) */
.ff-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.ff-logo:hover { text-decoration: none; }
.ff-logo-mark { width: 28px; height: 28px; flex: none; }
.ff-logo-word { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--petrol-800); line-height: 1; white-space: nowrap; letter-spacing: -.01em; }
.ff-logo-accent { color: var(--primary); }

/* Bebilderter Kopf der Erklärseiten */
.legal-banner { display: flex; align-items: center; gap: 1.2rem; max-width: 760px; margin: 2rem auto 0; padding: 1.6rem 1.9rem; border-radius: 16px; background: radial-gradient(600px 200px at 20% -40%, #312e81 0%, transparent 60%), linear-gradient(150deg, #0f172a, #1e1b4b); color: #e2e8f0; }
.legal-banner .lb-icon { flex: none; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: #ffffff1a; color: #c7d2fe; }
.legal-banner h1 { font-family: var(--f-display); color: #fff; font-size: 1.55rem; margin: 0; }
.legal-banner p { color: #cbd5e1; margin: .3rem 0 0; font-size: .95rem; }
.legal.has-banner { margin-top: 1rem; }

/* ── Ruhiges, neutrales Theme (Zinc + Teal), helles flaches Hero ── */
.lp-hero-band { background: var(--bg); padding-bottom: 2.5rem; }
.lp-glow, .lp-divider { display: none; }
.lp-section-first { margin-top: 3.5rem; }
.lp-eyebrow { color: var(--primary); background: var(--teal-50); border-color: var(--teal-100); }
.lp-h1 { color: var(--text); }
.lp-lead { color: var(--muted); }
.lp-note { color: var(--muted); }
.lp-note strong { color: var(--text); }
.lp-cta { box-shadow: none; }
.lp-cta:hover { box-shadow: none; }
.lp-cta-sec { background: #fff; border: 1px solid var(--line); color: var(--text); }
.lp-cta-sec:hover { background: var(--zinc-100); }
.lp-mock { box-shadow: 0 10px 30px #18181b12; }
.lp-float { border: 1px solid var(--line); box-shadow: 0 6px 16px #18181b14; animation: none; }
.lp-wave-eq i { background: var(--teal-600); }
.lp-ficon, .lp-ficon-1, .lp-ficon-2, .lp-ficon-3 { background: var(--teal-50); color: var(--primary); }
.lp-feature:hover { box-shadow: 0 10px 24px #18181b0f; }
.legal-banner { background: var(--teal-50); color: var(--text); border: 1px solid var(--teal-100); }
.legal-banner .lb-icon { background: #fff; color: var(--primary); border: 1px solid var(--teal-100); }
.legal-banner h1 { color: var(--text); }
.legal-banner p { color: var(--muted); }

/* Marken-Gruppe: Logo + „powered by Frickelfabrik" */
.ff-brandgroup { display: inline-flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.ff-powered { font-size: 11px; line-height: 1.2; color: var(--muted); text-decoration: none; white-space: nowrap; border-left: 1px solid var(--line); padding-left: .75rem; }
.ff-powered:hover { text-decoration: underline; }
.ff-ff { font-weight: 700; color: #0e3b3a; }
.ff-ff span { color: #d4870a; }
@media (max-width: 600px) { .ff-powered { border-left: 0; padding-left: 0; } }

/* ── Rechtsseiten ── */
.legal { max-width: 760px; margin: 2rem auto; background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 2rem 2.25rem; }
.legal-title { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 1.25rem; }
.legal h2 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 .5rem; }
.legal p { color: var(--text); line-height: 1.65; margin-bottom: .75rem; font-size: .95rem; }
.legal ul { margin: 0 0 .75rem 1.2rem; }
.legal li { color: var(--text); line-height: 1.6; margin-bottom: .5rem; font-size: .95rem; }
.legal a { color: var(--link); }
