/* === Startseite === */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 58vh;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
}
.hero picture, .hero img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 65%, rgba(0,0,0,.55) 100%);
}
.hero__content {
    position: relative; z-index: 2;
    max-width: 1440px; margin: 0 auto;
    padding: clamp(28px, 5vw, 64px) 20px;
    color: #fff; text-align: left;
    display: grid; gap: 14px;
}
.hero__content h1 {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: .2px;
}
.hero__content p {
    margin: 0 0 6px;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    opacity: .95;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary-color); color: #fff; }
.btn--primary:hover { background: var(--accent-color); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }

/* USP-Bar */
.usp {
    max-width: 1440px; margin: 18px auto 8px; padding: 10px 12px;
    display: grid; gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    background: var(--secondary-color);
    border-radius: 12px;
}
.usp__item {
    text-align: center; font-weight: 600; color: var(--primary-color);
    padding: 8px 6px;
}

/* Tiles  */
.tiles {
    max-width: 1440px; margin: 20px auto; padding: 0 0;
    display: grid; gap: 14px;
    grid-template-columns: repeat(6, 1fr);
}
.tile { position: relative; overflow: hidden; border-radius: 14px; background: var(--light-grey); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .35s ease; }
.tile__link { display: grid; place-items: end; height: 100%; min-height: 240px; text-decoration: none; color: inherit; }
.tile__content {
    position: absolute; left: 10px; right: 10px; bottom: 10px;
    background: rgba(255,255,255,.92);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.tile:hover img { transform: scale(1.06); }

.tile--xl { grid-column: span 4; min-height: 420px; }
.tile--lg { grid-column: span 3; min-height: 320px; }
.tile--md { grid-column: span 2; min-height: 260px; }

/* Spotlight Scroller */
.spotlight { max-width: 1440px; margin: 24px auto 8px; }
.spotlight__head {
    padding: 0 2px 10px; display: flex; align-items: end; justify-content: space-between;
}
.spotlight__head h2 { margin: 0; color: var(--primary-color); }
.link { color: var(--accent-color); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

.spotlight__scroller {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 27vw, 310px);
    gap: 14px; overflow-x: auto; padding-bottom: 6px;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.spotlight__scroller::-webkit-scrollbar { height: 8px; }
.spotlight__scroller::-webkit-scrollbar-thumb { background: #d5e0f0; border-radius: 8px; }

.card {
    background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    scroll-snap-align: start;
    display: grid; grid-template-rows: 170px auto;
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 12px; display: grid; gap: 6px; }
.card__body h4 { margin: 0; color: var(--primary-color); }
.card__desc { margin: 0; color: var(--dark-grey); font-size: .95rem; }
.card__price { margin-top: 6px; color: var(--danger-color); font-weight: 700; }

/* CTA Prüfstifte */
.cta {
    max-width: 1440px; margin: 32px auto 0; padding: 18px;
    background: linear-gradient(135deg, var(--secondary-color), #fff);
    border-radius: 16px; display: grid; gap: 18px;
    grid-template-columns: 1.2fr .8fr; align-items: center;
}
.cta__content h2 { margin: 0 0 8px; color: var(--primary-color); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta__content p { margin: 0 0 10px; color: var(--dark-grey); }
.cta__media img { width: 100%; height: auto; border-radius: 12px; object-fit: cover; }

/* SEO Teaser */
.seo-teaser { max-width: 1440px; margin: 18px auto 0; }
.seo-teaser details { background: var(--light-grey); border-radius: 12px; padding: 12px 14px; }
.seo-teaser summary { cursor: pointer; font-weight: 700; color: var(--primary-color); }
.seo-teaser__body { color: var(--dark-grey); padding-top: 6px; }

/* Responsive Tweaks */
@media (max-width: 1200px) {
    .tile--xl { grid-column: span 6; }
    .tile--lg { grid-column: span 3; }
    .tile--md { grid-column: span 3; }
}
@media (max-width: 900px) {
    .usp { grid-template-columns: 1fr 1fr; }
    .cta { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .tiles { grid-template-columns: repeat(2, 1fr); }
    .tile--xl, .tile--lg, .tile--md { grid-column: span 2; }
    .hero { min-height: 52vh; }
}
body.darkmode .tile__content { background: rgba(0,0,0,.55); color: #fff; }


/* === Hero-Stack (3 Banner untereinander) === */
.hero-stack {
    display: grid;
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto 20px;
}
.hero--stack {
    position: relative;
    isolation: isolate;
    min-height: clamp(340px, 42vw, 520px);
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}
.hero--stack picture, .hero--stack img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.65) 100%);
}
.hero__content {
    position: relative; z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 48px) 20px;
    color: #fff; display: grid; gap: 12px;
}
.hero__content h1 {
    margin: 0; font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1.06;
}
.hero__content p { margin: 0 0 4px; opacity: .95; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Nutzt bereits vorhandene .btn, .btn--primary, .btn--ghost */

/* === 2-Up Kategorie-Grid === */
.two-up {
    max-width: 1440px;
    margin: 8px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.two-up__item {
    position: relative; display: block; border-radius: 14px; overflow: hidden;
    background: var(--light-grey); text-decoration: none; color: inherit;
}
.two-up__item img {
    width: 100%; height: 100%; max-height: 520px; object-fit: cover;
    transform: scale(1.02); transition: transform .35s ease;
    display: block;
}
.two-up__item:hover img { transform: scale(1.06); }
.two-up__content {
    position: absolute; left: 10px; right: 10px; bottom: 10px;
    background: rgba(255,255,255,.92);
    color: var(--primary-color);
    border-radius: 10px; padding: 10px 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.two-up__content h2 { margin: 0 0 4px; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }
.two-up__content p { margin: 0; color: var(--dark-grey); }

@media (max-width: 900px) {
    .hero--stack { min-height: clamp(280px, 48vw, 420px); }
}
@media (max-width: 720px) {
    .two-up { grid-template-columns: 1fr; }
    .two-up__item img { max-height: 420px; }
}
body.darkmode .two-up__content { background: rgba(0,0,0,.55); color: #fff; }
