/* ================================================================
   Störungsmeldung · Internet XS Service GmbH
   Palette: Neutral-Grau + Markengelb (#FAB20B) / Tiefgrau (#232323)
   ================================================================ */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/inter-v20-latin-700.woff2') format('woff2');
}

:root {
    /* Neutrale Grautöne (Tailwind neutral, kein Blaustich) */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --ink: #232323;
    --brand: #fab20b;
    --brand-deep: #e09e00;
    --brand-tint: #fdf4da;
    --success: #65a30d;      /* Tailwind lime-600 */
    --success-deep: #4d7c0f; /* lime-700 */
    --error: #ef4444;        /* Tailwind red-500 */
    --error-tint: #fef2f2;   /* red-50 */
    --radius: 6px;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: ui-monospace, 'Cascadia Mono', 'JetBrains Mono', Consolas, monospace;
    --focus-ring: 0 0 0 3px rgba(250, 178, 11, 0.4);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--gray-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a { color: var(--ink); text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: #000; }

/* ---- Header ---------------------------------------------------- */

.site-header { background: #fff; border-bottom: 1px solid var(--gray-200); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
}

.logo { display: inline-flex; line-height: 0; }
.logo img { width: 96px; height: auto; }

.header-tag {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}

/* ---- Statusbereich (OneUptime) --------------------------------- */

.status-area { background: #fff; border-bottom: 1px solid var(--gray-200); }

.status-ok {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-block: 9px;
    font-size: 13.5px;
    color: var(--gray-600);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success);
    flex: none;
}

.status-banners { display: grid; gap: 10px; padding-block: 14px; }

/* ---- Status-Modal (JS verschiebt die Banner hierher) ------------ */

.status-modal {
    /* Der globale Reset nimmt dialog das margin:auto des Browsers — hier zurückgeben */
    margin: auto;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 0;
    width: min(560px, calc(100vw - 40px));
    box-shadow: 0 10px 40px rgba(35, 35, 35, 0.18);
    color: var(--ink);
}

.status-modal::backdrop {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.status-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 0;
}

.status-modal-header h2 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.status-modal-close {
    flex: none;
    width: 30px;
    height: 30px;
    margin: -6px -8px 0 0;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--gray-500);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.status-modal-close:hover { background: var(--gray-100); color: var(--ink); }
.status-modal-close:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.status-modal-body { padding: 4px 22px 0; }
.status-modal-body .status-banners { padding: 12px 0 0; }

.status-modal-footer { padding: 16px 22px 20px; }

.status-modal-continue { width: 100%; margin-left: 0; }

/* Kompakte Hinweiszeile nach dem Schließen des Modals */

.status-attention {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-block: 9px;
    font-size: 13.5px;
    color: var(--ink);
}

.status-dot--attention { background: var(--brand); }

.status-attention-btn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    cursor: pointer;
}

.status-attention-btn:hover { color: #000; }
.status-attention-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 3px; }

.status-banner {
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14.5px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--gray-400);
    box-shadow: 0 1px 2px rgba(35, 35, 35, 0.06), 0 4px 14px rgba(35, 35, 35, 0.08);
}

.status-banner ul { list-style: none; }
.status-banner li { font-weight: 600; }
.status-banner li + li { margin-top: 8px; }
/* Links in Bannern erben die Bannerfarbe, dezent unterstrichen */
.status-banner a {
    color: inherit;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.status-banner a:hover { color: inherit; opacity: 0.8; }

/* Kurzer Auszug aus der Beschreibung unter dem Eintragstitel */
.status-banner-excerpt {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
}

.status-banner-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.status-banner-note { margin-top: 6px; font-size: 13.5px; font-weight: 400; color: var(--gray-600); }

/* Bannertypen unterscheiden sich nur noch über die Akzentfarbe links */
.status-banner--incident { border-left-color: var(--error); }
.status-banner--maintenance { border-left-color: #3b82f6; } /* Tailwind blue-500 statt Graublau */
.status-banner--announcement { border-left-color: var(--gray-400); }

/* ---- Inhalt ---------------------------------------------------- */

/* Inhalt vertikal zentriert, solange der Viewport höher ist als der Inhalt */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 36px 56px;
}

.intro { margin-bottom: 24px; }

h1 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.lede {
    margin-top: 6px;
    font-size: 14.5px;
    color: var(--gray-600);
    max-width: 60ch;
}

.alert {
    background: var(--error-tint);
    border: 1px solid var(--error);
    border-left-width: 4px;
    border-radius: var(--radius);
    color: var(--error);
    padding: 12px 16px;
    font-size: 14.5px;
    margin-bottom: 18px;
}

/* ---- Karte / Formular ------------------------------------------ */

.card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: clamp(20px, 4vw, 36px);
    box-shadow: 0 1px 2px rgba(35, 35, 35, 0.04), 0 8px 24px rgba(35, 35, 35, 0.05);
}

.required-note {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.req { color: var(--error); font-weight: 700; }
.optional { color: var(--gray-500); font-weight: 400; font-size: 13.5px; }

fieldset { border: 0; }

fieldset + fieldset { margin-top: 30px; }

.form-foot {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--gray-200);
}

legend {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
}

/* Nachlaufende Linie hinter jeder Abschnittsüberschrift */
legend::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
    margin-left: 6px;
}

/* Nummernmarke im Stil des gelben Logo-Felds */
.step {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: var(--brand);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.field + .field { margin-top: 18px; }

label, .label {
    display: block;
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 6px;
}

input[type='text'],
input[type='email'],
select,
textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--gray-50);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 10px 12px;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

select {
    appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23525252' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='m4 6.5 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

textarea { resize: vertical; min-height: 90px; }

input[type='file'] {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    color: var(--gray-600);
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

input[type='file']:hover { border-color: var(--gray-400); }

input[type='file']:focus-visible {
    outline: none;
    border-color: var(--brand);
    box-shadow: var(--focus-ring);
}

input[type='file']::file-selector-button {
    font: 500 13.5px var(--font-sans);
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 6px 12px;
    margin-right: 12px;
    cursor: pointer;
    transition: border-color 0.12s ease;
}

input[type='file']::file-selector-button:hover { border-color: var(--ink); }

input.mono, textarea.mono { font-family: var(--font-mono); font-size: 14px; }

input:hover, select:hover, textarea:hover { border-color: var(--gray-400); }

input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: none;
    background-color: #fff;
    border-color: var(--brand);
    box-shadow: var(--focus-ring);
}

input[aria-invalid='true'], select[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--error); }

/* Anrede | Vorname | Nachname in einer Zeile */
.field-row--name {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    gap: 12px;
}

::placeholder { color: var(--gray-400); }

.hint {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-500);
}

.field-error {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--error);
}

/* ---- Step-Wizard ----------------------------------------------- */

[hidden] { display: none !important; }

.stepper {
    list-style: none;
    display: flex;
    margin-bottom: 26px;
}

.stepper-item {
    flex: 1;
    position: relative;
    text-align: center;
}

/* Verbindungslinie zwischen den Punkten */
.stepper-item + .stepper-item::before {
    content: '';
    position: absolute;
    top: 14px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
}

.stepper-item.is-done + .stepper-item::before,
.stepper-item.is-current + .stepper-item::before { background: var(--gray-200); }

.stepper-btn {
    position: relative;
    z-index: 1; /* Punkte über der Verbindungslinie */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    max-width: 100%;
}

.stepper-btn:disabled { cursor: default; }

.stepper-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.stepper-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    line-height: 1.3;
}

.stepper-item.is-current .stepper-dot { background: var(--brand); color: #000; }
.stepper-item.is-current .stepper-label { color: var(--ink); font-weight: 600; }
.stepper-item.is-done .stepper-dot { background: var(--success); color: #fff; }
.stepper-item.is-done .stepper-label { color: var(--gray-600); }
.stepper-item.is-done .stepper-btn:hover .stepper-dot { background: var(--success-deep); }
.stepper-btn:focus-visible { outline: none; }
.stepper-btn:focus-visible .stepper-dot { box-shadow: var(--focus-ring); }

/* Im Wizard übernimmt der Stepper die Nummerierung */
.wizard-active legend .step { display: none; }

/* ---- Zusammenfassung im letzten Schritt ------------------------ */

.wizard-summary {
    margin-bottom: 26px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.wizard-summary-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.wizard-summary-section { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-200); }

.wizard-summary-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.wizard-summary-head h3 { font-size: 13.5px; font-weight: 600; color: var(--gray-600); }

.wizard-summary-edit {
    border: 0;
    background: none;
    padding: 0;
    font: 500 13px var(--font-sans);
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    cursor: pointer;
}

.wizard-summary-edit:hover { color: #000; }
.wizard-summary-edit:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 3px; }

.wizard-summary dl {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 4px 14px;
    font-size: 13.5px;
}

.wizard-summary dt { color: var(--gray-500); font-weight: 500; }

.wizard-summary dd { min-width: 0; overflow-wrap: anywhere; }

.wizard-summary dd.is-empty { color: var(--gray-400); }

.wizard-summary dd.is-mono { font-family: var(--font-mono); font-size: 13px; }

/* Mehrzeilige Angaben (Beschreibung, Fehlermeldung, Log) */
.wizard-summary dd.is-block {
    white-space: pre-wrap;
    max-height: 9em;
    overflow-y: auto;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-200);
}

.wizard-nav .btn-secondary { cursor: pointer; font-family: inherit; }

/* "Weiter" rechts, auch wenn "Zurück" fehlt */
.btn-next {
    margin-left: auto;
    font: 600 15px/1 var(--font-sans);
    color: #000;
    background: var(--brand);
    border: 0;
    border-radius: var(--radius);
    padding: 12px 28px;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.06s ease;
}

.btn-next:hover { background: var(--brand-deep); }
.btn-next:active { transform: translateY(1px); }
.btn-next:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- Dienst-Auswahl (Radio-Karten) ----------------------------- */

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-option { position: relative; display: block; margin: 0; }

.service-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.service-option:hover .service-card { border-color: var(--gray-400); }

.service-option input:checked ~ .service-card {
    background: #fff;
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.service-option input:focus-visible ~ .service-card { box-shadow: var(--focus-ring); border-color: var(--brand); }

.service-icon {
    width: 34px;
    height: 34px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--gray-200);
    color: var(--gray-600);
    transition: background 0.12s ease, color 0.12s ease;
}

.service-icon svg { width: 19px; height: 19px; }

.service-option input:checked ~ .service-card .service-icon {
    background: var(--brand);
    color: #000;
}

.service-name { font-size: 14px; font-weight: 500; line-height: 1.35; }

/* ---- Formular-Fuß ---------------------------------------------- */

.consent {
    display: flex;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.consent input {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    /* Helles Markengelb → Browser rendern das Häkchen automatisch schwarz */
    accent-color: var(--brand);
}

.consent input:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 3px; }

.field-altcha { margin-top: 18px; }

altcha-widget {
    --altcha-color-base: var(--gray-50);
    --altcha-color-border: var(--gray-300);
    --altcha-color-text: var(--ink);
    --altcha-color-border-focus: var(--ink);
    /* Gecheckte Checkbox: Markengelb mit schwarzem Häkchen */
    --altcha-color-success: var(--brand);
    --altcha-color-success-content: #000;
    --altcha-border-radius: 6px;
    --altcha-max-width: 100%;
    display: block;
}

.btn-submit {
    margin-top: 22px;
    width: 100%;
    font: 600 16px/1 var(--font-sans);
    color: #000;
    background: var(--brand);
    border: 0;
    border-radius: var(--radius);
    padding: 14px 24px;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.06s ease;
}

.btn-submit:hover { background: var(--brand-deep); }
.btn-submit:active { transform: translateY(1px); }
.btn-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-submit:disabled { background: var(--gray-300); color: var(--gray-600); cursor: default; transform: none; }

/* ---- Absende-Overlay (JS blendet es nach dem Absenden ein) -------- */

.submit-overlay {
    margin: auto;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 28px 26px 26px;
    width: min(440px, calc(100vw - 40px));
    box-shadow: 0 10px 40px rgba(35, 35, 35, 0.18);
    color: var(--ink);
    text-align: center;
}

.submit-overlay::backdrop {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.submit-overlay h2 { margin: 16px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.submit-overlay p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--gray-600); }
.submit-overlay .submit-overlay-slow { margin-top: 12px; color: var(--brand-deep); font-weight: 500; }

.submit-overlay-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--brand-tint);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: submit-spin 0.9s linear infinite;
}

@keyframes submit-spin {
    to { transform: rotate(360deg); }
}

.btn-secondary {
    display: inline-block;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 10px 18px;
    text-decoration: none;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.btn-secondary:hover { border-color: var(--ink); }
.btn-secondary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- Erfolgsseite ---------------------------------------------- */

/* Haken links neben dem Text, auf kleinen Screens zentriert darüber */
.card-success {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.success-body { display: grid; gap: 14px; justify-items: start; width: 100%; }

.success-mark {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.success-mark svg { width: 22px; height: 22px; }

/* Gleicher Stil wie die Status-Banner, über die volle Card-Breite */
.ticket-number {
    width: 100%;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--success);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14.5px;
    box-shadow: 0 1px 2px rgba(35, 35, 35, 0.06), 0 4px 14px rgba(35, 35, 35, 0.08);
}

.ticket-number strong { font-family: var(--font-mono); font-size: 16px; }

.ticket-number span { display: block; margin-top: 2px; font-size: 13px; color: var(--gray-500); }

/* ---- Honeypot: für Menschen unsichtbar ------------------------- */

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- Footer ----------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    padding-block: 18px;
    font-size: 13px;
    color: var(--gray-500);
}

/* Copyright-Zeile in normaler Schriftfarbe, hebt sich von den Links ab */
.footer-copy { color: var(--ink); }

.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-inner a { color: var(--gray-600); text-decoration: none; }
.footer-inner a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); }

/* ---- Responsiv / Motion ---------------------------------------- */

@media (max-width: 560px) {
    .service-grid { grid-template-columns: 1fr; }
    .field-row--name { grid-template-columns: 1fr; }
    .wizard-summary dl { grid-template-columns: 1fr; gap: 2px; }
    .wizard-summary dd + dt { margin-top: 8px; }
    .header-inner { padding-block: 12px; }
    .logo img { width: 84px; }
    /* Auf kleinen Screens nur das Label des aktiven Schritts zeigen */
    .stepper-item:not(.is-current) .stepper-label { display: none; }
    .card-success { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    .submit-overlay-spinner { animation: none; }
}
