/* ===================================================================
   onlineantrag.com - Layout im rosa-photovoltaik-Stil
   Domain ist vollstaendig hinter Login, robots:noindex.
   Tarifrechner nutzen eine separate Hauptvorlage und sind NICHT
   von dieser Datei betroffen.
   =================================================================== */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('/build/fonts/roboto/Roboto-Regular.woff2') format('woff2'),
         url('/build/fonts/roboto/Roboto-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/build/fonts/roboto/Roboto-Bold.woff2') format('woff2'),
         url('/build/fonts/roboto/Roboto-Bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 600;
    src: url('/build/fonts/noto/NotoSans-SemiBold.woff2') format('woff2'),
         url('/build/fonts/noto/NotoSans-SemiBold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    src: url('/build/fonts/noto/NotoSans-Bold.woff2') format('woff2'),
         url('/build/fonts/noto/NotoSans-Bold.ttf') format('truetype');
    font-display: swap;
}

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 { font-family: "Noto Sans", "Roboto", sans-serif; }
p, li, a { font-size: 1.1rem; }
h1.text-center { padding-top: 0; }
h2 { margin-bottom: 1rem; margin-top: 1rem; }
h3 { margin-bottom: 1rem; margin-top: 1.4rem; }

/* ---------- Header + Topbar ---------- */
header.fixed-top.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent);
}

.customerservice-modern {
    background: linear-gradient(90deg, #2a2a2a, #3a3a3a);
    padding: 6px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
}
.customerservice-modern a {
    color: #e97dd8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
}
.customerservice-modern a:hover { color: #f5a0ea; }
.customerservice-modern i { color: rgba(255,255,255,0.85); font-size: 0.75rem; }
.customerservice-modern .topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.2);
    display: inline-block;
}

/* ---------- Navbar ---------- */
.navbar {
    border-bottom: 1px solid #ccc;
    padding: 0;
    height: 100%;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.navbar.navbar-scrolled { border-bottom-color: #e97dd8; }
.navbar .container-fluid {
    padding: 0;
    background-color: #fde9ff;
}
.navbar-brand { margin-right: 0; }
.navbar-brand .logo { display: inline-block; }
.nav-link {
    color: #000 !important;
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    font-size: 0.95rem;
    transition: color 0.15s, border-color 0.15s;
}
.navbar-nav > .nav-item > .nav-link {
    border-bottom: 2px solid transparent;
    padding-bottom: 0.3rem;
}
.navbar-nav > .nav-item > .nav-link:hover {
    color: #e97dd8 !important;
    border-bottom-color: #e97dd8;
}
.nav-link.aktiv { color: #e97dd8 !important; background-color: transparent; }
.navbar-nav > .nav-item > .nav-link.aktiv { border-bottom-color: #e97dd8; }
.navbar-toggler {
    border-color: rgb(62, 61, 62) !important;
    position: absolute;
    right: 12px;
    top: 8px;
}

/* ---------- Content Container ---------- */
/* Fixed-top header ist ca. 6rem hoch (Topbar + Navbar). */
.container-fluid { padding: 6rem 0 0 0; }

/* ---------- Buttons + Forms ---------- */
.btn { white-space: normal; }
.btn-light { background-color: #fde9ff; border-color: #ccc; }
.btn-light:hover { background-color: #f5d0f8; border-color: #e97dd8; }
form .btn-light { border: 1px solid #ccc; }
legend { margin-left: 1rem; margin-bottom: 1rem; }

.form-control.is-invalid,
.was-validated .form-control:invalid { border-color: black; }
.form-select.is-invalid,
.was-validated .form-select:invalid { border-color: black; }

/* ---------- Icons ---------- */
.bi { color: #818182; }
a:hover .bi { color: #e97dd8; }
header a:hover .bi { color: #ccc; }

/* ---------- Footer ---------- */
footer { margin-top: 4rem; padding-bottom: 1.5rem; }
footer p {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.5rem;
}
footer p a {
    color: #444;
    font-size: 0.8rem;
    text-decoration: none;
    border-bottom: 1px dotted #999;
    transition: color 0.15s, border-bottom-color 0.15s;
}
footer p a:hover {
    color: #c45ab4;
    border-bottom-color: #c45ab4;
}
footer .border-top { padding-top: 0.75rem; }
footer img { max-height: 60px; width: auto; }

/* ---------- Start-Seite: Angebot-Karten mit glossy CTA ---------- */
.angebot_photovoltaikversicherung { align-items: stretch; }

.angebot-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #e9c8e5;
    border-radius: 14px;
    padding: 1.75rem 1.4rem 1.5rem;
    box-shadow: 0 4px 18px rgba(233, 125, 216, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.angebot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(233, 125, 216, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
    border-color: #e97dd8;
}

.angebot-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    margin-bottom: 0.75rem;
    text-decoration: none;
}
.angebot-logo img {
    max-height: 74px;
    max-width: 200px;
    width: auto;
    height: auto;
    transition: transform 0.2s ease;
}
.angebot-card:hover .angebot-logo img { transform: scale(1.03); }

.angebot-card h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0.25rem 0 0.75rem;
    color: #2a2a2a;
    font-weight: 700;
}

.angebot-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.angebot-card p.angebot-preis {
    font-size: 1.15rem;
    font-weight: 700;
    color: #c45ab4;
    margin: 0.25rem 0 0.75rem 0;
    flex-grow: 0;
    letter-spacing: 0.01em;
}

.angebot-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(180deg, #fde9ff 0%, #f5d0f8 55%, #edb8e6 100%);
    border: 1px solid #d66bc5;
    border-radius: 8px;
    color: #2a2a2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -8px 16px -8px rgba(196, 90, 180, 0.22),
        0 2px 6px rgba(233, 125, 216, 0.22);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.angebot-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}
.angebot-cta i {
    font-size: 1.3rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}
.angebot-cta span,
.angebot-cta { z-index: 0; }
.angebot-cta:hover {
    background: linear-gradient(180deg, #f5d0f8 0%, #edb8e6 55%, #e4a4dd 100%);
    border-color: #c45ab4;
    color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -8px 16px -8px rgba(196, 90, 180, 0.32),
        0 6px 14px rgba(233, 125, 216, 0.35);
}
.angebot-cta:active {
    transform: translateY(0);
    box-shadow:
        inset 0 2px 5px rgba(154, 62, 138, 0.25),
        0 1px 3px rgba(233, 125, 216, 0.2);
}

/* ---------- Hilfe zur Antragstellung (/hilfe-zur-antragstellung) ---------- */
.hilfe-intro {
    padding: 1rem 0 0.5rem 0;
}
.hilfe-intro h2 {
    text-align: center;
    margin: 0.5rem 0 0.5rem;
    color: #2a2a2a;
    font-size: 1.8rem;
}
.hilfe-lead {
    text-align: center;
    color: #666;
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto 1rem;
    line-height: 1.55;
}

.hilfe-steps {
    padding: 0.5rem 0 2rem 0;
}
.hilfe-steps .container {
    max-width: 820px;
}

.hilfe-step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hilfe-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e9c8e5;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(233, 125, 216, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hilfe-step:hover {
    transform: translateX(3px);
    border-color: #e97dd8;
    box-shadow: 0 4px 14px rgba(233, 125, 216, 0.15);
}

.hilfe-step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(180deg, #fde9ff 0%, #f5d0f8 100%);
    border: 1px solid #d66bc5;
    border-radius: 50%;
    color: #c45ab4;
    font-weight: 700;
    font-size: 1rem;
    font-family: "Noto Sans", "Roboto", sans-serif;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hilfe-step-content {
    flex: 1;
    padding-top: 0.3rem;
}
.hilfe-step-content p {
    margin: 0;
    color: #333;
    font-size: 0.98rem;
    line-height: 1.55;
}
.hilfe-step-content strong {
    color: #2a2a2a;
    font-weight: 600;
}

.hilfe-hinweise {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.hilfe-note {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fdf4ff;
    border: 1px solid #f0d6ec;
    border-left: 4px solid #e97dd8;
    border-radius: 8px;
    padding: 1rem 1.15rem;
}
.hilfe-note > i {
    font-size: 1.5rem;
    color: #c45ab4;
    line-height: 1;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.hilfe-note > div {
    flex: 1;
}
.hilfe-note strong {
    display: block;
    color: #2a2a2a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.hilfe-note p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.55;
}
.hilfe-note p a {
    color: #c45ab4;
    text-decoration: none;
    font-size: inherit;
    border-bottom: 1px dotted #c45ab4;
    transition: color 0.15s, border-bottom-style 0.15s;
}
.hilfe-note p a:hover {
    color: #a0408f;
    border-bottom-style: solid;
}

.hilfe-note-important {
    background: #fff4ed;
    border-color: #ffd9b8;
    border-left-color: #ff8a3a;
}
.hilfe-note-important > i {
    color: #ff8a3a;
}
.hilfe-note-important strong {
    color: #b8540a;
}

/* ---------- Versicherungsbedingungen (/versicherungsbedingungen) ---------- */
.bedingungen-intro {
    padding: 1rem 0 0.25rem 0;
}
.bedingungen-intro h2 {
    text-align: center;
    margin: 0.5rem 0 0.5rem;
    color: #2a2a2a;
    font-size: 1.8rem;
}
.bedingungen-lead {
    text-align: center;
    color: #666;
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto 0.5rem;
    line-height: 1.55;
}

.bedingungen-section {
    padding: 1.75rem 0;
}
.bedingungen-section-alt {
    background-color: #fafafa;
}
.bedingungen-section .container {
    background: #fff;
    border: 1px solid #e9c8e5;
    border-radius: 14px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 4px 18px rgba(233, 125, 216, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    max-width: 960px;
}

.bedingungen-header {
    padding-bottom: 0.9rem;
    border-bottom: 2px solid #fde9ff;
    margin-bottom: 1.1rem;
}
.bedingungen-header h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0 0 0;
    font-weight: 700;
    color: #2a2a2a;
    padding-right: 150px;
    line-height: 1.35;
}
.bedingungen-logo {
    display: inline-block;
    padding: 0.25rem;
    text-decoration: none;
}
.bedingungen-logo img {
    max-width: 130px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.bedingungen-list.list-group {
    border: none;
    gap: 0.4rem;
}
.bedingungen-list .list-group-item {
    border: 1px solid #f0d6ec;
    border-radius: 8px !important;
    padding: 0.75rem 1rem;
    background: #fdf4ff;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.bedingungen-list .list-group-item:hover {
    background: #fde9ff;
    border-color: #e97dd8;
    transform: translateX(3px);
}
.bedingungen-list .list-group-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}
.bedingungen-list .list-group-item a:hover {
    color: #c45ab4;
}
.bedingungen-list .list-group-item .bi {
    color: #c45ab4;
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-right: 0;
    transition: color 0.15s;
}
.bedingungen-list .list-group-item a span {
    flex: 1;
}

.bedingungen-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(180deg, #fde9ff 0%, #f5d0f8 55%, #edb8e6 100%);
    border: 1px solid #d66bc5;
    border-radius: 8px;
    color: #2a2a2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -8px 16px -8px rgba(196, 90, 180, 0.22),
        0 2px 6px rgba(233, 125, 216, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    position: relative;
    overflow: hidden;
}
.bedingungen-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}
.bedingungen-cta i {
    font-size: 1.25rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}
.bedingungen-cta:hover {
    background: linear-gradient(180deg, #f5d0f8 0%, #edb8e6 55%, #e4a4dd 100%);
    border-color: #c45ab4;
    color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -8px 16px -8px rgba(196, 90, 180, 0.32),
        0 6px 14px rgba(233, 125, 216, 0.35);
}
.bedingungen-cta:active {
    transform: translateY(0);
    box-shadow:
        inset 0 2px 5px rgba(154, 62, 138, 0.25),
        0 1px 3px rgba(233, 125, 216, 0.2);
}

/* ---------- Schadenformulare (/schadenanzeigen) ---------- */
.schadenformulare-list .list-group-item {
    padding: 0.95rem 1.15rem;
}
.schadenformulare-list .list-group-item a {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.schadenformulare-list .schaden-logo {
    flex-shrink: 0;
    max-width: 95px;
    max-height: 42px;
    width: auto;
    height: auto;
}
.schadenformulare-list .schaden-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.schadenformulare-list .schaden-text strong {
    color: #2a2a2a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.schadenformulare-list .schaden-text span {
    color: #888;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.schadenformulare-list .list-group-item:hover .schaden-text strong {
    color: #c45ab4;
}
.schadenformulare-list .list-group-item .bi {
    margin-left: auto;
    font-size: 1.5rem;
    flex-shrink: 0;
}

@media screen and (max-width: 575.98px) {
    .schadenformulare-list .list-group-item a {
        gap: 0.75rem;
    }
    .schadenformulare-list .schaden-logo {
        max-width: 70px;
        max-height: 32px;
    }
    .schadenformulare-list .schaden-text strong {
        font-size: 0.9rem;
    }
    .schadenformulare-list .schaden-text span {
        font-size: 0.75rem;
    }
    .schadenformulare-list .list-group-item .bi {
        font-size: 1.25rem;
    }
}

/* ---------- Vergleichstabelle (/vergleich) ---------- */
h2.center {
    text-align: center;
    margin: 1.5rem 0 1.25rem 0;
    color: #2a2a2a;
    font-size: 1.8rem;
}

.table-responsive {
    border: 1px solid #e9c8e5;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(233, 125, 216, 0.1), 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
    margin-bottom: 2rem;
    background: #fff;
}

.table-responsive .table {
    --bs-table-striped-bg: rgba(253, 244, 255, 0.45);
    --bs-table-hover-bg: rgba(253, 233, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.table-responsive .table thead th {
    background: linear-gradient(180deg, #fde9ff, #f5d0f8);
    color: #2a2a2a;
    font-weight: 700;
    text-align: center;
    padding: 1rem 0.9rem;
    border-bottom: 3px solid #e97dd8;
    border-top: none;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.35;
}

.table-responsive .table thead th.linke-spalte {
    background: #fafafa;
    border-bottom-color: #e9c8e5;
}

.table-responsive .table thead th img {
    display: block;
    margin: 0.55rem auto 0;
    max-height: 42px;
    max-width: 130px;
    width: auto;
    height: auto;
}

.table-responsive .table td,
.table-responsive .table th {
    padding: 0.85rem 0.95rem;
    line-height: 1.55;
    vertical-align: top;
    font-size: 0.9rem;
}

.table-responsive .linke-spalte {
    background: #fafafa !important;
    color: #2a2a2a;
    font-weight: 600;
    border-right: 2px solid #e9c8e5;
    min-width: 220px;
    max-width: 280px;
    font-size: 0.92rem;
}

.table-responsive .linke-spalte strong {
    font-weight: 700;
    color: #1a1a1a;
}

.table-responsive .tarif-ruv,
.table-responsive .tarif-inter,
.table-responsive .tarif-zurich {
    min-width: 260px;
}

/* Verbindendes Trennlinien-Detail zwischen Tarif-Spalten */
.table-responsive .tarif-inter,
.table-responsive .tarif-zurich {
    border-left: 1px solid #f0d6ec;
}

.table-responsive .table a {
    color: #c45ab4;
    text-decoration: none;
    border-bottom: 1px dotted #c45ab4;
    font-size: inherit;
    transition: color 0.15s, border-bottom-style 0.15s;
}
.table-responsive .table a:hover {
    color: #a0408f;
    border-bottom-style: solid;
}

.table-responsive .table p {
    margin-bottom: 0;
    margin-top: 0.4rem;
    font-size: 0.88rem;
    color: #666;
}
.table-responsive .table p strong {
    color: #c45ab4;
    font-weight: 600;
}

/* Disclaimer / Copyright-Zeile unter der Vergleichstabelle */
.table-responsive + p.note,
p.note {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
    margin: 0.75rem 0 1.5rem 0;
    line-height: 1.5;
}

/* ---------- Nach-oben-Button ---------- */
#btn-to-top {
    position: fixed;
    bottom: 60px;
    right: 40px;
    background-color: #fde9ff;
    border: 1px solid #000;
    color: #000;
    display: none;
    z-index: 1100;
}
#btn-to-top:hover { background-color: #f5d0f8; border-color: #e97dd8; }

/* ===================================================================
   Auth-Seiten (Login, Passwort-Erstvergabe, Passwort-Reset, 2FA)
   Wird via body.auth-page aktiviert. Header und Footer werden
   ausgeblendet, Card-Layout zentriert auf rosa Hintergrund.
   =================================================================== */
body.auth-page { background: #fde9ff; min-height: 100vh; }
body.auth-page header, body.auth-page footer { display: none; }
body.auth-page > .container-fluid { padding: 0; }
body.auth-page #btn-to-top { display: none !important; }

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
}
.auth-card {
    background: #fff;
    border: 1px solid #e9c8e5;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(233,125,216,0.15), 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.75rem 1.75rem 1.5rem;
    width: 100%;
    max-width: 480px;
}
.auth-card-wide { max-width: 640px; }
.auth-brand { text-align: center; margin-bottom: 0.75rem; }
.auth-brand-logo { max-width: 200px; height: auto; display: block; margin: 0 auto; }
.auth-brand-domain { display: block; font-size: 0.75rem; color: #888; margin-top: 0.15rem; letter-spacing: 0.02em; }
.auth-title { font-size: 1.6rem; font-weight: 700; color: #2a2a2a; text-align: center; margin: 0 0 0.25rem 0; }
.auth-lead { font-size: 0.95rem; color: #555; text-align: center; margin: 0 0 1rem 0; line-height: 1.45; }

.auth-form { display: flex; flex-direction: column; gap: 0.65rem; }
.auth-form .form-label { font-weight: 600; color: #333; margin-bottom: 0.25rem; font-size: 0.9rem; }
.auth-form .form-control {
    min-height: 48px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    padding: 0.6rem 0.85rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-form .form-control:focus {
    border-color: #e97dd8;
    box-shadow: 0 0 0 0.2rem rgba(233,125,216,0.25);
    outline: none;
}
.auth-form .form-control:-webkit-autofill,
.auth-form .form-control:-webkit-autofill:hover,
.auth-form .form-control:-webkit-autofill:focus,
.auth-form .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #2a2a2a !important;
    caret-color: #2a2a2a;
    transition: background-color 9999s ease-in-out 0s;
}
.auth-form .invalid-feedback,
.auth-form .form-error-message {
    display: block;
    color: #b91c1c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.auth-pwd-hints {
    list-style: none;
    padding: 0.6rem 0.85rem;
    margin: 0.15rem 0 0.25rem 0;
    background: #fdf4ff;
    border: 1px solid #f0d6ec;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #777;
}
.auth-pwd-hints li { padding: 2px 0 2px 1.35rem; position: relative; transition: color 0.15s; }
.auth-pwd-hints li::before { content: '\25CB'; position: absolute; left: 0; color: #c9a8c4; font-weight: bold; font-size: 0.9rem; transition: color 0.15s, content 0.15s; }
.auth-pwd-hints li.ok { color: #1a7f37; }
.auth-pwd-hints li.ok::before { content: '\2713'; color: #1a7f37; }
.auth-field { display: flex; flex-direction: column; }
.auth-remember { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #555; }
.auth-remember .form-check-input { margin: 0; }

.auth-card .auth-submit {
    background: #e97dd8 !important;
    color: #fff !important;
    border: 1px solid #d66bc5 !important;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    min-height: 46px;
    line-height: 1.5;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
    margin-top: 0.35rem;
}
.auth-card .auth-submit:hover,
.auth-card .auth-submit:focus {
    background: #d66bc5 !important;
    color: #fff !important;
    border-color: #c45ab4 !important;
    text-decoration: none;
}

.auth-alt { text-align: center; margin-top: 1rem; margin-bottom: 0; font-size: 0.85rem; color: #666; }
.auth-alt a { color: #c45ab4; text-decoration: none; font-weight: 500; }
.auth-alt a:hover { text-decoration: underline; }

.auth-note {
    background: #fdf4ff;
    border: 1px solid #f0d6ec;
    border-radius: 6px;
    padding: 0.75rem 0.9rem;
    color: #555;
    margin: 0.5rem 0 0.25rem 0;
    text-align: left;
}
.auth-note p { margin: 0 0 0.4rem 0; font-size: 0.95rem; line-height: 1.5; color: #555; text-align: left; }
.auth-note p:last-child { margin-bottom: 0; }
.auth-note a { color: #c45ab4; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.auth-note a:hover { text-decoration: underline; }

.auth-card .alert { border-radius: 6px; font-size: 0.9rem; padding: 0.75rem 1rem; }

.auth-otp {
    font-size: 1.6rem !important;
    letter-spacing: 0.45rem;
    font-weight: 600;
    text-align: center;
    padding: 0.7rem 0.85rem !important;
}
.auth-method-group { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.auth-method-btn {
    flex: 1;
    padding: 0.55rem 0.8rem;
    background: #fff;
    border: 1px solid #d66bc5;
    border-radius: 6px;
    color: #c45ab4;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.auth-method-btn.active,
.auth-method-btn:hover { background: #e97dd8; color: #fff; }

.auth-section-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 1.25rem 0 0.5rem 0;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #f0d6ec;
}
.auth-section-heading:first-of-type { margin-top: 0.5rem; }

.auth-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    font-size: 0.9rem;
    color: #444;
}
.auth-status-row + .auth-status-row { border-top: 1px solid #f5e8f3; }
.auth-status-row strong { color: #2a2a2a; font-weight: 600; }

.auth-badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 10px; }
.auth-badge-success { background: #e7f5ec; color: #1a7f37; }
.auth-badge-warning { background: #fff4d6; color: #8a5a00; }
.auth-badge-muted { background: #eeeeee; color: #666; }

.auth-method-list { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.auth-method-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.85rem;
    background: #fdf4ff;
    border: 1px solid #f0d6ec;
    border-radius: 6px;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #444;
}
.auth-method-list li:last-child { margin-bottom: 0; }
.auth-method-list .btn-link {
    color: #b91c1c;
    background: none;
    border: none;
    font-size: 0.85rem;
    padding: 0.15rem 0.4rem;
    cursor: pointer;
    text-decoration: underline;
}
.auth-method-list .btn-link:hover { color: #8b1515; }

.auth-qr { text-align: center; margin: 0.75rem 0; }
.auth-qr img { max-width: 220px; height: auto; }
.auth-secret {
    display: block;
    text-align: center;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    background: #fdf4ff;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    color: #c45ab4;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    word-break: break-all;
}
.auth-backup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin: 1rem 0; }
.auth-backup-grid code {
    display: block;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    background: #fdf4ff;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    color: #c45ab4;
    font-size: 0.95rem;
    text-align: center;
}
.auth-btn-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.auth-btn-row .btn { flex: 1; min-width: 140px; }

.auth-btn-secondary {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #555 !important;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.5;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}
.auth-btn-secondary:hover,
.auth-btn-secondary:focus { background: #f5f5f5 !important; color: #2a2a2a !important; text-decoration: none; }
.auth-btn-danger {
    background: #fff !important;
    border: 1px solid #e19a9a !important;
    color: #b91c1c !important;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.5;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}
.auth-btn-danger:hover,
.auth-btn-danger:focus { background: #fceaea !important; color: #8b1515 !important; text-decoration: none; }

.auth-card-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; gap: 0.5rem; }
.auth-resend { margin-top: 0.5rem; }
.auth-resend .auth-btn-secondary { width: 100%; }

/* ===================================================================
   Responsive Breakpoints (Bootstrap 5 aligned)
   =================================================================== */
@media screen and (min-width: 1400px) and (max-width: 1599.98px) {
    .nav-link { font-size: 0.82rem; padding-right: 0.45rem; padding-left: 0.45rem; }
}

@media screen and (max-width: 991.98px) {
    .container-fluid { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

@media screen and (max-width: 767.98px) {
    .logo img { width: 80%; }
    .navbar { padding: 0; }
    .navbar-brand { margin-right: 0 !important; }
    .navbar-brand img { margin-left: 0; }
    .customerservice-modern {
        flex-wrap: wrap;
        gap: 8px 16px;
        justify-content: center;
        padding: 6px 12px;
    }

    /* Vergleichstabelle kompakter */
    .table-responsive .linke-spalte {
        min-width: 160px;
        max-width: 180px;
        font-size: 0.85rem;
    }
    .table-responsive .tarif-ruv,
    .table-responsive .tarif-inter,
    .table-responsive .tarif-zurich {
        min-width: 220px;
        font-size: 0.85rem;
    }
    .table-responsive .table thead th {
        padding: 0.75rem 0.6rem;
        font-size: 0.88rem;
    }
    .table-responsive .table thead th img {
        max-height: 34px;
        max-width: 100px;
    }
    .table-responsive .table td,
    .table-responsive .table th {
        padding: 0.7rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 575.98px) {
    .container-fluid { padding: 5.5rem 0 0 0; }
    .customerservice-modern {
        gap: 6px 10px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    .customerservice-modern a { font-size: 0.7rem; }
    .customerservice-modern .topbar-divider { display: none; }
    footer p { text-align: center; font-size: 0.75rem; line-height: 1.8; }
    footer p a { font-size: 0.75rem; }

    .auth-section { padding: 1rem 0.75rem; }
    .auth-card { padding: 1.25rem 1.1rem 1.1rem; border-radius: 10px; }
    .auth-title { font-size: 1.35rem; }
    .auth-lead { font-size: 0.9rem; margin-bottom: 0.85rem; }
    .auth-pwd-hints { font-size: 0.78rem; }
}

@media screen and (min-width: 576px) and (max-width: 991.98px) {
    .auth-card { max-width: 460px; padding: 1.6rem 1.5rem 1.4rem; }
}

@media screen and (min-width: 992px) {
    .auth-card { padding: 2rem 2rem 1.5rem; }
}
