/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #00f0ff;
    --cyan-dark: #0080ff;
    --purple: #b026ff;
    --pink: #ff0080;
    --green: #00ff88;
    --green-dark: #00cc66;
    --red: #ff2060;
    --orange: #ff6b35;
    --gold: #ffd700;
    --bg-dark: #060611;
    --bg-card: #0c0c1d;
    --bg-card-hover: #111128;
    --text: #e8e8f0;
    --text-muted: #8888aa;
    --border: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.03);
    --logo-filter: brightness(1.4) contrast(1.15);   /* volle Farben inkl. blaue Akzente */
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
    --cyan: #0099cc;
    --cyan-dark: #0066aa;
    --purple: #9020dd;
    --pink: #dd0066;
    --green: #00cc66;
    --green-dark: #009944;
    --red: #dd2050;
    --orange: #ee5522;
    --gold: #ddaa00;
    --bg-dark: #f5f7fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f5;
    --text: #1a1a2e;
    --text-muted: #5a5a7a;
    --border: rgba(0, 0, 0, 0.08);
    --glass: rgba(0, 0, 0, 0.02);
    --logo-filter: brightness(1.4) contrast(1.15);   /* Hell-Theme: gleiche Darstellung wie Dunkel, Farben/blaue Akzente bleiben */
}

/* Light Theme - Body & Backgrounds */
[data-theme="light"] body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%);
}

[data-theme="light"] .cyber-grid {
    background-image:
        linear-gradient(rgba(0, 100, 180, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 100, 180, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .nebula {
    opacity: 0.15;
}

[data-theme="light"] .nebula-1 { background: radial-gradient(ellipse at center, rgba(0, 153, 204, 0.3), transparent 70%); }
[data-theme="light"] .nebula-2 { background: radial-gradient(ellipse at center, rgba(144, 32, 221, 0.25), transparent 70%); }
[data-theme="light"] .nebula-3 { background: radial-gradient(ellipse at center, rgba(0, 204, 102, 0.2), transparent 70%); }
[data-theme="light"] .nebula-4 { background: radial-gradient(ellipse at center, rgba(221, 32, 80, 0.2), transparent 70%); }

[data-theme="light"] .scanlines {
    opacity: 0.02;
}

[data-theme="light"] .hex-overlay {
    opacity: 0.03;
}

/* Light Theme - Header: am Anfang durchsichtig (wie im Dunkelmodus / wie bei EDV SERVICE HTML) */
[data-theme="light"] .header {
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    border-bottom-color: transparent;
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
            backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Hell-Theme, noch nicht gescrollt: Header liegt über dem dunklen Hero
   -> Inhalte hell halten, damit sie auf dem durchsichtigen Header lesbar bleiben */
[data-theme="light"] .header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.72); }
[data-theme="light"] .header:not(.scrolled) .nav-link:hover,
[data-theme="light"] .header:not(.scrolled) .nav-link.active { color: #fff; }
[data-theme="light"] .header:not(.scrolled) .logo-suffix {
    color: rgba(255, 255, 255, 0.62);
    border-left-color: rgba(255, 255, 255, 0.18);
}
/* Logo folgt allein dem Theme (--logo-filter) – identisch zu AWK-TECH,
   keine Sonderbehandlung mehr für den nicht-gescrollten Header */
[data-theme="light"] .header:not(.scrolled) .theme-toggle,
[data-theme="light"] .header:not(.scrolled) .header-icon,
[data-theme="light"] .header:not(.scrolled) .menu-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #d8d8ec;
}
[data-theme="light"] .header:not(.scrolled) .menu-toggle span { background: #fff; }

/* WhatsApp-Icon soll immer grün bleiben, unabhängig von Theme/Scroll-Zustand */
[data-theme="light"] .header:not(.scrolled) .header-icon--wa {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.08);
}

/* Mail-Icon soll immer blau bleiben, unabhängig von Theme/Scroll-Zustand */
[data-theme="light"] .header:not(.scrolled) .header-icon--mail {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.08);
}

[data-theme="light"] .nav-link {
    color: #3a3a5a;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--cyan-dark);
}

/* Light Theme - Cards & Sections */
[data-theme="light"] .product-card,
[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .product-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card-info {
    background: transparent;
}

[data-theme="light"] .card-title {
    color: #1a1a2e;
}

[data-theme="light"] .vorteil-card {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .vorteil-card h3 {
    color: #1a1a2e;
}

[data-theme="light"] .section-title {
    color: #1a1a2e;
}

/* Light Theme - Hero Slider */
/* Slide-Hintergründe bleiben wie im Dark Mode */

[data-theme="light"] .slide-title {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Kein Schlagschatten bei "TMR / VS. STICKDRIFT / SCHLUSS MIT..." — weder
   im Hell- noch im Dunkel-Theme */
.slide-title--no-shadow,
[data-theme="light"] .slide-title--no-shadow {
    text-shadow: none;
}

[data-theme="light"] .slide-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* Light Theme - Buttons */
[data-theme="light"] .btn-outline {
    border-color: rgba(0, 0, 0, 0.2);
    color: #3a3a5a;
}

[data-theme="light"] .btn-outline:hover {
    border-color: var(--cyan-dark);
    color: var(--cyan-dark);
    background: rgba(0, 153, 204, 0.1);
}

[data-theme="light"] .cart-btn {
    color: #3a3a5a;
}

[data-theme="light"] .cart-btn:hover {
    color: var(--cyan-dark);
    background: rgba(0, 153, 204, 0.1);
}

/* Light Theme - Footer */
[data-theme="light"] .footer {
    background: linear-gradient(180deg, #e8ecf1 0%, #dde3ea 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-desc,
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-bottom p {
    color: #5a5a7a;
}

[data-theme="light"] .footer-links h4 {
    color: #1a1a2e;
}

[data-theme="light"] .footer-links a:hover {
    color: var(--cyan-dark);
}

[data-theme="light"] .social-link {
    border-color: rgba(0, 0, 0, 0.1);
    color: #5a5a7a;
}

[data-theme="light"] .social-link:hover {
    border-color: var(--cyan-dark);
    color: var(--cyan-dark);
    background: rgba(0, 153, 204, 0.1);
}

/* Light Theme - Contact Section */
[data-theme="light"] .contact {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 153, 204, 0.05) 100%);
}

[data-theme="light"] .contact-form-wrap {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

[data-theme="light"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230099cc' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #8a8aaa;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
    border-color: var(--cyan-dark);
    background: rgba(255, 255, 255, 1);
}

/* Light Theme - Gradient Text adjustment */
[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, var(--cyan-dark), var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Light Theme - About Section */
[data-theme="light"] .about-content p {
    color: #4a4a6a;
}

[data-theme="light"] .stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--glass);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-icon {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode (default): Show Moon, Hide Sun */
.moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: var(--cyan);
}

.sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    color: var(--gold);
}

/* Light Mode: Show Sun, Hide Moon */
[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: var(--orange);
}

[data-theme="light"] .theme-toggle {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .theme-toggle:hover {
    border-color: var(--orange);
    background: rgba(255, 107, 53, 0.1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ===== ANIMATED BACKGROUND SYSTEM ===== */

/* Cyber Grid - Perspektivisches Raster */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Animated Nebula Blobs */
.nebula-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    will-change: transform;
}

.nebula-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    top: -10%;
    left: -5%;
    animation: nebulaMove1 20s ease-in-out infinite;
}

.nebula-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--purple), transparent 70%);
    top: 30%;
    right: -10%;
    animation: nebulaMove2 25s ease-in-out infinite;
}

.nebula-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--green), transparent 70%);
    bottom: 10%;
    left: 20%;
    animation: nebulaMove3 22s ease-in-out infinite;
    opacity: 0.08;
}

.nebula-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--pink), transparent 70%);
    top: 60%;
    right: 30%;
    animation: nebulaMove4 18s ease-in-out infinite;
    opacity: 0.06;
}

@keyframes nebulaMove1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, 60px) scale(1.1); }
    50% { transform: translate(30px, 120px) scale(0.9); }
    75% { transform: translate(-50px, 40px) scale(1.05); }
}

@keyframes nebulaMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-70px, 80px) scale(1.15); }
    50% { transform: translate(-120px, -30px) scale(0.85); }
    75% { transform: translate(-40px, -80px) scale(1.1); }
}

@keyframes nebulaMove3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -60px) scale(1.2); }
    66% { transform: translate(-60px, -100px) scale(0.9); }
}

@keyframes nebulaMove4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 60px) scale(1.3); }
}

/* Scanline Overlay - Retro CRT Effekt */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    animation: scanlineScroll 10s linear infinite;
}

@keyframes scanlineScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

/* Hex Pattern Overlay */
.hex-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2300f0ff' fill-opacity='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Animated Energy Lines */
.energy-lines {
    display: none; /* Deaktiviert - störte im Tablet-Modus */
}

.energy-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
    opacity: 0;
    animation: energyLine 8s ease-in-out infinite;
}

.line-1 {
    top: 15%;
    width: 40%;
    left: -40%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.line-2 {
    top: 35%;
    width: 30%;
    right: -30%;
    left: auto;
    background: linear-gradient(90deg, transparent, var(--purple), var(--pink), transparent);
    animation-delay: 2s;
    animation-duration: 9s;
    animation-name: energyLineReverse;
}

.line-3 {
    top: 55%;
    width: 50%;
    left: -50%;
    background: linear-gradient(90deg, transparent, var(--green), var(--cyan), transparent);
    animation-delay: 4s;
    animation-duration: 8s;
}

.line-4 {
    top: 75%;
    width: 35%;
    right: -35%;
    left: auto;
    animation-delay: 1s;
    animation-duration: 10s;
    animation-name: energyLineReverse;
}

.line-5 {
    top: 90%;
    width: 45%;
    left: -45%;
    background: linear-gradient(90deg, transparent, var(--pink), var(--purple), transparent);
    animation-delay: 3s;
    animation-duration: 6s;
}

@keyframes energyLine {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateX(calc(100vw + 100%)); opacity: 0; }
}

@keyframes energyLineReverse {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateX(calc(-100vw - 100%)); opacity: 0; }
}

/* Corner Accents */
.corner-accent {
    position: fixed;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

.corner-tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    animation: cornerPulse 4s ease-in-out infinite;
}

.corner-tr {
    top: 0;
    right: 0;
    border-top: 2px solid var(--purple);
    border-right: 2px solid var(--purple);
    animation: cornerPulse 4s ease-in-out infinite 1s;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid var(--green);
    border-left: 2px solid var(--green);
    animation: cornerPulse 4s ease-in-out infinite 2s;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--pink);
    border-right: 2px solid var(--pink);
    animation: cornerPulse 4s ease-in-out infinite 3s;
}

@keyframes cornerPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 24px);
    position: relative;
    z-index: 2;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ===== Z-INDEX MANAGEMENT ===== */
.hero,
.eyecatcher,
.products,
.ablauf,
.features,
.testimonials,
.contact,
.footer {
    position: relative;
    z-index: 2;
}

/* =============================================================
   HEADER / NAV  — Layout aus dem Projekt "EDV SERVICE HTML"
   uebernommen, hier mit den AWK-GAMING-Farben & -Schriften
   ============================================================= */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition),
                box-shadow var(--transition);
}
.header.scrolled {
    background: rgba(6, 6, 17, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
            backdrop-filter: blur(18px) saturate(1.4);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-glow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
    opacity: 0.5;
}

.header-inner {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    /* Logo sitzt näher am linken Rand als die Icons rechts, damit die
       Menüpunkte in der Mitte mehr Platz zum Atmen haben */
    padding-left: clamp(0.6rem, 2vw, 1.4rem);
    padding-right: clamp(1.1rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    gap: clamp(0.55rem, 1.5vw, 1.5rem);
    height: 76px;
    transition: height var(--transition);
}
.header.scrolled .header-inner { height: 60px; }

/* Marke: Logo-Bild + | GAMING */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    text-decoration: none;
}
.logo-img {
    /* AWK-GAMING ist einzeilig und dadurch bei gleicher Textgröße wie
       "AWK-TECH" deutlich breiter als das zweizeilige AWK-TECH-Logo ->
       feste Breakpoints reichen nicht, das Logo muss fließend mit der
       Fensterbreite schrumpfen, damit es nie mit den Header-Icons kollidiert. */
    height: clamp(16px, 10.1vw - 23px, 43px);   /* 43px = so groß wie nur "AWK-TECH" im AWK-TECH-Logo */
    width: auto;
    max-width: 420px;
    flex: none;
    object-fit: contain;
    filter: var(--logo-filter);
    transform: none;               /* eng beschnittenes PNG -> keine Korrektur nötig */
    transition: height var(--transition), filter var(--transition);
}
.header.scrolled .logo-img { height: clamp(13px, 8.5vw - 19px, 36px); }
.logo:hover .logo-img { filter: var(--logo-filter) drop-shadow(0 2px 12px rgba(0, 240, 255, 0.35)); }

.logo-suffix {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-left: 0.6rem;
    border-left: 1px solid var(--border);
    white-space: nowrap;
    transform: translateY(0.08em);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.6vw, 1.4rem);
    margin-left: auto;
    margin-right: 0.4rem;
}
.nav-link {
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.4rem 0.1rem;
    white-space: nowrap;
    transition: color var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 2px;
    /* gleiche geschmeidige Ease-Kurve wie bei AWK-TECH */
    transition: width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-link:hover,
.nav-link.active { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Aktionen rechts */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon-Buttons: Theme / E-Mail / WhatsApp — gleiche Form */
.theme-toggle,
.header-icon {
    position: relative;
    width: 40px;
    height: 40px;
    flex: none;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    color: #c7c7e0;
    cursor: pointer;
    overflow: hidden;
    transition: color var(--transition), border-color var(--transition),
                background var(--transition), box-shadow var(--transition);
}
[data-theme="light"] .theme-toggle,
[data-theme="light"] .header-icon {
    border-color: rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-muted);
}
.theme-toggle:hover,
.header-icon--mail:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.2);
}
.header-icon--mail,
[data-theme="light"] .header-icon--mail {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.08);
}
.header-icon--wa,
[data-theme="light"] .header-icon--wa {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.08);
}
.header-icon--wa:hover {
    color: #25d366;
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.2);
}
.header-icon svg { width: 18px; height: 18px; }
.header-icon--wa svg { width: 19px; height: 19px; }

/* Breiter "Kontakt"-Button im Header: Mail- + WhatsApp-Icon + Text,
   springt zum Kontaktbereich (dort beide Optionen). Ersetzt die beiden
   frueheren Einzel-Icons; "Kontakt" bleibt zusaetzlich im Menue. */
.header-contact {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px 0 12px;
    color: #fff;
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.08);
    text-decoration: none;
}
.header-contact .header-contact-mail { color: #00f0ff; }
.header-contact .header-contact-wa { color: #25d366; width: 19px; height: 19px; }
.header-contact-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}
.header-contact:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.14);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.2);
}
[data-theme="light"] .header-contact {
    color: #1a1a2e;
    background: rgba(0, 153, 204, 0.1);
    border-color: rgba(0, 153, 204, 0.35);
}
[data-theme="light"] .header:not(.scrolled) .header-contact {
    color: #fff;
}
[data-theme="light"] .header-contact .header-contact-mail { color: var(--cyan-dark); }
[data-theme="light"] .header:not(.scrolled) .header-contact .header-contact-mail { color: #00f0ff; }

/* Theme-Icons (Sonne / Mond) uebereinander, Cross-Fade */
.theme-icon {
    position: absolute;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.moon-icon { opacity: 1; transform: rotate(0deg) scale(1); color: var(--cyan); }
.sun-icon  { opacity: 0; transform: rotate(-90deg) scale(0.5); color: var(--gold); }
[data-theme="light"] .moon-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="light"] .sun-icon  { opacity: 1; transform: rotate(0deg) scale(1); color: var(--orange); }
[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .header-icon--mail:hover {
    border-color: var(--cyan-dark);
    color: var(--cyan-dark);
}

/* CTA-Pille */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.62rem 1.15rem;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: #000;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
    flex: none;
    transition: transform 0.15s ease, box-shadow var(--transition);
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35); }
.header.scrolled .header-cta { padding-block: 0.5rem; }

/* Burger */
.menu-toggle {
    display: none;
    flex: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--glass);
    cursor: pointer;
}
.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO SLIDER ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    /* --vh100 wird per JS aus window.innerHeight gesetzt (siehe index.html
       <head>) - dvh kann in manchen mobilen Chromium-Umgebungen zu klein
       berechnet werden, siehe Kommentar dort. Fallback bleibt 100dvh. */
    min-height: var(--vh100, 100dvh);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: var(--vh100, 100dvh);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Verdunklungs-Verlauf auf Wunsch komplett entfernt - auf allen
   Geräten/Breiten (vorher nur für ≤600px entfernt, wirkte auf Tablets wie
   iPad im ≤992px-Bereich aber weiterhin abdunkelnd). */
.slide-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: none;
    pointer-events: none;
}

@media (max-width: 600px) {
    /* Verdunklungs-Verlauf entfernt - Textlesbarkeit hängt jetzt allein
       vom text-shadow der Titel/Buttons ab, geprüft auf allen 4 Folien. */
    .slide-bg::before {
        background: none;
    }
}

/* Hintergrundbild füllt den Slide immer komplett aus (kein Rand/Hintergrund sichtbar) */
.slide-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    transform: scale(1.3);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .slide-bg-image {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive Hintergrundbild */
@media (max-width: 992px) {
    /* opacity war 0.85 (Desktop: 1) - beim Verkleinern des Fensters über
       diese Grenze war die 0.8s-Übergangsanimation als sichtbares
       "Abdunkeln" wahrnehmbar. Der Verdunklungs-Verlauf (.slide-bg::before)
       übernimmt die Textlesbarkeit inzwischen gezielt, die pauschale
       Abdunklung ist nicht mehr nötig - Bild bleibt jetzt durchgängig
       gleich hell wie am Desktop. */
    .slide-bg-image {
        background-position: center right;
        transform: scale(1.15);
    }

    .slide.active .slide-bg-image {
        transform: scale(1.05);
    }
}

@media (max-width: 900px) and (orientation: portrait) {
    /* Bei schmalen/hohen (Hochkant-)Viewports zeigt "cover" nur noch einen
       schmalen vertikalen Streifen des (querformatigen) Fotos - das Produkt
       wurde dadurch stark angeschnitten. Statt "cover" wird die Bildbreite
       jetzt fest in % gesetzt (< "cover" nötig hätte), damit das komplette
       Produkt sichtbar bleibt. Statt des dadurch fehlenden Bildinhalts oben/
       unten liegt ein unscharfer Hintergrund (.slide-bg::after weiter
       unten). Größe/Position sind je Slide einzeln abgestimmt, weil das
       Produkt in jedem Foto anders sitzt.
       Breite bewusst bis 900px (nicht nur 600px wie ursprünglich) UND auf
       orientation:portrait beschränkt: bei sehr hohen Tablet-Hochformaten
       (z.B. iPad 834x1194) berechnete "cover" sonst einen so extremen Zoom,
       dass der Controller weit in die Textspalte hineinragte. Die
       orientation:portrait-Bedingung stellt sicher, dass Querformat-Handys
       (z.B. Pixel 9 quer, 756px breit - hätte sonst auch hierher gegriffen)
       weiterhin ihre eigene, dafür abgestimmte Behandlung bekommen. */
    .slide-bg-image {
        background-size: 200% auto;
        background-position: 70% 50%;
        transform: scale(1);
        /* war zuerst 0.7, dann 0.85 - jetzt ganz entfernt (siehe Kommentar
           im 992px-Block oben): keine Stufe/Sprung mehr zwischen
           Desktop/Tablet/Handy, überall gleich hell. */
    }

    .slide.active .slide-bg-image {
        transform: scale(1);
    }

    .slide[data-index="0"] .slide-bg-image {
        background-size: 220% auto;
        background-position: 78% 48%;
    }

    .slide[data-index="1"] .slide-bg-image {
        background-size: 195% auto;
        background-position: 73% 45%;
    }

    .slide[data-index="2"] .slide-bg-image {
        background-size: 220% auto;
        background-position: 68% 48%;
    }

    .slide[data-index="3"] .slide-bg-image {
        background-size: 175% auto;
        background-position: 69% 50%;
    }

    /* Statt des leeren dunklen Verlaufs oben/unten (wo das schmal
       zugeschnittene Foto nicht hinreicht) liegt jetzt dasselbe Foto noch
       einmal unscharf/vergrößert als Hintergrund dahinter (wie Album-Cover-
       Hintergründe bei Spotify o.ä.) - füllt die komplette Fläche, ohne dass
       am eigentlichen (scharfen) Produktfoto etwas beschnitten wird. */
    .slide-bg::after {
        content: '';
        position: absolute;
        inset: -20px;
        z-index: 0;
        background-size: cover;
        background-repeat: no-repeat;
        /* brightness war 0.75 (25% dunkler als Original) - trug zusammen
           mit dem Verdunklungs-Verlauf zum insgesamt dunkleren Eindruck
           gegenüber Tablet/Desktop bei. */
        filter: blur(30px) saturate(1.4) brightness(1);
        transform: scale(1.1);
    }

    .slide[data-index="0"] .slide-bg::after {
        background-image: url('images/slide1-basic-tmr.png');
        background-position: 70% 48%;
    }

    .slide[data-index="1"] .slide-bg::after {
        background-image: url('images/slide2-awk-one.png');
        background-position: 73% 45%;
    }

    .slide[data-index="2"] .slide-bg::after {
        background-image: url('images/slide3-awk-two.png');
        background-position: 68% 48%;
    }

    .slide[data-index="3"] .slide-bg::after {
        background-image: url('images/produkt4-switch.png');
        background-position: 69% 50%;
    }
}

/* Tablet-Hochformat (z.B. iPad 834x1194): weniger extrem hohes
   Seitenverhältnis als ein Handy (0.7 statt 0.46) - bei gleicher
   breiten-basierter background-size wird das Produkt dadurch
   rechnerisch ein gutes Stück "höher" (deckt mehr der verfügbaren
   Höhe ab) und ragt in die Textspalte. Größe hier gezielt reduziert. */
@media (min-width: 700px) and (max-width: 900px) and (orientation: portrait) {
    .slide[data-index="0"] .slide-bg-image {
        background-size: 145% auto;
        background-position: 82% 46%;
    }

    .slide[data-index="1"] .slide-bg-image {
        background-size: 130% auto;
    }

    .slide[data-index="2"] .slide-bg-image {
        background-size: 145% auto;
    }

    .slide[data-index="3"] .slide-bg-image {
        background-size: 115% auto;
    }
}

/* Nur Galaxy Tab S4 Hochformat (712x1138) - bewusst schmaler als der
   700-900px-Block oben, damit das iPad (834px) davon unberuehrt bleibt.
   Produktfotos sassen zu tief (viel leerer/unscharfer Bereich unter dem
   Produkt) - Position pro Slide angehoben. */
@media (min-width: 700px) and (max-width: 767px) and (orientation: portrait) {
    /* Unscharfer/vergroesserter Foto-Hintergrund (fuellt sonst den Bereich
       unter dem scharfen Produktfoto bis zum Bildende) entfernt - stattdessen
       zeigt sich dort die einfache dunkle Verlaufsfarbe von .slide-bg
       (inline gesetzt), kein Blur-Matsch mehr. */
    .slide-bg::after {
        display: none;
    }

    .slide[data-index="0"] .slide-bg-image {
        background-position: 82% 0%;
    }

    .slide[data-index="1"] .slide-bg-image {
        background-size: 145% auto;
        background-position: 82% 0%;
    }

    .slide[data-index="2"] .slide-bg-image {
        background-position: 82% 0%;
    }

    .slide[data-index="3"] .slide-bg-image {
        background-size: 145% auto;
        background-position: 82% 0%;
    }

    /* Buttons aller Slides auf die Y-Position des TMR-Stick-Slides (index 1)
       angeglichen - je nach Titel-/Text-Laenge lag die Button-Reihe sonst
       unterschiedlich hoch. transform statt margin-top, weil margin-top
       hier mit der margin-bottom von .slide-desc kollabiert waere.
       !important noetig, weil ".slide.active .slide-actions" per Animation
       (fadeInUp, fill-mode "both") sonst den transform-Wert ueberschreibt. */
    .slide[data-index="0"] .slide-actions {
        transform: translateY(94.3px) !important;
    }

    .slide[data-index="2"] .slide-actions {
        transform: translateY(35.25px) !important;
    }

    .slide[data-index="3"] .slide-actions {
        transform: translateY(23.8px) !important;
    }

    /* TMR-Stick-Slide (index 1): "Jetzt anfragen"/"Preise" sind kurz genug,
       um trotz schmaler Textspalte nebeneinander zu passen - fuer ein
       einheitliches Bild mit den anderen 3 Slides hier erzwungen
       untereinander (wie ueberall sonst). */
    .slide[data-index="1"] .slide-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Leerflaeche zwischen Produktfoto und Laufband entfernen: .hero und
       .hero-slider erzwingen sonst 100vh/100dvh, egal wie viel Platz
       Foto/Text wirklich brauchen - der Rest darunter war nur die leere,
       pro Slide unterschiedlich eingefaerbte Verlaufsflaeche (mal cyan,
       mal violett, gruen, blau - wie die Slide-Akzentfarben).
       .hero-slider jetzt exakt auf die tatsaechliche Fotohoehe gekuerzt
       (alle 4 Bilder sind 1672x941px, bei 145% Breite/auto Hoehe und
       ~712px Viewportbreite ergibt das ca. 581px Bildhoehe, Foto ist
       oben buendig (background-position Y:0%) - .slide-bg hat
       overflow:hidden, alles darunter wird dadurch einfach abgeschnitten
       statt als leere Flaeche sichtbar zu sein). .eyecatcher (position:
       static, siehe oben) folgt direkt danach, ganz ohne Luecke.
       .slide-content mit !important, weil dessen Basisregel spaeter im
       File steht und sonst weiterhin 100vh erzwingen wuerde. */
    .hero {
        min-height: auto;
    }

    .hero-slider {
        min-height: 581px;
        height: 581px;
    }

    /* .slider-controls/.ai-badge--hero haengen an .hero (nicht an
       .hero-slider) - .hero ist jetzt .hero-slider (581px) + Laufband
       (~50px hoch) = ca. 631px. bottom-Werte darauf umgerechnet, damit
       Punkte/Badge kurz oberhalb des unteren Fotorands sitzen, nicht im
       (jetzt entfernten) leeren Bereich darunter. */
    .slider-controls {
        bottom: 111px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    /* Das "KI-generiert"-Badge erbt sonst bottom:140px von der
       Basisregel - ohne !important wuerde sie hier gewinnen, siehe
       .slider-controls oben fuer denselben Fall. */
    .ai-badge--hero {
        bottom: 30px !important;
        right: 16px !important;
        height: 42px !important;
    }

    .slide-content {
        min-height: auto !important;
    }

    /* Auf dem Tab S4 sollen bei "TMR-Umbau & Preise" gleich alle 4
       Angebote direkt sichtbar sein statt einzeln durchslidern zu
       muessen. Karten sind ab 768px per Basisregel schon 100% breit
       (1 pro Zeile) - hier zusaetzlich flex-wrap:wrap, damit sie
       einfach untereinander stehen statt in einer ueberbreiten Zeile
       zu verschwinden (Slider-Track ist sonst nowrap + per JS
       verschiebbar). Passendes JS-Update in script.js noetig (siehe
       getVisibleCards), sonst versucht der Slider trotzdem zu
       paginieren/zu verschieben. */
    .product-slider-track {
        flex-wrap: wrap;
    }

    /* Karten kompakter (2 pro Reihe wie bei "Der Ablauf" .ablauf-steps
       bei dieser Breite), statt jede einzeln ueber die volle Breite -
       !important, weil die 100%-Regel bei max-width:768px spaeter im
       File steht und sonst gewinnen wuerde. */
    .product-slider-track > .product-card {
        flex: 0 0 calc((100% - var(--slider-gap)) / 2) !important;
        max-width: calc((100% - var(--slider-gap)) / 2) !important;
    }

    /* AI-Badge auf den Produktkarten etwas groesser als die
       Basisregel (30px) - !important, weil die Basisregel spaeter im
       File steht und sonst gewinnen wuerde. */
    .ai-badge--card {
        height: 40px !important;
    }
}

/* Moto G Power Hochformat (412x823, Chrome-DevTools-Standardpreset).
   Der Hero-Foto-Crop-Ansatz vom Tab S4 (Hero auf reine Fotohoehe
   kuerzen) funktioniert bei dieser schmaleren Breite NICHT: der
   Titeltext braucht bei 412px deutlich mehr Zeilen/Hoehe als bei
   712px, dadurch ueberlappten Titel/Slider-Punkte/AI-Badge/Laufband.
   Der Hero bleibt deshalb bewusst beim normalen Verhalten (volle
   Bildschirmhoehe) - nur "Foto reicht bis zum Header" und "alle 4
   Angebote ohne Slider" werden uebernommen. */
@media (min-width: 390px) and (max-width: 430px) and (orientation: portrait) {
    /* Foto reicht bis hoch zum Header (wie beim Tab S4): Y-Position der
       allgemeinen Portrait-Regel (max-width:900px, Y ca. 45-50%) zeigt
       die Bildmitte und laesst dadurch oben Platz/leeren Verlauf vor
       dem eigentlichen Produktfoto. Y auf 0% (oben buendig) gesetzt,
       X-Werte pro Slide unveraendert gelassen. */
    .slide[data-index="0"] .slide-bg-image {
        background-position: 78% 0%;
    }

    .slide[data-index="1"] .slide-bg-image {
        background-position: 73% 0%;
    }

    .slide[data-index="2"] .slide-bg-image {
        background-position: 68% 0%;
    }

    .slide[data-index="3"] .slide-bg-image {
        background-position: 69% 0%;
    }

    /* Alle 4 Angebote direkt untereinander sichtbar statt einzeln
       durchzuslidern - Karten sind ab 768px per Basisregel schon
       100% breit (1 pro Zeile), hier zusaetzlich flex-wrap:wrap
       (Slider-Track ist sonst nowrap + per JS verschiebbar).
       Passendes JS-Update in script.js noetig (siehe
       getVisibleCards). */
    .product-slider-track {
        flex-wrap: wrap;
    }

    /* 2x2 wie beim Tab S4, statt einzeln untereinander - !important,
       weil die 100%-Regel bei max-width:768px spaeter im File steht
       und sonst gewinnen wuerde. */
    .product-slider-track > .product-card {
        flex: 0 0 calc((100% - var(--slider-gap)) / 2) !important;
        max-width: calc((100% - var(--slider-gap)) / 2) !important;
    }
}

.slide-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-cyan {
    background: var(--cyan);
    top: 10%;
    right: 10%;
}

.glow-purple {
    background: var(--purple);
    top: 10%;
    right: 10%;
}

.glow-green {
    background: var(--green);
    top: 10%;
    right: 10%;
}

.slide-content {
    position: relative;
    display: flex;
    /* flex-start statt center: der Inhalt hängt fest an padding-top (unter dem
       Header) und wächst bei Bedarf nach unten. Bei "center" würde eine falsch
       berechnete/zu kleine 100vh/100dvh (z.B. Android-Chrome Desktop-Modus,
       manche WebViews) den Inhalt nach oben unter/in den Header schieben. */
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: var(--vh100, 100dvh);
    gap: clamp(24px, 4vw, 60px);
    /* muss den fixierten Header (76px) frei lassen + etwas Puffer */
    padding-top: 100px;
    padding-bottom: 40px;
}

/* Niedriges Fenster: etwas weniger Abstand zum (dann kleineren) Header */
@media (max-height: 760px) {
    .slide-content {
        padding-top: 96px;
    }
}

/* Desktop maximiert - Text weiter nach links außen */
@media (min-width: 1400px) {
    .slide .container.slide-content {
        max-width: 100%;
        padding-left: 5%;
        padding-right: 50%;
        margin: 0;
    }
    
    .slide-text {
        max-width: 600px;
    }
}

@media (min-width: 1600px) {
    .slide .container.slide-content {
        padding-left: 6%;
        padding-right: 55%;
    }
}

@media (min-width: 1920px) {
    .slide .container.slide-content {
        padding-left: 8%;
        padding-right: 55%;
    }
    
    .slide-text {
        max-width: 700px;
    }
}

.slide-text {
    flex: 1;
    max-width: 560px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.slide-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bleibt immer im Blau des Dunkel-Designs, unabhängig vom Theme-Wechsel.
   !important, weil [data-theme="light"] .gradient-text weiter unten sonst
   wegen höherer Spezifität einen lila/pinken Verlauf einsetzen würde. */
.gradient-text--always-dark {
    background: linear-gradient(135deg, #00f0ff, #0080ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
}

.gradient-text-purple {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bleibt immer im Lila/Pink des Dunkel-Designs, unabhängig vom Theme-Wechsel */
.gradient-text-purple--always-dark {
    background: linear-gradient(135deg, #b026ff, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.gradient-text-green {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bleibt immer im Grün des Dunkel-Designs, unabhängig vom Theme-Wechsel.
   text-shadow: none, weil .slide-title im Hell-Theme einen dunklen
   Schlagschatten vererbt, der sonst wie ein Farbwechsel aussieht. */
.gradient-text-green--always-dark {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.slide-desc {
    font-size: clamp(14px, 1.5vw, 17px);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: clamp(20px, 3vw, 36px);
    max-width: 480px;
}

/* Bleibt in beiden Themes wie im Hell-Modus (helles Weiß) -
   unabhängig vom Theme-Wechsel Hell/Dunkel */
.slide-desc--always-light {
    color: rgba(255, 255, 255, 0.85);
}

.slide-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
}

.btn-purple {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.btn-green {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn:hover .btn-shine {
    left: 100%;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-3px);
}

.btn-outline-purple:hover {
    border-color: var(--purple);
    background: rgba(176, 38, 255, 0.05);
}

.btn-outline-green:hover {
    border-color: var(--green);
    background: rgba(0, 255, 136, 0.05);
}

/* Hero-Buttons bleiben immer im Look des Dunkel-Designs, unabhängig vom
   Theme-Wechsel (Basis = Blau/Cyan wie "Mehr zur Technik"; die grüne
   Variante bei "Vorteile ansehen" / "Zum Testbereich" überschreibt das
   per zusätzlicher .btn-*-green-Klasse dank höherer Spezifität) */
.btn-primary--always-dark {
    background: linear-gradient(135deg, #00f0ff, #0080ff) !important;
    color: #000 !important;
}

.btn-green--always-dark {
    background: linear-gradient(135deg, #00ff88, #00cc66) !important;
    color: #000 !important;
}

.btn-purple--always-dark {
    background: linear-gradient(135deg, #b026ff, #ff0080) !important;
    color: #000 !important;
}

/* Zweiter Hero-Button (frueher nur Rahmen/durchsichtig): jetzt mit
   farbig getoenter, leicht transparenter Flaeche in der Akzentfarbe des
   jeweiligen Slides (Cyan / Gruen / Lila), Rahmen in derselben Farbe.
   Hover: Toenung kraeftiger. */
.btn-outline--always-dark {
    border-color: rgba(0, 240, 255, 0.55) !important;
    color: #fff !important;
    background: rgba(0, 240, 255, 0.16) !important;
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.08) inset, 0 6px 22px rgba(0, 240, 255, 0.12);
}

.btn-outline--always-dark:hover {
    border-color: #00f0ff !important;
    color: #fff !important;
    background: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.15) inset, 0 8px 28px rgba(0, 240, 255, 0.28);
}

.btn-outline-green.btn-outline--always-dark {
    border-color: rgba(0, 255, 136, 0.55) !important;
    background: rgba(0, 255, 136, 0.16) !important;
    box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.08) inset, 0 6px 22px rgba(0, 255, 136, 0.12);
}

.btn-outline-green.btn-outline--always-dark:hover {
    border-color: #00ff88 !important;
    background: rgba(0, 255, 136, 0.3) !important;
    box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.15) inset, 0 8px 28px rgba(0, 255, 136, 0.28);
}

.btn-outline-purple.btn-outline--always-dark {
    border-color: rgba(176, 38, 255, 0.6) !important;
    background: rgba(176, 38, 255, 0.18) !important;
    box-shadow: 0 0 0 1px rgba(176, 38, 255, 0.08) inset, 0 6px 22px rgba(176, 38, 255, 0.14);
}

.btn-outline-purple.btn-outline--always-dark:hover {
    border-color: #b026ff !important;
    background: rgba(176, 38, 255, 0.32) !important;
    box-shadow: 0 0 0 1px rgba(176, 38, 255, 0.15) inset, 0 8px 28px rgba(176, 38, 255, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Slide Visual */
.slide-visual {
    display: none; /* Vorschaubilder ausgeblendet - Hintergrundbilder bleiben */
}

.controller-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.controller-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--cyan);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.controller-glow.glow-purple { background: var(--purple); }
.controller-glow.glow-green { background: var(--green); }

.controller-model {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.controller-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

/* Eigene Controller-Bilder (Slider) */
.controller-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    border-radius: 12px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

.floating-badge {
    position: absolute;
    display: none; /* Badges deaktiviert – auf "flex" setzen um sie wieder einzublenden */
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(12, 12, 29, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    z-index: 3;
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-1 { top: 10%; right: 0; animation-delay: 0s; }
.badge-2 { bottom: 30%; left: -5%; animation-delay: 1.5s; }
.badge-3 { bottom: 10%; right: 5%; animation-delay: 3s; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    font-size: 18px;
}

.badge-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    background: rgba(6, 6, 17, 0.6);
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    width: 48px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0.5;
    animation: fadeInUp 1s ease 1s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border-radius: 12px;
    border: 2px solid var(--text-muted);
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--cyan);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-indicator span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ===== EYECATCHER MARQUEE =====
   Sitzt jetzt im Hero (wie das Laufband bei AWK-TECH) und ist dadurch
   sofort ohne Scrollen sichtbar, statt erst unterhalb des Sliders. */
.eyecatcher {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    padding: 16px 0;
    background: linear-gradient(0deg, rgba(6, 6, 17, 0.88), rgba(6, 6, 17, 0.72));
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    border-top: 1px solid var(--border);
    overflow: hidden;
}

/* Galaxy Tab S4 Hochformat (712x1138): Laufband lag bisher als Overlay
   (position:absolute, bottom:0) ueber dem unteren Bildrand des Sliders.
   .eyecatcher ist im Markup bereits ein Geschwister-Element direkt nach
   .hero-slider (nicht darin verschachtelt) - durch position:static
   landet es dadurch von selbst direkt unterhalb des Sliderbildes, kein
   zusaetzlicher Versatz noetig.
   Eigener dunkler Hintergrund (Basisregel) bleibt hier bewusst erhalten
   (nicht mehr auf "none" gesetzt) - sonst scheint im hellen Theme der
   helle Seitenhintergrund durch und der weisse Laufschrift-Text wird
   unlesbar. */
@media (min-width: 700px) and (max-width: 767px) and (orientation: portrait) {
    .eyecatcher {
        position: static;
    }
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    gap: 24px;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #fff;
    text-transform: uppercase;
}

.marquee-sep {
    color: #fff;
    font-size: 12px;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(30px, 5vw, 60px);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Kräftiger Kontrast statt gedämpftem Grau: weiß im Dunkel-, schwarz im Hell-Design.
   !important, damit es z.B. auch .vorteil-card p (Klasse+Element, höhere
   Spezifität) zuverlässig überschreibt, egal in welchem Element es steckt. */
.section-desc--strong,
.text-strong {
    color: #fff !important;
}

[data-theme="light"] .section-desc--strong,
[data-theme="light"] .text-strong {
    color: #000 !important;
}

/* ===== PRODUCTS ===== */
.products {
    padding: clamp(60px, 8vw, 100px) 0;
    position: relative;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Product Slider */
.product-slider {
    position: relative;
    padding: 0 clamp(40px, 5vw, 60px);
}

.product-slider-viewport {
    overflow: hidden;
}

.product-slider-track {
    --slider-gap: 24px;
    display: flex;
    gap: var(--slider-gap);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    align-items: stretch;
}

.product-slider-track > .product-card {
    flex: 0 0 calc((100% - 3 * var(--slider-gap)) / 4);
    max-width: calc((100% - 3 * var(--slider-gap)) / 4);
    min-width: 0;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.2);
}

.product-card.featured {
    border-color: rgba(176, 38, 255, 0.3);
}

.product-card.featured:hover {
    border-color: rgba(176, 38, 255, 0.5);
}

/* Farbige Kartenrahmen */
.product-card.card-blue {
    border-color: rgba(0, 140, 255, 0.3);
}

.product-card.card-blue:hover {
    border-color: rgba(0, 140, 255, 0.5);
}

.product-card.card-green {
    border-color: rgba(0, 255, 136, 0.3);
}

.product-card.card-green:hover {
    border-color: rgba(0, 255, 136, 0.5);
}

.product-card.card-orange {
    border-color: rgba(255, 107, 53, 0.3);
}

.product-card.card-orange:hover {
    border-color: rgba(255, 107, 53, 0.5);
}

.card-glow.glow-blue { background: rgba(0, 140, 255, 1); }

.card-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: var(--cyan);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card-glow.glow-purple { background: var(--purple); }
.card-glow.glow-green { background: var(--green); }
.card-glow.glow-red { background: var(--red); }

.product-card:hover .card-glow {
    opacity: 0.1;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: #fff;
    border-radius: 6px;
    z-index: 2;
}

.badge-hot { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; }
.badge-new { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; }
.badge-limited { background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; }

.card-image {
    padding: 30px 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* KI-Kennzeichnung direkt am Bild (Art. 50 EU AI Act) */
.ai-badge {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    display: block;
    width: auto;
}

.ai-badge--hero {
    bottom: 140px;
    right: 28px;
    height: 38px;
    z-index: 25;
}

.ai-badge--card {
    bottom: 8px;
    right: 8px;
    height: 30px;
}

/* Touch-Geraete: "AI modified"-Label auf den Angebotskarten groesser
   (30 -> 46px), sonst nach der Herunterskalierung kaum lesbar. */
@media (hover: none) and (pointer: coarse) {
    .ai-badge--card {
        height: 46px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 600px) {
    .ai-badge--hero {
        bottom: 130px;
        right: 16px;
    }
}

.product-controller {
    width: 100%;
    max-width: 280px;
    height: auto;
    transition: transform 0.4s ease;
}

.product-card:hover .product-controller {
    transform: scale(1.05) translateY(-5px);
}

/* Eigene Produkt-Bilder (Karten) */
.product-img {
    width: 100%;
    max-width: 280px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.4s ease, opacity 0.35s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    border-radius: 8px;
}

.product-card:hover .product-img,
.product-card:active .product-img {
    transform: scale(1.05) translateY(-5px);
}

/* Zweites Bild bei Hover (Maus) bzw. Antippen (Touch) */
.product-img--hover {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
}

.product-card:hover .product-img--default,
.product-card:active .product-img--default {
    opacity: 0;
}

.product-card:hover .product-img--hover,
.product-card:active .product-img--hover {
    opacity: 1;
}

/* Automatischer Bildwechsel (JS), z.B. für Handy/Tablet ohne Maus-Hover */
.card-image.is-auto-swapped .product-img--default {
    opacity: 0;
}

.card-image.is-auto-swapped .product-img--hover {
    opacity: 1;
}

.card-info {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
}

.card-subtitle {
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 14px;
    /* Feste Mindesthoehe fuer 3 Zeilen (wie bei Playstations
       "DUALSHOCK 4 / DUALSENSE / DUALSENSE EDGE") - bei ALLEN 4 Karten
       gleich, statt einzeln pro Karte auszugleichen. Dadurch stehen
       Feature-Tags und Preis danach garantiert auf gleicher Hoehe,
       unabhaengig davon wie viele Zeilen der jeweilige Untertitel
       tatsaechlich braucht. */
    min-height: 54.6px; /* 3 Zeilen (13px * 1.4 * 3) */
}

/* Controllertypen untereinander (DUALSHOCK 4 / DUALSENSE / DUALSENSE
   EDGE, SERIES S / SERIES X, SWITCH PRO / JOY-CON) statt mit " | " bzw.
   " / " in einer Zeile - in allen Ansichten. */
.card-subtitle .ctype {
    display: block;
}

.card-subtitle .ctype-sep,
.card-subtitle br {
    display: none;
}

[data-theme="light"] .card-subtitle {
    color: #000;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

/* "PRO CONTROLLER" und "JOY-CON" sollen in der PC-Ansicht (Switch-Karte
   bei "TMR-Umbau & Preise") immer nebeneinander stehen statt zu
   umbrechen. */
.card-green .card-features {
    flex-wrap: nowrap;
}

.feature-tag {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(0, 240, 255, 0.08);
    color: var(--cyan);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 6px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* War margin-top:auto (unten verankert) - dadurch haette Diagnose
       (mit zusaetzlicher Zeile "wird bei Einbau verrechnet" NACH dem
       Footer) den Footer wieder nach oben verschoben, sobald alle
       Karten per align-items:stretch auf gleiche Hoehe gebracht werden.
       Jetzt direkt im normalen Fluss nach den Feature-Tags - zusammen
       mit dem Abstands-Ausgleich oben landet der Preis dadurch bei
       allen 4 Karten auf derselben Hoehe wie bei Playstation. */
}

.card-price {
    display: flex;
    flex-direction: column;
    /* Diagnose hat als einzige Karte eine 3. Zeile ("wird bei Einbau
       verrechnet") - dadurch wird ihre Reihe (mit Switch) im
       2x2-Grid hoeher als die Playstation/Xbox-Reihe (align-items:
       stretch gleicht nur INNERHALB derselben Flex-Zeile an, nicht
       zeilenuebergreifend). Feste Mindesthoehe fuer 3 Zeilen bei ALLEN
       Karten, damit beide Reihen (und damit alle 4 Preise) gleich hoch
       werden. */
    min-height: 51px;
}

.price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-note {
    font-size: 11px;
    color: #fff;
}

[data-theme="light"] .price-note {
    color: #000;
}

/* Zwei Preise in einer Karte (Switch): "39,90 € / 54,90 €" auf Hoehe der
   anderen Preise, darunter die Zuordnung "Switch Pro / Joy-Con". Preis
   etwas kleiner, damit beide Werte in die Kartenbreite passen. */
.card-price--dual .price-new {
    white-space: nowrap;
}

.card-price--dual .price-sep {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0 2px;
}

[data-theme="light"] .card-price--dual .price-sep {
    -webkit-text-fill-color: rgba(0, 0, 0, 0.5);
}

.card-price--dual .price-label,
.card-price--label .price-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 2px;
    /* mittig unter dem Preispaar: Block ist nur so breit wie das
       breiteste Kind (der Preis), Text darin zentriert */
    text-align: center;
}

.card-price--dual {
    width: max-content;
    max-width: 100%;
}

.card-price--dual .price-note {
    text-align: center;
}

[data-theme="light"] .card-price--dual .price-label,
[data-theme="light"] .card-price--label .price-label {
    color: #000;
}

@media (hover: none) and (pointer: coarse) {
    /* so gross wie moeglich, aber "39,90 € / 54,90 €" muss in die
       227px breite Karte passen (26px wie die anderen waeren ca. 273px) */
    .card-price--dual .price-new {
        font-size: 21px;
    }

    .card-price--dual .price-label,
    .card-price--label .price-label {
        font-size: 14px;
    }
}

.price-new {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 700;
    /* feste Dunkel-Theme-Farben statt Variablen, damit der Preis im hellen
       Theme genauso leuchtend cyan/blau bleibt wie im dunklen */
    background: linear-gradient(135deg, #00f0ff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.card-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.card-btn.btn-purple { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; }
.card-btn.btn-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.card-btn.btn-red { background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; }

/* Product Slider Navigation */
.product-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(6, 6, 17, 0.85);
    border: 1px solid var(--border);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.product-slider-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.product-slider-prev {
    left: 0;
}

.product-slider-next {
    right: 0;
}

.product-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.product-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.product-slider-dot:hover {
    background: rgba(0, 240, 255, 0.3);
}

.product-slider-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    border-color: var(--cyan);
}

/* ===== FEATURES / VORTEILE ===== */
.features {
    padding: clamp(60px, 8vw, 100px) 0;
}

/* ===== VORTEILE-GRID (Kästchen-Design wie "Leistungen" bei AWK-TECH) ===== */
.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: clamp(30px, 5vw, 50px);
}

.vorteil-card {
    position: relative;
    background: var(--bg-card);
    padding: clamp(28px, 3vw, 36px) clamp(22px, 2.5vw, 28px);
    transition: background 0.3s ease;
}

.vorteil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color, var(--cyan));
}

.vorteil-card:hover {
    background: var(--bg-card-hover);
}

.vorteil-card[data-color="cyan"] { --accent-color: var(--cyan); }
.vorteil-card[data-color="purple"] { --accent-color: var(--purple); }
.vorteil-card[data-color="green"] { --accent-color: var(--green); }
.vorteil-card[data-color="red"] { --accent-color: var(--red); }
.vorteil-card[data-color="gold"] { --accent-color: var(--gold); }
.vorteil-card[data-color="cyan-purple"]::before {
    background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.vorteil-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.vorteil-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .vorteile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .vorteile-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ABLAUF ===== */
.ablauf {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--bg-card);
}

.ablauf-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(30px, 5vw, 50px);
}

.ablauf-step {
    position: relative;
    text-align: center;
    padding: clamp(24px, 2.5vw, 30px) clamp(16px, 1.8vw, 20px);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-dark);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ablauf-step:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color, var(--cyan));
}

/* Verbindungslinie zwischen den Schritten (nur Desktop-Grid) */
.ablauf-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    left: 100%;
    width: clamp(16px, 2vw, 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color, var(--cyan)), transparent);
}

.ablauf-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 50%;
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 800;
    color: #000;
    background: var(--accent-color, var(--cyan));
    box-shadow: 0 0 20px var(--accent-color, var(--cyan));
}

.ablauf-step h3 {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.ablauf-step p {
    font-size: 13px;
    line-height: 1.6;
}

.ablauf-step[data-color="cyan"]   { --accent-color: var(--cyan); }
.ablauf-step[data-color="purple"] { --accent-color: var(--purple); }
.ablauf-step[data-color="orange"] { --accent-color: var(--orange); }
.ablauf-step[data-color="green"]  { --accent-color: var(--green); }
.ablauf-step[data-color="red"]    { --accent-color: var(--red); }
.ablauf-step[data-color="gold"]   { --accent-color: var(--gold); }

/* Verbindungslinie nur innerhalb einer Reihe -> am Zeilenende (jedes 3.
   Element) ausblenden, sonst würde sie zur nächsten Reihe "springen" */
.ablauf-step:nth-child(3n)::after {
    display: none;
}

[data-theme="light"] .ablauf-step {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .ablauf-step h3 {
    color: #1a1a2e;
}

@media (max-width: 820px) {
    .ablauf-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .ablauf-step:nth-child(3n)::after {
        display: block;
    }
    .ablauf-step:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 560px) {
    .ablauf-steps {
        grid-template-columns: 1fr;
    }
    .ablauf-step::after {
        display: none;
    }
}

/* ===== ÜBER UNS / ABOUT ===== */
.about {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--bg-card);
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    margin-top: clamp(30px, 5vw, 60px);
}

/* About Visual / Bild */
.about-visual {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-wrap:hover .about-img {
    transform: scale(1.05);
}

.about-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(176, 38, 255, 0.1) 100%);
    pointer-events: none;
}

.about-stats-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 3;
}

.about-stat-badge {
    background: rgba(12, 12, 29, 0.95);
    border: 1px solid var(--cyan);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    animation: badgeFloat 4s ease-in-out infinite;
}

.about-stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
}

.about-stat-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Text */
.about-text h3.about-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.about-text > p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Values / USPs */
.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-value:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateX(6px);
}

.about-value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.about-value strong {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.about-value p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* About Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
        gap: 24px;
    }

    .about-img {
        height: 220px;
    }

    .about-stats-float {
        bottom: -15px;
        right: 10px;
    }

    .about-stat-badge {
        padding: 12px 18px;
    }

    .about-stat-number {
        font-size: 22px;
    }

    .about-text h3.about-subtitle {
        font-size: 18px;
    }
}

.cta-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg-dark);
    margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

.trust-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: clamp(60px, 8vw, 100px) 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.testimonial-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.15);
}

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars span {
    color: var(--gold);
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

[data-theme="light"] .author-name {
    color: #000;
}

.author-title {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact {
    padding: clamp(60px, 8vw, 100px) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: clamp(30px, 5vw, 60px);
    align-items: start;
}

.contact-info {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-item {
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease,
                box-shadow 0.3s ease, background 0.3s ease;
}

.contact-item-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.08);
}

.contact-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item-text strong {
    font-family: 'Orbitron', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff !important;
}

[data-theme="light"] .contact-item-text strong {
    color: #000 !important;
}

.contact-item-text .text-strong {
    font-size: 16px;
    font-weight: 600;
}

.contact-item:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: 0 10px 34px rgba(0, 240, 255, 0.18);
}

.contact-item--wa .contact-item-icon {
    background: rgba(0, 255, 136, 0.1);
}

.contact-item--wa:hover {
    border-color: var(--green);
    box-shadow: 0 10px 34px rgba(0, 255, 136, 0.18);
}

/* Dritter Button "Direktanfrage": springt zum Formular. Der Pfeil sitzt
   am rechten Rand und zeigt auf das Formular rechts daneben; sobald die
   Kontakt-Spalten untereinander stehen (schmale Breiten), zeigt er nach
   unten. */
.contact-item--form {
    position: relative;
    padding-inline: 64px; /* links gleich viel, damit Icon+Text mittig bleiben */
}

.contact-item--form .contact-item-icon {
    background: rgba(184, 41, 255, 0.1);
}

.contact-item--form:hover {
    border-color: var(--purple);
    box-shadow: 0 10px 34px rgba(184, 41, 255, 0.18);
}

.contact-item-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: var(--purple);
    animation: contact-arrow-nudge 1.4s ease-in-out infinite;
}

@keyframes contact-arrow-nudge {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%      { transform: translateY(-50%) translateX(6px); }
}

/* Unterhalb von ca. 770px stehen Kontakt-Infos und Formular untereinander
   (contact-grid: 2 x 350px + gap passen nicht mehr) - Pfeil nach unten. */
@media (max-width: 770px) {
    .contact-item-arrow {
        transform: translateY(-50%) rotate(90deg);
        animation: contact-arrow-nudge-down 1.4s ease-in-out infinite;
    }

    @keyframes contact-arrow-nudge-down {
        0%, 100% { transform: translateY(-50%) rotate(90deg) translateX(0); }
        50%      { transform: translateY(-50%) rotate(90deg) translateX(6px); }
    }
}

/* Ueberschrift "TMR-UMBAU ANFRAGEN" steht (wie bei den anderen Sections)
   zentriert ueber beiden Spalten - die 600px-Begrenzung des
   .section-header reicht fuer den Grossbuchstaben-Titel nicht, sonst
   bricht "ANFRAGEN" in eine zweite Zeile. */
.contact .section-header {
    max-width: 760px;
}

/* Contact Social Links - zentriert */
.contact-social {
    display: flex;
    justify-content: center;
    padding-top: clamp(60px, 7vw, 90px);
    padding-bottom: clamp(20px, 3vw, 40px);
}

.contact-social .social-links {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.contact-social .social-link {
    width: 52px;
    height: 52px;
}

.contact-social .social-link svg {
    width: 24px;
    height: 24px;
}

.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 36px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300f0ff' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select:invalid {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Status Messages */
.form-status {
    margin-bottom: 16px;
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.6;
    transition: var(--transition);
}

.form-status:empty {
    display: none;
}

.form-status.form-success {
    display: block;
    padding: 14px 18px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: var(--green);
}

.form-status.form-error {
    display: block;
    padding: 14px 18px;
    background: rgba(255, 32, 96, 0.08);
    border: 1px solid rgba(255, 32, 96, 0.25);
    color: var(--red);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    padding: clamp(40px, 6vw, 80px) 0 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(24px, 4vw, 48px);
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
    margin-bottom: 16px;
}
.footer-brand .logo-img {
    height: 64px;
    max-width: 300px;
    transform: none;
    filter: var(--logo-filter);
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
}

/* Widerrufs-Button nach § 356a BGB — muss gut sichtbar & auf jeder Seite erreichbar sein */
/* Höher spezifischer Selektor (.footer-links a.footer-widerruf-btn) nötig, damit die
   generischen Footer-Link-Styles (display:block, graue Farbe, translateX-Hover) den
   Button nicht überschreiben. */
.footer-bottom a.footer-widerruf-btn,
.footer-links a.footer-widerruf-btn {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: 30px;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.footer-bottom a.footer-widerruf-btn:hover,
.footer-links a.footer-widerruf-btn:hover {
    background: var(--cyan);
    color: #05050a;
    transform: none;
}

[data-theme="light"] .footer-bottom a.footer-widerruf-btn,
[data-theme="light"] .footer-links a.footer-widerruf-btn {
    color: var(--cyan-dark);
    border-color: var(--cyan-dark);
}

[data-theme="light"] .footer-bottom a.footer-widerruf-btn:hover,
[data-theme="light"] .footer-links a.footer-widerruf-btn:hover {
    background: var(--cyan-dark);
    color: #fff;
}

/* Variante innerhalb der "Rechtliches"-Linkspalte: in der gleichen Zeilenhöhe/Schrift
   wie die anderen Links, aber mit dezentem Rahmen zur Hervorhebung. */
.footer-links a.footer-widerruf-btn--inline {
    display: inline-block;
    width: auto;
    padding: 4px 12px;
    margin: 4px 0 2px -12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    border: 1px solid var(--cyan);
    border-radius: 6px;
}

.footer-links a.footer-widerruf-btn--inline:hover {
    background: var(--cyan);
    color: #05050a;
    transform: none;
}

[data-theme="light"] .footer-links a.footer-widerruf-btn--inline {
    border-color: var(--cyan-dark);
}

[data-theme="light"] .footer-links a.footer-widerruf-btn--inline:hover {
    background: var(--cyan-dark);
    color: #fff;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icon {
    padding: 4px 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide.active .title-line:nth-child(1) { animation: fadeInUp 0.6s ease 0.3s both; }
.slide.active .title-line:nth-child(2) { animation: fadeInUp 0.6s ease 0.4s both; }
.slide.active .title-line:nth-child(3) { animation: fadeInUp 0.6s ease 0.5s both; }
.slide.active .slide-desc { animation: fadeInUp 0.6s ease 0.6s both; }
.slide.active .slide-actions { animation: fadeInUp 0.6s ease 0.7s both; }
.slide.active .controller-model { animation: fadeInUp 0.8s ease 0.4s both, float 6s ease-in-out 1.2s infinite; }
.slide.active .floating-badge { animation: fadeInUp 0.6s ease 0.8s both, badgeFloat 4s ease-in-out 1.4s infinite; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
/* Header klappt etwas früher aufs Menüsymbol um, damit auf kleineren
   Laptop-Bildschirmen (z. B. 1366px) schon der Hamburger statt der vollen Nav steht */
/* Klappmenue auf ALLEN Breiten (auch am PC) - die frueher ab 1440px
   eingeblendete Menueleiste entfaellt. Der Block war ein
   "@media (max-width: 1440px)" und gilt jetzt immer. */
@media (min-width: 0px) {
    /* Klappmenue als schmales Panel rechts unter dem Menue-Symbol - nur
       so breit wie die Menuepunkte. Bleibt immer im DOM (kein
       display:none), damit Ein-/Ausklappen animiert werden kann:
       Panel faehrt leicht von oben herunter und blendet ein, die
       Menuepunkte folgen gestaffelt. */
    .nav {
        position: absolute;
        top: calc(100% + 8px);
        right: clamp(1.1rem, 4vw, 3rem);
        left: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 0.4rem 1.4rem 0.8rem;
        min-width: 240px;
        background: rgba(6, 6, 17, 0.96);
        -webkit-backdrop-filter: blur(18px);
                backdrop-filter: blur(18px);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 240, 255, 0.08);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* zu: unsichtbar, leicht nach oben versetzt und minimal verkleinert */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px) scale(0.96);
        transform-origin: top right;
        transition: opacity 0.28s ease,
                    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                    visibility 0s linear 0.32s;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition: opacity 0.22s ease,
                    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
                    visibility 0s;
    }

    .nav-link {
        padding: 0.95rem 0.2rem;
        font-size: 16px;
        color: #fff;
        border-top: 1px solid var(--border);
        /* Menuepunkte rechts (unter dem Menue-Symbol) statt links */
        text-align: right;
        /* gestaffeltes Einblenden der Punkte */
        opacity: 0;
        transform: translateX(14px);
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color var(--transition);
    }
    .nav-link::after { display: none; }

    .nav.open .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    .nav.open .nav-link:nth-child(1) { transition-delay: 0.04s; }
    .nav.open .nav-link:nth-child(2) { transition-delay: 0.08s; }
    .nav.open .nav-link:nth-child(3) { transition-delay: 0.12s; }
    .nav.open .nav-link:nth-child(4) { transition-delay: 0.16s; }
    .nav.open .nav-link:nth-child(5) { transition-delay: 0.20s; }
    .nav.open .nav-link:nth-child(6) { transition-delay: 0.24s; }
    .nav.open .nav-link:nth-child(7) { transition-delay: 0.28s; }
    .nav.open .nav-link:nth-child(8) { transition-delay: 0.32s; }

    /* Erster Punkt ohne Trennlinie zum Panelrand */
    .nav .nav-link:first-child { border-top: 0; }

    /* Bewegung reduzieren, wenn im System gewuenscht */
    @media (prefers-reduced-motion: reduce) {
        .nav, .nav-link { transition-duration: 0.01s !important; transition-delay: 0s !important; }
    }

    /* .nav ist ausgeblendet -> Aktionsgruppe selbst nach rechts schieben */
    .header-actions {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    [data-theme="light"] .nav {
        background: rgba(255, 255, 255, 0.98);
    }
    [data-theme="light"] .nav-link { color: var(--text); }

    /* Aufgeklapptes Mobile-Menü hat immer einen (fast) deckenden weißen
       Hintergrund, auch wenn der Header selbst noch nicht .scrolled ist
       (Seite oben, Header transparent über dunklem Hero) -> die weiße
       Schriftfarbe fuer den unscrolled-Header darf hier nicht gelten,
       sonst ist der Text weiß auf weiß und unlesbar. */
    [data-theme="light"] .header:not(.scrolled) .nav.open .nav-link {
        color: var(--text);
    }
    [data-theme="light"] .header:not(.scrolled) .nav.open .nav-link:hover,
    [data-theme="light"] .header:not(.scrolled) .nav.open .nav-link.active {
        color: var(--cyan-dark);
    }
}

@media (max-width: 1200px) {
    .product-slider-track > .product-card {
        flex: 0 0 calc((100% - 2 * var(--slider-gap)) / 3);
        max-width: calc((100% - 2 * var(--slider-gap)) / 3);
    }
}

@media (max-width: 992px) {
    /* Vor/Zurueck-Pfeile nur auf dem Desktop - auf Tablet/Handy bedient
       man den Slider per Wischgeste bzw. ueber die Punkte, die Pfeile
       nehmen dort nur unnoetig Platz weg. */
    .slider-arrow {
        display: none;
    }

    .product-slider-track > .product-card {
        flex: 0 0 calc((100% - var(--slider-gap)) / 2);
        max-width: calc((100% - var(--slider-gap)) / 2);
    }

    .slide-content {
        justify-content: flex-start;
        text-align: left;
        gap: clamp(16px, 3vw, 40px);
        padding-top: 96px;
    }

    .slide-text {
        max-width: 55%;
    }

    .slide-desc {
        max-width: 100%;
    }

    .slide-actions {
        justify-content: flex-start;
    }

    .slide-visual {
        max-width: 350px;
    }

    .title-line {
        /* Untergrenze bewusst über der von .section-title (18px), damit die
           Hero-Headline auf dem Handy weiterhin sichtbar größer wirkt als
           normale Abschnitts-Überschriften - vorher trafen beide bei 20px
           auf denselben Floor und die Hierarchie ging verloren. */
        font-size: clamp(24px, 4.5vw, 48px) !important;
    }
}

/* Hero-Text im Hochformat proportional wie auf dem Desktop positionieren:
   Am PC (1600x900) endet die Button-Reihe bei ca. 68-74% der Viewport-Höhe,
   nicht direkt unter dem Header.
   WICHTIG: feste px-Werte (frühere Version: align-items:flex-end mit
   padding-top/-bottom in px) sehen auf einem 844px hohen Testgerät gut aus,
   liefen aber auf kürzeren echten Geräten (z.B. iPhone SE, ~577-667px hoch)
   über: der zweite Button wurde vom .hero-Overflow abgeschnitten bzw.
   überlappte die Slider-Pfeile. Deshalb hier bewusst zurück zu
   align-items:flex-start (sicher, siehe Kommentar an der Basis-Regel oben)
   und der Abstand nach oben in vh statt px - skaliert dadurch automatisch
   mit der tatsächlichen Gerätehöhe statt bei kurzen Screens zu überlaufen. */
@media (max-width: 600px) {
    .slide-content {
        align-items: flex-start;
        padding-top: clamp(90px, 22vh, 200px);
        padding-bottom: 40px;
        gap: clamp(12px, 2.5vh, 28px);
    }
}

/* Kurze Screens (z.B. iPhone SE, ~577-667px hoch): der fixe Header ist hier
   77px hoch - padding-top muss darüber liegen, sonst rutscht der Titel
   sichtbar unter/in den Header (siehe gleiches Problem vorher im
   Querformat). Erste Version war unnötig stark komprimiert (padding-top
   sogar unter Header-Höhe, dazu 2-Zeilen-Textlimit) und ließ trotzdem viel
   ungenutzten Platz zwischen Buttons und Slider-Pfeilen übrig - jetzt anhand
   echter Messung (iPhone SE: Header bis 77px, Slider-Pfeile ab ~470px von
   577px) neu verteilt. */
@media (max-width: 600px) and (max-height: 700px) {
    .slide-content {
        padding-top: clamp(90px, 16vh, 140px);
        padding-bottom: 16px;
        gap: 10px;
    }

    .title-line {
        font-size: clamp(20px, 4.3vw, 40px) !important;
    }

    .slide-desc {
        margin-bottom: 6px;
        font-size: 12px;
        /* 3 statt 5 Zeilen zeigen, aber nicht komplett auf 2 kürzen -
           genug Platz vorhanden (siehe Messung oben). */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide-actions {
        gap: 8px;
    }

    .slide-actions .btn {
        padding: 9px 18px;
        font-size: 11px;
    }
}

/* Hintergrund-Effekte auf Mobile beibehalten aber leicht reduzieren */
@media (max-width: 768px) {
    .cyber-grid { opacity: 0.3; }
    .nebula { filter: blur(80px); opacity: 0.08; }
    .corner-accent { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
    .product-slider-track > .product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-slider {
        padding: 0 40px;
    }

    .product-slider-btn {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        flex-direction: row;
        gap: 16px;
    }

    .slider-controls {
        bottom: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        /* nur links/rechts verengen - "padding: 0 12px" hat hier das
           padding-top von .slide-content (auch .container) auf 0 zurück-
           gesetzt und den Slider-Text in den Header geschoben */
        padding-inline: 12px;
    }

    .header-inner {
        padding-inline: 1rem;
        gap: 0.5rem;
    }
    
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .theme-toggle,
    .header-icon,
    .menu-toggle {
        width: 36px;
        height: 36px;
    }
    .theme-toggle svg,
    .header-icon svg { width: 16px; height: 16px; }
    
    .cart-btn {
        padding: 8px;
    }

    .slide-text {
        max-width: 65%;
    }

    .slide-desc {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .section-title {
        font-size: clamp(18px, 5vw, 32px);
    }

    .card-title {
        font-size: 14px;
    }

    .card-subtitle {
        font-size: 11px;
    }

    .feature-tag {
        font-size: 9px;
        padding: 2px 6px;
    }

    .price-new {
        font-size: 16px;
    }

    .price-old {
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .header-inner {
        padding: 0 4px;
    }
    
    .header-actions {
        gap: 4px;
    }
    
    .theme-toggle,
    .header-icon,
    .menu-toggle {
        width: 32px;
        height: 32px;
    }

    .theme-icon {
        width: 16px;
        height: 16px;
    }

    .cart-btn {
        padding: 6px;
    }

    .cart-btn svg {
        width: 18px;
        height: 18px;
    }

    .header-icon svg { width: 15px; height: 15px; }

    .menu-toggle span {
        width: 16px;
    }
}

/* ===== SECTION BACKGROUNDS ENHANCED ===== */

/* Products Section - Grid Glow */
.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05), transparent 60%);
    pointer-events: none;
    animation: sectionGlow 6s ease-in-out infinite;
}

@keyframes sectionGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* Features - Subtle Gradient Shift */
.features {
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 240, 255, 0.02) 0%,
        transparent 30%,
        rgba(176, 38, 255, 0.02) 60%,
        transparent 100%
    );
    animation: gradientShift 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Testimonials - Schimmernde Kanten */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), var(--green), transparent);
    opacity: 0.3;
    animation: shimmer 3s linear infinite;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), var(--pink), transparent);
    opacity: 0.3;
    animation: shimmer 3s linear infinite reverse;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Contact Section - Glow Bottom */
.contact {
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 240, 255, 0.04), rgba(176, 38, 255, 0.02), transparent 70%);
    pointer-events: none;
}

/* Eyecatcher Marquee - Glühender Streifen */
.eyecatcher::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.03),
        rgba(176, 38, 255, 0.05),
        rgba(0, 255, 136, 0.03),
        rgba(255, 0, 128, 0.03),
        rgba(0, 240, 255, 0.03)
    );
    background-size: 200% 100%;
    animation: marqueeGlow 6s linear infinite;
    pointer-events: none;
}

@keyframes marqueeGlow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(0, 240, 255, 0.2);
    color: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--cyan), var(--purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--purple), var(--cyan));
}

/* Landscape Mobile - Desktop-Look optimiert */
@media (max-height: 500px) and (orientation: landscape) {
    /* Sehr wenig Höhe (z.B. iPhone SE quer: ~320px). Frühere Version nutzte
       hier zusätzlich body{zoom:0.8} für mehr sichtbaren Seiteninhalt -
       das kollidierte aber mit der min-height:var(--vh100) des Hero
       (Größensprung an der Kante zum nächsten Abschnitt, siehe git-
       history) und löste das Überlappungsproblem unten auch nicht
       zuverlässig. Deshalb hier bewusst kein zoom mehr, stattdessen wird
       der komplette Hero-Inhalt so kompakt gemacht, dass er inklusive
       Slider-Pfeilen und Eyecatcher-Balken in die reale Höhe passt.

       WICHTIG: Echte Handy-Browser (z.B. Chrome/Android) zeigen im
       Querformat oft noch eine Adress-/Navigationsleiste, die hier in
       Headless-Tests fehlt - die tatsächlich verfügbare Höhe ist auf
       einem echten Pixel 9/10 also KLEINER als window.innerHeight in den
       eigenen Tests vermuten lässt. Deshalb wird zusätzlich der Header
       selbst verkleinert (76px -> 52px), das schafft überall mehr Puffer,
       unabhängig von der exakten Browser-UI des jeweiligen Geräts. */
    .header-inner {
        height: 52px;
    }

    .header.scrolled .header-inner {
        height: 46px;
    }

    .logo-img {
        height: 26px !important;
    }

    .header-icon,
    .theme-toggle,
    .menu-toggle {
        width: 30px !important;
        height: 30px !important;
    }

    .menu-toggle span {
        width: 14px;
    }

    /* Hintergrundbild bei sehr kurzer Höhe: bei "center" (50%, vertikal)
       wird oben zu VIEL abgeschnitten, wodurch z.B. beim Xbox-Controller
       (Folie 3) der Analogstick sichtbar in/hinter den Header ragt. Ein
       NIEDRIGERER Prozentwert lässt mehr vom oberen Bildrand stehen (bei
       einem Cover-Crop schneidet ein höherer Y-Wert MEHR oben ab, nicht
       weniger - umgekehrt als man zuerst denkt). */
    .slide-bg-image {
        background-position: right 30%;
    }

    .slide-content {
        align-items: flex-start;
        /* Header ist jetzt nur noch 52px hoch (siehe oben) statt 77px. */
        padding-top: 58px;
        padding-bottom: 4px;
        gap: 4px;
    }

    .title-line {
        /* niedrigerer Max-Wert als vorher: auf breiten, aber sehr kurzen
           Querformat-Handys (z.B. Pixel 9 quer, 756x308) wuchs der Titel
           via vw sonst so groß, dass für die jetzt linksbündigen
           Slider-Pfeile am unteren Rand kein Platz mehr blieb. */
        font-size: clamp(15px, 2.6vw, 24px) !important;
        line-height: 1.15;
    }

    .slide-desc {
        font-size: 11px;
        margin-bottom: 2px;
        line-height: 1.35;
        /* nur 2 Zeilen, sonst reicht die Höhe nicht für Titel + Buttons +
           Slider-Pfeile + Eyecatcher gleichzeitig */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide-actions {
        gap: 6px;
    }

    .slide-actions .btn {
        padding: 6px 14px;
        font-size: 10px;
    }

    /* Pfeile/-Punkte linksbündig (auf Wunsch) direkt unter dem Text/den
       Buttons statt zentriert/rechts. Da links auch der Text sitzt, muss
       hier die vertikale Reserve stimmen (padding-bottom von .slide-content
       + bottom-Wert hier) - siehe restliche Regeln in diesem Block, die den
       Textblock kompakt genug halten. */
    .slider-controls {
        /* bottom muss über den Eyecatcher-Marquee-Balken (bottom:0, ca.
           23px hoch, z-index:15) hinausragen, sonst verschwinden die Pfeile
           optisch darunter (niedrigerer z-index:10). */
        left: 12px;
        right: auto;
        transform: none;
        bottom: 28px;
        gap: 8px;
    }

    .slider-arrow {
        width: 26px;
        height: 26px;
    }

    .slider-arrow svg {
        width: 13px;
        height: 13px;
    }

    .slider-dots {
        gap: 5px;
    }

    .slider-dots .dot {
        width: 18px;
        height: 3px;
    }

    /* Das "KI-generiert"-Badge hatte noch bottom:130px von der Hochformat-
       Regel geerbt - auf einem nur 300-400px hohen Querformat-Screen sitzt
       das dadurch mitten im Bild, weit über den jetzt ganz unten
       platzierten Pfeilen. Knapp über die Pfeile setzen, gleiche
       rechtsbündige Kante. */
    .ai-badge--hero {
        bottom: 78px;
        right: 12px;
        height: 26px;
    }

    .eyecatcher {
        padding: 5px 0;
    }

    .marquee-item {
        font-size: 11px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Extrem kurze Querformat-Handys (z.B. Pixel 9 quer: 756x308 - ohne
   Adressleiste teils sogar weniger): selbst maximal komprimiert reicht die
   Höhe nicht für Titel+Text+Buttons+Slider-Pfeile+Marquee-Balken
   gleichzeitig. Der Marquee ist rein dekorativ (Werbetext-Laufband) - wird
   hier ausgeblendet, damit die wichtigeren Slider-Pfeile darunter Platz
   haben, ohne sich zu überlappen. */
@media (max-height: 360px) and (orientation: landscape) {
    .eyecatcher {
        display: none;
    }

    /* War vorher bottom:10px (ganz am unteren Rand) - dadurch klaffte eine
       große Lücke zwischen den Buttons und den Pfeilen, obwohl der
       Eyecatcher-Balken hier eh ausgeblendet ist und der Platz nicht mehr
       gebraucht wird. Näher an die Buttons rücken. */
    .slider-controls {
        bottom: 42px;
    }
}

/* Landscape Mobile: 2 Produkte nebeneinander */
@media (max-width: 768px) and (orientation: landscape) {
    .product-slider-track > .product-card {
        flex: 0 0 calc((100% - var(--slider-gap)) / 2);
        max-width: calc((100% - var(--slider-gap)) / 2);
    }

    .card-title {
        font-size: 15px;
    }

    .card-subtitle {
        font-size: 11px;
    }
}

/* ===== TOUCH-GERAETE (Handy/Tablet, hoch + quer): 1:1 PC-OPTIK =====
   Ueber das viewport-Meta (index.html, width=1280) berechnen Mobilgeraete
   die Seite mit fester Desktop-Breite und skalieren sie herunter - alle
   Breiten-Media-Queries sehen dadurch 1280px, d.h. es greifen ueberall
   die Desktop-Regeln. Einziger Unterschied zum PC: der Bildschirm ist im
   Hochformat viel hoeher als breit, dadurch wuerde ein 100vh-Hero zu
   einem riesigen Hochkant-Kasten (Foto extrem gezoomt). Deshalb hier
   eine feste, PC-aehnliche Hero-Hoehe (1280x760 ~ 16:10) - erkannt
   ueber pointer:coarse/hover:none (Touch), nicht ueber die Breite. */
@media (hover: none) and (pointer: coarse) {
    .hero,
    .hero-slider,
    .slide-content {
        min-height: 760px;
    }
}

/* Touch-Geraete: Laufband als eigener Balken direkt unter dem Slider
   (statt Overlay ueber dem unteren Bildrand wie am PC). .eyecatcher ist
   im Markup ein Geschwister direkt nach .hero-slider - position:static
   reicht, es rutscht automatisch darunter. Die Punkte/Pfeile haengen an
   .hero (bottom-Wert) und wuerden durch den jetzt hoeheren .hero um die
   Laufband-Hoehe nach oben rutschen - bottom entsprechend verkleinert. */
@media (hover: none) and (pointer: coarse) {
    .eyecatcher {
        position: static;
    }

    .slider-controls {
        bottom: 68px;
    }
}

/* Touch-Geraete bei Layoutbreite 1130px (viewport-Meta): die Desktop-
   Regel "<=1200px -> 3 Karten + Slider" wuerde greifen. Hier bewusst
   4 Karten nebeneinander wie am grossen PC-Bildschirm (passend dazu
   getVisibleCards() in script.js). !important, weil die 1200px-Regel
   dieselbe Spezifitaet hat. Hero-Hoehe proportional zur schmaleren
   Layoutbreite (1130 x 670 ~ 16:10). */
@media (hover: none) and (pointer: coarse) {
    .product-slider-track > .product-card {
        flex: 0 0 calc((100% - 3 * var(--slider-gap)) / 4) !important;
        max-width: calc((100% - 3 * var(--slider-gap)) / 4) !important;
    }

    /* Angebotskarten etwas breiter: Slider ragt links/rechts 14px in
       das 24px-Container-Padding hinein und der Abstand zwischen den
       Karten wird von 24px auf 12px verkleinert. Bei 1130px
       Layoutbreite: (1130 - 48 + 28 - 3*12) / 4 = ca. 268px pro Karte
       statt ca. 252px. Die Section-Ueberschrift behaelt ihr normales
       Container-Padding. */
    .product-slider {
        margin-inline: -14px;
    }

    .product-slider-track {
        --slider-gap: 12px;
    }

    .hero,
    .hero-slider,
    .slide-content {
        min-height: 670px;
    }
}

/* Touch-Geraete: bei 1130px Layoutbreite brechen laengere Kartentitel
   ("XBOX TMR-UMBAU", "DIAGNOSE & TEST") auf 2 Zeilen um - feste
   2-Zeilen-Mindesthoehe fuer alle Titel, damit Tags/Preise bei allen
   4 Karten auf gleicher Hoehe bleiben. */
@media (hover: none) and (pointer: coarse) {
    .card-title {
        /* line-height ist 1.6 (vom body geerbt) -> 2 Zeilen = 3.2em */
        min-height: 3.2em;
    }
}

/* Touch-Geraete: Playstation-Untertitel ("DUALSHOCK 4 / DUALSENSE |
   DUALSENSE EDGE") braucht bei der schmaleren Kartenbreite 3 Zeilen -
   Mindesthoehe fuer alle Untertitel auf 3 Zeilen, damit Tags/Preise
   bei allen 4 Karten buendig bleiben. */
@media (hover: none) and (pointer: coarse) {
    .card-subtitle {
        min-height: 54.6px;
    }
}

/* Touch-Geraete: Slider-Text etwas kleiner + Hero hoeher. Gemessen bei
   1130px Layoutbreite: Slide 2 brauchte 740px Inhaltshoehe bei 670px
   Hero -> Text ragte ueber das Laufband. Titel 56px -> 46px, Hero auf
   760px; damit passt der laengste Slide mit Reserve fuer die Punkte.
   Produktkarten breiter: das seitliche Padding von .product-slider ist
   nur fuer die Pfeile da, die auf Touch ausgeblendet sind. */
@media (hover: none) and (pointer: coarse) {
    /* Text/Buttons wie am PC positioniert: seitlicher Abstand wie bei der
       >=1400px-Desktop-Regel (5% statt 24px Container-Padding), Titel in
       Originalgroesse (clamp -> ca. 56px bei 1130px). Damit der laengste
       Slide (Slide 2, ca. 740px Inhaltshoehe) nicht ins Laufband ragt,
       Hero auf 800px. */
    .slide .container.slide-content {
        max-width: 100%;
        margin: 0;
        padding-left: 5%;
        padding-right: 40%;
    }

    .hero,
    .hero-slider,
    .slide-content {
        min-height: 800px;
    }

    .product-slider {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Touch-Geraete: Buttons aller Slides auf eine feste Position unten im
   Slider (unabhaengig von der Textlaenge), oberhalb der Punkte/Pfeile
   (die beginnen bei ca. 747px im 800px-Hero). .slide-content ist
   position:relative und hat das 5%-Padding links -> gleiche Kante wie
   der Text. */
@media (hover: none) and (pointer: coarse) {
    .slide-actions {
        position: absolute;
        left: 5%;
        bottom: 100px;
        margin: 0;
    }
}

/* Touch-Geraete: Beschreibungstext ebenfalls fest verankert, direkt
   ueber den Buttons (Buttons: bottom 100px, ca. 54px hoch -> Text endet
   bei 176px, ca. 22px Luft). Titel bleiben oben im normalen Fluss. */
@media (hover: none) and (pointer: coarse) {
    .slide-desc {
        position: absolute;
        left: 5%;
        bottom: 176px;
        width: min(560px, 90%);
        margin: 0;
    }
}

/* Touch-Geraete: "AI modified"-Badge auf Hoehe der Punkte/Pfeile
   (deren Mitte liegt ca. 31px ueber dem unteren Rand von .hero-slider)
   und etwas groesser (38 -> 48px). */
@media (hover: none) and (pointer: coarse) {
    .ai-badge--hero {
        bottom: 7px;
        right: 28px;
        height: 48px;
    }
}

/* Touch-Geraete: Menue/Header-Buttons groesser fuer bessere Antippbarkeit
   (durch die Herunterskalierung der 1130px-Layoutbreite waeren 40px
   sonst nur ca. 25px auf dem Tablet bzw. ca. 13px auf dem Handy). */
@media (hover: none) and (pointer: coarse) {
    .theme-toggle,
    .header-icon,
    .menu-toggle {
        width: 70px !important;
        height: 70px !important;
    }

    .theme-toggle svg,
    .header-icon svg {
        width: 30px;
        height: 30px;
    }

    .menu-toggle span {
        width: 30px;
        height: 3px;
    }

    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .header-actions {
        gap: 14px;
    }

    .nav.open .nav-link {
        padding: 1.3rem 0.4rem;
        font-size: 21px;
    }
}

/* Touch-Geraete: Footer mobilfreundlicher - groessere Schrift und
   hoehere Tap-Flaechen fuer die Links (14px/34px Zeilen waeren nach der
   Herunterskalierung nur ca. 12-21px hoch), groessere Social-Buttons,
   "Vertrag widerrufen"-Button und Copyright-Zeile. Spaltenaufbau bleibt
   wie am PC. */
@media (hover: none) and (pointer: coarse) {
    .footer-links h4 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .footer-links a {
        font-size: 18px;
        padding: 11px 0;
    }

    .footer-links a.footer-widerruf-btn--inline {
        font-size: 18px;
        padding: 8px 16px;
        margin: 6px 0 4px -16px;
    }

    .footer-desc {
        font-size: 17px;
        max-width: 340px;
    }

    .social-link {
        width: 60px;
        height: 60px;
    }

    .social-link svg {
        width: 26px;
        height: 26px;
    }

    .footer-bottom p {
        font-size: 16px;
    }
}

/* Touch-Geraete: Social-Buttons im Kontaktbereich ebenfalls groesser
   (eigene, spezifischere Regel weiter oben -> hier gezielt ueberschreiben). */
@media (hover: none) and (pointer: coarse) {
    .contact-social .social-link {
        width: 60px;
        height: 60px;
    }

    .contact-social .social-link svg {
        width: 26px;
        height: 26px;
    }
}

/* Touch-Geraete: Kontaktbereich "TMR-Umbau anfragen" mobilfreundlicher -
   groessere Eingabefelder/Auswahlfelder (mind. 56px hoch, 18px Schrift,
   verhindert auch iOS-Autozoom), groesserer Sende-Button, groessere
   Kontaktkarten (E-Mail/WhatsApp) und Beschreibungstext. Zweispaltiger
   Aufbau bleibt wie am PC. */
@media (hover: none) and (pointer: coarse) {
    /* Spalten enger zusammen, damit Kontakt-Buttons und Formular
       breiter werden (beide fuellen ihre Spalte komplett aus). */
    .contact-grid {
        gap: 28px;
        /* Zwei exakt gleich breite Spalten: mit "1fr 1fr" (= minmax(auto,
           1fr)) bekam das Formular wegen der Mindestbreite seiner
           Select-Felder mehr Platz (527px) als die Buttons (409px). */
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .contact-info {
        max-width: none;
        /* margin:0 auto (Basisregel) laesst das Grid-Item auf Inhaltsbreite
           schrumpfen (auto-Margins schlucken den Freiraum) - die Buttons
           waren dadurch nur 409px statt 527px breit. */
        margin: 0;
    }

    .contact-form-wrap {
        padding: 36px 32px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        min-height: 64px;
        padding: 16px 20px;
        font-size: 20px;
    }

    .contact-form textarea {
        min-height: 190px;
    }

    .contact-form label {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .contact-form .btn-full {
        padding: 24px 32px;
        font-size: 19px;
    }

    .contact-details {
        gap: 20px;
    }

    .contact-item {
        padding: 30px 28px;
        gap: 22px;
    }

    .contact-item-icon {
        width: 68px;
        height: 68px;
    }

    .contact-item-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Titel (z. B. "WhatsApp schreiben") und Unterzeile ("Direkt chatten")
       haben eigene Groessen-Regeln - beide hier vergroessern. */
    .contact-item-text strong {
        font-size: 22px;
    }

    .contact-item-text .text-strong {
        font-size: 19px;
    }

    .contact-item-arrow svg {
        width: 34px;
        height: 34px;
    }

    .contact .section-desc {
        font-size: 18px;
    }

    .contact .section-title {
        font-size: clamp(38px, 4vw, 52px);
    }
}

/* Touch-Geraete: "Ueber uns" mobilfreundlicher - groessere Schrift fuer
   Fliesstext, Unterueberschrift und die drei Werte-Karten (Icons, Titel,
   Text), 100%-Badge groesser. Aufbau (Bild links, Text rechts) bleibt
   wie am PC. */
@media (hover: none) and (pointer: coarse) {
    .about-text h3.about-subtitle {
        font-size: 26px;
    }

    .about-text > p {
        font-size: 18px;
        line-height: 1.7;
    }

    .about-value {
        padding: 20px;
        gap: 18px;
    }

    .about-value-icon {
        width: 56px;
        height: 56px;
    }

    .about-value-icon svg {
        width: 26px;
        height: 26px;
    }

    .about-value strong {
        font-size: 19px;
        margin-bottom: 4px;
    }

    .about-value p {
        font-size: 16px;
    }

    .about-stat-number {
        font-size: 30px;
    }

    .about-stat-label {
        font-size: 13px;
    }

    .about .section-desc {
        font-size: 18px;
    }
}

/* Touch-Geraete: Abschnitts-Untertitel (alle Sektionen, z.B. "Ueber uns",
   "TMR-Umbau & Preise") und der "Kontakt aufnehmen"-Button bei "Ueber
   uns" groesser. .section-desc--strong hat eine eigene, spaeter
   greifende Regel -> hier mit hoeherer Spezifitaet. */
@media (hover: none) and (pointer: coarse) {
    .section-header .section-desc,
    .section-header .section-desc--strong {
        font-size: 19px;
    }

    .about-text .btn {
        padding: 18px 36px;
        font-size: 16px;
    }
}

/* Touch-Geraete: "Deine Vorteile" mobilfreundlicher - groessere
   Ueberschriften und Text in den 6 Karten, mehr Innenabstand. 3-Spalten-
   Raster bleibt wie am PC. */
@media (hover: none) and (pointer: coarse) {
    .vorteil-card {
        padding: 34px 24px;
    }

    .vorteil-card h3 {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .vorteil-card p {
        font-size: 21px;
        line-height: 1.5;
    }
}

/* Touch-Geraete: "Der Ablauf" mobilfreundlicher - die Nummern-Kreise
   sitzen klein in der linken oberen Ecke jeder Schritt-Karte (statt
   gross ueber dem Titel), dadurch bleibt mehr Platz fuer groesseren
   Titel und Text. 3-Spalten-Raster bleibt wie am PC. */
@media (hover: none) and (pointer: coarse) {
    .ablauf-step {
        padding: 34px 22px 30px;
    }

    .ablauf-step-num {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 34px;
        height: 34px;
        font-size: 15px;
        margin-bottom: 0;
        box-shadow: 0 0 12px var(--accent-color, var(--cyan));
    }

    .ablauf-step h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .ablauf-step p {
        font-size: 21px;
        line-height: 1.5;
    }
}

/* Touch-Geraete: "TMR-Umbau & Preise" mobilfreundlicher - groessere
   Schrift fuer Titel, Untertitel, Tags, Preis und Hinweiszeile, mehr
   Innenabstand. Mindesthoehen fuer Titel/Untertitel in em, damit sie
   mit der groesseren Schrift mitwachsen (Tags/Preise bleiben buendig).
   4-Karten-Reihe bleibt wie am PC. */
@media (hover: none) and (pointer: coarse) {
    .card-info {
        padding: 22px 22px 26px;
    }

    .card-badge {
        font-size: 13px;
        padding: 6px 14px;
    }

    .card-title {
        font-size: 24px;
        min-height: 3.2em;
    }

    .card-subtitle {
        font-size: 16px;
        min-height: 4.2em;
    }

    .feature-tag {
        font-size: 13px;
        padding: 5px 12px;
    }

    .price-new {
        font-size: 26px;
    }

    .price-note {
        font-size: 14px;
    }

    .card-price {
        min-height: 4.6em;
    }
}

/* Touch-Geraete: das lange Nintendo-Badge ("NINTENDO JOY-CON / SWITCH
   PRO") brach bei 13px auf 2 Zeilen um und ragte ins Bild - einzeilig
   erzwingen, dafuer etwas engere Laufweite. */
@media (hover: none) and (pointer: coarse) {
    .card-badge {
        white-space: nowrap;
        letter-spacing: 0.5px;
        font-size: 12px;
    }
}

/* Touch-Geraete: Kartentitel einzeilig ("XBOX TMR-UMBAU", "DIAGNOSE &
   TEST") - Schrift 21 -> 19px, seitlicher Innenabstand der Karten
   22 -> 16px, kein Umbruch; Mindesthoehe dadurch nur noch 1 Zeile. */
@media (hover: none) and (pointer: coarse) {
    .card-info {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card-title {
        font-size: 19px;
        letter-spacing: 0;
        white-space: nowrap;
        min-height: 0;
    }
}

/* Touch-Geraete: Beschreibungstext im Slider etwas groesser. */
@media (hover: none) and (pointer: coarse) {
    .slide-desc {
        font-size: 19px;
    }
}

/* Touch-Geraete: Slider-Bedienelemente mobilfreundlicher (Titel bleiben
   unveraendert): groessere Buttons, groessere Punkte (auch als Tap-
   Flaeche) und Pfeile. Beschreibungstext ruckt entsprechend hoeher,
   damit der Abstand zu den hoeheren Buttons erhalten bleibt. */
@media (hover: none) and (pointer: coarse) {
    .slide-actions .btn {
        padding: 18px 36px;
        font-size: 16px;
    }

    .slide-actions {
        gap: 20px;
    }

    .slide-desc {
        bottom: 192px;
    }

    .dot {
        width: 48px;
        height: 7px;
        border-radius: 4px;
    }

    .dot.active {
        width: 72px;
    }

    .slider-dots {
        gap: 14px;
    }

    .slider-arrow {
        width: 56px;
        height: 56px;
    }

    .slider-arrow svg {
        width: 24px;
        height: 24px;
    }

    .slider-controls {
        gap: 26px;
    }
}

/* Touch-Geraete: Feinjustierung nach den groesseren Bedienelementen -
   Badge wieder exakt auf Punkte-Mitte, Beschreibungstext minimal tiefer
   (mehr Luft zum laengsten Titel). */
@media (hover: none) and (pointer: coarse) {
    .ai-badge--hero {
        bottom: 13px;
    }

    .slide-desc {
        bottom: 186px;
    }
}

/* Touch-Geraete: breiter Kontakt-Button darf nicht auf die 60px-Breite
   der quadratischen Header-Buttons gezwungen werden. */
@media (hover: none) and (pointer: coarse) {
    .header-contact {
        width: auto !important;
        padding: 0 24px 0 20px;
        gap: 14px;
    }

    .header-contact-label {
        font-size: 21px;
    }

    .header-contact .header-contact-wa {
        width: 30px;
        height: 30px;
    }
}

/* PC: Kontakt-Button und Theme-Button etwas groesser/praesenter, analog
   zur Touch-Variante (dort 60px) - hier 48px, damit die Kopfzeile am
   Desktop nicht zu wuchtig wird. Header-Buttons haben Basis 40px. */
@media (hover: hover) and (pointer: fine) {
    .header-contact,
    .theme-toggle {
        height: 48px;
    }

    .theme-toggle {
        width: 48px;
    }

    .header-contact {
        padding: 0 20px 0 16px;
        gap: 10px;
    }

    .header-contact-label {
        font-size: 17px;
    }

    .header-contact svg,
    .theme-toggle svg {
        width: 22px;
        height: 22px;
    }

    .header-contact .header-contact-wa {
        width: 23px;
        height: 23px;
    }
}

/* PC, schmales Fenster (<=800px): Kontakt-Button kompakt - Text
   "Kontakt" ausblenden, nur Mail-/WhatsApp-Icon bleiben; Groesse wieder
   wie die uebrigen Header-Buttons. Bis dahin passt der Text (gemessen:
   bei 1450px noch 28px Luft zur Navigation, darunter greift ohnehin das
   Burger-Menue und es gibt viel Platz). */
@media (hover: hover) and (pointer: fine) and (max-width: 800px) {
    .header-contact-label {
        display: none;
    }

    .header-contact,
    .theme-toggle {
        height: 40px;
    }

    .theme-toggle {
        width: 40px;
    }

    .header-contact {
        padding: 0 12px;
        gap: 8px;
    }

    .header-contact svg,
    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }

    .header-contact .header-contact-wa {
        width: 19px;
        height: 19px;
    }
}

/* Touch-Geraete: Header hoeher (76 -> 120px) und Logo groesser, damit
   die Kopfzeile nach der Herunterskalierung im Verhaeltnis etwa so
   wirkt wie am PC; Buttons sind dort 70px hoch. Slider-Inhalt beginnt
   entsprechend tiefer. */
@media (hover: none) and (pointer: coarse) {
    .header-inner {
        height: 120px;
        padding-left: 1.4rem;
        padding-right: 1.6rem;
    }

    .logo-img {
        height: 62px;
        max-width: 560px;
    }

    .slide-content {
        padding-top: 144px;
    }
}

/* Touch-Geraete: Nachzug zum hoeheren Header - die Unterstrich-Linie
   (.header-glow) proportional dicker; Hero um die 28px hoeher, um die
   der Slider-Inhalt tiefer beginnt (sonst kollidierte bei Slide 2/4 der
   Titel mit dem Beschreibungstext). */
@media (hover: none) and (pointer: coarse) {
    .header-glow {
        height: 2px;
        opacity: 0.7;
    }

    .hero,
    .hero-slider,
    .slide-content {
        min-height: 844px;
    }
}

/* Touch-Geraete: auch im gescrollten Zustand (Header schrumpft am PC von
   76 auf 60px, Logo kleiner) proportional groesser bleiben. */
@media (hover: none) and (pointer: coarse) {
    .header.scrolled .header-inner {
        height: 100px;
    }

    .header.scrolled .logo-img {
        height: 52px;
    }
}

/* Touch-Geraete: Social-Media-Buttons nochmals groesser (60 -> 92px). */
@media (hover: none) and (pointer: coarse) {
    .social-link,
    .contact-social .social-link {
        width: 92px;
        height: 92px;
        border-radius: 16px;
    }

    .social-link svg,
    .contact-social .social-link svg {
        width: 44px;
        height: 44px;
    }

    .social-links,
    .contact-social .social-links {
        gap: 18px;
    }
}

/* Touch-Geraete: "SWITCH TMR-UMBAU" ist der laengste Kartentitel. In der
   Desktop-Ansicht des Handys (ca. 980px Layoutbreite, ca. 217px
   Karteninnenbreite) passt er nur mit 17px (ca. 207px) einzeilig; in der
   normalen Handy-Ansicht (1130px, ca. 255px innen) darf er 20px haben
   (ca. 244px) - siehe min-width:1100px-Block weiter unten. */
@media (hover: none) and (pointer: coarse) {
    .card-info {
        padding-left: 12px;
        padding-right: 12px;
    }

    .card-title {
        font-size: 17px;
    }
}

/* PC: "SWITCH TMR-UMBAU" brach als einziger Kartentitel auf 2 Zeilen um
   (Tags/Preise dann nicht mehr buendig). Seitlicher Innenabstand der
   Karten 24 -> 16px und Titel einzeilig erzwingen - passt gemessen
   (Titelbreite ca. 220px, verfuegbar 226px). */
@media (hover: hover) and (pointer: fine) {
    .card-info {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card-title {
        white-space: nowrap;
        letter-spacing: 0;
        /* 19px: "SWITCH TMR-UMBAU" ca. 232px bei 242px Innenbreite
           (8px Innenabstand, Regel weiter unten) */
        font-size: 19px;
    }
}

/* MwSt-Zeile bei allen Karten auf derselben Hoehe wie bei der Switch
   (dort liegt die Zeile "Switch Pro / Joy-Con" dazwischen) - bei den
   uebrigen Karten entsprechend Abstand unter dem Preis. Werte gemessen:
   PC 22.8px (Label 20.8 + 2px), Touch 16.3px (Label 24.4px, dafuer ist
   der Doppelpreis dort mit 21px statt 26px niedriger). */
.card-price:not(.card-price--dual):not(.card-price--label) .price-new {
    margin-bottom: 22.8px;
}

@media (hover: none) and (pointer: coarse) {
    .card-price:not(.card-price--dual):not(.card-price--label) .price-new {
        margin-bottom: 16.3px;
    }
}

/* MwSt-Zeile bei allen Karten etwas tiefer (mehr Luft zum Preis bzw.
   zur "Switch Pro / Joy-Con"-Zeile). */
.card-price .price-note {
    margin-top: 16px;
}

/* Zweite Hinweiszeile (Diagnose: "wird bei Einbau verrechnet") direkt
   unter die erste - der 16px-Abstand gilt nur fuer die erste Zeile. */
.card-price .price-note + .price-note {
    margin-top: 0;
}

/* Preisblock (Preis + MwSt-Zeile, bei Switch auch "Switch Pro /
   Joy-Con") bei allen Karten mittig in der Karte. */
.card-footer {
    justify-content: center;
}

.card-price,
.card-price--dual {
    align-items: center;
    text-align: center;
    margin-inline: auto;
}

.card-price .price-note {
    text-align: center;
}

/* Touch: Diagnose-Preis ist 26px hoch, der Switch-Doppelpreis nur 21px -
   dadurch saessen Label/MwSt-Zeile bei Diagnose 8px tiefer. Ausgleich. */
@media (hover: none) and (pointer: coarse) {
    .card-price--label .price-new {
        margin-bottom: -8px;
    }
}

/* Switch: "Switch Pro" beginnt unter der 3 von 39,90, "Joy-Con" endet
   unter der 0 von 54,90 - Label so breit wie das Preispaar, beide Teile
   an die Aussenkanten. */
.card-price--dual .price-label--split {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

/* "/" in der Label-Zeile exakt unter dem "/" des Preispaars (beide
   Preise sind gleich breit, der Trenner sitzt also mittig). */
.card-price--dual .price-label--split {
    position: relative;
}

.card-price--dual .price-label-sep {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 400;
    opacity: 0.7;
}

/* PC: Preise groesser (20 -> 24px). Damit "39,90 € / 54,90 €" bei der
   Switch weiterhin in eine Zeile passt: Karten-Innenabstand 16 -> 10px
   und engere Wortabstaende um den Trenner (gemessen 236px bei 238px
   verfuegbar). */
@media (hover: hover) and (pointer: fine) {
    .price-new {
        font-size: 24px;
    }

    .card-price--dual .price-new {
        word-spacing: -4px;
    }

    .card-info {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Touch: Karten-Innenabstand 12 -> 6px, damit der Switch-Doppelpreis
   mehr Platz hat. In der Desktop-Ansicht des Handys (viewport-Meta
   ignoriert, Layoutbreite je nach Geraet ca. 800-1000px) haengt die
   Kartenbreite von der Bildschirmbreite ab - der Doppelpreis skaliert
   deshalb mit der Breite mit (ca. 9.7px Textbreite pro 1px Schrift):
   980px -> 20px, 900px -> 18px, 800px -> 15.7px, nie ueber 21px. In der
   normalen Handy-Ansicht (1130px) greift der min-width:1100px-Block
   weiter unten (25px). */
@media (hover: none) and (pointer: coarse) {
    .card-info {
        padding-left: 6px;
        padding-right: 6px;
    }

    .card-price--dual .price-new {
        font-size: clamp(14px, 2.4vw - 3.5px, 21px);
        word-spacing: -4px;
    }
}

/* Touch, normale Handy-Ansicht (Layoutbreite exakt 1130px per
   viewport-Meta): hier ist die Karte breit genug (ca. 267px innen),
   der Switch-Doppelpreis darf wieder auf 25px (ca. 237px breit). In der
   Desktop-Ansicht des Handys (viewport-Meta ignoriert, ca. 980px) greift
   das nicht - dort bleibt es bei 21px. Ausgleichswerte der anderen
   Karten passend zu 25px, damit die MwSt-Zeilen buendig bleiben. */
@media (hover: none) and (pointer: coarse) and (min-width: 1100px) {
    .card-price--dual .price-new {
        font-size: 25px;
        word-spacing: -6px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-price:not(.card-price--dual):not(.card-price--label) .price-new {
        margin-bottom: 22.8px;
    }

    .card-price--label .price-new {
        margin-bottom: -1.6px;
    }
}

/* "/" zwischen den Switch-Preisen in derselben Schrift wie das "/" der
   Label-Zeile darunter (Rajdhani, gleicher Schraegwinkel) statt des
   steileren Orbitron-Schraegstrichs. */
.card-price--dual .price-sep {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.15em;
    line-height: 1;
    vertical-align: -0.05em;
}

/* Diagnose-Preis "14,90 €": die schmale Orbitron-1 klebt an der 4 -
   etwas Luft dazwischen. */
.price-digit-gap {
    margin-right: 0.1em;
}

/* Nintendo-Karte: das Joy-Con-Wechselbild ragte oben ins Badge
   "NINTENDO JOY-CON / SWITCH PRO" - etwas tiefer setzen. */
.card-green .product-img--hover {
    top: 44px;
    bottom: auto;
    height: 196px;
}

/* Touch: Badge ist hoeher (31px) - Joy-Con-Wechselbild noch weiter
   runter; Bildbereich unten etwas verlaengert, damit es dafuer Platz hat. */
@media (hover: none) and (pointer: coarse) {
    /* nicht den Bildbereich verlaengern (wuerde Tags/Preise dieser Karte
       nach unten schieben), sondern das Bild oben verankern und minimal
       kleiner machen, damit es unter dem Badge beginnt und unten buendig
       im Bildbereich endet */
    .card-green .product-img--hover {
        top: 48px;
        bottom: auto;
        height: 192px;
    }
}

/* Alle Ansichten: Preisblock umsortiert - Zuordnungszeile ("Switch Pro /
   Joy-Con" bzw. "wird bei Einbau verrechnet") UEBER dem Preis, der Preis
   direkt ueber der MwSt-Zeile. Der Footer wird unten in der Karte
   verankert (margin-top:auto); da alle Karten einer Reihe per
   align-items:stretch gleich hoch sind, liegen MwSt-Zeile und Preis
   dadurch bei allen Karten auf derselben Hoehe - die bisherigen
   Ausgleichs-Margins (22.8px / 16.3px / -8px / -1.6px) und die
   Mindesthoehe des Preisblocks werden hier auf 0 gesetzt. */
.card-footer {
    margin-top: auto;
}

.card-price {
    min-height: 0;
}

.card-price .price-new {
    margin-bottom: 0 !important;
}

.card-price--dual .price-label,
.card-price--label .price-label {
    order: -1;
    margin-top: 0;
    margin-bottom: 4px;
}

.card-price .price-note {
    margin-top: 12px;
}

/* Touch: Doppelpreis (25px) und Einzelpreise (26px) auf gleiche
   Zeilenhoehe, damit die Zuordnungszeile darueber buendig sitzt. */
@media (hover: none) and (pointer: coarse) {
    .card-price .price-new {
        line-height: 42px;
    }
}

/* Touch, Desktop-Ansicht des Handys (viewport-Meta ignoriert, Layout-
   breite ca. 800-1000px statt 1130px): Header-Hoehe, Logo und Buttons
   der normalen Handy-Ansicht (120px / 62px / 70px) sind hier zu gross -
   das Logo lief unter den Theme-Button. Kompaktere Werte, das Logo
   bekommt ausserdem eine Obergrenze relativ zur Breite. */
@media (hover: none) and (pointer: coarse) and (max-width: 1099px) {
    .header-inner {
        height: 84px;
    }

    .header.scrolled .header-inner {
        height: 72px;
    }

    .logo-img {
        height: 40px;
        max-width: min(364px, 38vw);
    }

    .header.scrolled .logo-img {
        height: 36px;
    }

    .theme-toggle,
    .header-icon,
    .menu-toggle {
        width: 52px !important;
        height: 52px !important;
    }

    .theme-toggle svg,
    .header-icon svg {
        width: 24px;
        height: 24px;
    }

    .menu-toggle span {
        width: 24px;
    }

    /* breiter Kontakt-Button (hat auch .header-icon) nicht auf 52px
       Breite zwingen */
    .header-contact {
        width: auto !important;
        padding: 0 18px 0 14px;
        gap: 10px;
    }

    .header-contact-label {
        font-size: 17px;
    }

    .header-contact .header-contact-wa {
        width: 24px;
        height: 24px;
    }

    .header-actions {
        gap: 10px;
    }

    .slide-content {
        padding-top: 108px;
    }
}

