/* ==========================================
   Website Bäckerei Sonnenkorn
   Konzept, Design und Umsetzung: SAY Media Consulting
   Bennostraße 6, 90411 Nürnberg
   www.say-consulting.de
   ========================================== */

/* ==========================================
   FARBEN UND SCHRIFTGRÖSSEN
   ========================================== */
:root {
    --bg: #fffaf3;
    --heading: #7c2d12;
    --text: #57534e;
    --accent: #7c2d12;
    --accent-contrast: #ffffff;
    --surface: #f8f8f6;
    --surface-alt: #f9f4ee;
    --border: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.2);
    --header-bg: rgba(255, 250, 243, 0.92);
    --h1-size: clamp(2.2rem, 5vw, 3.4rem);
    --h2-size: clamp(1.8rem, 3.5vw, 2.4rem);
    --h3-size: 1.25rem;
    --text-size: 1rem;
    --footer-bg: #0f172a;
    --footer-title: #ffffff;
    --footer-text: #cbd5e1;
    --footer-muted: #94a3b8;
    --footer-line: rgba(255, 255, 255, 0.12);
}


/* ==========================================
   STYLESHEET
   Ohne Cookies und ohne externe Dateien.

   Farben und Schriftgrößen stehen ganz oben unter :root.
   Wer die Farben ändern will, ändert nur diese Werte.
   ========================================== */

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--text-size);
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 { color: var(--heading); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); margin-bottom: 16px; }
h3 { font-size: var(--h3-size); margin-bottom: 10px; }
p + p { margin-top: 14px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.container-full { max-width: none; padding: 0 clamp(18px, 4vw, 64px); }

.skip-link {
    position: absolute; left: -9999px; top: 8px;
    background: var(--accent); color: var(--accent-contrast);
    padding: 10px 16px; border-radius: 8px; z-index: 2000;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-contrast);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { opacity: 0.92; }
.has-hover .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.btn-light { background: #ffffff; color: #0f172a; }

/* Einblende-Animationen von links/rechts dürfen die Seite nicht seitlich verbreitern */
main { overflow-x: hidden; }

/* ---------- Kopfbereich mit Menü ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}
.site-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--heading);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.site-logo img { max-height: 48px; width: auto; }

.main-nav ul { list-style: none; display: flex; gap: 28px; }
.main-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--heading);
    opacity: 0.85;
}
.main-nav a:hover { opacity: 1; color: var(--accent); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--heading);
    align-items: center;
    justify-content: center;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Header: Slider oder Vollbild ---------- */
.hero {
    position: relative;
    min-height: 72vh;
    color: #ffffff;
    overflow: hidden;
    background: #0f172a;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-single .hero-slide { opacity: 1; visibility: visible; }
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.hero-content { max-width: 820px; position: relative; z-index: 1; }

/* Parallax: Die Ebene ist höher als der Bereich und wird beim Scrollen per JavaScript verschoben */
[data-parallax] .parallax-layer { inset: -18% 0; will-change: transform; }
.hero h1, .hero h2 { color: #ffffff; font-size: var(--h1-size); margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.hero p { font-size: 1.15rem; opacity: 0.95; margin-bottom: 26px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }


.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
}
.slider-arrow:hover { background: rgba(0, 0, 0, 0.55); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}
.slider-dot.is-active { background: #ffffff; }

/* ---------- Sektionen allgemein ---------- */
.section { padding: 96px 0; }
.section:nth-of-type(even) { background-color: var(--surface-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { font-size: 1.08rem; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
/* Hover-Effekte (nur wenn im Konfigurator gewählt) */
.has-hover .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
    border-color: var(--accent);
}
.has-hover .service-card:hover .service-icon { transform: scale(1.15) rotate(-6deg); }
.service-icon { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; }
.has-hover .stat-card:hover .stat-number { transform: scale(1.08); }
.stat-number { transition: transform 0.35s ease; }
.has-hover .faq-list details:hover { border-color: var(--accent); }
.has-hover .media-side img:hover, .has-hover .media-side video:hover { transform: scale(1.02); }
.media-side img, .media-side video { transition: transform 0.5s ease; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Leistungen */
.service-card { text-align: center; }
.service-icon { font-size: 2.4rem; margin-bottom: 14px; }
.service-icon.is-svg {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    font-size: 0;
}
.service-icon.is-svg svg { display: block; width: 32px; height: 32px; }
.has-hover .service-card:hover .service-icon.is-svg { transform: translateY(-3px); }

/* Über uns */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-text .btn { margin-top: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card { text-align: center; padding: 26px 16px; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.stat-label { font-size: 0.92rem; }

/* Referenzen */
.testimonial-card blockquote p { font-style: italic; font-size: 1.05rem; }
.testimonial-card figcaption { margin-top: 16px; font-weight: 700; color: var(--heading); font-size: 0.95rem; }

/* Text */
.text-block { max-width: 760px; margin: 0 auto; text-align: center; }
.text-block p { font-size: 1.08rem; }

/* Text & Bild / Video */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-grid.media-right .media-side { order: 2; }
.media-side img, .media-side video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #0f172a;
}
.media-side video { aspect-ratio: 16 / 9; }

/* Text halb über dem Bild */
.media-half { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.media-half .media-side { grid-column: 1 / 9; grid-row: 1; }
.media-half .text-card { grid-column: 7 / 13; grid-row: 1; position: relative; z-index: 2; }
.media-half.media-right .media-side { grid-column: 5 / 13; order: 0; }
.media-half.media-right .text-card { grid-column: 1 / 7; }

/* Text über dem Bild */
.media-overlay {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 60px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}
.media-overlay::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.media-overlay .overlay-content { position: relative; max-width: 560px; }
.media-overlay.media-right { justify-content: flex-end; }
.media-overlay h2 { color: #ffffff; }

/* Nur Video */
.video-solo { max-width: 920px; margin: 0 auto; }
.video-solo video { width: 100%; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15); aspect-ratio: 16 / 9; background: #0f172a; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.has-hover .gallery-item:hover img { transform: scale(1.04); }

/* FAQ mit aufklappbaren Einträgen (funktioniert ohne JavaScript) */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    color: var(--heading);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info p { margin-bottom: 8px; }
.contact-info a { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; color: var(--heading); font-size: 0.95rem; }
.form-row input, .form-row textarea {
    font: inherit;
    font-size: 16px;
    padding: 13px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; }
.form-note a { color: var(--accent); }
.form-message { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-message.ok { background: #dcfce7; color: #166534; }
.form-message.error { background: #fee2e2; color: #991b1b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg, #0f172a); color: var(--footer-muted, #94a3b8); padding: 64px 0 32px; font-size: 0.95rem; }
.site-footer a { color: var(--footer-text, #cbd5e1); text-decoration: none; }
.site-footer a:hover { color: var(--footer-title, #ffffff); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-title { color: var(--footer-title, #ffffff); font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
    border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.1));
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}
.cookie-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 99px;
    color: #6ee7b7;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { padding: 72px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: var(--h2-size); margin-bottom: 28px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.placeholder { background: #fef3c7; color: #92400e; padding: 1px 6px; border-radius: 4px; }

/* ---------- Bild-Großansicht (Galerie) ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 10px; }
.lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
}
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll-Animationen ---------- */
/* Nur aktiv, wenn JavaScript läuft. Ohne JavaScript ist alles sofort sichtbar. */
.js .reveal { opacity: 0; transition: opacity 1.2s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal-up { transform: translateY(90px); }
.js .reveal-left { transform: translateX(-120px); }
.js .reveal-right { transform: translateX(120px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Karten, Kennzahlen und Galeriebilder erscheinen nacheinander */
.js .reveal .stagger > * { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.is-visible .stagger > * { opacity: 1; transform: none; }
.js .reveal.is-visible .stagger > *:nth-child(2) { transition-delay: 0.15s; }
.js .reveal.is-visible .stagger > *:nth-child(3) { transition-delay: 0.3s; }
.js .reveal.is-visible .stagger > *:nth-child(4) { transition-delay: 0.45s; }
.js .reveal.is-visible .stagger > *:nth-child(5) { transition-delay: 0.6s; }
.js .reveal.is-visible .stagger > *:nth-child(n+6) { transition-delay: 0.75s; }
/* Nach dem Einblenden normale Hover-Geschwindigkeit */
.js .reveal.is-visible .stagger > .card:hover { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal, .js .reveal .stagger > * { opacity: 1; transform: none; transition: none; }
    [data-parallax] .parallax-layer { transform: none !important; }
    .hero-slide { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .media-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .media-grid.media-right .media-side { order: 0; }
    .media-half { display: flex; flex-direction: column; }
    .media-half .text-card { margin: -60px 16px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 760px) {
    html { scroll-padding-top: 76px; }
    .container { padding: 0 18px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 32px; }

    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
        display: none;
    }
    .nav-open .main-nav { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 8px 18px 16px; }
    .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
    .main-nav li:last-child a { border-bottom: none; }

    .hero { min-height: 64vh; }
    .hero p { font-size: 1.02rem; }
    .slider-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    .hero-slide { padding: 60px 56px; }


    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .gallery-grid, .gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .media-overlay { padding: 32px 22px; min-height: 340px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid > :first-child { grid-column: auto; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
}


/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 4px solid var(--bg); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); transition: transform 0.4s ease; }
.has-hover .team-card:hover img { transform: scale(1.06); }
.team-role { color: var(--accent); font-weight: 700; font-size: 0.92rem; margin-bottom: 10px; }

/* ---------- Öffnungszeiten & Anfahrt ---------- */
.hours-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
.hours-list { display: flex; flex-direction: column; }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.hours-list div:last-child { border-bottom: none; }
.hours-list dt { font-weight: 600; color: var(--heading); }
.hours-list dd { text-align: right; }
.location-card .btn { margin: 8px 0 10px; }
.location-map { width: 100%; border-radius: 12px; margin-bottom: 18px; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Preisliste ---------- */
.price-list { padding: 8px 32px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px dashed var(--border-strong); }
.price-row:last-child { border-bottom: none; }
.price-row h3 { margin-bottom: 4px; font-size: 1.1rem; }
.price-row p { font-size: 0.95rem; }
.price-value { font-weight: 800; font-size: 1.15rem; color: var(--accent); white-space: nowrap; }
.price-note { text-align: center; font-size: 0.88rem; margin-top: 16px; }

/* ---------- Ablauf ---------- */
.steps-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: none; }
.step-card { position: relative; padding-top: 44px; }
.step-num {
    position: absolute;
    top: -22px;
    left: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-contrast);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.steps-list { padding-top: 22px; }

/* ---------- Aufruf-Banner ---------- */
.section-cta { padding: 64px 0; }
.cta-banner {
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}
.cta-banner::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 180%; background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%); pointer-events: none; }
.cta-banner h2, .cta-banner p { color: inherit; position: relative; }
.cta-banner p { max-width: 640px; margin: 0 auto 24px; font-size: 1.1rem; opacity: 0.92; }
.cta-banner .btn { position: relative; }

@media (max-width: 760px) {
    .hours-grid { grid-template-columns: 1fr; }
    .price-list { padding: 4px 20px; }
    .price-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .cta-banner { padding: 40px 22px; }
}

/* ---------- Sektion mit Hintergrundbild (Parallax) ---------- */
.section.has-bg { position: relative; overflow: hidden; color: #f1f5f9; background: #0f172a; }
.section-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.section-bg::after { content: ""; position: absolute; inset: 0; background: rgba(2, 6, 23, 0.62); }
.section.has-bg > .container { position: relative; z-index: 1; }
.section.has-bg .section-head h2,
.section.has-bg .section-head p,
.section.has-bg .text-block h2,
.section.has-bg .text-block p,
.section.has-bg .about-text h2,
.section.has-bg .about-text p,
.section.has-bg .contact-info h2,
.section.has-bg .contact-info p,
.section.has-bg .text-side h2,
.section.has-bg .text-side p { color: #ffffff; }
.section.has-bg .contact-info a { color: #ffffff; }

/* ---------- Barrierefreiheits-Paket ---------- */
.a11y :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9); }
.a11y main p a, .a11y .legal a, .a11y .contact-info a { text-decoration: underline; text-underline-offset: 3px; }
.a11y .form-row input, .a11y .form-row textarea { border-width: 2px; }
.a11y .btn { min-height: 44px; }
.a11y .slider-dot { width: 16px; height: 16px; }

/* ---------- Nur in der Vorschau des Konfigurators ---------- */
.preview-note {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e3a8a;
    font-size: 0.88rem;
    text-align: center;
    padding: 9px 16px;
    border-bottom: 1px solid #93c5fd;
    line-height: 1.4;
}
.preview-badge {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 5;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #1d4ed8;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: none;
}
.section { position: relative; }
.preview-cta { background: #0f172a; color: #cbd5e1; text-align: center; padding: 72px 0; }
.preview-cta h2 { color: #ffffff; }
.preview-cta p { max-width: 640px; margin: 0 auto 24px; }
@media (max-width: 760px) {
    .preview-badge { position: static; display: inline-block; margin: 0 0 12px 18px; }
    .preview-note { font-size: 0.78rem; padding: 7px 12px; }
}

/* ---------- Hover hat Vorrang vor der Einblende-Animation ---------- */
.has-hover .card:hover,
.has-hover .reveal.is-visible .stagger > .card:hover,
.has-hover .reveal .stagger > .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
    border-color: var(--accent);
    transition-delay: 0s;
}
.has-hover .gallery-item:hover { box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25); }
.has-hover .gallery-item:hover img { transform: scale(1.08); }
.has-hover .btn:hover { transform: translateY(-3px); }

/* ---------- Volle Breite: Bilder, Galerie, Video und Banner randlos ---------- */
.container-full { max-width: none; }
.section > .container-full:has(.media-overlay),
.section > .container-full:has(.video-solo),
.section > .container-full:has(.gallery-grid),
.section > .container-full:has(.cta-banner) { padding-left: 0; padding-right: 0; }
.container-full .media-overlay,
.container-full .cta-banner { border-radius: 0; min-height: 480px; }
.container-full .cta-banner { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 80px 24px; }
.container-full .video-solo { max-width: none; }
.container-full .video-solo video { border-radius: 0; }
.container-full .gallery-grid { gap: 4px; }
.container-full .gallery-item { border-radius: 0; box-shadow: none; }
.container-full .section-head { padding: 0 24px; }
.container-full .media-grid { gap: clamp(32px, 5vw, 96px); }
.container-full .media-side img, .container-full .media-side video { border-radius: 0; }

/* Vorschau: Rechts-Links ohne Funktion, Zurück-Link */
.preview-dead { color: var(--footer-text, #cbd5e1); opacity: 0.6; cursor: not-allowed; }
.preview-dead-note { font-size: 0.78rem; opacity: 0.7; }
.preview-back { margin-left: 10px; font-weight: 700; color: #1d4ed8; white-space: nowrap; }

/* Hinweisbalken der Beispielseiten */
.example-bar { background: #0f172a; color: #e2e8f0; font: 600 13px/1.4 system-ui, sans-serif; text-align: center; padding: 9px 16px; }
.example-bar a { color: #fbbf24; }
