/*!
 * Brandtheme – Komponenten und Seiten für Twenty-One (Bootstrap 4) und Standard Cart.
 * Baut auf css/tokens.css auf (Farben, Abstände, Radien, Schatten, Schrift).
 *
 * Regeln – bitte bei Änderungen einhalten, damit alles aus einem Guss bleibt:
 *  - Werte nur aus Tokens. Diese Datei enthält keine Farbcodes.
 *  - Grün sparsam: Hauptaktionen, Preise, „Beliebt“, aktive Zustände, Online-Status.
 *    Grün als Schrift immer über --accent-text, Rahmen über --accent-line (hell abgedunkelt).
 *  - Links sind Textfarbe mit Unterstreichung, nicht grün.
 *  - Ein Bedienelement, ein Aussehen – auch bei geerbten WHMCS-Bausteinen.
 *  - Zwei Welten, ein System: Gaming-Bereiche (.bt-zone--gaming) dürfen dezent leuchten
 *    (--glow), Business-Bereiche (.bt-zone--business) bleiben ruhig.
 *
 * Inhalt
 *  3  Basis                      12 Anmeldung und Formularseiten
 *  4  Buttons                    13 Kundenbereich
 *  5  Formulare                  14 Hilfe, Ankündigungen, Status, Downloads
 *  6  Auswahl-Bausteine          15 Bestellprozess (Standard Cart, #order-standard_cart)
 *  7  Karten, Listen, Tabellen   16 Fremd-Widgets
 *  8  Meldungen und Overlays     17 Rechnungsansicht
 *  9  Utility-Leiste, Kopf,      18 Responsiv, reduzierte Bewegung, Druck
 *     Mega-Menü, Fußbereich      19 Design-System-Bausteine (Badge, Preis, Platzhalter, Dialog)
 *  10 Öffentliche Seiten         20 Startseite
 *  11 Pakete, Preise, Vergleich  21 Kundenbereich-Dashboard und Modul-Ausgaben
 */

/* =========================================================================
   3  Basis
   ========================================================================= */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body,
body.bt-body,
.primary-bg-color {
    background: var(--bg) !important;
    color: var(--text);
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
html.bt-nav-locked, html.bt-nav-locked body { overflow: hidden; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text);
    font-family: var(--font);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--lh-tight);
}
h1, .h1 { font-size: var(--fs-2xl); }
h2, .h2 { font-size: var(--fs-xl); }
h3, .h3 { font-size: var(--fs-lg); letter-spacing: -0.015em; }
h4, .h4 { font-size: var(--fs-md); letter-spacing: -0.01em; }
h5, .h5, h6, .h6 { font-size: var(--fs-base); letter-spacing: 0; }

p { color: var(--text-muted); }
strong, b { font-weight: var(--fw-semibold); color: var(--text); }
small, .small { color: var(--text-subtle); }
hr { border-color: var(--border); }
address { margin: 0; font-style: normal; }
code, pre, kbd, samp { font-family: var(--font-mono); color: var(--text); background: var(--surface-2); border-radius: var(--r-sm); }
code, kbd { padding: 1px 5px; font-size: .875em; }
pre { padding: 14px 16px; border: 1px solid var(--border); }
pre code { padding: 0; background: none; }
.bt-mono { font-family: var(--font-mono); font-feature-settings: "zero"; }

/* Links: Textfarbe, Unterstreichung zeigt das Ziel. Grün bleibt Aktionen und Preisen vorbehalten. */
a { color: var(--text); text-decoration: none; }
a:hover, a:focus { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p a, td a:not(.btn), .alert a, label a, .help-block a, .form-text a, small a, .bt-prose a, .bt-link {
    text-decoration: underline;
    text-decoration-color: var(--input-border);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
p a:hover, td a:not(.btn):hover, .alert a:hover, label a:hover, .bt-prose a:hover, .bt-link:hover { text-decoration-color: currentColor; }

.text-muted, .text-secondary { color: var(--text-subtle) !important; }
.text-dark, .text-body, .text-black-50 { color: var(--text) !important; }
.text-primary, .text-info, .text-success { color: var(--accent-text) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.bg-white, .bg-light, .bg-default, .bg-secondary { background-color: var(--surface) !important; color: var(--text); }
.bg-primary, .bg-info, .bg-success { background-color: var(--accent) !important; color: var(--accent-ink) !important; }
.border, .border-top, .border-bottom, .border-left, .border-right { border-color: var(--border) !important; }

/* Fokus sichtbar – überall gleich */
:focus { outline: none; }
:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--focus) !important;
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

.bt-skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--r);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: var(--fw-semibold);
}
.bt-skip:focus { top: 12px; color: var(--accent-ink); text-decoration: none; }

.container { max-width: var(--container); padding-left: var(--gutter); padding-right: var(--gutter); }
.bt-container-narrow { max-width: var(--container-narrow); }
.bt-icon { flex-shrink: 0; vertical-align: middle; }
.bt-nowrap { white-space: nowrap; }
.sr-only, .bt-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
img { max-width: 100%; height: auto; }

/* =========================================================================
   4  Buttons
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--ctl);
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: var(--r);
    box-shadow: none;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: normal;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn:focus, .btn.focus { box-shadow: none; }
.btn:focus-visible { box-shadow: var(--ring); }
.btn-block { display: flex; width: 100%; }
.btn.disabled, .btn:disabled { opacity: .5; cursor: not-allowed; }

/* Hauptaktion */
.btn-primary,
.btn-success,
.btn-info,
.btn-order-now,
.btn-checkout {
    background: var(--accent) !important;
    border-color: var(--accent-line) !important;
    color: var(--accent-ink) !important;
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover, .btn-order-now:hover, .btn-checkout:hover,
.btn-primary:focus, .btn-success:focus, .btn-info:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled):active {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: var(--accent-ink) !important;
}

/* Nebenaktion */
.btn-default,
.btn-secondary,
.btn-light,
.btn-dark,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-default,
.btn-outline-info,
.btn-outline-success,
.btn-outline-dark,
.btn-outline-light {
    background: var(--surface-2) !important;
    border: 1px solid var(--input-border) !important;
    color: var(--text) !important;
}
.btn-default:hover, .btn-secondary:hover, .btn-light:hover, .btn-dark:hover,
.btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-outline-default:hover,
.btn-outline-info:hover, .btn-outline-success:hover, .btn-outline-dark:hover, .btn-outline-light:hover,
.btn-default:focus, .btn-secondary:focus, .btn-light:focus,
.btn-default.active, .btn-secondary.active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background: var(--surface-3) !important;
    border-color: var(--text-subtle) !important;
    color: var(--text) !important;
}

.btn-danger, .btn-outline-danger {
    background: transparent !important;
    border: 1px solid var(--danger) !important;
    color: var(--danger) !important;
}
.btn-danger:hover, .btn-outline-danger:hover, .btn-danger:focus { background: var(--danger-soft) !important; color: var(--danger) !important; }
.btn-warning { background: var(--warning) !important; border-color: var(--warning) !important; color: var(--bg) !important; }
.btn-warning:hover, .btn-warning:focus { background: var(--text) !important; border-color: var(--text) !important; color: var(--bg) !important; }
.btn-outline-warning { background: transparent !important; border: 1px solid var(--warning) !important; color: var(--warning) !important; }
.btn-outline-warning:hover { background: var(--warning-soft) !important; }

.btn-link { min-height: 0; padding-left: 0; padding-right: 0; background: none !important; border: 0 !important; color: var(--accent-text) !important; }
.btn-link:hover { color: var(--accent-hover) !important; text-decoration: underline; }

.btn-lg { min-height: 48px; padding: 11px 22px; font-size: 16px; }
.btn-sm, .bt-btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn-xs { min-height: 30px; padding: 3px 10px; font-size: 13px; }
.btn .fa, .btn .fas, .btn .far, .btn .fal { line-height: 1; }

/* Zahlungsbutton (Rechnung) – bewusst hell, damit er sich von allen anderen Aktionen abhebt */
.bt-btn-pay,
.payment-btn-container input[type="submit"],
.payment-btn-container button,
.payment-btn-container .btn {
    min-height: var(--ctl);
    padding: 9px 20px;
    background: var(--pay-bg) !important;
    border: 1px solid var(--pay-bg) !important;
    border-radius: var(--r);
    color: var(--pay-ink) !important;
    font-weight: 600;
}
.bt-btn-pay:hover,
.payment-btn-container input[type="submit"]:hover,
.payment-btn-container button:hover { background: var(--text-muted) !important; border-color: var(--text-muted) !important; color: var(--pay-ink) !important; }

.btn-group > .btn { min-height: 40px; }
.btn-group > .btn + .btn, .btn-group > .btn-group + .btn { margin-left: -1px; }
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.btn-group > .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.btn-group-toggle .btn.active, .btn-check:checked + .btn { background: var(--surface-3) !important; color: var(--text) !important; }

.bt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bt-actions--center { justify-content: center; }

/* Textlink mit Pfeil */
.bt-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.bt-more .bt-icon { transition: transform .12s ease; }
.bt-more:hover .bt-icon { transform: translateX(2px); }

/* =========================================================================
   5  Formulare
   ========================================================================= */
label, .form-control-label, legend { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.form-group { margin-bottom: 16px; }
.bt-label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.bt-optional { color: var(--text-subtle); font-weight: 400; }

.form-control,
.custom-select,
.field,
select,
select.form-control,
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="url"], input[type="search"], input[type="date"],
textarea {
    background-color: var(--bg);
    border: 1px solid var(--input-border);
    border-radius: var(--r);
    box-shadow: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
}
.form-control, .custom-select { min-height: var(--ctl); height: auto; padding: 9px 12px; }
.form-control-sm, .input-sm { min-height: 36px; padding: 5px 10px; font-size: 14px; }
.form-control-lg, .input-lg, .input-group-lg > .form-control { min-height: 52px; padding: 12px 14px; font-size: 16px; }
textarea.form-control { min-height: 120px; }
.form-control::placeholder, input::placeholder, textarea::placeholder { color: var(--text-subtle); opacity: 1; }
.form-control:focus, .custom-select:focus, .field:focus,
select:focus, textarea:focus,
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus,
input[type="number"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="date"]:focus {
    background-color: var(--bg);
    border-color: var(--accent-line) !important;
    box-shadow: var(--ring) !important;
    color: var(--text);
    outline: none;
}
.form-control-plaintext { color: var(--text); }

/* Gesperrte Felder: ruhig, klar als nicht änderbar erkennbar */
body .form-control:disabled, body .form-control[readonly], body .form-control.disabled,
body #registration .form-control[disabled], body #registration .field[disabled] {
    background-color: var(--surface-2) !important;
    border-color: var(--line) !important;
    color: var(--text-subtle) !important;
    cursor: not-allowed;
    opacity: 1;
}

/* Auswahllisten: eigener Pfeil aus zwei Farbverläufen (kommt ohne Bilddatei aus) */
select.form-control:not([multiple]):not([size]),
.custom-select:not([multiple]):not([size]) {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 36px;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-subtle) 50%), linear-gradient(135deg, var(--text-subtle) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
select[multiple], select[size] { padding: 8px; }
select.form-control option, .custom-select option, select option { background: var(--surface); color: var(--text); }

/* Felder mit An- und Abhängern */
.input-group-text,
.input-group-addon {
    min-height: var(--ctl);
    background: var(--surface-2);
    border: 1px solid var(--input-border);
    border-radius: var(--r);
    color: var(--text-subtle);
}
.input-group > .form-control:not(:last-child),
.input-group > .custom-select:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-prepend .input-group-text,
.input-group-prepend .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-append .input-group-text,
.input-group-append .btn,
.input-group-btn .btn { min-height: var(--ctl); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > .input-group-prepend + .form-control,
.input-group > .input-group-prepend + .field { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > .form-control:focus { z-index: 3; }
.input-group-merge .input-group-text { background: var(--bg); }

/* Häkchen und Auswahlpunkte – selbst gezeichnet, damit sie überall gleich aussehen
   (iCheck im Bestellprozess bekommt in Abschnitt 15 dasselbe Aussehen). */
input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    display: inline-grid;
    place-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    vertical-align: -3px;
    background: var(--bg);
    border: 1px solid var(--input-border);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--accent-ink);
    clip-path: polygon(14% 44%, 0 65%, 43% 100%, 100% 22%, 84% 8%, 40% 68%);
    transform: scale(0);
    transition: transform .1s ease;
}
input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-ink);
    transform: scale(0);
    transition: transform .1s ease;
}
input[type="checkbox"]:hover, input[type="radio"]:hover { border-color: var(--text-subtle); }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--accent); border-color: var(--accent-line); }
input[type="checkbox"]:checked::before, input[type="radio"]:checked::before { transform: scale(1); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { box-shadow: var(--ring); }
input[type="checkbox"]:disabled, input[type="radio"]:disabled { opacity: .5; cursor: not-allowed; }
label > input[type="checkbox"], label > input[type="radio"] { margin-right: 8px; }

.form-check { padding-left: 28px; }
.form-check-input { margin-top: 3px; margin-left: -28px; }
.form-check-label, .checkbox label, .radio label { color: var(--text-muted); font-weight: 400; }
.bt-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; color: var(--text-muted); font-size: 15px; font-weight: 400; cursor: pointer; clear: both; }
.bt-check input { margin: 3px 0 0; }

/* Bootstrap "custom-control" (Häkchen, Punkte, Schalter) */
.custom-control-label { color: var(--text-muted); }
.custom-control-label::before { background-color: var(--bg); border: 1px solid var(--input-border); }
.custom-checkbox .custom-control-label::before { border-radius: var(--r-sm); }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--accent); border-color: var(--accent-line); }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: var(--ring); }
.custom-switch .custom-control-label::after { background-color: var(--text-subtle); }
.custom-switch .custom-control-input:checked ~ .custom-control-label::after { background-color: var(--accent-ink); }

/* Schalter (bootstrap-switch in Twenty-One und im Checkout): flach, rechteckig, wie die Umschalter */
.bootstrap-switch {
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--input-border) !important;
    border-radius: var(--r) !important;
    box-shadow: none !important;
    line-height: 1;
}
.bootstrap-switch.bootstrap-switch-focused { border-color: var(--accent-line) !important; box-shadow: var(--ring) !important; }
.bootstrap-switch .bootstrap-switch-container { border-radius: 0; }
.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-label {
    padding: 7px 12px;
    border-radius: 0 !important;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
}
.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default { background: var(--accent) !important; color: var(--accent-ink) !important; }
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary { background: var(--surface-2) !important; color: var(--text-subtle) !important; }
.bootstrap-switch .bootstrap-switch-label { background: var(--surface-3) !important; color: var(--text) !important; }

/* Regler (nativ). Der Mengenregler im Bestellprozess (ion.rangeSlider) steht in Abschnitt 15. */
input[type="range"], .custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 20px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--surface-3); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surface-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -7px;
    border: 3px solid var(--bg);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 3px solid var(--bg);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
input[type="range"]:focus-visible { outline: none !important; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--accent), var(--ring); }

/* Datei-Upload (custom-file) mit „Durchsuchen“ */
body .custom-file,
body .custom-file-input { height: var(--ctl); }
body .custom-file-label {
    display: flex;
    align-items: center;
    height: var(--ctl);
    min-height: var(--ctl);
    padding: 0 130px 0 12px;
    background-color: var(--bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--r);
    color: var(--text-subtle) !important;
    line-height: 1.4;
}
body .custom-file-label::after,
body .custom-file-input:lang(en) ~ .custom-file-label::after,
body .custom-file-input ~ .custom-file-label[data-browse]::after {
    content: "Durchsuchen";
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    height: auto;
    padding: 0 14px;
    background-color: var(--surface-2) !important;
    border-left: 1px solid var(--input-border) !important;
    color: var(--text) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}
body .custom-file-input:focus ~ .custom-file-label { border-color: var(--accent-line) !important; box-shadow: var(--ring) !important; }

/* Rückmeldungen */
.is-invalid, .has-error .form-control { border-color: var(--danger) !important; }
.was-validated .form-control:valid, .form-control.is-valid { border-color: var(--accent-line); }
.invalid-feedback, .help-block.error, .field-error-msg { color: var(--danger); font-size: 13px; }
.valid-feedback { color: var(--accent-text); }
.form-text, .help-block, .field-help-text { color: var(--text-subtle); font-size: 13px; }

/* Feld-Icons in geerbten Formularen (z. B. Checkout): im Feld, dezent */
.prepend-icon { position: relative; }
.prepend-icon .field-icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: var(--ctl);
    margin: 0;
    color: var(--text-subtle);
}
.prepend-icon .field { padding-left: 40px; }

/* Passwortfeld mit "anzeigen" */
.bt-pw { position: relative; }
.bt-pw .form-control { padding-right: 48px; }
.bt-pw.input-group > .form-control { border-radius: var(--r) !important; }
.bt-pw .btn-reveal-pw {
    position: absolute;
    right: 2px;
    top: 50%;
    z-index: 4;
    width: 40px;
    min-height: 40px;
    padding: 0;
    transform: translateY(-50%);
    background: transparent !important;
    border: 0 !important;
    color: var(--text-subtle) !important;
}
.bt-pw .btn-reveal-pw:hover { color: var(--text) !important; }
.password-strength-meter .progress { height: 6px; margin: 12px 0 8px; }
#passwordStrengthTextLabel { color: var(--text-subtle); }

/* Honeypot (Kontaktformular) */
.bt-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   6  Auswahl-Bausteine: Umschalter, Reiter, Auswahl-Kacheln, Marken, Status
   ========================================================================= */
/* Umschalter (z. B. Monatlich / Jährlich) */
.bt-seg {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    min-width: 0;
    margin: 0;
    padding: 3px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
}
.bt-seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bt-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bt-seg label,
.bt-seg__item {
    margin: 0;
    padding: 7px 14px;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}
.bt-seg label:hover, .bt-seg__item:hover { color: var(--text); text-decoration: none; }
.bt-seg input:checked + label, .bt-seg__item.is-active { background: var(--surface-3); color: var(--text); }
.bt-seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 1px; }

/* Reiter (eine Zeile, bei Bedarf seitlich scrollbar) */
.bt-tabs {
    display: flex;
    gap: 4px;
    margin: 0 0 24px;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}
.bt-tabs::-webkit-scrollbar { display: none; }
.bt-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -1px;
    padding: 10px 14px;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}
.bt-tabs a:hover, .bt-tabs a:focus { color: var(--text); text-decoration: none; }
.bt-tabs a.is-active { border-bottom-color: var(--accent-line); color: var(--text); }

/* Auswahl-Kacheln: genau eine ist aktiv (Domain-Kategorien, Filter) */
.bt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bt-chip,
.tld-filters a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .12s ease, color .12s ease, background-color .12s ease;
}
.bt-chip:hover, .bt-chip:focus,
.tld-filters a:hover, .tld-filters a:focus { border-color: var(--text-subtle); color: var(--text); text-decoration: none; }
.bt-chip.is-active,
.bt-chip[aria-pressed="true"],
.tld-filters a.badge-success,
.tld-filters a.label-success,
.tld-filters a.is-active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }
.bt-chip__count { color: var(--text-subtle); font-weight: 400; }

/* Marken (kleine Hinweise an Elementen) */
.bt-tag,
.label, .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.bt-tag, .badge-secondary, .badge-light, .badge-default, .badge-dark, .label-default { background: var(--surface-2); color: var(--text-muted); }
.bt-tag--accent { background: var(--accent); color: var(--accent-ink); }
.badge-primary, .badge-info, .badge-success, .label-primary, .label-info, .label-success { background: var(--accent-soft); color: var(--accent-text); }
.badge-warning, .label-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger, .label-danger { background: var(--danger-soft); color: var(--danger); }
.badge-pill { border-radius: var(--r-sm); }

/* Status: farbiger Punkt + Text, ohne Fläche */
.bt-status,
.label.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none !important;
    border: 0;
    color: var(--text-muted) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    white-space: nowrap;
}
.bt-status::before,
.label.status::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--neutral); }
.bt-status--active::before,
.label.status-active::before, .label.status-paid::before, .label.status-completed::before,
.label.status-answered::before, .label.status-accepted::before, .label.status-delivered::before { background: var(--accent); }
.bt-status--pending::before,
.label.status-pending::before, .label.status-unpaid::before, .label.status-customer-reply::before,
.label.status-open::before, .label.status-in-progress::before, .label.status-pending-transfer::before,
.label.status-pending-registration::before, .label.status-draft::before, .label.status-onhold::before { background: var(--warning); }
.bt-status--danger::before,
.label.status-overdue::before, .label.status-suspended::before, .label.status-fraud::before,
.label.status-expired::before, .label.status-collections::before { background: var(--danger); }
.label.status-cancelled::before, .label.status-terminated::before, .label.status-closed::before,
.label.status-refunded::before, .label.status-transferred-away::before { background: var(--neutral); }

/* Häkchenliste */
.bt-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.bt-checks li { display: flex; align-items: flex-start; gap: 8px; color: var(--text-muted); font-size: 15px; }
.bt-checks .bt-icon { margin-top: 3px; color: var(--accent-text); }
.bt-checks--stack { flex-direction: column; gap: 10px; }

/* =========================================================================
   7  Karten, Listen, Tabellen
   ========================================================================= */
.card,
.panel,
.well,
.bt-card,
.bt-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: none;
    color: var(--text);
}
.card-header, .panel-heading {
    padding: 14px 20px;
    background: transparent;
    border-bottom: 1px solid var(--line);
}
.card-header:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card-title, .panel-title,
.card-header h3, .card-header .h3 { margin: 0; color: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.card-body, .panel-body { padding: 20px; }
.card-body.extra-padding { padding: 28px; }
.card-footer, .panel-footer {
    padding: 12px 20px;
    background: transparent;
    border-top: 1px solid var(--line);
}
.card-footer:empty { display: none; }
.card-accent-blue, .card-accent-green, .card-accent-red, .card-accent-gold, .card-accent-teal,
.card-accent-orange, .card-accent-pink, .card-accent-purple, .card-accent-lime, .card-accent-magenta,
.card-accent-indigo, .card-accent-midnight-blue, .card-accent-asbestos, .card-accent-sun-flower,
.card-accent-amethyst, .card-accent-emerald, .card-accent-silver, .card-accent-pomegranate, .card-accent-green-sea {
    border-top: 1px solid var(--line) !important;
}
.well { padding: 20px; margin-bottom: 20px; }
.jumbotron { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); }
.panel-default, .panel-primary, .panel-info, .panel-success, .panel-warning, .panel-danger { border-color: var(--line); }
.panel-default > .panel-heading, .panel-primary > .panel-heading, .panel-info > .panel-heading,
.panel-success > .panel-heading, .panel-warning > .panel-heading, .panel-danger > .panel-heading { background: transparent; border-color: var(--line); color: var(--text); }
.panel-warning > .panel-heading { box-shadow: inset 3px 0 0 var(--warning); }
.panel-danger > .panel-heading { box-shadow: inset 3px 0 0 var(--danger); }
.panel-group .panel + .panel { margin-top: 10px; }
.card-sidebar .card-minimise, .panel-minimise { color: var(--text-subtle); }

/* Eigene Inhaltskarte und Kasten mit Kopfzeile */
.bt-card { display: flex; flex-direction: column; padding: 24px; color: var(--text-muted); }
.bt-card h2, .bt-card h3 { margin: 0 0 8px; }
.bt-card p:last-child { margin-bottom: 0; }
.bt-panel + .bt-panel { margin-top: 16px; }
.bt-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.bt-panel__head h2 { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.bt-panel__head a { font-size: 14px; font-weight: 600; }
.bt-panel__body { padding: 20px; }
.bt-panel__body > p:last-child { margin-bottom: 0; }
.bt-panel__empty { margin: 0; padding: 24px 20px; color: var(--text-subtle); }
.bt-empty {
    margin: 0;
    padding: 28px;
    border: 1px dashed var(--input-border);
    border-radius: var(--r-lg);
    color: var(--text-subtle);
    text-align: center;
}

/* Listen */
.list-group-item {
    background: transparent;
    border-color: var(--line);
    color: var(--text-muted);
}
a.list-group-item, .list-group-item-action { color: var(--text-muted); }
.list-group-item-action:hover, .list-group-item-action:focus { background: var(--hover); color: var(--text); text-decoration: none; }
.list-group-item.active {
    background: var(--hover) !important;
    border-color: var(--line) !important;
    box-shadow: inset 2px 0 0 var(--focus);
    color: var(--text) !important;
}
.list-group-item.disabled { background: transparent; color: var(--text-subtle); }
.card .list-group-flush .list-group-item { border-left: 0; border-right: 0; }
.card > .list-group:last-child .list-group-item:last-child { border-bottom-left-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
.list-group-item-success, .list-group-item-info, .list-group-item-primary { background: var(--accent-soft); color: var(--text); }
.list-group-item-warning { background: var(--warning-soft); color: var(--text); }
.list-group-item-danger { background: var(--danger-soft); color: var(--text); }
.list-group-item-light, .list-group-item-dark, .list-group-item-secondary { background: var(--surface-2); color: var(--text); }

/* Tabellen – breite Tabellen scrollen innerhalb ihrer Karte */
.table-responsive, .table-container, .dataTables_wrapper, .bt-table-wrap, .bt-tablecard {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.bt-tablecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.table, .bt-table { width: 100%; margin-bottom: 0; border-collapse: collapse; color: var(--text); }
.table th, .table td,
.bt-table th, .bt-table td {
    padding: 12px 16px;
    border-color: var(--line);
    color: inherit;
    font-size: 15px;
    text-align: left;
    vertical-align: middle;
}
.bt-table th, .bt-table td { border-bottom: 1px solid var(--line); }
.bt-table tbody tr:last-child > * { border-bottom: 0; }
.table thead th,
.table-list thead th,
.bt-table thead th {
    background: transparent;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-subtle);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.bt-table tbody th { color: var(--text-muted); font-weight: 500; }
.bt-table tbody tr:hover > * { background: var(--hover); }
.bt-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bt-sub { display: block; color: var(--text-subtle); font-size: 13px; font-weight: 400; }
.table-striped tbody tr:nth-of-type(odd) { background: var(--hover); }
.table-hover tbody tr:hover, .table-list > tbody > tr:hover > td { background: var(--hover); color: var(--text); }
.table-active, .table-active > td, .table-active > th { background: var(--surface-2); }
.table-dark, .table .thead-dark th, .thead-light th { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.table-bordered, .table-bordered th, .table-bordered td { border-color: var(--line); }
.table-container { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.table-container .table-list { border: 0; }
.table-list { background: var(--surface); border-radius: var(--r-lg); }
.table-list > tbody > tr > td { background: transparent; border-color: var(--line); color: var(--text-muted); }
.table-list > tbody > tr > td strong, .table-list > tbody > tr > td a { color: var(--text); }
.table-list > tbody > tr > td.sorting_1 { background: transparent; }

/* Datentabellen (DataTables in Twenty-One: Dienste, Domains, Rechnungen, Tickets …).
   Twenty-One setzt hier feste helle Farben mit hoher Spezifität – daher body-Präfix und !important. */
body .table-container { overflow-x: auto; overflow-y: hidden; padding: 0; }
body .dataTables_wrapper .listtable { display: flow-root; }
body .dataTables_wrapper .dataTables_info { float: left; padding: 16px 20px; color: var(--text-subtle); font-size: 14px; }
body .dataTables_wrapper .dataTables_filter { float: right; padding: 10px 12px; color: var(--text-subtle); font-size: 14px; }
body .dataTables_wrapper .dataTables_filter label { margin: 0; }
body .dataTables_wrapper .dataTables_filter label .form-control,
body .dataTables_wrapper .dataTables_filter input {
    width: 240px;
    max-width: 100%;
    min-height: 38px;
    padding: 7px 12px 7px 38px !important;
    background-color: var(--bg) !important;
    background-position: 10px 50% !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--r) !important;
    color: var(--text) !important;
    font-size: 14px;
}
body .dataTables_wrapper .dataTables_filter label .form-control::placeholder { color: var(--text-subtle); }

body .dataTables_wrapper table.table-list,
body table.table-list {
    clear: both;
    width: 100% !important;
    margin: 0 !important;
    background: transparent;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 !important;
    border-collapse: collapse !important;
}
body table.table-list thead th,
body .dataTables_wrapper table.table-list thead th,
body .dataTables_wrapper table.table-list thead th.sorting,
body .dataTables_wrapper table.table-list thead th.sorting_asc,
body .dataTables_wrapper table.table-list thead th.sorting_desc {
    padding: 11px 16px;
    background-color: var(--surface) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    color: var(--text-subtle) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
body .dataTables_wrapper table.table-list thead th.sorting_asc,
body .dataTables_wrapper table.table-list thead th.sorting_desc { color: var(--text) !important; }
body table.table-list thead th:first-child:empty { width: 44px; padding-left: 8px; padding-right: 8px; }
/* Sortierpfeile (Bootstrap-4-Integration von DataTables nutzt ::before/::after) */
body table.dataTable thead .sorting::before, body table.dataTable thead .sorting::after,
body table.dataTable thead .sorting_asc::before, body table.dataTable thead .sorting_asc::after,
body table.dataTable thead .sorting_desc::before, body table.dataTable thead .sorting_desc::after { color: var(--text-subtle); opacity: .45; }
body table.dataTable thead .sorting_asc::before, body table.dataTable thead .sorting_desc::after { color: var(--accent-text); opacity: 1; }

body table.table-list tbody td,
body .table-list > tbody > tr > td {
    padding: 13px 16px;
    background-color: transparent !important;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
    color: var(--text-muted);
    font-size: 15px;
    text-align: left;
}
body .table-list > tbody > tr:last-child > td { border-bottom: 0; }
body .table-list > tbody > tr:hover > td { background-color: var(--hover) !important; color: var(--text); }
body .table-list > tbody > tr > td strong,
body .table-list > tbody > tr > td a { color: var(--text); }
body .table-list > tbody > tr > td .text-muted, body .table-list > tbody > tr > td small { color: var(--text-subtle) !important; }
body .table-list > tbody > tr > td a.border-left { border-left-color: var(--line) !important; }
body table.table-list td.dataTables_empty,
body .table-list > tbody > tr > td.dataTables_empty { padding: 36px 16px; color: var(--text-subtle); text-align: center; cursor: default; }
body .table-list > tbody > tr:hover > td.dataTables_empty { background: transparent !important; }

/* Fußzeile: Anzahl pro Seite + Blättern */
body .dataTables_wrapper .dataTables_length,
body .dataTables_wrapper .dataTables_paginate { padding: 12px 16px; }
body .dataTables_wrapper .dataTables_length { float: left; color: var(--text-subtle); font-size: 14px; }
body .dataTables_wrapper .dataTables_length label { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
body .dataTables_wrapper .dataTables_length select {
    width: auto;
    min-height: 36px;
    padding: 5px 34px 5px 10px;
    background-color: var(--bg);
    border: 1px solid var(--input-border);
    border-radius: var(--r);
    color: var(--text);
}
body .dataTables_wrapper .dataTables_paginate { float: right; }
body .dataTables_wrapper .dataTables_paginate .pagination { margin: 0; }
body .dataTables_wrapper .dataTables_paginate .page-link { min-height: 36px; padding: 7px 12px; font-size: 14px; }
body .dataTables_wrapper .dataTables_paginate .paginate_button,
body .dataTables_wrapper .dataTables_paginate .page-link { color: var(--text-muted) !important; }
body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body .dataTables_wrapper .dataTables_paginate .active .page-link { background: var(--surface-3) !important; border-color: var(--surface-3) !important; color: var(--text) !important; }
body .dataTables_wrapper .dataTables_processing { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
body .dataTables_wrapper::after { content: ""; display: table; clear: both; }
table.dataTable { border-collapse: collapse !important; }
#tableLoading { padding: 32px; color: var(--text-subtle); }

/* Responsive-Erweiterung: Plus-Knopf und aufgeklappte Zeilen */
body table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
body table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before,
body table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before {
    background-color: var(--accent) !important;
    border: 0 !important;
    border-radius: var(--r-sm) !important;
    box-shadow: none !important;
    color: var(--accent-ink) !important;
}
body table.dataTable > tbody > tr.child td.child { background: var(--bg) !important; }
body table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom-color: var(--line); }
body table.dataTable > tbody > tr.child span.dtr-title { color: var(--text-subtle); }
body table.dataTable > tbody > tr.child span.dtr-data { color: var(--text); }

/* =========================================================================
   8  Meldungen und Overlays
   ========================================================================= */
.alert {
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--neutral);
    border-radius: var(--r);
    color: var(--text);
}
.alert a:not(.btn), .alert .alert-link { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.alert .btn, .alert a.btn { text-decoration: none; }
.alert-success, .alert-info, .alert-primary { border-left-color: var(--accent-line); }
.alert-warning { border-left-color: var(--warning); }
.alert-danger { border-left-color: var(--danger); }
.alert-secondary, .alert-light, .alert-dark { border-left-color: var(--neutral); }
.alert-heading { color: var(--text); }
.alert > :last-child { margin-bottom: 0; }
.alert .close, .close { color: var(--text); text-shadow: none; opacity: .7; }
.close:hover { color: var(--text); opacity: 1; }

.dropdown-menu, .bt-dropdown {
    min-width: 220px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--input-border);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    list-style: none;
}
.dropdown-item,
.dropdown-menu > li > a {
    display: block;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active, .dropdown-item:active {
    background: var(--surface-2);
    color: var(--text);
    text-decoration: none;
}
.dropdown-divider { margin: 6px 0; border-color: var(--line); }
.dropdown-menu li.dropdown-item { padding: 0; background: none; }
.dropdown-header { color: var(--text-subtle); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bt-dropdown__meta { margin: 0 0 6px; padding: 6px 10px 10px; overflow: hidden; border-bottom: 1px solid var(--line); color: var(--text-subtle); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.nav-tabs { border-bottom: 1px solid var(--line); }
.nav-tabs .nav-link { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--text-muted); font-weight: 500; }
.nav-tabs .nav-link:hover { border-color: transparent; color: var(--text); }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    background: transparent;
    border-color: transparent transparent var(--accent-line);
    color: var(--text);
}
.nav-pills .nav-link { border-radius: var(--r); color: var(--text-muted); }
.nav-pills .nav-link:hover { color: var(--text); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--surface-3); color: var(--text); }
.nav-tabs .nav-link.disabled, .nav-pills .nav-link.disabled { color: var(--text-subtle); opacity: .6; }
.tab-content { color: var(--text-muted); }

.pagination .page-link {
    min-width: 38px;
    background: var(--surface);
    border-color: var(--line);
    color: var(--text-muted);
    text-align: center;
}
.page-link:hover { background: var(--surface-2); border-color: var(--line); color: var(--text); text-decoration: none; }
.page-link:focus { box-shadow: var(--ring); }
.pagination .page-item.active .page-link { background: var(--surface-3); border-color: var(--surface-3); color: var(--text); }
.pagination .page-item.disabled .page-link { background: var(--surface); border-color: var(--line); color: var(--text-subtle); }
.pagination .page-item:first-child .page-link { border-radius: var(--r) 0 0 var(--r); }
.pagination .page-item:last-child .page-link { border-radius: 0 var(--r) var(--r) 0; }

.modal-content { background: var(--surface); border: 1px solid var(--input-border); border-radius: var(--r-lg); color: var(--text); }
.modal-header, .modal-footer { border-color: var(--line); }
.modal-title { color: var(--text); }
.modal-body { color: var(--text-muted); }
.modal-header .close { color: var(--text); }
.modal-footer .loader { color: var(--text-subtle); }
.modal-backdrop.show { background: var(--bg); opacity: .75; }
.modal-localisation .item { display: block; margin-bottom: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); color: var(--text-muted); }
.modal-localisation .item.active, .modal-localisation .item:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); text-decoration: none; }

.popover { max-width: 360px; background: var(--surface); border: 1px solid var(--input-border); border-radius: var(--r); box-shadow: var(--shadow); }
.popover-header { background: var(--surface-2); border-bottom-color: var(--line); color: var(--text); }
.popover-body { color: var(--text-muted); }
.popover .arrow::after { border-bottom-color: var(--surface) !important; border-top-color: var(--surface) !important; }
.popover .arrow::before { border-bottom-color: var(--input-border) !important; border-top-color: var(--input-border) !important; }
.bs-popover-left > .arrow::after, .bs-popover-auto[x-placement^="left"] > .arrow::after { border-left-color: var(--surface) !important; }
.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^="right"] > .arrow::after { border-right-color: var(--surface) !important; }
.tooltip-inner { background: var(--surface-2); border: 1px solid var(--input-border); border-radius: var(--r-sm); color: var(--text); }
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { border-top-color: var(--input-border); }
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { border-bottom-color: var(--input-border); }
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { border-left-color: var(--input-border); }
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { border-right-color: var(--input-border); }

.progress { height: 8px; background: var(--surface-2); border-radius: var(--r-sm); }
.progress-bar { background: var(--accent); color: var(--accent-ink); }
.progress-bar.bg-warning { background: var(--warning) !important; color: var(--bg) !important; }
.progress-bar.bg-danger { background: var(--danger) !important; }

.breadcrumb { margin: 0; padding: 0; background: transparent; font-size: 13px; }
.breadcrumb-item, .breadcrumb-item a, .breadcrumb-item.active { color: var(--text-subtle); }
.breadcrumb-item a:hover { color: var(--text); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--input-border); }

#fullpage-overlay { background: var(--overlay); }
#fullpage-overlay .msg { color: var(--text); }

/* Benachrichtigungen im Popover (header.tpl) */

/* Twenty-One-Bausteine mit hellem Hintergrund */
.header-lined h1, .header-lined h2 { border-color: var(--line); color: var(--text); }
.kb-search, .announcement-single, .kb-article-content { color: var(--text-muted); }
.primary-content .text-center .fa-5x, .primary-content .fa-stack { color: var(--accent-text); }

/* =========================================================================
   9  Utility-Leiste, Kopfzeile, Mega-Menü, Fußbereich
   ========================================================================= */
.bt-adminbar { padding: 8px 0; background: var(--warning-soft); border-bottom: 1px solid var(--border); color: var(--text); font-size: var(--fs-sm); }
.bt-adminbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.bt-adminbar__link { font-weight: var(--fw-semibold); text-decoration: underline; }

/* 1) Utility-Leiste */
.bt-utility { background: var(--bg); border-bottom: 1px solid var(--border); font-size: 13px; }
.bt-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--utility-h); }
.bt-utility__links { display: flex; align-items: center; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.bt-utility__links a,
.bt-utility__links li > span,
.bt-utility__hours { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.bt-utility__links a:hover { color: var(--text); text-decoration: none; }
.bt-utility__links .bt-icon { color: var(--text-subtle); }
.bt-utility__hours { color: var(--text-subtle); }

/* Hell/Dunkel-Umschalter */
.bt-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 3px 10px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-full);
    color: var(--text-muted);
    font: inherit;
    font-size: 12px;
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.bt-theme-toggle:hover { color: var(--text); border-color: var(--input-border); }
.bt-theme-toggle__light { display: none; }
[data-theme="light"] .bt-theme-toggle__light { display: inline-flex; }
[data-theme="light"] .bt-theme-toggle__dark { display: none; }

/* 2) Kopfzeile */
.bt-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t) ease;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .bt-header { background: var(--overlay); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
    .bt-header.has-mega { background: var(--bg); }
}
.bt-header.is-scrolled { box-shadow: var(--shadow-1); }
.bt-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

/* Logo */
.bt-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); text-decoration: none !important; }
.bt-logo:hover { color: var(--text); }
.bt-logo__img { display: block; width: auto; height: 28px; max-width: 200px; }
.bt-logo__img--light { display: none; }
[data-theme="light"] .bt-logo__img--light { display: block; }
[data-theme="light"] .bt-logo__img--dark { display: none; }
.bt-logo__mark {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: var(--text);
    border-radius: var(--r);
    color: var(--bg);
    font-size: 15px;
    font-weight: var(--fw-bold);
    line-height: 1;
}
.bt-logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.bt-logo__name { font-size: 16px; font-weight: var(--fw-bold); letter-spacing: -0.01em; }
.bt-logo__tagline { color: var(--text-subtle); font-size: 10px; font-weight: var(--fw-medium); letter-spacing: .16em; text-transform: uppercase; }

/* Hauptnavigation */
.bt-nav { flex: 1 1 auto; min-width: 0; }
.bt-nav__head, .bt-nav__mobile { display: none; }
.bt-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.bt-nav__item { position: static; }
.bt-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 8px 12px;
    background: none;
    border: 0;
    border-radius: var(--r);
    color: var(--text-muted);
    font: inherit;
    font-size: 15px;
    font-weight: var(--fw-medium);
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.bt-nav__trigger:hover, .bt-nav__trigger:focus-visible { color: var(--text); background: var(--hover); text-decoration: none; }
.bt-nav__trigger[aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
.bt-nav__trigger.is-active { color: var(--text); }
.bt-nav__trigger.is-active::after { content: ""; width: 5px; height: 5px; margin-left: 2px; border-radius: 50%; background: var(--accent); order: 3; }
.bt-nav__chev { color: var(--text-subtle); transition: transform var(--t) var(--ease); }
.bt-nav__trigger[aria-expanded="true"] .bt-nav__chev { transform: rotate(180deg); }

/* Mega-Panel (Desktop): volle Breite unter der Kopfzeile */
.bt-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: var(--z-dropdown);
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-3);
}
.bt-js .bt-mega { display: none; }
.bt-js .bt-mega.is-open { display: block; animation: bt-fade-down var(--t) var(--ease); }
html:not(.bt-js) .bt-mega { display: none; }
html:not(.bt-js) .bt-nav__item:hover .bt-mega,
html:not(.bt-js) .bt-nav__item:focus-within .bt-mega { display: block; }
@keyframes bt-fade-down { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.bt-mega__inner { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.bt-mega__intro { padding-right: 32px; border-right: 1px solid var(--border); }
.bt-mega__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.bt-mega__title .bt-icon { color: var(--text-subtle); }
.bt-mega__text { margin: 0 0 16px; font-size: var(--fs-sm); }
.bt-mega__price { margin: 0 0 16px; color: var(--text-subtle); font-size: var(--fs-sm); }
.bt-mega__price .bt-price { font-size: var(--fs-lg); }
.bt-mega__period { color: var(--text-subtle); }
.bt-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.bt-mega__grid--links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt-mega__grid + .bt-mega__grid { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.bt-mega__link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r);
    color: var(--text);
    text-decoration: none !important;
    transition: background-color var(--t-fast) ease;
}
.bt-mega__link:hover, .bt-mega__link:focus { background: var(--surface-2); color: var(--text); }
.bt-mega__icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--text-muted);
}
.bt-mega__link:hover .bt-mega__icon { color: var(--text); border-color: var(--border-strong); }
.bt-mega--gaming .bt-mega__link:hover .bt-mega__icon { color: var(--accent-text); border-color: var(--accent-line); box-shadow: var(--glow); }
.bt-mega__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bt-mega__name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px; font-weight: var(--fw-medium); line-height: 1.3; }
.bt-mega__meta { color: var(--text-subtle); font-size: 13px; line-height: 1.4; }
.bt-mega__meta .bt-price { font-size: 13px; }
.bt-mega__more { margin: 12px 0 0 12px; font-size: var(--fs-sm); }
.bt-mega__tlds { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--border); }
.bt-mega__tlds li { display: inline-flex; gap: 8px; padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); font-size: 13px; }

.bt-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.bt-iconbtn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: var(--r);
    color: var(--text-muted);
    cursor: pointer;
}
.bt-iconbtn:hover, .bt-iconbtn:focus { background: var(--hover); color: var(--text); text-decoration: none; }
.bt-count {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--accent);
    border-radius: var(--r-full);
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: var(--fw-bold);
    line-height: 18px;
    text-align: center;
}
.bt-count.is-empty { display: none; }
.bt-count--warn { background: var(--warning); color: var(--bg); }
.bt-header__cta { margin-left: 6px; }
.bt-user__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 8px 4px 4px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: var(--fw-medium);
    cursor: pointer;
}
.bt-user__btn::after { display: none; }
.bt-user__btn:hover { border-color: var(--border-strong); background: var(--hover); }
.bt-user__avatar {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: var(--surface-3);
    border-radius: 50%;
    color: var(--text);
    font-size: 12px;
    font-weight: var(--fw-semibold);
}
.bt-user__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-dropdown__meta { padding: 8px 16px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); color: var(--text-subtle); font-size: 13px; line-height: 1.4; }
.bt-burger { display: none; }
.bt-nav-backdrop { position: fixed; inset: 0; z-index: calc(var(--z-header) - 1); background: var(--overlay); }
.bt-nav-backdrop[hidden] { display: none; }

/* Zweite Navigationszeile: Kundenbereich */
.bt-subnav { background: var(--bg); border-bottom: 1px solid var(--border); }
.bt-subnav .bt-tabs { margin: 0; border-bottom: 0; }
.bt-tabs--nav a { padding: 12px 14px; }
.bt-tabs--nav .bt-icon { color: var(--text-subtle); }
.bt-tabs--nav a.is-active .bt-icon { color: var(--accent-text); }

/* Brotkrumen im Kundenbereich */
.bt-breadcrumb { padding: 14px 0 0; font-size: 13px; }
.bt-breadcrumb .breadcrumb { margin: 0; padding: 0; background: none; }
.bt-breadcrumb .breadcrumb-item, .bt-breadcrumb .breadcrumb-item a { color: var(--text-subtle); }
.bt-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }
.bt-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--border-strong); content: "/"; }

/* 14) Fußbereich */
.bt-footer { margin-top: var(--section-y); padding: 56px 0 28px; background: var(--bg-alt); border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--fs-sm); }
.bt-is-public .bt-footer { margin-top: 0; }
.bt-footer__main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 40px 32px; }
.bt-footer__brand .bt-logo { margin-bottom: 16px; }
.bt-footer__about { max-width: 340px; margin: 0 0 18px; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }
.bt-footer__title { margin: 4px 0 14px; color: var(--text); font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: 0; }
.bt-footer__links, .bt-footer__contact, .bt-footer__social { margin: 0; padding: 0; list-style: none; }
.bt-footer__links li + li { margin-top: 8px; }
.bt-footer__links a, .bt-footer__contact a, .bt-footer__legal a { color: var(--text-muted); text-decoration: none; }
.bt-footer__links a:hover, .bt-footer__contact a:hover, .bt-footer__legal a:hover { color: var(--text); text-decoration: underline; }
.bt-footer__contact li { display: flex; align-items: center; gap: 10px; }
.bt-footer__contact li + li { margin-top: 8px; }
.bt-footer__contact .bt-icon { color: var(--text-subtle); }
.bt-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bt-footer__social a {
    display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px;
    border: 1px solid var(--border); border-radius: var(--r); color: var(--text-muted); font-size: 13px; text-decoration: none;
}
.bt-footer__social a:hover { border-color: var(--border-strong); color: var(--text); text-decoration: none; }
.bt-footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.bt-footer__pay-label { color: var(--text-subtle); font-size: 13px; }
.bt-footer__pay-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bt-footer__pay-list li { padding: 4px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-muted); font-size: 12px; font-weight: var(--fw-medium); }
.bt-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.bt-footer__copy { margin: 0; color: var(--text-subtle); font-size: 13px; }
.bt-footer__parent a { color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--input-border); text-underline-offset: 3px; }
.bt-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.bt-linkbtn {
    display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0;
    color: var(--text-muted); font: inherit; font-size: inherit; cursor: pointer;
}
.bt-linkbtn:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
/* Platz für den von der Software eingefügten Lizenzhinweis (SHOW_POWERED_BY) */
.bt-footer--powered + p, body > p[style*="text-align"], .bt-body > div[style*="text-align:center"] { color: var(--text-subtle); font-size: 12px; }

/* =========================================================================
   10  Öffentliche Seiten
   ========================================================================= */
.bt-main { display: block; min-height: 50vh; padding-top: 32px; }
.bt-main--public { padding-top: 0; }

.bt-section { padding: 56px 0; }
.bt-section--tight { padding: 40px 0; }
.bt-section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* zwei gleichfarbige Abschnitte hintereinander: nur ein Abstand */
.bt-section:not(.bt-section--alt) + .bt-section:not(.bt-section--alt) { padding-top: 0; }
.bt-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.bt-section__head h1, .bt-section__head h2 { margin: 0; }
.bt-section__head p { max-width: 720px; margin: 6px 0 0; }
.bt-section__foot { margin: 20px 0 0; }
.bt-lead { color: var(--text-muted); font-size: 17px; line-height: 1.55; }
.bt-eyebrow { display: block; margin: 0 0 8px; color: var(--text-subtle); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Kopfbereich: Text links, optional Preis-Kasten rechts */
.bt-hero { padding: 48px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.bt-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px 56px; align-items: center; }
.bt-hero__inner--single { grid-template-columns: minmax(0, 1fr); }
.bt-hero__kicker { margin: 0 0 10px; color: var(--text-subtle); font-size: 14px; font-weight: 500; }
.bt-hero__title {
    max-width: 720px;
    margin: 0 0 14px;
    font-size: clamp(2rem, 1.3rem + 2.6vw, 2.75rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
}
.bt-hero__sub { max-width: 640px; margin: 0 0 24px; color: var(--text-muted); font-size: 17px; }
.bt-hero__sub:last-child { margin-bottom: 0; }
.bt-hero .bt-checks { margin-top: 24px; }
.bt-hero__sub + .bt-checks { margin-top: 0; }
.bt-hero--page { padding: 36px 0; }
.bt-hero--page .bt-hero__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.25rem); }
.bt-hero .bt-domaincheck { max-width: 760px; }

.bt-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; color: var(--text-subtle); font-size: 13px; }
.bt-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--input-border); }
.bt-crumbs a { color: var(--text-muted); }

/* Preis-Kasten im Kopfbereich */
.bt-offer { padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.bt-offer__label { margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.bt-offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.bt-offer__from { color: var(--text-muted); font-size: 15px; }
.bt-offer__amount { color: var(--text); font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.bt-offer__period { color: var(--text-muted); font-size: 15px; }
.bt-offer__note { margin: 6px 0 0; color: var(--text-subtle); font-size: 13px; }
.bt-offer .bt-checks { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.bt-offer .btn { width: 100%; margin-top: 20px; }
.bt-offer .btn + .btn { margin-top: 8px; }

/* Produktliste: eine Zeile je Produktgruppe mit Preis "ab" */
.bt-plist { margin: 0; padding: 0; overflow: hidden; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.bt-prow {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(120px, auto) auto;
    gap: 6px 20px;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    transition: background-color .12s ease;
}
.bt-prow:first-child { border-top: 0; }
.bt-prow:hover { background: var(--hover); }
.bt-prow:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.bt-prow__icon {
    display: grid;
    place-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r);
    background: var(--surface-2);
    color: var(--text-muted);
}
.bt-prow__name { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.bt-prow__link { color: var(--text); }
.bt-prow__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bt-prow__link:hover, .bt-prow__link:focus { color: var(--text); text-decoration: none; }
.bt-prow__link:focus-visible { outline: none !important; }
.bt-prow__text { margin: 2px 0 0; color: var(--text-subtle); font-size: 14px; }
.bt-prow__features { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; color: var(--text-muted); font-size: 14px; }
.bt-prow__features li { display: inline-flex; align-items: center; gap: 6px; }
.bt-prow__features .bt-icon { color: var(--accent-text); }
.bt-prow__price { margin: 0; color: var(--text-subtle); font-size: 14px; text-align: right; white-space: nowrap; }
.bt-prow__price strong { color: var(--text); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.bt-prow__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-size: 14px; font-weight: 600; white-space: nowrap; }
.bt-prow:hover .bt-prow__cta .bt-icon { transform: translateX(2px); }
.bt-prow__cta .bt-icon { transition: transform .12s ease; }

/* Vorteile: ohne Kästen, Symbol neben der Überschrift */
.bt-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
.bt-benefit h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.bt-benefit h3 .bt-icon { color: var(--accent-text); }
.bt-benefit p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Domain-Check */
.bt-domaincheck__form { display: flex; gap: 10px; }
.bt-domaincheck__field { position: relative; flex: 1 1 auto; min-width: 0; }
.bt-domaincheck__field .bt-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-subtle); pointer-events: none; }
.bt-domaincheck__input.form-control { min-height: 52px; padding-left: 44px; font-size: 16px; }
.bt-domaincheck .btn { min-height: 52px; white-space: nowrap; }
/* Preisleiste: Endung + Preis in gleich breiten Zellen */
.bt-tldbar { display: flex; flex-wrap: wrap; gap: 1px; margin: 14px 0 0; padding: 0; overflow: hidden; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); }
.bt-tldbar li { display: flex; flex: 1 1 120px; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 14px; background: var(--surface); color: var(--text-muted); font-size: 14px; white-space: nowrap; }
.bt-hero .bt-tldbar li { background: var(--bg); }
.bt-tldbar strong { color: var(--text); font-weight: 600; }
.bt-tldbar__note { margin: 8px 0 0; color: var(--text-subtle); font-size: 13px; }

/* Domain-Preistabelle mit Kategorie-Umschalter */
.bt-tldfilter { margin-bottom: 16px; }
.bt-tldtable .bt-tag { margin-left: 8px; }
.bt-tldtable td:first-child { color: var(--text); font-weight: 600; }
.bt-tldtable [hidden] { display: none; }

/* FAQ: Überschrift links, Fragen rechts */
.bt-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 56px; align-items: start; }
.bt-faq-wrap__head h2 { margin: 0 0 8px; }
.bt-faq-wrap__head p { margin: 0; }
.bt-faq { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.bt-section--alt .bt-faq { background: var(--bg); }
.bt-faq__item { border-top: 1px solid var(--line); }
.bt-faq__item:first-child { border-top: 0; }
.bt-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    color: var(--text);
    font-size: 15.5px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.bt-faq__item summary::-webkit-details-marker { display: none; }
.bt-faq__item summary:hover { background: var(--hover); }
.bt-faq__item summary:focus-visible { outline-offset: -2px; }
.bt-faq__item summary .bt-icon { color: var(--text-subtle); transition: transform .15s ease; }
.bt-faq__item[open] summary .bt-icon { transform: rotate(180deg); }
.bt-faq__answer { padding: 0 20px 16px; color: var(--text-muted); font-size: 15px; }
.bt-faq__answer p:last-child { margin-bottom: 0; }

/* Abschluss: Kasten mit Text links und Aktionen rechts */
.bt-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    padding: 28px 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.bt-cta h2 { margin: 0 0 6px; font-size: 1.375rem; }
.bt-cta p { max-width: 640px; margin: 0; }
.bt-cta .bt-actions { flex-shrink: 0; }

/* Textseiten (Impressum, Datenschutz, AGB, Über uns, Artikel) */
.bt-prose { max-width: 760px; color: var(--text-muted); font-size: 16px; }
.bt-prose h2 { margin: 36px 0 12px; font-size: 1.375rem; }
.bt-prose h2:first-child { margin-top: 0; }
.bt-prose h3 { margin: 24px 0 8px; font-size: 1.0625rem; letter-spacing: 0; }
.bt-prose p, .bt-prose ul, .bt-prose ol { margin-bottom: 1rem; }
.bt-prose li + li { margin-top: 4px; }
.bt-prose a { text-decoration: underline; text-underline-offset: 3px; }
.bt-prose .bt-note {
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--warning);
    border-radius: var(--r);
    color: var(--text);
    font-size: 14px;
}
.bt-legal-meta { margin: 6px 0 0; color: var(--text-subtle); font-size: 14px; }
.bt-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }

/* Kontakt */
.bt-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; align-items: start; }
.bt-contact__list { margin: 0; padding: 0; list-style: none; }
.bt-contact__list li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.bt-contact__list li:first-child { padding-top: 4px; border-top: 0; }
.bt-contact__list li:last-child { padding-bottom: 0; }
.bt-contact__list .bt-icon { margin-top: 3px; color: var(--text-subtle); }
.bt-contact__label { display: block; color: var(--text-subtle); font-size: 13px; }
.bt-contact__value { color: var(--text); font-weight: 500; }

/* =========================================================================
   11  Pakete, Preise, Vergleich (Startseite, Produktseiten, Bestellformular – ein Partial)
   ========================================================================= */
.bt-pricing__bar { display: flex; margin-bottom: 20px; }
.bt-pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
/* Ein oder zwei Pakete sollen nicht die ganze Breite füllen */
.bt-pkgs:has(> :nth-child(1):last-child) { grid-template-columns: minmax(0, 400px); }
.bt-pkgs:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 400px)); }
.bt-pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.bt-section--alt .bt-pkg { background: var(--bg); }
.bt-pkg--featured { border-color: var(--accent-line); box-shadow: inset 0 3px 0 var(--focus); }
.bt-pkg__head { margin-bottom: 16px; }
.bt-pkg__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-size: 1.1875rem; }
.bt-pkg__tagline { min-height: 1.5em; margin: 4px 0 0; color: var(--text-subtle); font-size: 14px; }

/* Leistungsdaten: Bezeichnung links, Wert rechts */
.bt-specs { flex: 1 1 auto; margin: 0 0 4px; padding: 0; }
.bt-specs > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.bt-specs dt { color: var(--text-muted); font-weight: 400; }
.bt-specs dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
.bt-specs dd .bt-icon { color: var(--accent-text); }

.bt-pkg__buy { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.bt-pkg__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0; }
.bt-pkg__from { color: var(--text-muted); font-size: 14px; }
.bt-pkg__amount { color: var(--text); font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.bt-pkg__period { color: var(--text-muted); font-size: 14px; }
.bt-pkg__note { min-height: 1.5em; margin: 2px 0 14px; color: var(--text-subtle); font-size: 13px; }
.bt-pkg .btn { width: 100%; }

.bt-price--annually { display: none; }
.bt-pricing[data-cycle="annually"] .bt-price--monthly { display: none; }
.bt-pricing[data-cycle="annually"] .bt-price--annually { display: block; }
.bt-pricing[data-cycle="annually"] a.bt-price--annually { display: inline-flex; }
/* ohne JavaScript: CSS :has() (eigene Regeln, damit ältere Browser den Rest nicht verwerfen) */
.bt-pricing:not([data-cycle]):has(input[data-bt-cycle][value="annually"]:checked) .bt-price--monthly { display: none; }
.bt-pricing:not([data-cycle]):has(input[data-bt-cycle][value="annually"]:checked) .bt-price--annually { display: block; }
.bt-pricing:not([data-cycle]):has(input[data-bt-cycle][value="annually"]:checked) a.bt-price--annually { display: inline-flex; }

/* Vergleichstabelle */
.bt-compare .bt-table { min-width: 640px; }
.bt-compare .bt-table th, .bt-compare .bt-table td { text-align: center; }
.bt-compare .bt-table th:first-child { text-align: left; }
.bt-compare thead th { padding-top: 16px; padding-bottom: 16px; color: var(--text); font-size: 15px; letter-spacing: 0; text-transform: none; vertical-align: bottom; }
.bt-compare thead th small { display: block; margin-top: 2px; color: var(--text-subtle); font-size: 13px; font-weight: 400; }
.bt-compare .is-featured { background: var(--hover); }
.bt-compare thead .is-featured { box-shadow: inset 0 3px 0 var(--focus); }
.bt-compare .bt-icon { color: var(--accent-text); }
.bt-compare .bt-na { color: var(--text-subtle); }
.bt-compare tfoot td { padding-top: 16px; padding-bottom: 16px; border-bottom: 0; }

/* =========================================================================
   12  Anmeldung und Formularseiten
   ========================================================================= */
#main-body, .main-body, section#main-body { background: transparent !important; }
.bt-main--auth, .bt-main--info { padding-top: 40px; padding-bottom: 64px; }
.bt-main--cart { padding-top: 32px; padding-bottom: 64px; }
.bt-main--client { padding-top: 28px; padding-bottom: 64px; }
.bt-breadcrumb ~ .bt-main--client { padding-top: 12px; }
.primary-content { min-width: 0; }
.primary-content > .card, .primary-content > .alert, .primary-content > .table-container { margin-bottom: 16px; }

/* Zentrierte Inhaltsbreite für Anmelde- und Hilfe-Seiten */
.bt-page { max-width: 920px; margin: 0 auto; }
.bt-page--narrow { max-width: 520px; }
.bt-page--wide { max-width: 1000px; }
.bt-page > * { margin-bottom: 20px; }
.bt-page > *:last-child { margin-bottom: 0; }

.bt-pagehead { margin-bottom: 24px !important; }
.bt-pagehead h1 { margin: 0; }
.bt-pagehead__lead { max-width: 640px; margin: 8px 0 0; font-size: 16px; }
.bt-pagehead--center { text-align: center; }
.bt-pagehead--center .bt-pagehead__lead { margin-left: auto; margin-right: auto; }
.bt-subhead { margin: 28px 0 12px !important; color: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.bt-page__foot { color: var(--text-subtle); font-size: 15px; }
.bt-page__empty { color: var(--text-subtle); }

/* Anmeldung: Hinweise links, Formular rechts */
.bt-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 56px;
    align-items: start;
    padding: 16px 0 8px;
}
.bt-auth__intro h1 { margin: 0 0 12px; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.25rem); }
.bt-auth__intro p { max-width: 460px; }
.bt-auth__intro .bt-checks { margin-top: 20px; }
.bt-auth__card { padding: 28px; }
.bt-auth__card h2 { margin: 0 0 4px; font-size: 1.25rem; }
.bt-auth__lead { margin: 0 0 20px; color: var(--text-subtle); font-size: 14.5px; }
.bt-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.bt-auth__row label { margin: 0 !important; }
.bt-auth__forgot { font-size: 14px; font-weight: 500; }
.bt-auth__remember { display: flex; align-items: center; gap: 10px; margin: 4px 0 20px; color: var(--text-muted); font-size: 14px; font-weight: 400; cursor: pointer; }
.bt-auth__remember input { margin: 0; }
.bt-auth__foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-subtle); font-size: 14px; text-align: center; }
.bt-auth__foot a { font-weight: 600; }
.bt-auth__foot--plain { margin-top: 0; padding-top: 0; border-top: 0; }
.bt-auth__card label:not(.bt-check):not(.bt-auth__remember),
.bt-formcard label:not(.bt-check):not(.bt-auth__remember) { display: block; margin-bottom: 6px; }
.mw-540 { max-width: 540px; }
.login-form .card, .logincontainer { background: var(--surface); }

/* Geerbte Anmelde-Seiten ohne eigenes Template (2FA, Einladung) */
.bt-tpl-two-factor-challenge .primary-content .card,
.bt-tpl-two-factor-new-backup-code .primary-content .card,
.bt-tpl-user-invite-accept .primary-content .card,
.bt-tpl-user-verify-email .primary-content .card { max-width: 520px; margin-left: auto; margin-right: auto; }

/* Ergebnis-Karten (Abmelden, 404, Passwort-Mail, Kontakt gesendet, Bestellung abgeschlossen) */
.bt-result { text-align: center; }
.bt-result__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: var(--r);
    background: var(--surface-2);
    color: var(--accent-text);
}
.bt-result h1, .bt-result h2 { margin: 0 0 8px; font-size: 1.375rem; }
.bt-result p { margin-bottom: 20px; }
.bt-result__code { display: block; margin-bottom: 4px; color: var(--text-subtle); font-size: 3.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }

/* Formularkarten (Registrierung, Kontakt) */
.bt-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.bt-form-grid > .bt-field--full,
.bt-form-grid > .alert { grid-column: 1 / -1; }
.bt-form-grid > .form-group { min-width: 0; }
.bt-formcard { display: block; min-width: 0; margin: 0 0 16px; padding: 24px; }
.bt-formcard__title {
    float: left;
    width: 100%;
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}
.bt-formcard__title + * { clear: both; }
.bt-formcard__note { margin: 4px 0 0; color: var(--text-subtle); font-size: 14px; }
.bt-captcha:empty { display: none; }
.bt-register__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.bt-register__submit p { margin: 0; color: var(--text-subtle); font-size: 14px; }

/* Eigene Labels vorhanden -> Icons vor den Feldern ausblenden */
.bt-form .field-icon,
.bt-formcard .field-icon,
.bt-auth__card .field-icon,
.bt-form .input-group-prepend .input-group-text .fa,
.bt-auth__card .input-group-prepend { display: none !important; }
.bt-form .prepend-icon .field,
.bt-formcard .prepend-icon .field { padding-left: 12px !important; }

/* Registrierung: Twenty-One stylt Felder über die ID #registration (stärker als .form-control) */
body #registration .field,
body #registration .form-control,
body #registration select,
body #registration textarea,
body #registration input[type="text"],
body #registration input[type="email"],
body #registration input[type="tel"],
body #registration input[type="password"],
body #registration input[type="number"],
body #registration .iti input,
body #registration .intl-tel-input input {
    min-height: var(--ctl);
    background-color: var(--bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--r) !important;
    box-shadow: none !important;
    color: var(--text) !important;
}
body #registration .field:focus,
body #registration .form-control:focus,
body #registration select:focus,
body #registration input:focus { border-color: var(--accent-line) !important; box-shadow: var(--ring) !important; }
body #registration .field::placeholder,
body #registration .form-control::placeholder { color: var(--text-subtle); }
body #registration .field[disabled], body #registration .field[readonly],
body #registration .form-control[disabled], body #registration .form-control[readonly] {
    background-color: var(--surface-2) !important;
    color: var(--text-subtle) !important;
}
body #registration select option { background: var(--surface); color: var(--text); }
body #registration .field-help-text { color: var(--text-subtle); }

/* =========================================================================
   13  Kundenbereich
   ========================================================================= */
/* Übersicht */
.bt-dash__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.bt-dash__head h1 { margin: 0; }
.bt-dash__head p { margin: 4px 0 0; color: var(--text-subtle); font-size: 15px; }

/* Kennzahlen: eine Leiste mit vier Feldern */
.bt-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 16px;
    padding: 0;
    overflow: hidden;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.bt-stats > li { min-width: 0; margin: 0; border-left: 1px solid var(--line); }
.bt-stats > li:first-child { border-left: 0; }
.bt-stat { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 20px; color: var(--text-muted); }
.bt-stat:hover, .bt-stat:focus { background: var(--hover); color: var(--text-muted); text-decoration: none; }
.bt-stat__value { color: var(--text); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.bt-stat__label { color: var(--text-subtle); font-size: 14px; }
.bt-stat--warn .bt-stat__value { color: var(--warning); }

.bt-dash__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.bt-panel .table th:first-child, .bt-panel .table td:first-child { padding-left: 20px; }
.bt-panel .table th:last-child, .bt-panel .table td:last-child { padding-right: 20px; }
.bt-panel .table td a { color: var(--text); font-weight: 600; }
.bt-panel .table tbody tr:hover { background: var(--hover); }
.bt-invoice-box__amount { margin: 6px 0 2px; color: var(--text); font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; }
.bt-invoice-box__meta { margin: 0 0 16px; color: var(--text-subtle); font-size: 14px; }
.bt-invoice-box__meta.is-overdue { color: var(--warning); }
.bt-ticket-box__subject { display: block; margin-bottom: 6px; color: var(--text); font-weight: 600; }
.bt-ticket-box__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 14px; color: var(--text-subtle); font-size: 13px; }
.bt-okline { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-muted); }
.bt-okline .bt-icon { color: var(--accent-text); }

/* Seitenleisten (Twenty-One) – Kartenstil */
.sidebar .card { margin-bottom: 16px; }
.sidebar .card-sidebar { overflow: hidden; background: var(--surface); }
.sidebar .card-header { padding: 12px 16px; }
.sidebar .card-title { font-size: 14px; }
.sidebar .card-title i { color: var(--text-subtle); }
.sidebar .list-group-item { padding: 9px 16px; font-size: 14px; }
.sidebar .sidebar-menu-item-wrapper { display: flex; align-items: center; gap: 10px; }
.sidebar .sidebar-menu-item-icon { color: var(--text-subtle); }
.sidebar .list-group-item.active .sidebar-menu-item-icon { color: var(--accent-text); }
.sidebar .sidebar-menu-item-badge { margin-left: auto; }
.sidebar .badge { background: var(--surface-2); color: var(--text-muted); }
.sidebar .card-body { padding: 16px; font-size: 14px; }
.sidebar .card-footer { padding: 10px 16px; }
.sidebar-secondary { margin-top: 20px; }

/* Twenty-One-Kacheln und Home-Panels (falls Module sie zeigen) */
.tiles .tile { background: var(--surface); border-color: var(--line); color: var(--text-muted); }
.tiles .tile .stat { color: var(--text); }
.tiles .tile i { color: var(--text-subtle); }
.tiles .tile .highlight { background: var(--accent) !important; }
.client-home-cards .card { margin-bottom: 16px; }
.client-home-cards .card-header .btn { min-height: 30px; }

/* Produktdetails, Tickets */
.product-details .product-icon, .product-status { background: var(--surface-2) !important; border-radius: var(--r-lg); color: var(--text); }
.product-status-active { border-left: 3px solid var(--accent-line); }
.ticket-reply, .ticket-reply .posted-by { background: var(--surface); border-color: var(--line); color: var(--text-muted); }
.ticket-reply.staff { border-left: 3px solid var(--accent-line); }
.ticket-reply .message { color: var(--text-muted); }
.kb-category, .kb-article-item, .announcement { border-color: var(--line); color: var(--text-muted); }
body .view-ticket .attachments { border-top-color: var(--line); }
body .view-ticket .attachment-list li span { background: var(--bg); border-color: var(--line); }
body .view-ticket .attachment-list li figure { background: var(--surface-2); color: var(--text-subtle); }
body .field-help-text, body #registration .field-help-text { color: var(--text-subtle); }

/* Ticket: Anhänge hinzufügen */
body .attachment-group { flex-wrap: nowrap; }
body .attachment-group .input-group-append .btn,
body #btnTicketAttachmentsAdd {
    min-height: var(--ctl);
    white-space: nowrap;
    background: var(--surface-2) !important;
    border: 1px solid var(--input-border) !important;
    color: var(--text) !important;
}
body .attachment-group .input-group-append .btn:hover,
body #btnTicketAttachmentsAdd:hover { background: var(--surface-3) !important; }
body #fileUploadsContainer .attachment-group { margin-top: 8px; }

/* =========================================================================
   14  Hilfe, Ankündigungen, Status, Downloads
   ========================================================================= */
.bt-search { position: relative; display: flex; gap: 10px; }
.bt-search .form-control { flex: 1; min-height: 48px; padding-left: 42px; font-size: 16px; }
.bt-search__icon { position: absolute; top: 14px; left: 14px; z-index: 4; color: var(--text-subtle); pointer-events: none; }
.bt-search .btn { min-height: 48px; padding: 0 22px; }

/* Kategorien: zweispaltige Liste */
.bt-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.bt-tiles > li { min-width: 0; }
.bt-tile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    color: var(--text-muted);
    transition: border-color .12s ease, background-color .12s ease;
}
.bt-tile:hover, .bt-tile:focus { background: var(--hover); border-color: var(--input-border); color: var(--text-muted); text-decoration: none; }
.bt-tile__icon { flex-shrink: 0; margin-top: 2px; color: var(--text-subtle); }
.bt-tile__body { flex: 1; min-width: 0; }
.bt-tile__title { display: block; color: var(--text); font-weight: 600; }
.bt-tile__text { display: block; margin-top: 2px; color: var(--text-subtle); font-size: 14px; }
.bt-tile .badge { flex-shrink: 0; }

.bt-listcard { overflow: hidden; }
.bt-listcard__title { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.bt-listcard .table-responsive .table th:first-child, .bt-listcard .table td:first-child { padding-left: 20px; }
.bt-listitem { display: flex !important; align-items: flex-start; gap: 12px; padding: 14px 20px; }
.bt-listitem > .bt-icon:first-child { margin-top: 3px; color: var(--text-subtle); }
.bt-listitem__body { flex: 1; min-width: 0; }
.bt-listitem__title { display: block; color: var(--text); font-weight: 600; }
.bt-listitem__text { display: block; margin-top: 2px; color: var(--text-subtle); font-size: 14px; }
.bt-listitem__chev { margin-top: 3px; color: var(--text-subtle); }
.bt-listitem:hover .bt-listitem__chev { color: var(--accent-text); }
.bt-listitem--empty { padding: 18px 20px; color: var(--text-subtle); }

.bt-article { padding: 28px; }
.bt-article .bt-prose { max-width: none; }
.bt-article .bt-prose img { max-width: 100%; height: auto; border-radius: var(--r); }
.bt-article .bt-prose table { width: 100%; margin-bottom: 1rem; }
.bt-article .bt-prose td, .bt-article .bt-prose th { padding: 8px 10px; border: 1px solid var(--line); }
.bt-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--text-subtle); font-size: 14px; }
.bt-article__print { margin-left: auto; }
.bt-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.bt-vote__q { margin-right: 6px; color: var(--text); font-weight: 600; }

.bt-news { display: grid; gap: 12px; }
.bt-news__item { padding: 22px 24px; }
.bt-news__date { margin: 0 0 6px; color: var(--text-subtle); font-size: 14px; }
.bt-news__title { margin: 0 0 8px; font-size: 1.1875rem; }
.bt-news__title a { color: var(--text); }
.bt-news__title a:hover { color: var(--accent-text); text-decoration: none; }
.bt-news__summary { margin-bottom: 12px; color: var(--text-muted); }

.bt-statusbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--neutral); border-radius: var(--r); color: var(--text-muted); }
.bt-statusbar--ok { border-left-color: var(--accent-line); }
.bt-statusbar--warn { border-left-color: var(--warning); }
.bt-statusbar .bt-status { color: var(--text) !important; font-weight: 600; }
.bt-issue { margin-bottom: 12px; padding: 20px 24px; }
.bt-issue__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bt-issue__head h3 { margin: 0; font-size: 1.0625rem; }
.bt-issue__meta { margin: 6px 0 12px; color: var(--text-subtle); font-size: 14px; }

/* =========================================================================
   15  Bestellprozess (Standard Cart, #order-standard_cart)
   Standard Cart lädt sein Stylesheet erst im Seiteninhalt; footer.tpl bindet brand.css
   deshalb im Warenkorb ein zweites Mal ein. Regeln mit "body #order-standard_cart" und
   !important überstimmen Originalregeln mit höherer Spezifität.
   ========================================================================= */
/* Schritte: 1 Paket – 2 Konfiguration – 3 Domain – 4 Prüfen & bestellen */
.bt-steps { background: var(--surface); border-bottom: 1px solid var(--line); }
.bt-steps__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.bt-steps__item { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; padding: 14px 0; color: var(--text-subtle); font-size: 14px; font-weight: 500; white-space: nowrap; }
.bt-steps__item:last-child { flex: 0 0 auto; }
.bt-steps__item:not(:last-child)::after { content: ""; flex: 1 1 16px; height: 1px; margin: 0 14px 0 4px; background: var(--input-border); }
.bt-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}
.bt-steps__item.is-done { color: var(--text-muted); }
.bt-steps__item.is-done .bt-steps__num { background: var(--surface-3); color: var(--accent-text); }
.bt-steps__item.is-done:not(:last-child)::after { background: var(--accent-line); }
.bt-steps__item.is-current { color: var(--text); font-weight: 600; }
.bt-steps__item.is-current .bt-steps__num { background: var(--accent); color: var(--accent-ink); }

/* Paketwahl */
.bt-orderform { padding-bottom: 16px; }
.bt-orderform .cart-body { padding: 0; }
.bt-orderform__head { margin-bottom: 20px; }
.bt-orderform__head h1 { margin: 0; }
.bt-orderform__head p { max-width: 720px; margin: 6px 0 0; }
.bt-cart-hint { margin: 20px 0 0; color: var(--text-subtle); font-size: 13px; }

/* Grundgerüst */
body #order-standard_cart { color: var(--text-muted); font-size: 15px; }
#order-standard_cart h1, #order-standard_cart h2, #order-standard_cart h3,
#order-standard_cart .font-size-30, #order-standard_cart .font-size-24 { border-color: var(--line); color: var(--text); }
#order-standard_cart .header-lined { margin: 0 0 20px; padding: 0; border: 0; }
#order-standard_cart .header-lined h1,
#order-standard_cart .header-lined .font-size-36 { margin: 0; font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2rem) !important; }

/* Kategorie-Seitenleiste des Standard Cart in ALLEN Schritten ausblenden –
   Ersatz: Schritte (header.tpl) und Reiter (products.tpl). Der Hook leert sie zusätzlich. */
#order-standard_cart .cart-sidebar,
#order-standard_cart .sidebar-collapsed,
#order-standard_cart .categories-collapsed { display: none !important; }
#order-standard_cart .cart-body { float: none !important; flex: 0 0 100%; width: 100% !important; max-width: 100%; }

/* Zwischenüberschriften */
body #order-standard_cart .sub-heading,
body #order-standard_cart .sub-heading-borderless { height: auto; margin: 28px 0 12px; border-top: 0; text-align: left; }
body #order-standard_cart .sub-heading span,
body #order-standard_cart .sub-heading .primary-bg-color,
body #order-standard_cart .sub-heading-borderless span {
    position: static;
    top: auto;
    padding: 0;
    background: transparent !important;
    color: var(--text) !important;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0;
}

/* Kästen */
#order-standard_cart .panel,
#order-standard_cart .card,
#order-standard_cart .products .product,
#order-standard_cart .domain-checker-container,
#order-standard_cart .domain-pricing,
#order-standard_cart .panel-addon,
#order-standard_cart .addon-promo-container,
#order-standard_cart .account,
#order-standard_cart .secondary-cart-body .card,
body #order-standard_cart .field-container,
body #order-standard_cart .product-info,
#order-standard_cart .already-registered,
#order-standard_cart .marketing-email-optin,
#order-standard_cart .apply-credit-container,
#order-standard_cart .domain-selection-options .option {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-lg) !important;
    box-shadow: none !important;
    color: var(--text-muted);
}
body #order-standard_cart .field-container,
body #order-standard_cart .product-info,
#order-standard_cart .already-registered,
#order-standard_cart .marketing-email-optin,
#order-standard_cart .apply-credit-container,
#order-standard_cart .domain-selection-options .option { padding: 18px 20px; }
body #order-standard_cart .product-info { font-size: 15px; }
body #order-standard_cart .product-info .product-title { color: var(--text); font-size: 1.1875rem; font-weight: 700; }
#order-standard_cart .already-registered { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
#order-standard_cart .already-registered p { margin: 0; }
#order-standard_cart .bg-white { background: var(--surface) !important; }
#order-standard_cart .alert-success { color: var(--text); }

/* Felder (Standard Cart setzt .field / .form-control weiß) */
body #order-standard_cart .field,
body #order-standard_cart .form-control,
body #order-standard_cart select.form-control,
body #order-standard_cart textarea.field {
    min-height: var(--ctl);
    background-color: var(--bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--r) !important;
    color: var(--text) !important;
}
body #order-standard_cart .field:focus,
body #order-standard_cart .form-control:focus { border-color: var(--accent-line) !important; box-shadow: var(--ring) !important; }
body #order-standard_cart .field[disabled], body #order-standard_cart .field[readonly],
body #order-standard_cart .form-control[disabled], body #order-standard_cart .form-control[readonly] {
    background-color: var(--surface-2) !important;
    color: var(--text-subtle) !important;
}
body #order-standard_cart .prepend-icon .field { padding-left: 40px; }
body #order-standard_cart .prepend-icon .field-icon { width: 40px; height: var(--ctl); color: var(--text-subtle); line-height: var(--ctl); }
body #order-standard_cart .field-icon i { color: var(--text-subtle); }
body #order-standard_cart .field-help-text { color: var(--text-subtle); }
body #order-standard_cart .input-group-lg > .form-control { min-height: 52px; }
body #order-standard_cart .form-control-qty { display: inline-block; width: 110px; }
body #order-standard_cart .form-control-static { color: var(--text-muted); }
#order-standard_cart .label-placeholder { color: var(--text-subtle); }
#order-standard_cart .product-configurable-options label,
#order-standard_cart .field-container label { color: var(--text); font-weight: 500; }
#order-standard_cart .product-configurable-options label > label,
#order-standard_cart .product-configurable-options .form-group > label ~ label { color: var(--text-muted); font-weight: 400; }

/* Häkchen und Auswahlpunkte (iCheck, Skin "square-blue"): Skin-Bild ersetzt, Aussehen wie überall */
body .icheckbox_square-blue,
body .iradio_square-blue {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    vertical-align: -3px;
    background: var(--bg) !important;
    border: 1px solid var(--input-border);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease;
}
body .iradio_square-blue { border-radius: 50%; }
body .icheckbox_square-blue.hover,
body .iradio_square-blue.hover { border-color: var(--text-subtle); }
body .icheckbox_square-blue.checked,
body .iradio_square-blue.checked { background: var(--accent) !important; border-color: var(--accent-line); }
body .icheckbox_square-blue.checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: var(--accent-ink);
    clip-path: polygon(14% 44%, 0 65%, 43% 100%, 100% 22%, 84% 8%, 40% 68%);
}
body .iradio_square-blue.checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-ink);
}
body .icheckbox_square-blue.disabled,
body .iradio_square-blue.disabled { opacity: .5; cursor: not-allowed; }
body .icheckbox_square-blue.focus,
body .iradio_square-blue.focus { box-shadow: var(--ring); }

/* Mengenregler (ion.rangeSlider, Skin "Modern"): Skin-Bilder ersetzt.
   Aufbau: Schiene (.irs-line), gefüllter Teil (.irs-bar + .irs-bar-edge), Griff (.irs-slider),
   Wert über dem Griff (.irs-single), Grenzen (.irs-min/.irs-max), Skala (.irs-grid). */
body .irs { height: 58px; font-family: var(--font); }
body .irs-with-grid { height: 86px; }
body .irs-line {
    top: 32px;
    height: 6px;
    overflow: hidden;
    background: var(--surface-3) !important;
    border: 0;
    border-radius: 3px;
}
body .irs-line-left,
body .irs-line-mid,
body .irs-line-right { height: 6px; background: none !important; }
body .irs-bar { top: 32px; height: 6px; background: var(--accent) !important; border: 0; }
body .irs-bar-edge { top: 32px; width: 12px; height: 6px; background: var(--accent) !important; border: 0; border-radius: 3px 0 0 3px; }
body .irs-bar--single { border-radius: 3px 0 0 3px; }
body .irs-shadow { display: none !important; }
body .irs-slider,
body .irs-handle {
    top: 23px;
    width: 24px;
    height: 24px;
    background: var(--accent) !important;
    border: 4px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--accent);
    cursor: grab;
}
body .irs-slider:hover,
body .irs-slider.state_hover,
body .irs-handle:hover,
body .irs-handle.state_hover { box-shadow: 0 0 0 1px var(--accent), var(--ring); }
body .irs-slider:active,
body .irs-handle:active { cursor: grabbing; }
body .irs-handle > i { display: none !important; }
body .irs-min,
body .irs-max {
    top: 0;
    padding: 2px 6px;
    background: var(--surface-2) !important;
    border-radius: var(--r-sm);
    color: var(--text-subtle) !important;
    font-size: 12px;
    line-height: 1.4;
    text-shadow: none;
}
body .irs-from,
body .irs-to,
body .irs-single {
    top: 0;
    padding: 2px 8px;
    background: var(--accent) !important;
    border-radius: var(--r-sm);
    color: var(--accent-ink) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: none;
}
body .irs-from::after, body .irs-to::after, body .irs-single::after,
body .irs-from::before, body .irs-to::before, body .irs-single::before { border-top-color: var(--accent-line) !important; }
/* Das eigentliche Eingabefeld ist versteckt – es darf keinen Feldrahmen erben */
body .irs-hidden-input,
body #order-standard_cart .irs-hidden-input {
    min-height: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0;
}
body .irs-grid { height: 30px; }
body .irs-grid-pol { background: var(--input-border) !important; }
body .irs-grid-text { bottom: 2px; color: var(--text-subtle) !important; font-size: 11px; }
body .irs-disabled { opacity: .5; }

/* Zusatzleistungen (Addons) */
body #order-standard_cart .panel-addon { overflow: hidden; cursor: pointer; }
body #order-standard_cart .panel-addon .panel-body label { color: var(--text) !important; font-weight: 600; }
body #order-standard_cart .panel-addon .panel-price { background-color: var(--surface-2) !important; color: var(--text); }
body #order-standard_cart .panel-addon .panel-add { background-color: var(--surface-3) !important; color: var(--text) !important; }
body #order-standard_cart .panel-addon-selected { border-color: var(--accent-line) !important; }
body #order-standard_cart .panel-addon-selected .panel-add { background-color: var(--accent) !important; color: var(--accent-ink) !important; }

/* Bestellübersicht rechts */
body #order-standard_cart .order-summary {
    overflow: hidden;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-lg) !important;
}
body #order-standard_cart .order-summary h2 {
    margin: 0;
    padding: 14px 20px;
    background: transparent !important;
    border-bottom: 1px solid var(--line);
    color: var(--text) !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    text-align: left;
}
body #order-standard_cart .summary-container {
    padding: 18px 20px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--text-muted);
    font-size: 14px;
}
body #order-standard_cart .order-summary .subtotal,
body #order-standard_cart .order-summary .bordered-totals,
body #order-standard_cart .order-summary .summary-totals { border-color: var(--line) !important; color: var(--text-muted); }
body #order-standard_cart .order-summary .subtotal { color: var(--text); font-size: 15px; }
body #order-standard_cart .order-summary .product-name { color: var(--text) !important; }
body #order-standard_cart .order-summary .product-group,
body #order-standard_cart .order-summary .recurring-charges { color: var(--text-subtle); }
body #order-standard_cart .order-summary .total-due-today .amt { color: var(--text) !important; font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; }
body #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--text-subtle); font-size: 13px; }
body #order-standard_cart .order-summary .btn-continue-shopping { color: var(--text-subtle) !important; font-size: 14px; }
body #order-standard_cart .order-summary .btn-continue-shopping:hover { color: var(--text) !important; }
body #order-standard_cart .order-summary .loader { color: var(--text-subtle); }
body #order-standard_cart .btn-checkout { width: 100%; min-height: 48px; padding: 12px 22px; font-size: 16px; }
#order-standard_cart #btnCompleteProductConfig { width: 100%; margin-top: 12px; }
#order-standard_cart .item-price,
#order-standard_cart .summary-totals,
#order-standard_cart #totalDueToday,
#order-standard_cart .product-name { color: var(--text) !important; }

/* Warenkorb: Artikelliste */
body #order-standard_cart .view-cart-items-header {
    padding: 11px 20px;
    background: var(--surface) !important;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0 !important;
    color: var(--text-subtle) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
body #order-standard_cart .view-cart-items {
    overflow: hidden;
    margin: 0 0 12px;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 0 var(--r-lg) var(--r-lg) !important;
}
body #order-standard_cart .view-cart-items .item,
body #order-standard_cart .view-cart-items .item:nth-child(even) {
    padding: 16px 20px;
    background-color: transparent !important;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 15px;
}
body #order-standard_cart .view-cart-items .item:last-child { border-bottom: 0; }
body #order-standard_cart .view-cart-items .item:hover { background-color: var(--hover) !important; }
body #order-standard_cart .view-cart-items .item-title { color: var(--text) !important; font-size: 1.0625rem; font-weight: 600; }
body #order-standard_cart .view-cart-items .item-title a { color: var(--accent-text); font-size: 14px; font-weight: 500; }
body #order-standard_cart .view-cart-items .item-group { color: var(--text-subtle); font-size: 14px; }
body #order-standard_cart .view-cart-items .item-domain { color: var(--text-muted); font-size: 14px; }
body #order-standard_cart .view-cart-items .item-price span,
body #order-standard_cart .view-cart-items .item-price { color: var(--text) !important; }
body #order-standard_cart .view-cart-items .item-price span { font-size: 1.0625rem; font-weight: 700; }
body #order-standard_cart .view-cart-items .item-price .cycle,
body #order-standard_cart .view-cart-items .item-price .renewal { color: var(--text-subtle) !important; font-size: 13px; font-weight: 400; }
body #order-standard_cart .view-cart-items .item-qty input { background: var(--bg); border: 1px solid var(--input-border); color: var(--text); }
body #order-standard_cart .view-cart-items .btn-remove-from-cart { min-height: 32px; color: var(--text-subtle) !important; }
body #order-standard_cart .view-cart-items .btn-remove-from-cart:hover { color: var(--danger) !important; }
body #order-standard_cart .view-cart-items .dropdown-toggle { color: var(--text-muted); }
body #order-standard_cart .view-cart-empty { padding: 36px 20px; color: var(--text-subtle); text-align: center; }

/* „Warenkorb leeren“ als dezenter Link */
body #order-standard_cart .empty-cart { margin: 0 0 20px; text-align: right; }
body #order-standard_cart .empty-cart .btn {
    min-height: 32px;
    padding: 4px 0;
    background: transparent !important;
    border: 0 !important;
    color: var(--text-subtle) !important;
    font-size: 14px;
    font-weight: 500;
}
body #order-standard_cart .empty-cart .btn:hover { color: var(--danger) !important; }

/* Reiter Gutschein / Steuern */
body #order-standard_cart .view-cart-tabs { margin: 0 0 20px; }
body #order-standard_cart .view-cart-tabs .nav-tabs { margin-top: 16px; padding-left: 0; border-bottom: 1px solid var(--line); font-size: 14px; }
body #order-standard_cart .view-cart-tabs .nav-tabs .nav-link,
body #order-standard_cart .view-cart-tabs .nav-tabs a {
    padding: 10px 14px;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    color: var(--text-muted) !important;
    font-weight: 500;
}
body #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
body #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"],
body #order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active {
    background: transparent !important;
    border-bottom-color: var(--accent-line) !important;
    color: var(--text) !important;
}
body #order-standard_cart .view-cart-tabs .tab-content {
    padding: 18px 20px;
    background: var(--surface) !important;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    color: var(--text-muted);
}
body #order-standard_cart .view-cart-promotion-code {
    background: var(--bg) !important;
    border: 1px dashed var(--input-border) !important;
    border-radius: var(--r);
    color: var(--text);
}
#order-standard_cart .express-checkout-buttons .separator { color: var(--text-subtle); }
#order-standard_cart .btn-continue-shopping { color: var(--text-muted) !important; }

/* Domain: Suche */
#order-standard_cart .domain-checker-container { padding: 0; overflow: hidden; }
#order-standard_cart .domain-checker-bg { padding: 28px; background: var(--surface) !important; background-image: none !important; border-radius: var(--r-lg); }
/* Suchfeld und Knopf nebeneinander mit Abstand – wie der Domain-Check auf den öffentlichen Seiten */
body #order-standard_cart .domain-checker-container .input-group-box {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
body #order-standard_cart .domain-checker-container .input-group-box > .form-control { flex: 1 1 auto; width: auto; min-width: 0; min-height: 52px; font-size: 16px; }
body #order-standard_cart .domain-checker-container .input-group-box .input-group-btn,
body #order-standard_cart .domain-checker-container .input-group-box .input-group-append { display: flex; flex: 0 0 auto; width: auto; margin: 0; }
body #order-standard_cart .domain-checker-container .input-group-box .btn { min-height: 52px; border-radius: var(--r) !important; white-space: nowrap; }
#order-standard_cart .domain-checker-available { color: var(--accent-text); }
#order-standard_cart .domain-checker-unavailable, #order-standard_cart .domain-checker-invalid { color: var(--warning); }
#order-standard_cart .primary-domain-header { color: var(--text); font-weight: 600; }
#order-standard_cart .domain-suggestion, #order-standard_cart .domain-lookup-result,
#order-standard_cart .suggested-domains .panel-heading,
#order-standard_cart .suggested-domains .card-header,
#order-standard_cart .suggested-domains .list-group-item { background: var(--surface); border-color: var(--line); color: var(--text-muted); }
#order-standard_cart .suggested-domains { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); }
#order-standard_cart .domain-lookup-result .domain-price .price { color: var(--text); font-weight: 700; }
#order-standard_cart .domain-suggestion .actions .btn { min-height: 36px; }
#order-standard_cart .domain-suggestion .extension { color: var(--text); font-weight: 600; }
#order-standard_cart .domain-suggestions-warning { color: var(--text-subtle); }
#order-standard_cart .btn-add-to-cart { background: var(--accent) !important; border-color: var(--accent-line) !important; color: var(--accent-ink) !important; }
#order-standard_cart .btn-add-to-cart.checkout, #order-standard_cart .btn-add-to-cart .added { background: var(--surface-2) !important; border-color: var(--input-border) !important; color: var(--text) !important; }

/* Domain: hervorgehobene Endungen */
#order-standard_cart .spotlight-tlds .spotlight-tld {
    padding: 14px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    color: var(--text);
}
#order-standard_cart .spotlight-tlds .spotlight-tld .price { color: var(--text-muted); }
#order-standard_cart .spotlight-tlds .spotlight-tld-hot,
#order-standard_cart .spotlight-tlds .spotlight-tld-new,
#order-standard_cart .spotlight-tlds .spotlight-tld-sale { background: var(--accent); border-radius: var(--r-sm); color: var(--accent-ink); }
body #order-standard_cart .featured-tld { overflow: hidden; background: var(--surface) !important; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); }
/* Logos der Endungen sind für helle Flächen gezeichnet -> helle Platte hinter dem Bild */
body #order-standard_cart .featured-tld .img-container { background: var(--pay-bg); }
body #order-standard_cart .featured-tld .price { background: var(--surface-2) !important; color: var(--text) !important; font-weight: 600; }

/* Domain: Preisliste nach Kategorie. Es ist immer genau EINE Kategorie aktiv
   (brand.js schaltet um, statt wie im Original Kategorien zu addieren). */
body #order-standard_cart .domain-pricing { padding: 20px; }
body #order-standard_cart .domain-pricing h4 { margin: 0 0 12px; color: var(--text); font-size: 1.0625rem; font-weight: 600; }
body .tld-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
body .tld-filters a,
body #order-standard_cart .tld-filters a {
    margin: 0;
    padding: 7px 12px;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r) !important;
    color: var(--text-muted) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}
body .tld-filters a:hover,
body #order-standard_cart .tld-filters a:hover { border-color: var(--text-subtle) !important; color: var(--text) !important; }
body .tld-filters a.badge-success,
body .tld-filters a.label-success,
body .tld-filters a.is-active,
body #order-standard_cart .tld-filters a.badge-success,
body #order-standard_cart .tld-filters a.label-success,
body #order-standard_cart .tld-filters a.is-active { background: var(--accent-soft) !important; border-color: var(--accent-line) !important; color: var(--text) !important; }
body #order-standard_cart .domain-pricing .bg-white { overflow: hidden; background: transparent !important; border: 1px solid var(--line); border-radius: var(--r); }
body #order-standard_cart .domain-pricing .tld-pricing-header,
body #order-standard_cart .domain-pricing .tld-pricing-header div {
    padding: 0;
    background: var(--surface) !important;
    border: 0 !important;
    color: var(--text-subtle) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
body #order-standard_cart .domain-pricing .tld-pricing-header { align-items: center; margin: 0; border-bottom: 1px solid var(--line) !important; }
body #order-standard_cart .domain-pricing .tld-pricing-header .tld-column,
body #order-standard_cart .domain-pricing .tld-pricing-header .col-4,
body #order-standard_cart .domain-pricing .tld-pricing-header .col-xs-4 { padding: 10px 8px; }
body #order-standard_cart .domain-pricing .tld-pricing-header .tld-column { padding-left: 1.5rem; text-align: left; }
body #order-standard_cart .domain-pricing .tld-row { margin: 0; padding: 10px 0; border-color: var(--line) !important; color: var(--text-muted); }
body #order-standard_cart .domain-pricing .tld-row strong { color: var(--text); }
body #order-standard_cart .domain-pricing .tld-row.highlighted { background: var(--hover) !important; }
body #order-standard_cart .domain-pricing .tld-row small { color: var(--text-subtle); }
body #order-standard_cart .tld-sale-group { margin-left: 8px; padding: 2px 8px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--text-muted); font-size: 12px; font-weight: 600; text-transform: none; }
body #order-standard_cart .tld-sale-group-sale, body #order-standard_cart .tld-sale-group-hot { background: var(--accent-soft); color: var(--accent-text); }
#order-standard_cart .domain-promo-box { background: var(--surface) !important; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text-muted); }
#order-standard_cart .domain-promo-box i, #order-standard_cart .domain-promo-box .fa-4x { color: var(--text-subtle) !important; }

/* Domain zum Paket: Auswahl als Kacheln */
#order-standard_cart .domain-selection-options .option { margin-bottom: 8px; }
body #order-standard_cart .domain-selection-options .option,
body #order-standard_cart .domain-selection-options .option-selected { background-color: var(--surface) !important; }
body #order-standard_cart .domain-selection-options .option-selected,
#order-standard_cart .domain-selection-options .option:focus-within { background-color: var(--accent-soft) !important; border-color: var(--accent-line) !important; }
#order-standard_cart .domain-selection-options .option > label { margin: 0; color: var(--text); font-weight: 600; }

/* Checkout */
#order-standard_cart .payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
#order-standard_cart .payment-methods label,
#order-standard_cart .radio-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 9px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--text-muted);
    cursor: pointer;
}
#order-standard_cart .payment-methods label:has(input:checked),
#order-standard_cart .payment-methods label:has(.checked),
#order-standard_cart .radio-inline:has(input:checked),
#order-standard_cart .radio-inline:has(.checked) { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }
#order-standard_cart #btnCompleteOrder { min-height: 48px; padding-left: 28px; padding-right: 28px; font-size: 16px; }
#order-standard_cart .checkout-security-msg { padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--text-subtle); }
#order-standard_cart .cc-input-container { background: var(--surface); border-color: var(--line); }
body #order-standard_cart .account-select-container { border-right-color: var(--line); }
body #order-standard_cart .account-select-container div.account,
body #order-standard_cart .account-select-container div.account.active { background: var(--surface) !important; border-color: var(--line) !important; color: var(--text-muted); }
body #order-standard_cart .account-select-container div.account.active { background: var(--accent-soft) !important; border-color: var(--accent-line) !important; color: var(--text); }
#order-standard_cart .order-confirmation { background: var(--surface); border-color: var(--line); border-radius: var(--r-lg); color: var(--text); }
#order-standard_cart .order-confirmation span { color: var(--accent-text); }

/* Fallback-Produktkacheln von Standard Cart (z. B. in Empfehlungen) */
#order-standard_cart .products .product header { background: transparent; border-bottom: 1px solid var(--line); color: var(--text); }
#order-standard_cart .products .product .price { color: var(--text); }
#order-standard_cart .products .product div.product-desc { color: var(--text-muted); }

/* Bestellung abgeschlossen */
.bt-complete { max-width: 600px; margin: 0 auto; }
.bt-complete__card { padding: 32px; text-align: center; }
.bt-complete__card h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); }
.bt-complete__number { display: inline-flex; flex-direction: column; gap: 2px; margin: 8px auto 20px; padding: 12px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.bt-complete__number dt { color: var(--text-subtle); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bt-complete__number dd { margin: 0; color: var(--text); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.bt-complete__pay { text-align: center; }
.bt-complete__pay p { margin-bottom: 12px; color: var(--text); }
.bt-complete__hint { color: var(--text-subtle); }
.bt-complete .order-confirmation-addon-output { margin: 16px 0; text-align: left; }

/* =========================================================================
   16  Fremd-Widgets
   ========================================================================= */
/* Telefonfeld mit Flagge (intl-tel-input, alte und neue Klassennamen) */
.iti, .intl-tel-input { display: block; width: 100%; }
.iti__country-list, .intl-tel-input .country-list {
    max-width: 320px;
    background: var(--surface);
    border: 1px solid var(--input-border);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    color: var(--text);
}
.iti__country, .intl-tel-input .country-list .country { color: var(--text-muted); }
.iti__country.iti__highlight, .intl-tel-input .country-list .country.highlight { background: var(--surface-2); color: var(--text); }
.iti__dial-code, .intl-tel-input .country-list .dial-code { color: var(--text-subtle); }
.iti__divider, .intl-tel-input .country-list .divider { border-color: var(--line); }
.iti__selected-flag, .intl-tel-input .selected-flag,
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.intl-tel-input.allow-dropdown .flag-container:hover .selected-flag { background: transparent !important; }
.iti__arrow, .intl-tel-input .selected-flag .iti-arrow { border-top-color: var(--text-subtle); }
.iti__arrow--up, .intl-tel-input .selected-flag .iti-arrow.up { border-top-color: transparent; border-bottom-color: var(--text-subtle); }

/* select2 / selectize / bootstrap-multiselect */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: var(--ctl);
    background: var(--bg);
    border: 1px solid var(--input-border);
    border-radius: var(--r);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: 12px; color: var(--text); line-height: 42px; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--text-subtle); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color: var(--text-subtle); }
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single { border-color: var(--accent-line); box-shadow: var(--ring); }
.select2-container--default .select2-selection--multiple .select2-selection__choice { background: var(--surface-2); border-color: var(--input-border); border-radius: var(--r-sm); color: var(--text); }
.select2-dropdown { background: var(--surface); border-color: var(--input-border); border-radius: var(--r); color: var(--text); }
.select2-search--dropdown .select2-search__field,
.select2-container--default .select2-search--inline .select2-search__field { background: var(--bg); border-color: var(--input-border); color: var(--text); }
.select2-results__option { color: var(--text-muted); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--surface-2); color: var(--text); }
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option--selected { background: var(--accent-soft); color: var(--text); }

.selectize-control .selectize-input,
.selectize-control.single .selectize-input,
.selectize-control.single .selectize-input.input-active {
    min-height: var(--ctl);
    padding: 10px 12px;
    background: var(--bg) !important;
    border: 1px solid var(--input-border);
    border-radius: var(--r);
    box-shadow: none;
    color: var(--text);
}
.selectize-input.focus { border-color: var(--accent-line) !important; box-shadow: var(--ring) !important; }
.selectize-input input, .selectize-input .item, .selectize-control.single .selectize-input .item { color: var(--text) !important; }
.selectize-input input::placeholder { color: var(--text-subtle); }
.selectize-control.single .selectize-input::after { border-top-color: var(--text-subtle); }
.selectize-dropdown, .selectize-dropdown.form-control { background: var(--surface); border-color: var(--input-border); border-radius: var(--r); color: var(--text); }
.selectize-dropdown .option, .selectize-dropdown .optgroup-header { background: transparent; color: var(--text-muted); }
.selectize-dropdown .active, .selectize-dropdown .option:hover { background: var(--surface-2); color: var(--text); }
.selectize-control.multi .selectize-input > div { background: var(--surface-2); border-radius: var(--r-sm); color: var(--text); }

.multiselect-container { background: var(--surface); border: 1px solid var(--input-border); }
.multiselect-container > li > a, .multiselect-container > li > a > label, .multiselect-container .multiselect-option { color: var(--text-muted); }
.multiselect-container > li > a:hover, .multiselect-container > li.active > a { background: var(--surface-2); color: var(--text); }
.multiselect-container .multiselect-filter .form-control { min-height: 36px; }
.multiselect.dropdown-toggle { background: var(--bg) !important; border: 1px solid var(--input-border) !important; color: var(--text) !important; }

/* Datepicker (bootstrap-datepicker, daterangepicker) */
.datepicker, .datepicker-dropdown, .daterangepicker {
    background: var(--surface);
    border: 1px solid var(--input-border);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    color: var(--text);
}
.datepicker-dropdown::before, .daterangepicker::before { border-bottom-color: var(--input-border); }
.datepicker-dropdown::after, .daterangepicker::after { border-bottom-color: var(--surface); }
.datepicker table tr td, .datepicker table tr th,
.daterangepicker .calendar-table, .daterangepicker .calendar-table th, .daterangepicker .calendar-table td { background: transparent; border-color: transparent; color: var(--text-muted); }
.daterangepicker .calendar-table { background: var(--surface); }
.datepicker table tr td.day:hover, .datepicker table tr td.focused, .datepicker .datepicker-switch:hover,
.datepicker .prev:hover, .datepicker .next:hover, .datepicker tfoot tr th:hover,
.daterangepicker td.available:hover, .daterangepicker th.available:hover { background: var(--surface-2); color: var(--text); }
.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.selected,
.datepicker table tr td span.active, .daterangepicker td.active, .daterangepicker td.active:hover { background: var(--accent) !important; color: var(--accent-ink) !important; text-shadow: none; }
.datepicker table tr td.today { background: var(--surface-2); color: var(--text); }
.datepicker table tr td.old, .datepicker table tr td.new, .datepicker table tr td.disabled,
.daterangepicker td.off, .daterangepicker td.off.in-range { background: transparent; color: var(--text-subtle); }
.daterangepicker td.in-range { background: var(--accent-soft); color: var(--text); }
.daterangepicker .drp-buttons, .daterangepicker .ranges { border-color: var(--line); }
.daterangepicker .ranges li { color: var(--text-muted); }
.daterangepicker .ranges li:hover { background: var(--surface-2); }
.daterangepicker .ranges li.active { background: var(--accent); color: var(--accent-ink); }
.daterangepicker select { background: var(--bg); color: var(--text); }

/* Markdown-Editor (Ticket eröffnen, Ticket antworten) */
body .md-editor,
body div.md-editor.active {
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--input-border) !important;
    border-radius: var(--r);
    box-shadow: none !important;
}
body div.md-editor.active { border-color: var(--accent-line) !important; box-shadow: var(--ring) !important; }
body .md-editor > .btn-toolbar,
body .md-editor > .md-header,
body .md-editor .md-footer {
    margin: 0;
    padding: 6px;
    background-color: var(--surface) !important;
    border: 0;
}
body .md-editor .md-footer, body .md-editor .md-footer .small-font { border-top: 1px solid var(--line); color: var(--text-subtle); font-size: 12px; }
body .md-editor .btn-toolbar .btn-group { margin: 0 6px 0 0; }
body .md-editor .btn { min-height: 32px; padding: 5px 9px; font-size: 14px; }
body .md-editor .btn-default,
body .md-editor .btn-secondary {
    background: transparent !important;
    border-color: var(--line) !important;
    color: var(--text-muted) !important;
}
body .md-editor .btn-default:hover,
body .md-editor .btn-default.active { background: var(--surface-2) !important; color: var(--text) !important; }
body .md-editor > textarea,
body .md-editor > textarea.markdown-editor,
body .md-editor > textarea.markdown-editor:focus,
body .md-editor > .md-preview {
    padding: 12px 14px !important;
    background-color: var(--bg) !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--text) !important;
    font-family: var(--font);
    font-size: 15px;
}
body .md-editor .md-controls .md-control { color: var(--text-subtle); }
body .md-editor .md-controls .md-control:hover { color: var(--text); }
body .markdown-editor-status { padding: 6px 12px; background: var(--surface); border-top: 1px solid var(--line); color: var(--text-subtle); font-size: 12px; }
body .md-editor.md-fullscreen-mode,
body .md-editor.md-fullscreen-mode .md-input,
body .md-editor.md-fullscreen-mode .md-preview,
body .md-editor.md-fullscreen-mode .md-input:focus,
body .md-editor.md-fullscreen-mode .md-input:hover { background: var(--bg) !important; color: var(--text) !important; }
body .md-editor.md-fullscreen-mode .btn { color: var(--text-muted); }
body .md-preview h1, body .md-preview h2, body .md-preview h3, body .md-preview h4,
body .markdown-content h1, body .markdown-content h2, body .markdown-content h3, body .markdown-content h4 { color: var(--text); }
body .md-preview, body .markdown-content { color: var(--text-muted); }
body .md-preview pre, body .markdown-content pre { background: var(--surface-2); color: var(--text); }
body .md-preview blockquote, body .markdown-content blockquote { border-left-color: var(--input-border); color: var(--text-muted); }
body .md-preview table, body .markdown-content table { background: transparent; border-color: var(--line); }
body .md-preview table > thead > tr > th, body .markdown-content table > thead > tr > th { background: var(--surface-2); border-color: var(--line); color: var(--text); }
body .md-preview table > tbody > tr > td, body .markdown-content table > tbody > tr > td { border-color: var(--line); }

/* Captcha: das reCAPTCHA-Widget zeichnet der Anbieter selbst; Container ohne helle Fläche */
.recaptcha-container, .captcha-container, .default-captcha, #captchaContainer, #google-recaptcha-domainchecker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 16px 0;
    background: transparent !important;
    color: var(--text-muted);
}
.g-recaptcha { display: inline-block; overflow: hidden; border-radius: 3px; }
.default-captcha img, #inputCaptchaImage { border: 1px solid var(--input-border); border-radius: var(--r); }
.grecaptcha-badge { box-shadow: none !important; }

/* =========================================================================
   17  Rechnungsansicht (viewinvoice.tpl, eigenständige Seite)
   ========================================================================= */
.invoice-container {
    max-width: 900px;
    margin: 32px auto;
    padding: 32px;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-lg);
    color: var(--text-muted);
}
.invoice-container h1, .invoice-container h2, .invoice-container h3, .invoice-container strong { color: var(--text); }
.invoice-container .invoice-header { border-color: var(--line); }
.invoice-container .card, .invoice-container .panel { background: var(--bg) !important; }
.invoice-container .table td, .invoice-container .table th { border-color: var(--line); color: var(--text-muted); }
.invoice-container .total-row, .invoice-container .table .total-row td { color: var(--text); font-weight: 700; }
.invoice-container .invoice-status .paid, .invoice-status .paid { color: var(--accent-text); }
.invoice-container .invoice-status .unpaid, .invoice-status .unpaid,
.invoice-container .invoice-status .overdue { color: var(--warning); }
.invoice-container .invoice-status .cancelled, .invoice-container .invoice-status .refunded { color: var(--text-subtle); }

/* =========================================================================
   18  Responsiv, reduzierte Bewegung, Druck
   ========================================================================= */
/* Grid-Kinder dürfen schrumpfen – breite Inhalte scrollen innerhalb ihrer Karte */
.bt-dash__grid > *, .bt-contact > *, .bt-auth > *, .bt-pkgs > *, .bt-hero__inner > *,
.bt-faq-wrap > *, .bt-split > *, .bt-benefits > * { min-width: 0; }

@media (max-width: 1199.98px) {
    .bt-dash__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
    :root { --gutter: 20px; }
    .bt-section { padding: 44px 0; }
    .bt-section--tight { padding: 32px 0; }
    .bt-hero { padding: 36px 0; }
    .bt-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .bt-prow { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .bt-prow__features { grid-column: 2 / -1; grid-row: 2; }
    .bt-prow__cta { display: none; }
    .bt-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
    .bt-faq-wrap, .bt-split { grid-template-columns: minmax(0, 1fr); }
    .bt-auth { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 0; }
    .bt-auth__intro p { max-width: none; }
    .bt-contact { grid-template-columns: minmax(0, 1fr); }
    .bt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-stats > li:nth-child(odd) { border-left: 0; }
    .bt-stats > li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 767.98px) {
    .bt-domaincheck__form { flex-direction: column; }
    .bt-domaincheck .btn { width: 100%; }
    .bt-pkgs { grid-template-columns: minmax(0, 1fr); }
    .bt-form-grid, .bt-tiles { grid-template-columns: minmax(0, 1fr); }
    .bt-formcard, .bt-article, .bt-news__item, .bt-complete__card { padding: 20px; }
    .bt-search { flex-direction: column; }
    .bt-search .btn { width: 100%; }
    .bt-register__submit { flex-direction: column; align-items: stretch; }
    .bt-register__submit .btn { width: 100%; }
    .bt-main--auth, .bt-main--info, .bt-main--cart { padding-top: 28px; padding-bottom: 48px; }
    .bt-article__print { margin-left: 0; }
    .bt-cta { padding: 22px 20px; }
    .bt-steps__item:not(.is-current) .bt-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .bt-steps__item:not(:last-child)::after { margin: 0 10px 0 0; }
    .invoice-container { margin: 16px; padding: 20px; }
    #order-standard_cart .domain-checker-bg { padding: 18px; }
}
@media (max-width: 600px) {
    body .dataTables_wrapper .dataTables_info { float: none; padding: 14px 16px 0; }
    body .dataTables_wrapper .dataTables_filter { float: none; width: 100%; margin-top: 0; padding: 10px 16px 14px; }
    body .dataTables_wrapper .dataTables_filter label { display: block; margin: 0; }
    body .dataTables_wrapper .dataTables_filter label .form-control { width: 100%; }
    body .dataTables_wrapper .dataTables_length,
    body .dataTables_wrapper .dataTables_paginate { display: flex; float: none; justify-content: center; }
}
@media (max-width: 575.98px) {
    :root { --gutter: 16px; }
    .bt-section { padding: 36px 0; }
    .bt-hero { padding: 28px 0; }
    .bt-hero__sub { font-size: 16px; }
    .bt-actions .btn { flex: 1 1 100%; }
    .bt-prow { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; }
    .bt-prow__icon { display: none; }
    .bt-prow__features { grid-column: 1 / -1; }
    .bt-benefits { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .bt-card, .bt-pkg, .bt-offer, .bt-auth__card { padding: 18px; }
    .bt-stat { padding: 14px 16px; }
    .bt-stat__value { font-size: 1.5rem; }
    .bt-faq__item summary { padding: 14px 16px; }
    .bt-faq__answer { padding: 0 16px 14px; }
    .card-body { padding: 16px; }
    body .attachment-group { flex-wrap: wrap; }
    body .attachment-group .input-group-append { width: 100%; margin: 8px 0 0; }
    body .attachment-group .input-group-append .btn { width: 100%; border-radius: var(--r) !important; }
    body .attachment-group > .custom-file .custom-file-label,
    body .attachment-group > .custom-file .custom-file-label::after { border-radius: var(--r) !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
    body, body.bt-body, .primary-bg-color { background: none !important; color: black; }
    .bt-topbar, .bt-header, .bt-subnav, .bt-footer, .bt-steps, .bt-breadcrumb, .sidebar, .bt-skip,
    .bt-search, .bt-vote, .bt-article__print { display: none !important; }
    .bt-article { padding: 0; border: 0; }
    .invoice-container { margin: 0; padding: 0; background: none !important; border: 0 !important; color: black; }
    .invoice-container *, .invoice-container .table td, .invoice-container .table th { background: none !important; border-color: gray !important; color: black !important; }
    .payment-btn-container, .btn { display: none !important; }
}

/* =========================================================================
   19  Design-System-Bausteine
   ========================================================================= */
/* Preis: Mono, in Akzent-Textfarbe */
.bt-price { color: var(--accent-text); font-family: var(--font-mono); font-weight: var(--fw-semibold); font-feature-settings: "tnum", "zero"; letter-spacing: -0.02em; white-space: nowrap; }
.bt-price--lg { font-size: 1.75rem; line-height: 1.1; }
.bt-price--xl { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); line-height: 1; }

/* Badges */
.bt-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    letter-spacing: .02em;
    line-height: 1.5;
    white-space: nowrap;
}
.bt-badge--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bt-badge--success { background: var(--success-soft); border-color: transparent; color: var(--success); }
.bt-badge--warning { background: var(--warning-soft); border-color: transparent; color: var(--warning); }
.bt-badge--danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.bt-badge--info { background: var(--info-soft); border-color: transparent; color: var(--info); }

/* Online-Status mit Punkt */
.bt-online { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-size: 13px; font-weight: var(--fw-semibold); }
.bt-online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bt-zone--gaming .bt-online::before { animation: bt-pulse 2.4s ease-in-out infinite; }
@keyframes bt-pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); } 50% { box-shadow: 0 0 0 6px transparent; } }

/* Platzhalter: deutlich markiert, damit nichts Erfundenes versehentlich live geht */
.bt-ph {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 7px;
    background: repeating-linear-gradient(-45deg, var(--warning-soft), var(--warning-soft) 6px, transparent 6px, transparent 12px);
    border: 1px dashed var(--warning);
    border-radius: var(--r-sm);
    color: var(--warning);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.bt-ph-box { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.bt-ph-box p { margin: 0; font-size: var(--fs-sm); }

/* Fortschrittsbalken (Mockup, Kundenbereich) */
.bt-meter { display: block; height: 6px; overflow: hidden; background: var(--surface-3); border-radius: var(--r-full); }
.bt-meter__fill { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.bt-w-23 { width: 23%; } .bt-w-36 { width: 36%; } .bt-w-37 { width: 37%; } .bt-w-39 { width: 39%; }

/* Abschnitte */
.bt-section { padding: var(--section-y) 0; }
.bt-section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bt-section:not(.bt-section--alt) + .bt-section:not(.bt-section--alt) { padding-top: 0; }
.bt-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.bt-section__head h2 { margin: 0; font-size: var(--fs-2xl); }
.bt-section__head p { max-width: 640px; margin: 10px 0 0; font-size: var(--fs-md); }
.bt-lead { color: var(--text-muted); font-size: var(--fs-md); line-height: 1.6; }
.bt-more { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 15px; font-weight: var(--fw-medium); text-decoration: none; }
.bt-more:hover { color: var(--text); text-decoration: underline; }
.bt-more .bt-icon { color: var(--text-subtle); transition: transform var(--t-fast) ease; }
.bt-more:hover .bt-icon { transform: translateX(2px); color: var(--text); }

/* Häkchen in Akzent */
.bt-checks .bt-icon { color: var(--accent-text); }

/* Dialog (Cookie-Einstellungen) */
.bt-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-3);
    color: var(--text);
}
.bt-dialog::backdrop { background: var(--overlay); }
.bt-dialog__inner { padding: 28px; }
.bt-dialog__title { margin: 0 0 10px; font-size: var(--fs-lg); }
.bt-dialog__note { font-size: var(--fs-sm); }
.bt-cookie-list { margin: 16px 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--r); }
.bt-cookie-list li { padding: 14px 16px; }
.bt-cookie-list li + li { border-top: 1px solid var(--border); }
.bt-cookie-list__name { margin-right: 8px; color: var(--text); font-weight: var(--fw-semibold); }
.bt-cookie-list p { margin: 6px 0 0; font-size: var(--fs-sm); }

/* Buttons: Primär-Rahmen = Fläche (auch im hellen Modus) */
.btn-primary, .btn-success, .btn-info, .btn-order-now, .btn-checkout { border-color: var(--accent) !important; }
.btn-primary:hover, .btn-success:hover, .btn-info:hover, .btn-order-now:hover, .btn-checkout:hover { border-color: var(--accent-hover) !important; }
.btn-default, .btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary, .btn-outline-default {
    background: var(--surface) !important;
    border-color: var(--border-strong) !important;
}
.btn-default:hover, .btn-secondary:hover, .btn-light:hover, .btn-outline-primary:hover { background: var(--surface-2) !important; border-color: var(--input-border) !important; }
.bt-zone--gaming .btn-primary:hover { box-shadow: var(--glow); }

/* =========================================================================
   20  Startseite
   ========================================================================= */
/* 3) Hero */
.bt-hero2 { position: relative; overflow: hidden; padding: clamp(48px, 3rem + 4vw, 104px) 0 clamp(48px, 3rem + 3vw, 88px); border-bottom: 1px solid var(--border); }
.bt-hero2::before {
    /* feines Raster + dezenter grüner Schein (nur Gaming-Welt) */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(ellipse 50% 60% at 78% 30%, var(--accent-soft), transparent 70%),
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    -webkit-mask-image: linear-gradient(to bottom, currentColor 0%, transparent 85%);
    mask-image: linear-gradient(to bottom, currentColor 0%, transparent 85%);
    opacity: .7;
    pointer-events: none;
}
.bt-hero2__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.bt-hero2__title { margin: 0 0 20px; font-size: var(--fs-4xl); font-weight: var(--fw-semibold); letter-spacing: -0.035em; line-height: 1.05; }
.bt-hero2__sub { max-width: 560px; margin: 0 0 32px; font-size: var(--fs-md); line-height: 1.6; }
.bt-hero2__checks { margin-top: 28px; gap: 8px 24px; }
.bt-hero2__checks li { font-size: var(--fs-sm); }

.bt-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 6px 12px 6px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none !important;
}
a.bt-rating:hover { border-color: var(--border-strong); color: var(--text); }
.bt-rating__stars { display: inline-flex; gap: 1px; color: var(--accent-text); }
.bt-rating__stars .bt-icon { fill: currentColor; }
.bt-rating--ph { border-style: dashed; }

/* Dashboard-Mockup */
.bt-mock { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-3), var(--glow); }
.bt-mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.bt-mock__dots { display: inline-flex; gap: 6px; }
.bt-mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-strong); }
.bt-mock__url { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--text-subtle); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bt-mock__tag { padding: 1px 8px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--text-subtle); font-size: 11px; font-weight: var(--fw-medium); }
.bt-mock__body { display: grid; gap: 16px; padding: 20px; }
.bt-mock__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bt-mock__name { margin: 0; color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.bt-mock__ip { margin: 2px 0 0; color: var(--text-subtle); font-size: 13px; }
.bt-mock__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bt-mock__stat { display: grid; gap: 6px; padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); }
.bt-mock__label { display: inline-flex; align-items: center; gap: 6px; color: var(--text-subtle); font-size: 12px; }
.bt-mock__stat strong { color: var(--text); font-size: 15px; font-weight: var(--fw-semibold); }
.bt-mock__graph { display: grid; gap: 6px; padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); }
.bt-mock__graph svg { display: block; width: 100%; height: 56px; }
.bt-mock__line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.bt-mock__area { fill: var(--accent-soft); stroke: none; }
.bt-mock__console { padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); font-size: 12px; line-height: 1.7; }
.bt-mock__console p { margin: 0; overflow: hidden; color: var(--text-muted); text-overflow: ellipsis; white-space: nowrap; }
.bt-mock__console span { color: var(--text-subtle); }
.bt-mock__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-mock__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: var(--r); color: var(--text-muted); font-size: 12px; font-weight: var(--fw-medium); }

/* 4) Vertrauensleiste */
.bt-trust { background: var(--bg); border-bottom: 1px solid var(--border); }
.bt-trust__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; padding: 0; list-style: none; }
.bt-trust__item { display: flex; align-items: center; gap: 12px; padding: 20px 16px; }
.bt-trust__item + .bt-trust__item { border-left: 1px solid var(--border); }
.bt-trust__item > .bt-icon { color: var(--text-subtle); }
.bt-trust__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bt-trust__label { color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: 1.3; }
.bt-trust__value { color: var(--text-subtle); font-family: var(--font-mono); font-size: 12px; line-height: 1.4; }

/* 5) Produktkarten */
.bt-pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.bt-pcard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: border-color var(--t) ease, box-shadow var(--t) ease, transform var(--t) var(--ease);
}
.bt-pcard:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.bt-pcard--gaming:hover { border-color: var(--accent-line); box-shadow: var(--glow); }
.bt-pcard__icon {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
    background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); color: var(--text);
}
.bt-pcard--gaming .bt-pcard__icon { color: var(--accent-text); }
.bt-pcard__title { margin: 0 0 6px; font-size: var(--fs-lg); }
.bt-pcard__text { margin: 0; font-size: 15px; }
.bt-pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bt-pcard__from, .bt-pcard__period { color: var(--text-subtle); font-size: var(--fs-sm); }
.bt-pcard__features { flex: 1 1 auto; }
.bt-pcard__features li { font-size: 15px; }
.bt-pcard__foot { margin-top: auto; }

/* 6) Spiele-Raster */
.bt-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bt-game {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    color: var(--text);
    text-decoration: none !important;
    transition: border-color var(--t) ease, box-shadow var(--t) ease, transform var(--t) var(--ease);
}
a.bt-game:hover { border-color: var(--accent-line); box-shadow: var(--glow); transform: translateY(-2px); color: var(--text); }
.bt-game__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 70% 20%, var(--accent-soft), transparent 60%),
        linear-gradient(135deg, var(--surface-2), var(--surface-3));
    border-bottom: 1px solid var(--border);
}
.bt-game__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.bt-game__mono { color: var(--text); font-family: var(--font-mono); font-size: 2.25rem; font-weight: var(--fw-bold); letter-spacing: -0.04em; opacity: .9; }
.bt-game__icon { position: absolute; left: 12px; bottom: 10px; color: var(--text-subtle); }
.bt-game__badge { position: absolute; top: 10px; right: 10px; }
.bt-game__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 40px 16px 16px; }
.bt-game__name { font-size: 15px; font-weight: var(--fw-semibold); line-height: 1.3; }
.bt-game__price { color: var(--text-subtle); font-size: 13px; }
.bt-game__arrow { position: absolute; right: 14px; bottom: 18px; color: var(--text-subtle); transition: transform var(--t-fast) ease, color var(--t-fast) ease; }
a.bt-game:hover .bt-game__arrow { transform: translateX(2px); color: var(--accent-text); }
.bt-game--more { justify-content: center; min-height: 120px; background: transparent; border-style: dashed; }
.bt-game--ph { border-style: dashed; }

/* 7) Business – ruhig: keine Glows, kein Grün außer Preis */
.bt-biz { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 64px; align-items: start; }
.bt-biz__copy h2 { margin: 0 0 12px; font-size: var(--fs-2xl); }
.bt-biz__copy .bt-checks { margin-top: 24px; }
.bt-biz__copy .bt-checks .bt-icon { color: var(--text-muted); }
.bt-blist { margin: 0; padding: 0; overflow: hidden; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bt-blist__row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 18px 20px; transition: background-color var(--t-fast) ease; }
.bt-blist__row + .bt-blist__row { border-top: 1px solid var(--border); }
.bt-blist__row:hover { background: var(--hover); }
.bt-blist__row:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.bt-blist__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); color: var(--text-muted); }
.bt-blist__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bt-blist__name { color: var(--text); font-weight: var(--fw-semibold); text-decoration: none !important; }
.bt-blist__name::after { content: ""; position: absolute; inset: 0; }
.bt-blist__name:focus-visible { outline: none !important; }
.bt-blist__text { color: var(--text-subtle); font-size: var(--fs-sm); }
.bt-blist__price { text-align: right; white-space: nowrap; }
.bt-blist__from, .bt-blist__period { color: var(--text-subtle); font-size: 13px; }
.bt-blist__chev { color: var(--text-subtle); }

/* 8) Domain-Check */
.bt-domaincheck { max-width: 880px; }
.bt-domaincheck__form { display: flex; gap: 10px; }
.bt-domaincheck__field { position: relative; flex: 1 1 auto; min-width: 0; }
.bt-domaincheck__field .bt-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-subtle); pointer-events: none; }
.bt-domaincheck__input.form-control { min-height: 56px; padding-left: 48px; font-size: 17px; }
.bt-domaincheck .btn { min-height: 56px; padding-left: 24px; padding-right: 24px; white-space: nowrap; }
.bt-tldbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.bt-tldbar li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.bt-tldbar__tld { color: var(--text); font-weight: var(--fw-semibold); }
.bt-tldbar .bt-price { font-size: 14px; }
.bt-tldbar__note { margin: 10px 0 0; color: var(--text-subtle); font-size: 13px; }

/* 9) Gründe */
.bt-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bt-why__card { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bt-why__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); color: var(--text); }
.bt-why__card h3 { margin: 0 0 8px; font-size: var(--fs-md); }
.bt-why__card p { margin: 0; font-size: 15px; }

/* 10) Infrastruktur */
.bt-infra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.bt-infra__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border: 1px solid var(--border); border-radius: var(--r-lg); }
.bt-infra__ph {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 11;
    padding: 24px;
    background: linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 32px 32px, var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-lg);
}
.bt-infra__ph > .bt-ph { position: absolute; top: 14px; left: 14px; }
.bt-infra__rack { width: 52%; max-width: 260px; height: auto; }
.bt-infra__rack rect { fill: var(--surface-2); stroke: var(--border-strong); stroke-width: 1.5; }
.bt-infra__led { fill: var(--accent); }
.bt-infra__ph-text { position: absolute; bottom: 14px; left: 14px; right: 14px; color: var(--text-subtle); font-size: 13px; text-align: center; }
.bt-infra__copy h2 { margin: 0 0 12px; font-size: var(--fs-2xl); }
.bt-facts { margin: 24px 0; border-top: 1px solid var(--border); }
.bt-facts__row { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.bt-facts dt { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.bt-facts dt .bt-icon { color: var(--text-subtle); }
.bt-facts dd { margin: 0; color: var(--text-muted); font-family: var(--font-mono); font-size: 13px; }

/* 11) Kundenstimmen */
.bt-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bt-voice { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bt-voice--ph { border-style: dashed; }
.bt-voice__ph { position: absolute; top: 14px; right: 14px; }
.bt-voice__quote { margin: 0; }
.bt-voice__mark { margin-bottom: 12px; color: var(--text-subtle); }
.bt-voice__quote p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.bt-voice--ph .bt-voice__quote p { color: var(--text-subtle); }
.bt-voice__who { display: flex; flex-direction: column; margin: 0; font-size: var(--fs-sm); }
.bt-voice__name { color: var(--text); font-weight: var(--fw-semibold); }
.bt-voice__role { color: var(--text-subtle); }

/* 12) FAQ-Akkordeon */
.bt-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; align-items: start; }
.bt-faq-wrap__head h2 { margin: 0 0 10px; font-size: var(--fs-2xl); }
.bt-faq-wrap__head p { margin: 0; }
.bt-faq { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bt-section--alt .bt-faq { background: var(--bg); }
.bt-faq__item + .bt-faq__item { border-top: 1px solid var(--border); }
.bt-faq__q { margin: 0; font-size: inherit; letter-spacing: 0; }
.bt-faq__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: 0;
    color: var(--text);
    font: inherit;
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}
.bt-faq__btn:hover { background: var(--hover); }
.bt-faq__btn:focus-visible { outline-offset: -2px; }
.bt-faq__icon { color: var(--text-subtle); transition: transform var(--t) var(--ease); }
.bt-faq__btn[aria-expanded="true"] .bt-faq__icon { transform: rotate(45deg); color: var(--text); }
.bt-faq__answer { padding: 0 20px 18px; color: var(--text-muted); font-size: 15px; }
.bt-faq__answer p:last-child { margin-bottom: 0; }
html:not(.bt-js) .bt-faq__answer[hidden] { display: block; }

/* 13) Abschluss */
.bt-cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    overflow: hidden;
    padding: clamp(28px, 2rem + 2vw, 56px);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
}
.bt-cta--gaming::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 120% at 100% 0%, var(--accent-soft), transparent 60%); pointer-events: none; }
.bt-cta__copy { position: relative; max-width: 620px; }
.bt-cta h2 { margin: 0 0 8px; font-size: var(--fs-2xl); }
.bt-cta p { margin: 0; font-size: var(--fs-md); }
.bt-cta .bt-actions { position: relative; flex-shrink: 0; }

/* Mockup und Glows in Business-Bereichen nie leuchten lassen */
.bt-zone--business .bt-pcard:hover, .bt-zone--business a.bt-game:hover { box-shadow: var(--shadow-2); }

/* =========================================================================
   Responsiv: Kopfzeile wird zur Seitenleiste, Startseite stapelt
   ========================================================================= */
@media (max-width: 1199.98px) {
    .bt-burger { display: inline-grid; }
    .bt-header__cta { display: none; }
    .bt-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: var(--z-drawer);
        display: flex;
        flex-direction: column;
        width: min(420px, 100vw);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--bg);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-3);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform var(--t) var(--ease), visibility 0s linear var(--t);
    }
    .bt-nav.is-open { transform: none; visibility: visible; transition: transform var(--t) var(--ease); }
    .bt-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); }
    .bt-nav__title { color: var(--text); font-weight: var(--fw-semibold); }
    .bt-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px; }
    .bt-nav__trigger { justify-content: space-between; width: 100%; min-height: 48px; padding: 12px; font-size: var(--fs-base); color: var(--text); }
    .bt-nav__trigger.is-active::after { order: 0; margin-left: 8px; margin-right: auto; }
    .bt-mega { position: static; border: 0; box-shadow: none; background: transparent; }
    .bt-js .bt-mega.is-open { animation: none; }
    .bt-mega__inner { display: block; padding: 0 0 12px; }
    .bt-mega__intro { padding: 0 12px 8px; border: 0; }
    .bt-mega__title, .bt-mega__price { display: none; }
    .bt-mega__text { margin-bottom: 8px; }
    .bt-mega__grid, .bt-mega__grid--links { grid-template-columns: minmax(0, 1fr); }
    .bt-mega__link { padding: 10px 12px; }
    .bt-mega .container { padding: 0; }
    .bt-nav__mobile { display: grid; gap: 8px; margin-top: auto; padding: 16px; border-top: 1px solid var(--border); }
    .bt-nav__mobile-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
    .bt-nav__mobile-links a { color: var(--text-muted); }

    .bt-hero2__inner, .bt-biz, .bt-infra, .bt-faq-wrap { grid-template-columns: minmax(0, 1fr); }
    .bt-hero2__visual { max-width: 640px; }
    .bt-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    :root { --gutter: 16px; }
    .bt-utility__links:not(.bt-utility__links--end) { display: none; }
    .bt-utility__inner { justify-content: flex-end; }
    .bt-user__name { display: none; }
    .bt-user__btn { padding: 4px; }
    .bt-trust__item + .bt-trust__item { border-left: 0; }
    .bt-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-trust__item { padding: 14px 8px; }
    .bt-why { grid-template-columns: minmax(0, 1fr); }
    .bt-domaincheck__form { flex-direction: column; }
    .bt-blist__row { grid-template-columns: auto minmax(0, 1fr) auto; }
    .bt-blist__price { grid-column: 2 / 4; text-align: left; }
    .bt-blist__chev { display: none; }
    .bt-facts__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .bt-mock__body { padding: 14px; }
    .bt-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-footer__brand { grid-column: 1 / -1; }
    .bt-cta .bt-actions .btn { width: 100%; }
}
@media (max-width: 400px) {
    .bt-mock__stats { grid-template-columns: minmax(0, 1fr); }
    .bt-games { grid-template-columns: minmax(0, 1fr); }
    .bt-utility__links--end { gap: 4px 12px; }
    .bt-theme-toggle__label { display: none; }
    .bt-header__inner { gap: 12px; }
    .bt-logo__tagline { display: none; }
}
@media (max-width: 1199.98px) {
    /* backdrop-filter würde die fixierte Seitenleiste an die Kopfzeile binden */
    .bt-header, .bt-header.has-mega { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =========================================================================
   21  Kundenbereich-Dashboard und Modul-Ausgaben
   ========================================================================= */
.bt-main--client { padding-top: 24px; padding-bottom: var(--s-16); }
.bt-dash__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bt-dash__head h1 { margin: 0; font-size: var(--fs-2xl); }
.bt-dash__head p { margin: 6px 0 0; color: var(--text-subtle); font-size: var(--fs-sm); }

/* Hinweisband (offene Rechnung) */
.bt-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-left-width: 3px; border-radius: var(--r-lg); }
.bt-callout p { flex: 1 1 280px; margin: 0; color: var(--text); font-size: 15px; }
.bt-callout p strong { margin-left: 6px; }
.bt-callout--warning { border-left-color: var(--warning); }
.bt-callout--warning > .bt-icon { color: var(--warning); }
.bt-callout--danger { border-left-color: var(--danger); }
.bt-callout--danger > .bt-icon, .bt-callout--danger p strong { color: var(--danger); }

/* Kennzahl-Kacheln */
.bt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.bt-tile {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon icon" "value value" "label label" "meta meta";
    gap: 2px;
    height: 100%;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    color: var(--text-muted);
    text-decoration: none !important;
    transition: border-color var(--t) ease, background-color var(--t) ease;
}
.bt-tile:hover, .bt-tile:focus { border-color: var(--border-strong); background: var(--surface-2); color: var(--text-muted); }
.bt-tile__icon { grid-area: icon; display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); color: var(--text-muted); }
.bt-tile__value { grid-area: value; color: var(--text); font-family: var(--font-mono); font-size: 1.75rem; font-weight: var(--fw-semibold); letter-spacing: -0.03em; line-height: 1.15; }
.bt-tile__label { grid-area: label; color: var(--text-subtle); font-size: var(--fs-sm); }
.bt-tile__meta { grid-area: meta; margin-top: 6px; color: var(--text-muted); font-size: 13px; }
.bt-tile--warn .bt-tile__icon { color: var(--warning); border-color: var(--warning-soft); background: var(--warning-soft); }
.bt-tile--warn .bt-tile__meta { color: var(--warning); }

.bt-addon-output { margin-bottom: 20px; }

/* Raster: Dienste links, Seitenspalte rechts */
.bt-dash__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.bt-dash__side { display: grid; gap: 20px; }
.bt-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bt-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.bt-panel__head h2 { margin: 0; font-size: var(--fs-base); font-weight: var(--fw-semibold); letter-spacing: 0; }
.bt-panel__head .bt-more { font-size: var(--fs-sm); }
.bt-panel__body { padding: 16px 20px 20px; }
.bt-panel__empty-text { margin: 0; color: var(--text-subtle); font-size: var(--fs-sm); }

/* Dienste-Liste */
.bt-svc { margin: 0; padding: 0; list-style: none; }
.bt-svc__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px 20px; transition: background-color var(--t-fast) ease; }
.bt-svc__row + .bt-svc__row { border-top: 1px solid var(--border); }
.bt-svc__row:hover { background: var(--hover); }
.bt-svc__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); color: var(--text-muted); }
.bt-svc__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bt-svc__name { overflow: hidden; color: var(--text); font-weight: var(--fw-semibold); text-overflow: ellipsis; white-space: nowrap; }
.bt-svc__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--text-subtle); font-size: 13px; }
.bt-svc__meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-svc__status { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bt-svc__due { color: var(--text-subtle); font-size: 12px; }
.bt-status--active::before { box-shadow: 0 0 0 3px var(--accent-soft); }

/* Schnellaktionen und Mini-Listen */
.bt-quick { margin: 0; padding: 8px; list-style: none; }
.bt-quick a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); color: var(--text); font-size: 15px; text-decoration: none; }
.bt-quick a:hover { background: var(--surface-2); text-decoration: none; }
.bt-quick .bt-icon { color: var(--text-subtle); }
.bt-mini-list { margin: 0; padding: 0; list-style: none; }
.bt-mini-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 20px; font-size: 14px; }
.bt-mini-list li + li { border-top: 1px solid var(--border); }
.bt-mini-list span { color: var(--text-subtle); }
.bt-mini-list strong { color: var(--warning); font-weight: var(--fw-semibold); }
.bt-ticket-box__subject { display: block; margin-bottom: 8px; color: var(--text); font-weight: var(--fw-semibold); }
.bt-ticket-box__subject .bt-mono { color: var(--text-subtle); font-weight: var(--fw-regular); }

.bt-empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; color: var(--text-subtle); text-align: center; }
.bt-empty-state p { max-width: 360px; margin: 0; }

/* Panels von Modulen/Addons */
.bt-dash__panels { margin-top: 32px; }
.bt-dash__subtitle { margin: 0 0 16px; font-size: var(--fs-md); }
.bt-dash__panel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.bt-dash__panel-grid .card { margin: 0; overflow: hidden; }
.client-home-cards .card-header .card-title i, .client-home-cards .list-group-item i { color: var(--text-subtle); }

/* Dienst-Details (geerbt) und Modul-Ausgabe, z. B. Pterodactyl (Button zum Panel) oder Proxmox */
.bt-tpl-clientareaproductdetails .product-details { display: grid; gap: 16px; }
.bt-tpl-clientareaproductdetails .product-status { padding: 24px; border: 1px solid var(--border); }
.bt-tpl-clientareaproductdetails .product-icon i, .bt-tpl-clientareaproductdetails .product-icon .fa-stack { color: var(--text-muted); }
.bt-tpl-clientareaproductdetails .product-status-text { margin-top: 12px; color: var(--text); font-weight: var(--fw-semibold); }
.bt-tpl-clientareaproductdetails .product-status-active .product-status-text { color: var(--accent-text); }
.module-client-area {
    margin: 0;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: left !important;
}
.module-client-area .row { margin-left: 0; margin-right: 0; gap: 12px; }
.module-client-area [class*="col-xs-"], .module-client-area [class*="col-sm-"], .module-client-area [class*="col-md-"] { flex: 0 1 auto; max-width: 100%; padding: 0; }
.module-client-area .btn-block { display: inline-flex; width: auto; min-width: 220px; }
.module-client-area table { width: 100%; }
.module-client-area h3, .module-client-area h4 { margin-top: 0; }
/* Fremde UI-Bibliotheken in Modulen (z. B. Klassen mit Präfix lu-) nur einbetten, nicht umgestalten */
.module-client-area [class^="lu-"], .module-client-area [class*=" lu-"] { font-family: inherit; }

/* Responsiv */
@media (max-width: 1199.98px) {
    .bt-dash__grid { grid-template-columns: minmax(0, 1fr); }
    .bt-dash__side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 767.98px) {
    .bt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .bt-tile { padding: 14px 16px; }
    .bt-svc__row { grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; }
    .bt-svc__status { grid-column: 2; flex-direction: row; align-items: center; gap: 12px; }
    .bt-svc__btn { grid-column: 2; justify-self: start; }
    .bt-dash__head .bt-actions { width: 100%; }
    .bt-dash__head .bt-actions .btn { flex: 1 1 auto; }
}

/* Angemeldet auf schmalen Displays: Kopfzeile kompakt halten (Benachrichtigungen bleiben im Kundenbereich erreichbar) */
@media (max-width: 575.98px) {
    .bt-logged-in #accountNotifications { display: none; }
    .bt-user__btn > .bt-icon { display: none; }
    .bt-header__actions { gap: 2px; }
}

/* Bestellprozess: Kopfzeile nicht fixieren – Standard Cart lässt die Zusammenfassung per JS mitlaufen */
.bt-in-cart .bt-header { position: relative; }
.bt-infra__ph--art { border-style: solid; }

/* Modul-Overrides im Theme (templates/brandtheme/modules/servers/…): z. B. Pterodactyl */
.bt-module-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.bt-module-panel__icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); color: var(--accent-text); }
.bt-module-panel__text { flex: 1 1 260px; min-width: 0; }
.bt-module-panel__text p { margin: 0; font-size: var(--fs-sm); }
.bt-module-panel__text .bt-module-panel__title { margin-bottom: 4px; color: var(--text); font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.bt-module-panel__btn:hover { box-shadow: var(--glow); }

/* =========================================================================
   22  Startseite: interaktives Beispiel-Panel und animierte Infrastruktur-Grafik
   ========================================================================= */
/* Beispiel-Panel: Buttons, Zustände */
button.bt-mock__btn { background: none; font: inherit; font-size: 12px; cursor: pointer; transition: border-color var(--t-fast) ease, color var(--t-fast) ease, background-color var(--t-fast) ease; }
button.bt-mock__btn:hover { border-color: var(--input-border); color: var(--text); }
button.bt-mock__btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }
button.bt-mock__btn:disabled { opacity: .55; cursor: progress; }
.bt-mock .bt-meter__fill { transition: width .8s var(--ease); }
.bt-mock__stat strong { transition: color var(--t) ease; }
.bt-mock.is-restarting .bt-online { color: var(--warning); }
.bt-mock.is-restarting .bt-online::before { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-soft); animation: bt-blink 1s steps(2, start) infinite; }
@keyframes bt-blink { to { visibility: hidden; } }
.bt-mock__console p { animation: bt-line-in .35s var(--ease); }
@keyframes bt-line-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.bt-mock.is-console .bt-mock__console { min-height: 132px; }
.bt-mock__files { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 16px; font-size: 12px; line-height: 1.9; }
.bt-mock__files li { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.bt-mock__files li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--border-strong); }
.bt-mock__files li.is-dir::before { background: var(--accent); }
.bt-mock.is-files .bt-mock__graph svg { display: none; }

/* Infrastruktur: Grafik links, Fakten rechts */
.bt-netmap {
    position: relative;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 55% at 50% 62%, var(--accent-soft), transparent 70%),
        linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 32px 32px,
        var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.bt-netmap__svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.bt-netmap__zone { fill: var(--bg); fill-opacity: .55; stroke: var(--accent-line); stroke-width: 1.2; stroke-dasharray: 5 6; }
.bt-netmap__zone-label { fill: var(--accent-text); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bt-netmap__link { fill: none; stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 3 7; animation: bt-flow 1.4s linear infinite; }
.bt-netmap__link--mesh { stroke: var(--border); animation-duration: 2.4s; }
@keyframes bt-flow { to { stroke-dashoffset: -20; } }
.bt-netmap__packet { fill: var(--accent); offset-rotate: 0deg; offset-distance: 0%; opacity: 0; animation: bt-packet 3.2s var(--ease) infinite; }
.bt-netmap__packet--back { fill: var(--text-subtle); }
@keyframes bt-packet { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.bt-netmap__ring { fill: var(--surface); stroke: var(--accent-line); stroke-width: 1.5; }
.bt-netmap__uplink .bt-netmap__ring { stroke: var(--border-strong); }
.bt-netmap__glyph { color: var(--text-muted); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bt-netmap__core { fill: var(--accent); }
.bt-netmap__pulse { fill: var(--accent); opacity: .18; transform-box: fill-box; transform-origin: center; animation: bt-node-pulse 2.6s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes bt-node-pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.1); opacity: 0; } }
.bt-netmap__label { fill: var(--text); font-family: var(--font); font-size: 12px; font-weight: 600; text-anchor: middle; }
.bt-netmap__label--top { fill: var(--text-subtle); font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

.bt-infra__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.bt-infra__fact { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bt-infra__fact-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); color: var(--accent-text); }
.bt-infra__fact-title { display: block; margin-bottom: 2px; color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.bt-infra__fact-text { display: block; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.5; }
@media (max-width: 575.98px) {
    .bt-infra__facts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .bt-netmap__link, .bt-netmap__pulse, .bt-mock__console p { animation: none; }
    .bt-netmap__packet { display: none; }
}
.bt-mock.is-files .bt-mock__graph > .bt-mock__label { display: none; }
@media (max-width: 575.98px) {
    .bt-netmap__label { font-size: 17px; }
    .bt-netmap__label--top, .bt-netmap__zone-label { font-size: 14px; }
}

/* Seitenkopf mit Hauptaktion (z. B. „Ticket eröffnen“ auf der Ticket-Liste) */
.bt-pagehead--action { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.bt-pagehead__action { flex-shrink: 0; }
@media (max-width: 575.98px) { .bt-pagehead__action { width: 100%; } }

/* Suchfelder mit Lupe (DataTables-Suche in Listen, Verlängerungsfilter im Warenkorb):
   WHMCS setzt dort assets/img/search.png mit deckendem Hintergrund ein – ersetzt durch die
   Lucide-Lupe img/search.svg (transparent). */
body .dataTables_wrapper .dataTables_filter label .form-control,
body .dataTables_wrapper .dataTables_filter input,
body .form-control.domain-renewals-filter,
body .form-control.service-renewals-filter {
    background-color: var(--bg) !important;
    background-image: url("../img/search.svg") !important;
    background-repeat: no-repeat !important;
    background-position: 12px 50% !important;
    background-size: 16px 16px !important;
}
body .form-control.domain-renewals-filter,
body .form-control.service-renewals-filter {
    padding-left: 38px !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--r) !important;
    color: var(--text) !important;
}

/* =========================================================================
   23  Restliche helle Flächen aus Twenty-One (theme.css) und Fokusring
   ========================================================================= */
/* Fokusring nur bei Tastaturbedienung. Bootstrap setzt für button:focus den Browser-Ring
   (helle Umrandung nach Mausklick, z. B. am Profil-Button) und für .btn:focus einen blauen Schatten. */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
.btn:focus:not(:focus-visible),
.btn.focus:not(:focus-visible),
.show > .dropdown-toggle:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Seitenleiste: Zahlen-Badges (z. B. Rechnungen nach Status) */
body .sidebar .list-group-item .badge {
    width: auto;
    min-width: 28px;
    padding: 3px 8px;
    background-color: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: var(--fw-medium);
}
body .sidebar .list-group-item.active .badge { background-color: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }

/* Sammelzahlung (masspay.tpl): Zwischensumme bis Gesamtsumme */
body tr.masspay-total td {
    background-color: var(--surface-2) !important;
    border-color: var(--border) !important;
    color: var(--text);
    font-weight: var(--fw-semibold);
}
body tr.masspay-total:last-child td { background-color: var(--surface-3) !important; font-size: var(--fs-md); }
body tr.masspay-total td:last-child { font-family: var(--font-mono); }
body .invoice-summary-table td.total-row { background-color: var(--surface-2) !important; color: var(--text); }

/* Dienst-Details: Reiter auf schmalen Bildschirmen, Reiter-Inhalt, Status */
body .responsive-tabs-sm { background: var(--surface); border-color: var(--border); }
body .responsive-tabs-sm .nav-item { border-bottom-color: var(--border) !important; }
body .responsive-tabs-sm .nav-item a { color: var(--text-muted); }
body .responsive-tabs-sm .nav-item a:hover { background-color: var(--hover); color: var(--text); }
body .responsive-tabs-sm .nav-item a.active { background-color: var(--surface-2) !important; color: var(--text); }
body .responsive-tabs-sm-connector .channel { background: var(--surface); border-color: var(--border); }
body .responsive-tabs-sm-connector .bottom-border { border-bottom-color: var(--border); }
body div.product-details-tab-container { background-color: var(--surface); border-color: var(--border); }
body .product-status-pending { background-color: var(--warning-soft) !important; color: var(--text); }

/* Domain-Details: Aktions-Kacheln */
body .action-icon-btns a { background-color: var(--surface); border: 1px solid var(--border); color: var(--text-muted); }
body .action-icon-btns a:hover { background-color: var(--surface-2); color: var(--text); text-decoration: none; }
body .action-icon-btns a .ico-container i { color: var(--text-subtle); }

/* Übersicht: Kopf der Modul-Panels */
body .client-home-cards .card-header { background-color: transparent; border-bottom: 1px solid var(--border); }
body .client-home-cards .card-header .btn { color: var(--text) !important; border: 1px solid var(--border-strong) !important; }

/* Benachrichtigungen (Glocke) */

/* Hinweis „E-Mail bestätigen“ */
body .verification-banner { background-color: var(--warning-soft); border-bottom-color: var(--border); color: var(--text); }
body .verification-banner .fas, body .verification-banner .fal, body .verification-banner .far { color: var(--warning); }
body .verification-banner .btn.close { color: var(--text-subtle); }
body .verification-banner.email-verification .btn.btn-action { background-color: var(--surface-2); border-color: var(--border-strong); color: var(--text); }

/* Ticket-Ansicht: Kennzeichnung registrierter Nutzer, Feedback-Kasten */
body .requestor-type-registereduser { background-color: var(--surface-3); color: var(--text); }
body .ticketfeedbackstaffcont { background-color: var(--surface-2); color: var(--text-muted); }

/* Gespeicherte Karte (Zahlungsmethoden) */
body div.credit-card { background-color: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
body div.credit-card div.card-number { background-color: var(--surface-3); color: var(--text); }

/* Paket wechseln (upgrade.tpl) */
body .upgrade .product-to-be-upgraded { background-color: var(--surface-2); color: var(--text); }
body .upgrade .products .product { background-color: var(--surface); border-color: var(--border); }
body .upgrade .products .product .header { background-color: var(--surface-3); color: var(--text); }
body .upgrade .products .product ul, body .upgrade .products .product .footer, body .upgrade .products .product ul li { border-color: var(--border); }
body .upgrade .products .product ul li { color: var(--text-subtle); }
body .upgrade .products .product ul li span { color: var(--text); }
body .upgrade .products .product .current { background-color: var(--surface-3); color: var(--text); }
body .upgrade .products .product .recommended { background-color: var(--accent); color: var(--accent-ink); }
body .upgrade .products .fa-check { color: var(--accent-text); }
body .upgrade .products .product .btn { background-color: var(--accent); color: var(--accent-ink); }

/* MarketConnect-Angebote (Shop/Warenkorb): Fläche angleichen, Produktfarben bleiben als Akzentlinie */
body .promo-container, body .promo-banner { background-color: var(--surface); border-color: var(--border); color: var(--text-muted); }
body .store-order-container .store-domain-tabs li a { background-color: var(--surface-2); border-bottom-color: var(--border); color: var(--text-muted); }
body .store-order-container .store-domain-tabs li.active a { background-color: var(--surface); color: var(--text); }

/* Gruppenbilder (brand.php GROUP_META.<gruppe>.image): Produktseite, Produktübersicht, Mega-Menü */
.bt-offer--media { overflow: hidden; padding-top: 0; }
.bt-offer__img {
    display: block;
    width: calc(100% + 48px);
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 -24px 20px;
    padding: 12px;
    object-fit: contain;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}
.bt-offer--media:not(:has(.bt-offer__price)) .bt-offer__img { margin-bottom: -1px; }
.bt-prow__icon--img { position: relative; display: block; flex-shrink: 0; width: 72px; height: 40px; overflow: hidden; padding: 0; border: 1px solid var(--border); }
.bt-prow__icon--img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; padding: 2px; object-fit: contain; }
.bt-mega__icon--img { position: relative; display: block; flex-shrink: 0; width: 56px; height: 34px; overflow: hidden; padding: 0; }
.bt-mega__icon--img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; padding: 2px; object-fit: contain; }
/* Liste mit Gruppenbildern: erste Spalte so breit wie das Vorschaubild, damit alle Namen bündig bleiben */
.bt-plist:has(.bt-prow__icon--img) .bt-prow { grid-template-columns: 72px minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(120px, auto) auto; }
@media (max-width: 991.98px) { .bt-plist:has(.bt-prow__icon--img) .bt-prow { grid-template-columns: 72px minmax(0, 1fr) auto; } }
@media (max-width: 575.98px) { .bt-plist:has(.bt-prow__icon--img) .bt-prow { grid-template-columns: minmax(0, 1fr) auto; } }

/* =========================================================================
   24  Benachrichtigungen (Glocke): Popover von WHMCS, Inhalt aus header.tpl (.bt-notify)
   ========================================================================= */
body .popover.popover-user-notifications {
    width: 380px;
    min-width: 0;
    max-width: calc(100vw - 24px);
    padding: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-3);
    font-family: var(--font);
}
body .popover-user-notifications .popover-header { display: none; }
body .popover-user-notifications .popover-body { padding: 0; color: var(--text-muted); }
body .popover-user-notifications .arrow { display: none; }
body .popover-user-notifications.bs-popover-bottom { margin-top: 10px; }

.bt-notify__head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.bt-notify__title { color: var(--text); font-size: 15px; font-weight: var(--fw-semibold); }
.bt-notify__count {
    min-width: 22px; padding: 1px 7px; background: var(--accent); border-radius: var(--r-full);
    color: var(--accent-ink); font-family: var(--font-mono); font-size: 12px; font-weight: var(--fw-bold); line-height: 20px; text-align: center;
}

body .popover-user-notifications ul.bt-notify__list { max-height: min(60vh, 420px); margin: 0; padding: 6px; overflow-y: auto; list-style: none; }
body .popover-user-notifications ul.bt-notify__list li { min-height: 0; padding: 0; border: 0; }
body .popover-user-notifications ul.bt-notify__list li a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--r);
    color: var(--text);
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color var(--t-fast) ease;
}
body .popover-user-notifications ul.bt-notify__list li a:hover,
body .popover-user-notifications ul.bt-notify__list li a:focus-visible { background-color: var(--surface-2); color: var(--text); }
.bt-notify__icon {
    display: inline-grid; place-items: center; width: 32px; height: 32px;
    background: var(--info-soft); border-radius: 50%; color: var(--info);
}
.bt-notify__item--danger .bt-notify__icon { background: var(--danger-soft); color: var(--danger); }
.bt-notify__item--warning .bt-notify__icon { background: var(--warning-soft); color: var(--warning); }
.bt-notify__item--success .bt-notify__icon { background: var(--accent-soft); color: var(--accent-text); }
body .popover-user-notifications ul li .bt-notify__msg { min-width: 0; margin-left: 0; }
.bt-notify__chev { color: var(--text-subtle); transition: transform var(--t-fast) ease, color var(--t-fast) ease; }
.bt-notify__list a:hover .bt-notify__chev { transform: translateX(2px); color: var(--text); }

.bt-notify__empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 20px 24px; text-align: center; }
.bt-notify__empty-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; background: var(--accent-soft); border-radius: 50%; color: var(--accent-text); }
.bt-notify__empty-title { margin: 0; color: var(--text); font-size: 15px; font-weight: var(--fw-semibold); }
.bt-notify__empty-text { margin: 0; color: var(--text-subtle); font-size: 13px; }

.bt-notify__foot {
    display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 16px;
    border-top: 1px solid var(--border); background: var(--bg-alt);
    color: var(--text-muted); font-size: 13px; font-weight: var(--fw-medium); text-decoration: none !important;
}
.bt-notify__foot:hover { color: var(--text); background: var(--surface-2); }

/* Glocke: dezenter Puls, solange ungelesene Hinweise da sind */
#accountNotifications .bt-count--warn { box-shadow: 0 0 0 0 var(--warning-soft); animation: bt-bell 2.4s ease-out infinite; }
@keyframes bt-bell { 0% { box-shadow: 0 0 0 0 var(--warning-soft); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { #accountNotifications .bt-count--warn { animation: none; } }
