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

:root {
    --clr-dark: #1a1a1a;
    --clr-header: #212121;
    --clr-accent: #00A4E8;
    --clr-title: #fff;
    --clr-white: #ffffff;
    --clr-text: #ffffff;
    --clr-color-si: black;
    --clr-muted: #888;
    --clr-footer-link: rgba(255,255,255,0.75);
    --header-h: 72px;
    --title-h: 200px;
    --title-mh: 2px;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Barlow', Arial, sans-serif;
    line-height: 1.6;
    background: #fff;
    color: var(--clr-text);
}

/* ── HEADER ─────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: var(--clr-header);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header nav {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}

.logo {
    height: 230px;
    width: auto;
    margin-top: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-links a {
    color: var(--clr-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--clr-accent);
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    margin-left: auto;
    cursor: pointer;
    color: var(--clr-white);
    font-size: 22px;
    padding: 6px;
    background: none;
    border: none;
}

/* ── SLIDESHOW Title ───────────────────────────────────── */
.SS-TITLE {
    position:relative;
    color: var(--clr-title);
    z-index: 3;
    margin-top: var(--title-h);
  @supports ((background-clip: text) or (background-clip: text)) and ((text-fill-color: transparent) or (-webkit-text-fill-color: transparent)) {
    background: linear-gradient(to right, #ff0000, #dae90e);
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.SS-TITLE h1 {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    -webkit-text-stroke-width: medium;
	-webkit-text-stroke-color: black;
}

/* ── SLIDESHOW ───────────────────────────────────── */
.slideshow-wrapper {
    margin-top: var(--header-h);
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-h));
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    display: block;
}

/* Slide dots */
.slide-dots {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--clr-white);
}

/* ── MAIN ────────────────────────────────────────── */
main {
    padding: 70px 40px 60px;
    background: #fff;
}

section {
    margin-bottom: 60px;
}

section h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-color-si);
    margin-bottom: 40px;
}

/* ── LEISTUNGEN (icon row) ───────────────────────── */
.icon-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.icon-item {
    text-align: center;
    max-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.icon-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-color-si);
}

.icon-text-accent {
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-accent);
}

/* ── PRODUCT GRID ────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.product-card:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.product-card a {
    display: block;
    text-decoration: none;
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-card p {
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-text);
    padding: 10px 0 14px;
}

/* Card colors */
.card-nintendo  { background: #ff484b; }
.card-sega      { background: #4e6eff; }
.card-sony      { background: #2c53ff; }
.card-xbox      { background: #3bc559; }
.card-pc        { background: #c5953b; }
.card-sonstiges { background: #3bc59c; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
    background: var(--clr-header);
    color: var(--clr-white);
    padding: 60px 40px 30px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--clr-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--clr-accent), #0077cc);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-brand p {
    font-size: 13px;
    color: var(--clr-footer-link);
    max-width: 300px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-footer-link);
    text-decoration: none;
    font-size: 15px;
    transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
    border-color: var(--clr-accent);
    color: var(--clr-white);
}

.footer-col h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-white);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 13px;
    color: var(--clr-footer-link);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--clr-white);
}

.footer-col p {
    font-size: 13px;
    color: var(--clr-footer-link);
    line-height: 1.7;
    margin-bottom: 14px;
}

.quality-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4ade80;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--clr-footer-link);
    margin-bottom: 10px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--clr-footer-link);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--clr-white);
}

.footer-bottom-links span {
    color: rgba(255,255,255,0.2);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .logo {
        height: 130px;
        width: auto;
        margin-top: 20px;
    }

   .SS-TITLE h1 {
        visibility: hidden;
    }
}

@media (max-width: 600px) {
    .logo {
        height: 130px;
        width: auto;
        margin-top: 20px;
    }

    header nav {
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: var(--clr-header);
        padding: 20px;
        gap: 18px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        display: flex;
    }

    .slideshow-wrapper {
        height: 55vw;
        min-height: 220px;
    }

    .slide img{
        height: 27vh;
    }

    .SS-TITLE h1 {
        visibility: hidden;
    }

    main {
        padding: 50px 20px 40px;
    }

    .icon-row {
        gap: 24px;
    }

    .icon-item img {
        width: 72px;
        height: 72px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    footer {
        padding: 40px 20px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}