:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --surface: #121212;
    --surface-2: #1e1e1e;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #ffffff;
    --accent-2: #eeeeee;
    --line: rgba(255, 255, 255, 0.08);
    /* Dezentere Linien */
    --success: #47cf82;
    --danger: #ff7d7d;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    /* Weicherer, dunklerer Schatten */
    --radius: 12px;
    /* Etwas cleanerer Radius */
    --radius-sm: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    /* Flacher, cleanerer Hintergrund */
    color: var(--text);
    line-height: 1.7;
    /* Leicht verbesserte Lesbarkeit */
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

.section {
    padding: 5.5rem 0;
    /* Mehr Whitespace für ein cleaneres Layout */
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    font-weight: 600;
    /* Etwas feineres Schriftgewicht für Eleganz */
}

.section-intro {
    max-width: 65ch;
    color: var(--text-muted);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--text);
    color: #000000;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    z-index: 100;
}

.skip-link:focus {
    left: 0.6rem;
    top: 0.6rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.84);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
}

.nav-links {
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 74px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.nav-links.open {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    border-radius: 9px;
    padding: 0.5rem 0.6rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 99px;
    /* Pillenform für elegantere Buttons */
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.4rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

.hero {
    padding: 5rem 0 3.4rem;
}

.hero-grid {
    display: grid;
    gap: 1.2rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.hero p {
    max-width: 64ch;
    color: var(--text-muted);
}

.hero-actions {
    margin-top: 1.1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.panel,
.card,
.product-card,
.faq-item,
.case-card,
.contact-box,
.info-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    /* Flacher, moderner, weniger strukturiert */
    transition: border-color 0.3s ease, background 0.3s ease;
}

.product-card:hover,
.card:hover,
.panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.panel {
    padding: 1.1rem;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 0.9rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card,
.case-card,
.product-card {
    padding: 1rem;
}

.card h3,
.product-card h3,
.case-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.08rem;
}

.card p,
.product-card p,
.case-card p,
.list-muted,
small,
.meta,
.footer-col p,
footer p,
li {
    color: var(--text-muted);
}

.list {
    display: grid;
    gap: 0.38rem;
    padding-left: 1rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.kpi {
    text-align: center;
    padding: 0.95rem 0.6rem;
}

.kpi strong {
    display: block;
    font-size: 1.35rem;
    color: var(--text);
}

.kpi span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.featured {
    background: rgba(34, 34, 35, 0.5);
    border-block: 1px solid var(--line);
}

.product-media {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: #111111;
    display: flex;
    /* Zentriert Bilder wie SVGs */
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    /* Feste Ratio für stabile Kartenhöhen */
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-footer {
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.price {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    color: #dedede;
    margin-bottom: 0.55rem;
}

/* Product Gallery & Lightbox */
.product-gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* Verhindert Überstehen */
    margin-bottom: 0.75rem;
}

/* WICHTIG: Überschreibe den margin-bottom in product-gallery für product-media,
   damit der Abstand nur unter den Thumbnails ist. */
.product-gallery .product-media {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow-x: auto;
    border: 1px solid var(--line);
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;

    /* Scrollbar Styling für sauberen Look */
    scrollbar-width: none;
}

.product-thumbnails::-webkit-scrollbar {
    display: none;
}

.product-thumbnails img {
    height: 48px;
    /* Etwas kleiner für besseren Fit in der Card */
    width: 48px;
    flex-shrink: 0;
    /* Verhindert, dass Flexbox sie zusammendrückt */
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-thumbnails img:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

.shop-controls {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin: 1.1rem 0;
}

.filter-btn {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    font: inherit;
}

.filter-btn.active {
    border-color: var(--text);
    color: var(--text);
    background: rgba(222, 222, 222, 0.14);
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.faq-item {
    padding: 0.9rem 1rem;
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.28rem;
}

.contact-layout {
    display: grid;
    gap: 0.9rem;
}

.contact-box {
    padding: 1rem;
    display: grid;
    gap: 0.55rem;
}

label {
    font-size: 0.92rem;
}

input,
textarea,
select {
    width: 100%;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 10px;
    padding: 0.68rem 0.75rem;
    font: inherit;
}

textarea {
    resize: vertical;
    min-height: 130px;
}

.form-note {
    min-height: 1.15rem;
    font-size: 0.92rem;
}

.form-note.ok {
    color: var(--success);
}

.form-note.err {
    color: var(--danger);
}

.footer {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding: 2rem 0;
}

.footer-grid {
    display: grid;
    gap: 1rem;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.3rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

.legal h1 {
    margin-bottom: 1rem;
}

.legal h2 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.legal p,
.legal li {
    color: var(--text-muted);
}

.legal ul {
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

@media (min-width: 760px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
        gap: 1.2rem;
    }

    .kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr;
    }
}

@media (min-width: 980px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
}

.lightbox-trigger {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.lightbox-trigger:hover {
    opacity: 0.9;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
    /* Macht Lightbox Responsive */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}
/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
@media (min-width: 760px) {
    .whatsapp-float {
        bottom: 30px;
        left: 30px;
        width: 60px;
        height: 60px;
    }
    .whatsapp-icon {
        width: 36px;
        height: 36px;
    }
}
