/* ==========================================================================
   KTS24 – Design System (2026)
   Eigenständig, ohne Template-Abhängigkeiten. Dunkles Theme, Marke Magenta.
   ========================================================================== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/kts24/fonts/inter-var.woff2") format("woff2");
}
@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/kts24/fonts/space-grotesk-var.woff2") format("woff2");
}

:root {
    --bg: #0d0b14;
    --bg-2: #120f1b;
    --surface: #17131f;
    --surface-2: #1e1a29;
    --surface-3: #262134;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .16);
    --text: #eeebf5;
    --text-soft: #c9c4d6;
    --muted: #9c96ad;
    --brand: #a8005a;
    --brand-strong: #c4006a;
    --brand-deep: #880045;
    --brand-text: #ff5ca8;
    --brand-glow: rgba(196, 0, 106, .35);
    --ok: #3ddc97;
    --warn: #ffb547;
    --danger: #ff5d6c;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
    --container: 1200px;
    --header-h: 72px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text-soft);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-text); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }
h1, h2, h3, h4, h5 {
    margin: 0 0 .5em;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 14px;
    color: var(--brand-text);
    font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft); max-width: 680px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr .95fr; } .split--rev > :first-child { order: 2; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--surface-3); color: var(--text);
    font-weight: 600; font-size: .95rem; line-height: 1;
    cursor: pointer; white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn i { font-size: .9em; }
.btn--primary {
    background: linear-gradient(135deg, var(--brand-strong), var(--brand-deep));
    color: #fff;
    box-shadow: 0 10px 30px -10px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn--primary:hover { box-shadow: 0 14px 36px -10px rgba(196, 0, 106, .6), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--ghost { background: transparent; border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(13, 11, 20, .72);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; height: 100%; }
.site-header .container { max-width: 1320px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.site-nav a, .site-nav button {
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 9px 12px; border: 0; border-radius: 999px; background: none;
    color: var(--text-soft); font-size: .93rem; font-weight: 500; cursor: pointer;
}
.site-nav a:hover, .site-nav button:hover, .site-nav .is-active { color: #fff; background: rgba(255,255,255,.06); }
.site-nav .is-active { color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
    padding: 8px; margin: 0; list-style: none;
    background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dropdown__menu a {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 10px 12px; border-radius: var(--radius-sm);
    color: var(--text-soft); font-size: .93rem; font-weight: 500; white-space: nowrap;
}
.nav-dropdown__menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-dropdown__menu a i { width: 18px; text-align: center; color: var(--brand-text); }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown .fa-chevron-down { font-size: .7em; transition: transform .2s ease; }
.nav-dropdown.is-open .fa-chevron-down { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; }
.lang-switch a {
    padding: 5px 10px; border-radius: 999px; color: var(--muted);
    font-size: .78rem; font-weight: 600; letter-spacing: .05em;
}
.lang-switch a.is-active { background: var(--surface-3); color: #fff; }
.nav-toggle {
    display: none; width: 44px; height: 44px; margin-left: 4px;
    border: 1px solid var(--border); border-radius: 12px; background: none; cursor: pointer;
    align-items: center; justify-content: center; color: var(--text);
}
.mobile-nav { display: none; }

@media (max-width: 1240px) {
    .site-nav, .site-header__actions .hide-mobile { display: none; }
    .nav-toggle { display: inline-flex; }
    .mobile-nav {
        display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
        padding: 20px 24px 40px; overflow-y: auto;
        background: var(--bg);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    body.nav-open { overflow: hidden; }
    body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
    .mobile-nav a {
        display: flex; align-items: center; gap: 14px; padding: 14px 4px;
        border-bottom: 1px solid var(--border); color: var(--text); font-size: 1.05rem; font-weight: 500;
    }
    .mobile-nav a i { width: 22px; color: var(--brand-text); }
    .mobile-nav__label { margin: 26px 0 4px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
    .mobile-nav .btn-row { margin-top: 28px; }
    .mobile-nav .btn { flex: 1; }
}
@media (max-width: 480px) {
    .site-header__actions .btn--order span { display: none; }
    .site-header__actions .btn--order { width: 44px; padding: 0; }
}

/* ---------- Page hero ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 88px);
    border-bottom: 1px solid var(--border);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 80% at 85% 0%, rgba(var(--accent, 196, 0, 106), .28), transparent 60%),
        radial-gradient(40% 60% at 0% 100%, rgba(var(--accent, 196, 0, 106), .12), transparent 60%),
        var(--bg);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 90% at 70% 10%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 90% at 70% 10%, #000 20%, transparent 75%);
}
.page-hero--image::before {
    background:
        linear-gradient(90deg, rgba(13,11,20,.96) 0%, rgba(13,11,20,.82) 45%, rgba(13,11,20,.45) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 40%),
        var(--hero-image) center / cover no-repeat;
}
.page-hero--image::after { display: none; }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero--vps { --accent: 124, 92, 255; }
.page-hero--dedicated { --accent: 196, 0, 106; }
.page-hero--mailhosting { --accent: 32, 190, 160; }
.page-hero--webhosting { --accent: 255, 150, 60; }
.page-hero--vps .eyebrow { color: #a894ff; }
.page-hero--mailhosting .eyebrow { color: #4fe0c0; }
.page-hero--webhosting .eyebrow { color: #ffb27a; }

.crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 0 0 22px; padding: 0; list-style: none;
    color: var(--muted); font-size: .85rem;
}
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--text-soft); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.hero-facts li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
    background: rgba(255,255,255,.03); color: var(--text-soft); font-size: .88rem;
}
.hero-facts i { color: var(--brand-text); }

/* ---------- Home hero ---------- */
.home-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0 clamp(64px, 8vw, 110px); }
.home-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(50% 70% at 80% 20%, rgba(196, 0, 106, .35), transparent 65%),
        radial-gradient(40% 50% at 10% 90%, rgba(110, 60, 255, .14), transparent 60%),
        var(--bg);
}
.home-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(60% 80% at 70% 30%, #000 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(60% 80% at 70% 30%, #000 10%, transparent 75%);
}
.home-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin-bottom: 22px; }
.home-hero h1 .grad {
    background: linear-gradient(100deg, #fff 10%, #ff6fb4 55%, #c4006a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin-bottom: 34px; }
.home-hero__visual { position: relative; }
.home-hero__visual img {
    width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover;
    border-radius: var(--radius-lg); border: 1px solid var(--border-strong);
    box-shadow: 0 40px 90px -30px rgba(196, 0, 106, .45);
}
.status-card {
    position: absolute; left: -20px; bottom: 28px;
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius);
    background: rgba(23, 19, 31, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}
.status-card strong { display: block; color: #fff; font-size: .95rem; }
.status-card span { color: var(--muted); font-size: .82rem; }
.status-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.status-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ok); opacity: .5; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 959px) { .home-hero__visual { display: none; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1px; margin-top: 56px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); }
.stats > div { padding: 22px 24px; background: var(--bg-2); }
.stats strong { display: block; color: #fff; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: .88rem; }

/* ---------- Cards ---------- */
.card {
    position: relative; height: 100%;
    padding: 28px; border: 1px solid var(--border); border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; color: inherit; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card--link:hover { color: inherit; border-color: rgba(255, 92, 168, .45); transform: translateY(-3px); box-shadow: 0 24px 50px -24px var(--brand-glow); }
.card--link .link-arrow { margin-top: auto; padding-top: 18px; }
.icon-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 12px; border: 1px solid rgba(255, 92, 168, .25);
    background: rgba(196, 0, 106, .12); color: var(--brand-text); font-size: 1.15rem;
}
.product-card__price { margin: 6px 0 14px; color: var(--muted); font-size: .9rem; }
.product-card__price strong { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before {
    content: "\f00c"; position: absolute; left: 0; top: 2px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(196, 0, 106, .18); color: var(--brand-text);
    font-family: "Font Awesome 5 Pro"; font-weight: 900; font-size: 10px;
}
.check-list--compact li { margin-bottom: 8px; font-size: .94rem; }

.feature { display: flex; gap: 18px; }
.feature .icon-badge { flex-shrink: 0; margin: 0; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall img { aspect-ratio: 4 / 4.4; }
.media--wide img { aspect-ratio: 16 / 10; }
.media figcaption {
    position: absolute; left: 14px; bottom: 14px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(13, 11, 20, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--text-soft); font-size: .8rem;
}
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr); }
.gallery .media:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery .media:nth-child(2), .gallery .media:nth-child(3) { grid-column: span 5; }
.gallery .media:nth-child(n+4) { grid-column: span 4; }
.gallery .media img { aspect-ratio: auto; height: 100%; min-height: 200px; }
@media (max-width: 760px) {
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery .media:nth-child(n) { grid-column: span 1; grid-row: auto; }
    .gallery .media:nth-child(1) { grid-column: span 2; }
    .gallery .media img { min-height: 150px; }
}

/* ---------- Offer filter & grid ---------- */
.offer-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 28px;
}
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 40px; padding: 0 16px;
    border: 1px solid var(--border-strong); border-radius: 999px;
    background: transparent; color: var(--text-soft);
    font-size: .9rem; font-weight: 500; cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: rgba(255,255,255,.32); color: #fff; }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #120f1b; }
.chip .chip__count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .75rem; font-weight: 600; }
.chip[aria-pressed="true"] .chip__count { background: rgba(18,15,27,.12); }
.chip i { font-size: .85em; opacity: .8; }
.offer-toolbar__meta { color: var(--muted); font-size: .9rem; }

.offer-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.offer {
    position: relative; display: flex; flex-direction: column;
    padding: 26px; border: 1px solid var(--border); border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.offer:hover { border-color: rgba(255, 92, 168, .4); transform: translateY(-3px); box-shadow: 0 24px 50px -26px var(--brand-glow); }
.offer[hidden] { display: none; }
.offer__name { margin: 0 0 4px; font-size: 1.15rem; line-height: 1.3; }
.offer__loc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.offer__loc i { color: var(--brand-text); }
.offer__price { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.offer__price strong { color: #fff; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.offer__price span { color: var(--muted); font-size: .9rem; }
.offer__setup { color: var(--muted); font-size: .8rem; }
.offer__specs { margin: 20px 0 24px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--border); flex: 1; }
.offer__specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .92rem; }
.offer__specs li + li { border-top: 1px dashed rgba(255,255,255,.06); }
.offer__specs span { color: var(--muted); }
.offer__specs strong { color: var(--text); font-weight: 600; text-align: right; }
.offer__specs--raw { color: var(--text-soft); font-size: .92rem; }
.offer .btn { width: 100%; }
.offer--featured { border-color: rgba(255, 92, 168, .5); box-shadow: 0 0 0 1px rgba(255, 92, 168, .2) inset; }
.offer__badge {
    position: absolute; top: -11px; right: 20px;
    padding: 4px 10px; border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-strong), var(--brand-deep));
    color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.empty-state {
    padding: 40px 28px; border: 1px dashed var(--border-strong); border-radius: var(--radius);
    color: var(--muted); text-align: center;
}
.empty-state i { display: block; margin-bottom: 12px; color: var(--brand-text); font-size: 1.6rem; }

/* ---------- Callout / CTA ---------- */
.cta {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(36px, 6vw, 64px); border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 92, 168, .3);
    background: linear-gradient(120deg, #2a0f22 0%, #4a0b30 50%, #78004a 100%);
}
.cta::after {
    content: ""; position: absolute; right: -10%; top: -60%; z-index: -1;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 92, 168, .35), transparent 65%);
}
.cta h2 { max-width: 640px; }
.cta p { max-width: 620px; color: #f0dbe7; }
.cta .btn-row { margin-top: 26px; }
.cta .btn--ghost { border-color: rgba(255,255,255,.35); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 18px; color: #fff; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.quote figcaption { color: #f0dbe7; font-size: .9rem; }

.note {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px 20px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--surface);
    color: var(--text-soft); font-size: .95rem;
}
.note i { margin-top: 3px; color: var(--brand-text); }
.note p:last-child { margin: 0; }

/* ---------- Team & testimonials ---------- */
.person { overflow: hidden; padding: 0; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-bottom: 1px solid var(--border); filter: saturate(.9); }
.person__body { padding: 22px 24px 26px; }
.person__role { margin-bottom: 12px; color: var(--brand-text); font-size: .85rem; font-weight: 600; }
.person p { color: var(--muted); font-size: .94rem; }
.testimonial { display: flex; flex-direction: column; gap: 20px; }
.testimonial blockquote { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.7; }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; }
.testimonial__who strong { display: block; color: #fff; font-size: .95rem; }
.stars { color: #ffc65c; font-size: .8rem; letter-spacing: 2px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(255,92,168,.6), rgba(255,92,168,.08)); }
.timeline__item { position: relative; padding: 0 0 36px 64px; }
.timeline__dot {
    position: absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
    border: 3px solid var(--bg); background: var(--brand-strong); box-shadow: 0 0 0 1px rgba(255,92,168,.5);
}
.timeline__year { display: inline-block; margin-bottom: 12px; color: #fff; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.timeline__item .card { padding: 22px 24px; }
.timeline__item ul { margin: 0; padding-left: 1.1em; }
.timeline__item li { margin-bottom: 8px; }
.timeline__item li:last-child { margin-bottom: 0; }
.timeline__item li::marker { color: var(--brand-text); }
.timeline__item--pause .timeline__dot { background: var(--surface-3); box-shadow: 0 0 0 1px var(--border-strong); }
.timeline__item--pause .card { background: transparent; border-style: dashed; }
.timeline__item--current .timeline__dot { background: var(--ok); box-shadow: 0 0 0 1px var(--ok), 0 0 18px var(--ok); }
.timeline__item--current .card { border-color: rgba(255, 92, 168, .45); background: linear-gradient(120deg, #24112a, #3a0f2c); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table td strong { color: #fff; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 7px; }
.field label, .field-label { color: var(--text); font-size: .88rem; font-weight: 600; }
.field .hint { color: var(--muted); font-size: .82rem; }
.input, .select, .textarea {
    width: 100%; min-height: 48px; padding: 12px 16px;
    border: 1px solid var(--border-strong); border-radius: 12px;
    background: var(--bg-2); color: var(--text);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9c4d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; }
.select option { background: var(--surface-2); color: var(--text); }
.input::placeholder, .textarea::placeholder { color: #6f6a80; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255,255,255,.26); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-text); box-shadow: 0 0 0 4px rgba(255, 92, 168, .15); background: var(--surface); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 48px; }
.input-wrap__btn {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer;
}
.input-wrap__btn:hover { color: #fff; background: rgba(255,255,255,.06); }
.check { display: flex; align-items: flex-start; gap: 12px; color: var(--text-soft); font-size: .92rem; cursor: pointer; }
.check input {
    appearance: none; -webkit-appearance: none; flex-shrink: 0;
    width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--border-strong); border-radius: 6px;
    background: var(--bg-2); cursor: pointer; display: grid; place-content: center;
    transition: background .15s ease, border-color .15s ease;
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .12s ease; }
.check input:checked { background: var(--brand-strong); border-color: var(--brand-strong); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.auth-wrap { display: grid; place-items: start center; padding: clamp(48px, 8vw, 96px) 0; }
.auth-card { width: 100%; max-width: 480px; padding: clamp(28px, 4vw, 40px); }
.auth-card--wide { max-width: 640px; }
.auth-card h1 { font-size: 1.9rem; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); }
.auth-card__switch { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; text-align: center; }

/* ---------- Modal ---------- */
.modal {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center; padding: 20px;
    background: rgba(5, 4, 9, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
    position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto;
    padding: 32px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    background: var(--surface); box-shadow: 0 40px 100px -20px rgba(0,0,0,.8);
    transform: translateY(10px) scale(.98); transition: transform .2s ease;
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; }
.modal__close:hover { background: rgba(255,255,255,.06); color: #fff; }
.tabs { display: flex; gap: 4px; margin: 0 0 24px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); }
.tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface-3); color: #fff; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Toast ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 16px); right: 16px; z-index: 300; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius);
    background: var(--surface-2); color: var(--text); box-shadow: var(--shadow); font-size: .93rem;
    animation: toast-in .25s ease;
}
.toast i { margin-top: 3px; }
.toast--error { border-color: rgba(255, 93, 108, .45); }
.toast--error i { color: var(--danger); }
.toast--success { border-color: rgba(61, 220, 151, .45); }
.toast--success i { color: var(--ok); }
.toast button { margin-left: auto; border: 0; background: none; color: var(--muted); cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Prose (Rechtstexte) ---------- */
.prose { max-width: 820px; color: var(--text-soft); }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.8em; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: 8px 12px; border: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding: 72px 0 0; background: var(--bg-2); border-top: 1px solid var(--border); font-size: .93rem; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 56px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer img { height: 34px; width: auto; margin-bottom: 18px; }
.site-footer h4 { margin-bottom: 16px; color: #fff; font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: #fff; }
.site-footer p { color: var(--muted); }
.support-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-soft); font-size: .85rem; }
.contact-list li { display: flex; gap: 12px; }
.contact-list i { width: 16px; margin-top: 4px; color: var(--brand-text); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__bottom li { margin: 0; }
.site-footer__bottom a { color: var(--muted); }

/* ---------- Panel / Kundenbereich ---------- */
.app { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
@media (min-width: 1080px) { .app { grid-template-columns: 260px minmax(0, 1fr); } }
.app-sidebar { padding: 28px 18px; border-right: 1px solid var(--border); background: var(--bg-2); }
@media (max-width: 1079px) { .app-sidebar { padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--border); } }
.app-sidebar__label { margin: 0 12px 10px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.app-nav { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1079px) {
    .app-sidebar__label { display: none; }
    .app-nav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
    .app-nav a { white-space: nowrap; }
}
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--text-soft); font-weight: 500; font-size: .94rem; }
.app-nav a i { width: 18px; color: var(--muted); text-align: center; }
.app-nav a:hover { background: rgba(255,255,255,.04); color: #fff; }
.app-nav a.is-active { background: rgba(196, 0, 106, .14); color: #fff; }
.app-nav a.is-active i { color: var(--brand-text); }
.app-sidebar__footer { margin-top: 28px; padding: 16px 12px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; }
@media (max-width: 1079px) { .app-sidebar__footer { display: none; } }
.app-main { min-width: 0; padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 44px) 56px; }
.app-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.app-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.app-head p { margin: 4px 0 0; color: var(--muted); }
.balance { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.balance span { color: var(--muted); font-size: .82rem; }
.balance strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 28px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 20px; }
.stat .icon-badge { margin: 0; }
.stat strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.stat span { color: var(--muted); font-size: .88rem; }
.panel-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1200px) { .panel-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card__title h2 { margin: 0; font-size: 1.15rem; }
.list { margin: 0; padding: 0; list-style: none; }
.list > li + li { border-top: 1px solid var(--border); }
.list-item { display: flex; align-items: center; gap: 16px; padding: 16px 4px; color: inherit; }
a.list-item:hover { color: inherit; background: rgba(255,255,255,.02); }
.list-item__main { min-width: 0; flex: 1; }
.list-item__main strong { display: block; color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.list-item__main span { color: var(--muted); font-size: .88rem; }
.list-item__side { text-align: right; font-size: .88rem; color: var(--muted); }
.list-item__side strong { display: block; color: var(--text); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pill--ok { background: rgba(61, 220, 151, .12); color: var(--ok); }
.pill--danger { background: rgba(255, 93, 108, .12); color: var(--danger); }
.amount--plus { color: var(--ok) !important; }
.amount--minus { color: var(--danger) !important; }
.summary { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--bg-2); }
.summary li + li { border-top: 1px solid var(--border); }
.summary li span { color: var(--muted); }
.summary li strong { color: #fff; font-variant-numeric: tabular-nums; }
.summary li.is-total { background: var(--surface-2); }
.summary li.is-total strong { font-size: 1.15rem; }
.spec-grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); }
.spec-grid > div { padding: 14px 18px; background: var(--surface); }
.spec-grid span { display: block; color: var(--muted); font-size: .8rem; }
.spec-grid strong { color: #fff; }
.panel-frame { width: 100%; height: calc(100vh - var(--header-h) - 60px); min-height: 640px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 20px; }
.is-hidden { display: none !important; }
.reveal { transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Ergänzungen ---------- */
.nav-dropdown--right .nav-dropdown__menu { left: auto; right: 0; }
.nav-dropdown__sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
.nav-dropdown .btn .fa-chevron-down { margin-left: 2px; }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.mfa h1 { font-size: 1.8rem; }
.mfa__code { min-height: 60px; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.mfa__resend { margin-top: 16px; text-align: center; }
.mfa__switch { display: grid; gap: 10px; justify-items: center; margin-top: 24px; font-size: .88rem; }
.mfa__switch form { display: contents; }
.mosaic { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.mosaic .media:first-child { grid-column: span 2; }
.mosaic .media img { aspect-ratio: 16 / 10; }
.mosaic .media:first-child img { aspect-ratio: 16 / 8; }

.stack > .card, .panel-grid > .card { height: auto; }
@media (max-width: 640px) {
    .list-item { flex-wrap: wrap; }
    .list-item__side { width: 100%; text-align: left; }
}
.nav-dropdown__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
@media (max-width: 640px) {
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .app-head .balance { width: 100%; justify-content: space-between; }
}
