/* die-fuehrerscheinkontrolle.de: Styling für das Portal-Markup (KERN-Klassennamen) und die Wallet-Elemente außerhalb des kern-ux-Themes. */
:root {
  --fc-text: #0f172a;
  --fc-muted: #64748b;
  --fc-primary: #1d4ed8;
  --fc-primary-dark: #1e3a8a;
  --fc-accent: #06b6d4;
  --fc-bg: #f5f7fb;
  --fc-border: #e2e8f0;
  --fc-success: #15803d;
  --fc-success-bg: #dcfce7;
  --fc-danger: #b91c1c;
  --fc-danger-bg: #fee2e2;
  --fc-warning: #b45309;
  --fc-warning-bg: #fef3c7;
  --fc-info: #1d4ed8;
  --fc-info-bg: #dbeafe;
  --fc-radius: 14px;
  --fc-gradient: linear-gradient(90deg, var(--fc-primary) 0%, var(--fc-accent) 100%);
}

/* Layout */
.kern-stack > * + * { margin-top: 1rem; }
.kern-stack-lg > * + * { margin-top: 2rem; }
.kern-stack-md > * + * { margin-top: 1.25rem; }
.kern-stack-sm > * + * { margin-top: .75rem; }
.kern-stack-xs > * + * { margin-top: .4rem; }
.kern-grid { display: grid; gap: 2rem; }
.kern-grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .kern-grid-cols-2-lg { grid-template-columns: 1fr 1fr; } }
.kern-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Text */
.kern-title { font-weight: 600; font-size: 1.15rem; margin: 0; color: var(--fc-text); }
.kern-heading-medium { font-size: 1.5rem; font-weight: 600; margin: 0; }
.kern-body { margin: 0; line-height: 1.6; }
.kern-body--muted { color: var(--fc-muted); }
.kern-body--small { font-size: .875rem; }
.kern-hint { font-size: .875rem; color: var(--fc-muted); margin: 0; }
.kern-link { color: var(--fc-primary); text-decoration: underline; text-underline-offset: 3px; }
.kern-link:hover { color: var(--fc-primary-dark); }
.kern-list { list-style: none; margin: 0; padding: 0; }
.kern-list--horizontal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.kern-list--bullet { list-style: disc; padding-left: 1.25rem; }
.kern-list--bullet li + li { margin-top: .35rem; }

/* Karten */
.kern-card { background: #fff; border: 1px solid var(--fc-border); border-radius: var(--fc-radius); box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.kern-card__container { padding: 1.5rem; }
.kern-card__header { margin-bottom: 1rem; }
.kern-card__header h2 { font-size: 1.25rem; }

/* Alerts */
.kern-alert { border-radius: var(--fc-radius); padding: 1rem 1.25rem; border: 1px solid transparent; }
.kern-alert__header { display: flex; align-items: center; gap: .6rem; }
.kern-alert__body { margin-top: .5rem; }
.kern-icon { width: 1.25rem; height: 1.25rem; border-radius: 50%; flex: none; display: inline-block; }
.kern-alert--info { background: var(--fc-info-bg); border-color: #bfdbfe; color: var(--fc-info); }
.kern-alert--info .kern-icon { background: var(--fc-info); }
.kern-alert--success { background: var(--fc-success-bg); border-color: #bbf7d0; color: var(--fc-success); }
.kern-alert--success .kern-icon { background: var(--fc-success); }
.kern-alert--warning { background: var(--fc-warning-bg); border-color: #fde68a; color: var(--fc-warning); }
.kern-alert--warning .kern-icon { background: var(--fc-warning); }
.kern-alert--danger { background: var(--fc-danger-bg); border-color: #fecaca; color: var(--fc-danger); }
.kern-alert--danger .kern-icon { background: var(--fc-danger); }
.kern-alert .kern-title { color: inherit; }
.kern-alert .kern-body { color: var(--fc-text); }

/* Buttons */
.kern-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .6rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.kern-btn:hover { transform: translateY(-1px); }
.kern-btn.kern-btn--primary { background: var(--fc-gradient); color: #fff; box-shadow: 0 8px 20px rgba(29, 78, 216, .25); }
.kern-btn.kern-btn--primary:hover { color: #fff; box-shadow: 0 12px 24px rgba(29, 78, 216, .35); }
.kern-btn.kern-btn--secondary { background: #fff; color: var(--fc-primary); border: 2px solid var(--fc-primary); }
.kern-btn.kern-btn--secondary:hover { background: var(--fc-info-bg); }
.kern-btn.kern-btn--tertiary { background: transparent; border-color: transparent; color: var(--fc-primary); padding-left: .75rem; padding-right: .75rem; }
.kern-btn.kern-btn--tertiary:hover { background: var(--fc-bg); }
.kern-btn--x-small { min-height: 2rem; padding: .25rem .75rem; font-size: .85rem; }
.kern-btn-wrapper { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.kern-btn .kern-label { font-weight: inherit; }

/* Formulare */
.kern-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.kern-label--small { font-size: .8rem; }
.kern-label__optional { font-weight: 400; color: var(--fc-muted); }
.kern-form-input__input,
.kern-form-input select,
.kern-form-input textarea { width: 100%; padding: .65rem .9rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; font: inherit; color: var(--fc-text); }
.kern-form-input__input:focus { outline: 2px solid var(--fc-accent); outline-offset: 1px; border-color: var(--fc-primary); }
.kern-form-check { display: flex; align-items: flex-start; gap: .6rem; }
.kern-form-check .kern-label { margin: 0; font-weight: 500; }
.kern-form-check__checkbox { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--fc-primary); }
.kern-fieldset { border: 1px solid var(--fc-border); border-radius: var(--fc-radius); padding: 1rem 1.25rem; margin: 0; }
.kern-fieldset legend { padding: 0 .4rem; }
.kern-fieldset__body > * + * { margin-top: .75rem; }

/* Tabellen */
.kern-table-responsive { overflow-x: auto; border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: #fff; }
.kern-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.kern-table caption { text-align: left; padding: .9rem 1rem; }
.kern-table__header { text-align: left; padding: .75rem 1rem; background: var(--fc-bg); color: var(--fc-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--fc-border); }
.kern-table__cell { padding: .75rem 1rem; border-bottom: 1px solid var(--fc-border); vertical-align: top; }
.kern-table--striped .kern-table__body .kern-table__row:nth-child(even) { background: #fafbfe; }
.kern-table__row:last-child .kern-table__cell { border-bottom: 0; }

/* Badges */
.kern-badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.kern-badge--success { background: var(--fc-success-bg); color: var(--fc-success); }
.kern-badge--danger { background: var(--fc-danger-bg); color: var(--fc-danger); }
.kern-badge--info { background: var(--fc-info-bg); color: var(--fc-info); }
.kern-badge--warning { background: var(--fc-warning-bg); color: var(--fc-warning); }

/* Wallet-Prüfung (Plugin eudi-wallet) */
#eudi-verify { text-align: center; }
#eudi-verify .eudi-qr img { display: inline-block; border: 1px solid var(--fc-border); border-radius: var(--fc-radius); padding: .5rem; background: #fff; }
#eudi-verify .eudi-deeplink { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .6rem 1.4rem; border-radius: 999px; background: var(--fc-gradient); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px rgba(29, 78, 216, .25); }
#eudi-verify .eudi-hint,
#eudi-verify .eudi-wait { color: var(--fc-muted); }
#eudi-verify .eudi-error,
.eudi-error { color: var(--fc-danger); font-weight: 600; }
#eudi-verify .eudi-nowallet { margin-top: .75rem; padding: .75rem 1rem; border-radius: 10px; background: var(--fc-warning-bg); color: var(--fc-warning); }
.eudi-wallets { font-size: .875rem; color: var(--fc-muted); margin-top: 1rem; }
.eudi-wallets summary { cursor: pointer; color: var(--fc-primary); }
.eudi-wallets ul { text-align: left; }
.eudi-result table { width: 100%; border-collapse: collapse; }
.eudi-result th, .eudi-result td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--fc-border); }
/* Mobil: Wallet-App per Deeplink statt QR; die App lässt sich im Browser nicht erkennen. */
@media (pointer: coarse) and (max-width: 900px) { #eudi-verify .eudi-qr { display: none; } }

/* Sprachumschalter auf der Prüfseite */
.eudi-lang ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.eudi-lang__link { display: inline-block; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--fc-border); background: #fff; color: var(--fc-text); font-size: .85rem; text-decoration: none; }
.eudi-lang__link:hover { border-color: var(--fc-primary); color: var(--fc-primary); }
.eudi-lang__link.is-current { background: var(--fc-text); color: #fff; border-color: var(--fc-text); }

/* Führerscheinklassen */
.eudi-cls-list { display: inline-flex; flex-wrap: wrap; gap: .25rem; vertical-align: middle; }
.eudi-cls { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .45rem; border: 1px solid var(--fc-border); border-radius: 6px; background: #fff; color: var(--fc-text); font-size: .78rem; font-weight: 700; line-height: 1.4; }
.eudi-cls__icon { color: var(--fc-primary); flex: none; }
.eudi-cls__code { font-weight: 500; color: var(--fc-muted); font-size: .7rem; margin-left: .1rem; }
.eudi-codes { margin: 0; padding-left: 1.1rem; }
.eudi-codes li + li { margin-top: .2rem; }

/* Demomodus: Wallet-Simulation */
.eudi-sim { max-width: 980px; margin: 0 auto; }
.eudi-sim__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.eudi-sim__steps li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--fc-muted); }
.eudi-sim__steps li span { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--fc-bg); border: 1px solid var(--fc-border); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; flex: none; }
.eudi-sim__steps li.is-active { color: var(--fc-text); font-weight: 600; }
.eudi-sim__steps li.is-active span { background: var(--fc-gradient); color: #fff; border: 0; }
.eudi-sim__form { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .eudi-sim__form { grid-template-columns: 1fr 340px 1fr; } .eudi-sim__choice { grid-column: 1; } .eudi-phone { grid-column: 2; } .eudi-sim__hint { grid-column: 3; align-self: center; } }
.eudi-sim__choice { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.eudi-sim__opt { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--fc-border); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 400; }
.eudi-sim__opt:has(input:checked) { border-color: var(--fc-primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.eudi-sim__opt input { margin-top: .3rem; accent-color: var(--fc-primary); }
.eudi-sim__opt small { color: var(--fc-muted); }
.eudi-phone { width: 300px; margin: 0 auto; padding: 12px; border-radius: 40px; background: #0f172a; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); }
.eudi-phone__screen { position: relative; background: #f3f6fd; border-radius: 30px; height: 600px; overflow: hidden; font-family: Roboto, Inter, sans-serif; color: #1f2937; }
.eudi-phone__view { position: absolute; inset: 0; padding: 1rem 1.1rem 1rem; display: none; flex-direction: column; overflow: hidden; }
.eudi-phone__view.is-active { display: flex; animation: eudi-fade .35s ease; }
@keyframes eudi-fade { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.eudi-phone .eudi-phone__restart { display: block; margin: .6rem auto 0; padding: .2rem .6rem; background: none !important; border: 0; box-shadow: none; color: rgba(255, 255, 255, .7); font-size: .8rem; font-weight: 500; cursor: pointer; }
.eudi-phone .eudi-phone__restart:hover { color: #fff; }
.eudi-phone__hint { margin-top: auto; font-size: .85rem; color: var(--fc-muted); text-align: center; }
/* Startbildschirm */
.eudi-phone__apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.eudi-phone__app { display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .75rem; color: #475569; background: none; border: 0; font-family: inherit; }
.eudi-phone button.eudi-phone__app { cursor: pointer; color: var(--fc-text); font-weight: 600; background: none !important; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.eudi-phone__app-icon { width: 3.4rem; height: 3.4rem; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 12px rgba(15, 23, 42, .08); }
.eudi-phone__app-icon--browser { background: var(--fc-gradient); }
.eudi-phone__app-icon--mail { position: relative; }
.eudi-phone__badge { position: absolute; top: -.35rem; right: -.35rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #dc2626; color: #fff; font-size: .7rem; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; }
/* Mail */
.eudi-phone__mail { overflow: auto; min-height: 0; font-size: .8rem; line-height: 1.45; }
.eudi-phone__mail-meta { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .2rem; color: var(--fc-muted); font-size: .75rem; }
.eudi-phone__mail-meta strong { color: var(--fc-text); font-size: .85rem; }
.eudi-phone__mail-subject { margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--fc-border); font-weight: 600; font-size: .9rem; }
.eudi-phone__mail-body p { margin: 0 0 .6rem; }
.eudi-phone .eudi-phone__link { display: block; width: 100%; margin: .2rem 0 .7rem; padding: .55rem .6rem; border: 1px solid var(--fc-primary); border-radius: 10px; background: #fff; color: var(--fc-primary); font: inherit; font-weight: 600; text-decoration: underline; text-align: left; cursor: pointer; overflow-wrap: anywhere; box-shadow: none; }
.is-pulse { animation: eudi-pulse 1.4s ease-in-out infinite; }
@keyframes eudi-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, .45); } 50% { box-shadow: 0 0 0 10px rgba(29, 78, 216, 0); } }
button.eudi-phone__app.is-pulse { animation: none; }
button.eudi-phone__app.is-pulse .eudi-phone__app-icon { animation: eudi-pulse 1.4s ease-in-out infinite; }
/* Browser */
.eudi-phone__url { display: flex; align-items: center; min-height: 2rem; padding: .35rem .8rem; border-radius: 999px; background: #fff; font-size: .78rem; color: #334155; box-shadow: inset 0 0 0 1px var(--fc-border); }
.eudi-phone__caret { width: 1px; height: 1rem; background: var(--fc-text); margin-left: 1px; animation: eudi-blink 1s steps(1) infinite; }
@keyframes eudi-blink { 50% { opacity: 0; } }
.eudi-phone__page { opacity: 0; transition: opacity .4s; margin-top: 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.eudi-phone__page.is-loaded { opacity: 1; }
.eudi-phone__page-brand { margin: 0; font-family: Poppins, sans-serif; font-weight: 700; font-size: .95rem; }
.eudi-phone__page-title { margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.eudi-phone__qr { width: 120px; height: 120px; border-radius: 10px; background: repeating-conic-gradient(#0f172a 0 25%, #fff 0 50%) 0 0 / 14px 14px; border: 6px solid #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .1); opacity: .85; }
.eudi-phone__page .eudi-phone__btn { flex: none; width: 100%; white-space: normal; font-size: .85rem; line-height: 1.2; }
/* App-Wechsel: Wallet-Ansichten sehen anders aus als der Browser */
.eudi-phone__view--app { background: linear-gradient(180deg, #e8eefc 0%, #f6f8ff 40%); }
.eudi-phone__appbar { display: flex; align-items: center; gap: .5rem; margin: -1rem -1.1rem .6rem; padding: .55rem 1.1rem; background: #1e3a8a; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.eudi-phone__logo { display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; border-radius: 22px; background: var(--fc-gradient); color: #fff; font-family: Poppins, sans-serif; font-weight: 700; font-size: 2.4rem; box-shadow: 0 12px 30px rgba(29, 78, 216, .35); }
.eudi-phone__logo--small { width: 1.4rem; height: 1.4rem; border-radius: 6px; font-size: .95rem; box-shadow: none; }
.eudi-phone__view--splash { justify-content: center; align-items: center; background: #0f1f4d; color: #fff; }
.eudi-phone__view--splash.is-active { animation: eudi-zoom .45s ease; }
@keyframes eudi-zoom { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.eudi-phone__splash { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; font-size: .95rem; }
.eudi-phone__splash p { margin: 0; opacity: .85; }
.eudi-phone__spinner { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: eudi-spin .9s linear infinite; }
@keyframes eudi-spin { to { transform: rotate(360deg); } }
.eudi-phone__back { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: rgba(15, 23, 42, .92); color: #fff; text-align: center; font-size: .95rem; animation: eudi-fade .3s ease; }
.eudi-phone__back[hidden] { display: none; }
.eudi-phone__back p { margin: 0; }
.eudi-phone__view.is-leaving { animation: eudi-leave .35s ease forwards; }
@keyframes eudi-leave { to { opacity: 0; transform: scale(.94) translateY(-10px); } }

/* Wallet-PIN */
.eudi-phone__wallet { margin: .5rem 0 1rem; text-align: center; font-size: .8rem; color: var(--fc-primary); }
.eudi-phone__wallet strong { display: block; font-size: 1.2rem; color: var(--fc-text); }
.eudi-phone__pin { display: flex; gap: .4rem; margin: .5rem 0 auto; }
.eudi-phone__pin span { flex: 1; aspect-ratio: 1; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; }
.eudi-phone__pin span.is-filled::after { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: var(--fc-text); }
.eudi-phone__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.eudi-phone__keys span { background: #fff; border-radius: 999px; text-align: center; padding: .45rem 0; font-size: 1rem; color: var(--fc-text); }
.eudi-phone__keys span:last-child { background: var(--fc-primary); color: #fff; }
.eudi-phone__keys span:empty { background: none; }
.eudi-phone__bar { display: flex; justify-content: space-between; font-size: .7rem; color: var(--fc-muted); margin-bottom: 1rem; }
.eudi-phone__title { font-size: 1.25rem; font-weight: 500; margin: 0 0 .4rem; }
.eudi-phone__rp { margin: 0 0 .7rem; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eudi-phone__check { display: inline-flex; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #15803d; color: #fff; align-items: center; justify-content: center; font-size: .7rem; margin-right: .3rem; }
.eudi-phone__doc { margin: 0; padding: .7rem .9rem; background: #e3eafc; border: 2px solid var(--fc-primary); border-radius: 12px 12px 0 0; font-weight: 600; font-size: .95rem; }
.eudi-phone__doc small { font-weight: 400; color: var(--fc-muted); }
.eudi-phone__data { flex: 1 1 auto; min-height: 0; overflow: auto; margin: 0; padding: .3rem .9rem; background: #e3eafc; border-radius: 0 0 12px 12px; }
.eudi-phone__row { padding: .3rem 0; border-bottom: 1px solid rgba(15, 23, 42, .1); }
.eudi-phone__row:last-child { border-bottom: 0; }
.eudi-phone__row dt { font-size: .7rem; color: var(--fc-muted); }
.eudi-phone__row dd { margin: 0; font-size: .9rem; }
.eudi-phone__row dd.is-expired { color: var(--fc-danger); font-weight: 600; }
.eudi-phone__actions { flex: none; display: flex; gap: .5rem; margin-top: .8rem; }
.eudi-phone .eudi-phone__btn { flex: 1 1 0; min-width: 0; border-radius: 999px; padding: .6rem .4rem; font-weight: 600; font-size: .85rem; line-height: 1.2; white-space: nowrap; cursor: pointer; border: 2px solid var(--fc-primary); box-shadow: none; font-family: inherit; }
.eudi-phone .eudi-phone__btn--cancel { background: #fff; color: var(--fc-primary); }
.eudi-phone .eudi-phone__btn--share { background: var(--fc-primary); color: #fff; }
.eudi-phone .eudi-phone__btn:hover { filter: brightness(1.08); }

/* Demo-Telefon in der Hero-Karte: einspaltig, Telefon mittig */
.fc-card--scan .eudi-sim__form { grid-template-columns: 1fr; }
.fc-card--scan .eudi-sim__choice, .fc-card--scan .eudi-phone, .fc-card--scan .eudi-sim__hint { grid-column: auto; }
.fc-card--scan .eudi-sim__steps { display: none; }
.fc-card--scan .eudi-sim__choice { grid-template-columns: 1fr; }
.fc-card--scan .eudi-sim__opt { padding: .5rem .8rem; font-size: .9rem; }
.fc-card--scan .eudi-phone { width: 280px; }
.fc-card--scan .eudi-phone__screen { height: 560px; }

/* Vormerken / Newsletter */
.eudi-lead__form > * + * { margin-top: 1rem; }
.eudi-lead__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) { .eudi-lead__grid { grid-template-columns: 1fr 1fr; } }
.eudi-lead__radios { display: flex; gap: 1.25rem; padding: .65rem 0; }
.eudi-lead__radios label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.eudi-lead__radios input { accent-color: var(--fc-primary); }
.eudi-lead .kern-form-check .kern-label { font-weight: 400; font-size: .9rem; color: var(--fc-muted); }
.eudi-lead textarea.kern-form-input__input { resize: vertical; }
.fc-pilot { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--fc-border); font-size: .9rem; color: var(--fc-muted); }

/* Status-Band unter dem Hero */
.fc-status .elementor-icon-list-items { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem; }
.fc-status .elementor-icon-list-item { font-size: .95rem; color: var(--fc-muted); }
.fc-status .elementor-icon-list-icon { color: var(--fc-primary); }

/* API */
.eudi-api-key { display: inline-block; padding: .4rem .7rem; border-radius: 8px; background: #0f172a; color: #e2e8f0; font-size: .95rem; user-select: all; overflow-wrap: anywhere; }
.fc-code pre { background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 1rem 1.25rem; overflow: auto; font-size: .85rem; line-height: 1.5; margin: 0; }
.fc-api-doc { min-height: 600px; }
.fc-api-doc redoc { display: block; }

/* Demomodus */
.eudi-demo__phone { display: block; margin: 0 auto; max-width: 260px; border-radius: 24px; box-shadow: 0 20px 40px rgba(15, 23, 42, .18); }

/* Hello-Theme: Portalseiten in angenehmer Breite mit Abstand zu Header und Footer, Startseite volle Breite. */
.site-main { padding: 2.5rem 0 5rem; }
.site-main .page-header { margin-bottom: 1.5rem; }
.page .site-main > .page-header + .page-content,
.page-content > .kern-stack { max-width: 1100px; margin-left: auto; margin-right: auto; }
.site-header .menu-cta > a { background: var(--fc-text); color: #fff !important; border-radius: 999px; padding: .5rem 1.2rem !important; font-weight: 600; }
.site-header .menu-cta > a:hover { background: var(--fc-primary); }

/* Startseite und Demo (Elementor-Elemente mit fc-Klassen) */
.fc-eyebrow .elementor-heading-title { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fc-primary); margin-bottom: .5rem; }
.fc-h1 .elementor-heading-title { max-width: 900px; margin: 0 auto; overflow-wrap: anywhere; }
.elementor-heading-title, .kern-title, h1, h2, h3 { overflow-wrap: anywhere; }
.fc-grad { background: var(--fc-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-sub { max-width: 720px; margin: 1rem auto 2.5rem; font-size: 1.15rem; color: var(--fc-muted); }
.fc-sub strong { color: var(--fc-text); }
.fc-small { font-size: .9rem; color: var(--fc-muted); }
.fc-card { box-shadow: 0 16px 40px rgba(15, 23, 42, .08); border: 1px solid var(--fc-border); }
.fc-card--flat { box-shadow: none; }
.fc-card--scan { background: #fff !important; border: 1px solid #e5e9f2 !important; box-shadow: 0 30px 70px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .05); }
.fc-card--org { box-shadow: none; border: 1px solid var(--fc-border); background: var(--fc-bg) !important; }
.fc-card--scan .fc-eyebrow .elementor-heading-title { display: inline-block; background: var(--fc-gradient); color: #fff; padding: .3rem .8rem; border-radius: 999px; }
.fc-card .fc-card__title .elementor-heading-title { font-size: 1.75rem; margin-bottom: .5rem; }
.fc-card > .elementor-element + .elementor-element { margin-top: 1rem; }
.fc-step .elementor-heading-title { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--fc-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 1rem; }
.fc-shot img { border-radius: 12px; border: 1px solid var(--fc-border); box-shadow: 0 10px 30px rgba(15, 23, 42, .1); margin-bottom: 1rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: var(--fc-bg); }
.fc-feature .elementor-heading-title { font-size: 1.25rem; }
.fc-iconbox .elementor-icon-box-icon { margin-bottom: 1rem; }
.fc-iconbox .elementor-icon { width: 3.25rem; height: 3.25rem; border-radius: 12px; background: var(--fc-info-bg); color: var(--fc-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.fc-iconbox .elementor-icon-box-title { font-size: 1.15rem; margin-bottom: .4rem; }
.fc-iconbox .elementor-icon-box-description { color: var(--fc-muted); }
.fc-law__sources { max-width: 760px; margin: 1.5rem auto 0; }
.fc-law__sources a, .fc-faq a { color: var(--fc-primary); text-decoration: underline; }
.fc-list .elementor-icon-list-icon { color: var(--fc-success); }
.fc-list .elementor-icon-list-item { margin-bottom: .5rem; }
.fc-price .elementor-heading-title { font-size: 3rem; }
.fc-price-unit { display: block; font-size: 1rem; font-weight: 500; color: var(--fc-muted); }
.fc-card--price { text-align: center; }
.fc-faq .elementor-accordion-item { background: #fff; border: 1px solid var(--fc-border) !important; border-radius: 12px; margin-bottom: .75rem; overflow: hidden; }
.fc-faq .elementor-tab-title { font-size: 1.05rem; font-weight: 600; padding: 1rem 1.25rem; }
.fc-faq .elementor-tab-content { padding: 0 1.25rem 1.25rem; color: var(--fc-muted); border-top: 0 !important; }
.fc-cta .elementor-heading-title { color: #fff; }
.fc-cta .fc-eyebrow .elementor-heading-title { color: rgba(255, 255, 255, .8); }
.fc-cta__title .elementor-heading-title { max-width: 760px; margin: 0 auto 1.5rem; }

/* Buttons der Startseite */
.fc-btn .elementor-button { border-radius: 999px; padding: .85rem 1.6rem; font-weight: 600; box-shadow: none; transition: transform .15s, box-shadow .15s; }
.fc-btn .elementor-button:hover { transform: translateY(-1px); }
.fc-btn--grad .elementor-button { background: var(--fc-gradient); color: #fff; box-shadow: 0 8px 20px rgba(29, 78, 216, .25); }
.fc-btn--dark .elementor-button { background: var(--fc-text); color: #fff; }
.fc-btn--outline .elementor-button { background: #fff; color: var(--fc-primary); border: 2px solid var(--fc-primary); }
.fc-btn--light .elementor-button { background: #fff; color: var(--fc-primary); }
.fc-btn--ghost .elementor-button { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .7); }

/* Hello-Header/-Footer */
.site-header { box-shadow: 0 1px 0 var(--fc-border); }
.site-header .site-title { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.site-header .site-navigation a { font-size: .95rem; }
.site-header .site-title a { color: var(--fc-text); }
.site-header .site-navigation a { font-weight: 500; color: var(--fc-text); }
.site-header .site-navigation a:hover { color: var(--fc-primary); }
.site-footer { background: var(--fc-bg); border-top: 1px solid var(--fc-border); font-size: .9rem; color: var(--fc-muted); }
.site-footer .site-title { font-family: Poppins, sans-serif; font-weight: 700; }
.site-footer .site-title a { color: var(--fc-text); }
