@font-face {
    font-family: 'Cyberway';
    src: url('fonts/cyberway.woff2') format('woff2');
    font-display: swap;
}

/* Chakra Petch – lokal gehostet (DSGVO-konform) */
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/chakra-petch-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/chakra-petch-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/chakra-petch-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/chakra-petch-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/chakra-petch-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/chakra-petch-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/chakra-petch-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/chakra-petch-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* weight 800 wird auf 700 gemappt (Chakra Petch hat kein 800) */
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/chakra-petch-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Chakra Petch';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/chakra-petch-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --accent-yellow: #fcee09;
    --glitch-cyan:   #00ffff;
    --glitch-pink:   #ff00ff;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #010101;
    color: #ddd;
    font-family: 'Chakra Petch', sans-serif;
    margin: 0;
}

/* ── LOGO ───────────────────────────────────────────────── */
.logo {
    font-family: 'Cyberway', sans-serif;
    font-size: 2.2rem;
    color: var(--accent-yellow);
    position: relative;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
    isolation: isolate;
}
.logo::before, .logo::after {
    content: "CyberStix";
    position: absolute;
    inset: 0;
    z-index: -1;
}
.logo::before { color: var(--glitch-cyan); transform: translate(3px, 0); opacity: 1; }
.logo::after  { color: var(--glitch-pink); transform: translate(-3px, 0); opacity: 1; }
.logo:hover::before { animation: spikeB 3.5s infinite; transform: none; }
.logo:hover::after  { animation: spikeA 3.5s infinite 0.06s; transform: none; }

.logo-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    display: block;
    margin-top: 3px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 400;
}

/* ── KEYFRAMES ──────────────────────────────────────────── */
@keyframes spikeB {
    0%,  87%  { transform: translate(3px, 0);                 opacity: 0.7; }
    88%        { transform: translate(-8px, 1px) skewX(-3deg); opacity: 1;   }
    89%        { transform: translate(5px, -1px);              opacity: 0.85; }
    90%        { transform: translate(-3px, 0);                opacity: 0.8;  }
    91%, 100%  { transform: translate(3px, 0);                 opacity: 0.7;  }
}
@keyframes spikeA {
    0%,  87%  { transform: translate(-3px, 0);                opacity: 0.7; }
    88%        { transform: translate(8px, -1px) skewX(3deg);  opacity: 1;   }
    89%        { transform: translate(-5px, 1px);              opacity: 0.85; }
    90%        { transform: translate(3px, 0);                 opacity: 0.8;  }
    91%, 100%  { transform: translate(-3px, 0);                opacity: 0.7;  }
}
@keyframes glitchText {
    0%   { text-shadow: 4px 0 var(--glitch-cyan), -4px 0 var(--glitch-pink); }
    6%   { text-shadow: -4px 0 var(--glitch-pink), 4px 0 var(--glitch-cyan); }
    12%  { text-shadow: none; }
    100% { text-shadow: none; }
}
@keyframes cookieSpikeB {
    0%,  75%  { transform: translate(4px, 0);                  opacity: 0.9; }
    76%        { transform: translate(-18px, 2px) skewX(-6deg); opacity: 1;   }
    77%        { transform: translate(12px, -2px) skewX(4deg);  opacity: 1;   }
    78%        { transform: translate(-8px, 1px);               opacity: 0.95;}
    79%        { transform: translate(6px, 0);                  opacity: 0.9; }
    80%        { transform: translate(-14px, 1px) skewX(-4deg); opacity: 1;   }
    81%, 100%  { transform: translate(4px, 0);                  opacity: 0.9; }
}
@keyframes cookieSpikeA {
    0%,  75%  { transform: translate(-4px, 0);                 opacity: 0.9; }
    76%        { transform: translate(18px, -2px) skewX(6deg);  opacity: 1;   }
    77%        { transform: translate(-12px, 2px) skewX(-4deg); opacity: 1;   }
    78%        { transform: translate(8px, -1px);               opacity: 0.95;}
    79%        { transform: translate(-6px, 0);                 opacity: 0.9; }
    80%        { transform: translate(14px, -1px) skewX(4deg);  opacity: 1;   }
    81%, 100%  { transform: translate(-4px, 0);                 opacity: 0.9; }
}

/* ── NAV ────────────────────────────────────────────────── */
.nav-link {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--accent-yellow);
    animation: glitchText 3s infinite;
}

.portal-btn {
    border: 1px solid var(--accent-yellow);
    padding: 8px 18px;
    color: var(--accent-yellow);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(252,238,9,0.1);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: 'Chakra Petch', sans-serif;
    cursor: pointer;
    background: transparent;
}
.portal-btn:hover {
    background: var(--accent-yellow);
    color: #000;
    box-shadow: 0 0 24px var(--accent-yellow);
}

/* ── HEADER ─────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
}

#burger-btn {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
}
#burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin-bottom: 5px;
}
#burger-btn span:last-child { margin-bottom: 0; }

#main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
    width: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #4b5563;
}
footer a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover { color: var(--accent-yellow); }
.footer-links {
    display: flex;
    gap: 24px;
}

/* ── COOKIE ─────────────────────────────────────────────── */
.cookie-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    padding: 20px;
    transition: opacity 0.7s;
}
.cookie-text {
    max-width: 400px;
    text-align: center;
    margin-bottom: 2rem;
}
.cookie-text p {
    font-size: 0.875rem;
    color: #d1d5db;
    margin: 0;
}
.cookie-btns {
    display: flex;
    gap: 16px;
}
.cookie-logo {
    font-family: 'Cyberway', sans-serif;
    font-size: 4rem;
    color: var(--accent-yellow);
    position: relative;
    margin-bottom: 2rem;
}
.cookie-logo::before,
.cookie-logo::after {
    content: "CyberStix";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.cookie-logo::before { color: var(--glitch-cyan); animation: cookieSpikeB 1.8s infinite; }
.cookie-logo::after  { color: var(--glitch-pink); animation: cookieSpikeA 1.8s infinite 0.08s; }
.cookie-deny-btn {
    border-color: #6b7280;
    color: #6b7280;
}
.cookie-deny-btn:hover {
    background: #b30000;
    color: #fff;
    border-color: #b30000;
    box-shadow: 0 0 22px rgba(200,0,0,0.75);
}
.cookie-deny-btn:active {
    background: #ff1a1a;
    border-color: #ff1a1a;
    box-shadow: 0 0 32px rgba(255,0,0,0.95);
}

/* ── SECTION TAG ────────────────────────────────────────── */
.section-tag {
    font-size: 10px;
    letter-spacing: 0.5em;
    color: var(--accent-yellow);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.7;
}

/* ── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 767px) {
    .header-inner { padding: 12px 16px; flex-wrap: wrap; }
    .logo { font-size: 1.8rem; }
    #burger-btn { display: block; }
    #main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
        padding: 12px 8px;
        margin-top: 10px;
        background: rgba(0,0,0,0.95);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 6px;
    }
    #main-nav.open { display: flex; }
    .nav-link  { font-size: 0.8rem; padding: 6px 8px; width: 100%; }
    .portal-btn { font-size: 0.75rem; padding: 8px 14px; width: 100%; text-align: center; }
    footer { padding: 12px 16px; }
    .cookie-logo { font-size: 2.5rem; }
    .cookie-btns { flex-direction: column; width: 100%; max-width: 280px; }
    .cookie-btns .portal-btn { text-align: center; }
}

/* ── UTILITIES ──────────────────────────────────────────── */
.text-yellow  { color: var(--accent-yellow); }
.text-cyan    { color: var(--glitch-cyan); }
.text-magenta { color: var(--glitch-pink); }

/* ── PAGE THEME DEFAULTS ────────────────────────────────── */
:root {
    --page-accent:     var(--accent-yellow);
    --page-accent-rgb: 252, 238, 9;
}

/* ── COOKIE POLICY LINK ─────────────────────────────────── */
.cookie-policy-link {
    color: var(--glitch-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,255,255,0.35);
    transition: color 0.2s;
}
.cookie-policy-link:hover { color: #fff; }

/* ── SHARED PAGE LAYOUT ─────────────────────────────────── */
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
    background-image: linear-gradient(to bottom, rgba(5,5,5,0.92), rgba(2,2,2,0.98));
    padding-bottom: 44px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

section {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 90px;
    padding-bottom: 70px;
}

main {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

footer {
    position: fixed;
    bottom: 0;
    z-index: 50;
}

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.breadcrumb a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--page-accent); }
.breadcrumb-sep {
    color: rgba(255,255,255,0.2);
    font-family: monospace;
    font-size: 0.75rem;
}
.breadcrumb-current { color: var(--page-accent); }

/* ── HERO TAG ───────────────────────────────────────────── */
.hero-tag {
    font-size: 10px;
    letter-spacing: 0.5em;
    color: var(--page-accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.7;
}

/* ── HERO INTRO ─────────────────────────────────────────── */
.hero-intro {
    max-width: 900px;
    margin-bottom: 3rem;
}
.hero-intro h1 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.9;
    margin: 0 0 2rem 0;
    font-size: clamp(2rem, 7vw, 5.5rem);
}
.hero-intro > p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #d1d5db;
    border-left: 4px solid var(--page-accent);
    padding-left: 2rem;
    line-height: 1.75;
    margin: 0 0 2.5rem 0;
}

/* ── HERO CARDS ─────────────────────────────────────────── */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 2rem;
}
.hero-card {
    padding: 32px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color 0.3s;
}
.hero-card.yellow:hover  { border-color: var(--accent-yellow); }
.hero-card.cyan:hover    { border-color: var(--glitch-cyan); }
.hero-card.magenta:hover { border-color: var(--glitch-pink); }
.hero-card-label {
    font-size: 11px;
    font-family: monospace;
    margin-bottom: 16px;
    display: block;
}
.hero-card.yellow  .hero-card-label { color: var(--accent-yellow); }
.hero-card.cyan    .hero-card-label { color: var(--glitch-cyan); }
.hero-card.magenta .hero-card-label { color: var(--glitch-pink); }
.hero-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    color: #fff;
}
.hero-card p {
    font-size: 0.9rem;
    color: #d1d5db;
    line-height: 1.75;
    margin: 0;
}

/* ── SECTION BASICS ─────────────────────────────────────── */
.section-heading {
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    font-size: clamp(1.6rem, 4vw, 3rem);
}
.section-intro {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #d1d5db;
    line-height: 1.75;
    max-width: 760px;
    margin: 0 0 3rem 0;
}

/* ── CTA / CONTACT ──────────────────────────────────────── */
#cta { text-align: center; }
.contact-heading {
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    line-height: 1.0;
    font-size: clamp(2rem, 6vw, 4.5rem);
}
.contact-intro {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 3rem;
    color: #d1d5db;
}
.contact-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid rgba(var(--page-accent-rgb), 0.2);
    background: rgba(0,0,0,0.4);
}
.contact-email {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.3s;
    word-break: break-all;
    font-size: clamp(1rem, 4vw, 2.2rem);
}
.contact-email:hover {
    color: var(--page-accent);
    animation: glitchText 3s infinite;
}
.contact-divider {
    height: 1px;
    width: 96px;
    background: var(--page-accent);
}
.contact-location {
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    color: #6b7280;
    text-transform: uppercase;
    margin: 0;
}
.portal-btn-lg {
    font-size: 0.85rem;
    padding: 12px 28px;
}

/* ── THEMED PORTAL BUTTONS ──────────────────────────────── */
.portal-btn-cyan {
    border-color: var(--glitch-cyan);
    color: var(--glitch-cyan);
    box-shadow: 0 0 10px rgba(0,255,255,0.1);
}
.portal-btn-cyan:hover {
    background: var(--glitch-cyan);
    color: #000;
    box-shadow: 0 0 24px rgba(0,255,255,0.7);
}
.portal-btn-magenta {
    border-color: var(--glitch-pink);
    color: var(--glitch-pink);
    box-shadow: 0 0 10px rgba(255,0,255,0.1);
}
.portal-btn-magenta:hover {
    background: var(--glitch-pink);
    color: #000;
    box-shadow: 0 0 24px rgba(255,0,255,0.7);
}

/* ── WEITERE LEISTUNGEN ─────────────────────────────────── */
.weitere-leistungen {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2.5rem;
    margin-bottom: 3rem;
}
.weitere-heading {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    font-family: monospace;
    display: block;
}
.weitere-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.weitere-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 14px;
    transition: color 0.2s, border-color 0.2s;
}
.weitere-link:hover {
    color: var(--page-accent);
    border-color: var(--page-accent);
}

/* ── LEGAL LAYOUT (shared for all legal pages) ──────────── */
.legal-main {
    padding: 0 40px 3rem;
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
}
.legal-page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0 0 3rem 0;
    color: #fff;
}
.legal-box {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.legal-box.yellow-border   { border-left: 4px solid var(--accent-yellow); }
.legal-box.cyan-border     { border-left: 4px solid var(--glitch-cyan); }
.legal-box.magenta-border  { border-left: 4px solid var(--glitch-pink); }
.legal-label {
    color: var(--accent-yellow);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.5rem;
}
.legal-grid { display: grid; gap: 2rem; }
.legal-name { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 4px 0; }
.legal-text { font-size: 0.9rem; color: #d1d5db; line-height: 1.75; margin: 0 0 4px 0; }
.legal-text-muted { font-size: 0.8rem; color: #9ca3af; line-height: 1.6; margin: 4px 0 0 0; }
.legal-text-small { font-size: 0.75rem; color: #6b7280; line-height: 1.6; margin: 4px 0 0 0; }
.legal-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0; }
.legal-fine-print { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.legal-odr { font-size: 0.75rem; color: #9ca3af; line-height: 1.625; font-style: italic; margin: 0; }
.legal-link { color: var(--glitch-cyan); text-decoration: underline; text-decoration-color: rgba(0,255,255,0.3); }
.legal-note { font-size: 0.75rem; color: #6b7280; font-style: italic; line-height: 1.6; margin: 0.5rem 0 0 0; }

/* datenschutz-specific */
.legal-section { margin-bottom: 2rem; }
.legal-section h2 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.legal-section p, .legal-section li {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #d1d5db;
    margin: 0 0 0.75rem 0;
}
.legal-section ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 0.75rem 0; }
.legal-section li { margin-bottom: 0.25rem; }
.legal-contact { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.legal-contact-name { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 4px 0; }
.legal-contact p { font-size: 0.875rem; color: #d1d5db; margin: 0 0 4px 0; line-height: 1.6; }
.legal-contact-email { font-size: 0.875rem; color: var(--glitch-cyan); margin: 0; }

/* agb-specific */
.legal-toc { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.legal-toc-label { color: var(--accent-yellow); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; display: block; margin-bottom: 1rem; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.legal-toc li { font-size: 0.8rem; color: #9ca3af; line-height: 2; }
.legal-toc li a { color: #9ca3af; text-decoration: none; transition: color 0.2s; }
.legal-toc li a:hover { color: var(--accent-yellow); }
.legal-chapter { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.legal-chapter:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-chapter-title {
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(252,238,9,0.2);
}
.legal-clause { margin-bottom: 1rem; }
.legal-clause-num { font-size: 0.7rem; font-weight: 700; color: var(--accent-yellow); text-transform: uppercase; letter-spacing: 0.15em; display: block; margin-bottom: 0.3rem; }
.legal-clause p { font-size: 0.875rem; line-height: 1.75; color: #d1d5db; margin: 0 0 0.5rem 0; }
.legal-clause ul { list-style: disc; padding-left: 1.5rem; margin: 0.5rem 0; }
.legal-clause li { font-size: 0.875rem; line-height: 1.75; color: #d1d5db; margin-bottom: 0.25rem; }
.legal-contact-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.legal-contact-block .legal-toc-label { margin-bottom: 0.75rem; }
.legal-contact-block p { font-size: 0.875rem; color: #d1d5db; margin: 0 0 4px 0; line-height: 1.6; }
.legal-contact-block .name { font-size: 1rem; font-weight: 700; color: #fff; }
.legal-contact-block .email { color: var(--glitch-cyan); }

/* ── LEGAL + LEISTUNG MOBILE ────────────────────────────── */
@media (max-width: 767px) {
    main { padding-left: 16px; padding-right: 16px; }
    section { padding-left: 0; padding-right: 0; padding-bottom: 40px; }
    footer { position: static; flex-direction: column; gap: 6px; text-align: center; }
    .legal-main { padding: 0 16px; }
    .legal-box { padding: 1.5rem; }
    .legal-page-title { font-size: 1.8rem; overflow-wrap: break-word; }
    .legal-section h2 { font-size: 1rem; overflow-wrap: break-word; }
    .legal-toc ol { columns: 1; }
}
@media (min-width: 640px) {
    .legal-grid-2 { grid-template-columns: 1fr 1fr; }
}
