:root {
    --brand: #e91e63;
    --brand-dark: #c2185b;
    --brand-light: #fce4ec;
    --text: #1a1a2e;
    --text-muted: #5c5c7a;
    --bg: #faf9fb;
    --card: #ffffff;
    --border: #e8e6ed;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 28px 70px rgba(26, 26, 46, 0.14);
    --grid-line: rgba(26, 26, 46, 0.06);
    --font: "DM Sans", system-ui, -apple-system, sans-serif;
    --font-display: "Fraunces", Georgia, serif;
}

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

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 249, 251, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.35);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-desktop a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-desktop a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    font-size: 1.25rem;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
}

.nav-mobile a {
    padding: 0.6rem 0;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
}

.nav-mobile.is-open {
    display: flex;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(233, 30, 99, 0.4);
}

.btn-ghost {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}

/* Hero */
.hero {
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 480px;
    height: 480px;
    background: transparent;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.35rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--brand-dark);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 34ch;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Hero: echtes Produkt-Screenshot */
.hero-screenshot {
    margin: 0;
}

.browser-frame {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    background: #f8f7fa;
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4d4d8;
}

.browser-dot:nth-child(1) {
    background: #fca5a5;
}

.browser-dot:nth-child(2) {
    background: #fcd34d;
}

.browser-dot:nth-child(3) {
    background: #86efac;
}

.browser-viewport {
    background: #f4f3f6;
    line-height: 0;
}

.browser-viewport img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.hero-screenshot-caption {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
}

/* Produkt-Galerie */
.screenshot-gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.screenshot-card {
    margin: 0;
}

.screenshot-frame {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #fff;
    height: 220px;
}

.screenshot-frame--tall {
    height: 200px;
}

.screenshot-card--featured .screenshot-frame {
    height: 280px;
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-card figcaption {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.screenshot-card figcaption strong {
    font-size: 0.95rem;
    color: var(--text);
}

.screenshot-card figcaption span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Sections */
section {
    padding: 4.5rem 0;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 52ch;
    margin-bottom: 2.5rem;
}

/* Problem cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.problem-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.problem-card:hover {
    box-shadow: var(--shadow);
}

.problem-card .icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.problem-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.problem-card .solution {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-dark);
}

/* Feature blocks */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
}

.feature-list .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand-dark);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.2rem;
}

.feature-list span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.alt-bg {
    background: #ffffff;
}

/* Themes */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.theme-grid--five {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.theme-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
}

.theme-preview {
    height: 100px;
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

.theme-preview.classic {
    background: var(--brand);
    font-family: "Poppins", sans-serif;
}

.theme-preview.professional {
    background: #f1f5f9;
    color: #0f172a;
    background-image: none;
    background-size: 12px 12px;
}

.theme-preview.minimal {
    background: #fff;
    color: #000;
    border-bottom: 3px solid #000;
}

.theme-preview.slotra2 {
    background: #7c3aed;
    color: #fff;
}

.theme-preview.learngrid {
    background: #111019;
    color: #a78bfa;
    border-bottom: 2px solid #a78bfa;
}

.theme-preview.iserv {
    background: #005691;
    color: #fff;
}

.theme-card h4 {
    padding: 0.85rem 1rem 0.25rem;
    font-size: 0.95rem;
}

.theme-card p {
    padding: 0 1rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Trust */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.trust-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.trust-card .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.trust-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* CTA */
.cta {
    background: var(--brand);
    color: #fff;
    border-radius: calc(var(--radius) + 12px);
    padding: 3.5rem 2.5rem;
    text-align: center;
    margin: 2rem 0 0;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.75rem;
}

.cta p {
    opacity: 0.92;
    max-width: 42ch;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
}

.cta .btn-primary {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta .btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Footer */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-inner a {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .feature-split {
        grid-template-columns: 1fr;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .screenshot-card--featured .screenshot-frame,
    .screenshot-frame,
    .screenshot-frame--tall {
        height: 240px;
    }

    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-inner .btn-primary {
        display: none;
    }

    .theme-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 2.5rem;
    }
}

/* ============================================================
   GRID-KONZEPT – Stundenraster als visueller roter Faden
   ============================================================ */

/* Logo-Mark als Mini-Raster */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    width: 20px;
    height: 20px;
}
.logo-grid i {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}
.logo-grid i.on {
    background: #fff;
}

/* Hero-Trust-Leiste */
.hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding: 0;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Hero-Visual: Screenshot über dekorativem Buchungsraster */
.hero-visual {
    position: relative;
}
.booking-grid {
    position: absolute;
    inset: -28px -24px auto auto;
    top: -34px;
    right: -26px;
    width: 62%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    z-index: 0;
    opacity: 0.9;
}
.booking-grid i {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background: var(--card);
    border: 1px solid var(--border);
}
.booking-grid i.on {
    background: var(--brand-light);
    border-color: rgba(233, 30, 99, 0.35);
    animation: slotPulse 4.5s ease-in-out infinite;
    animation-delay: calc(var(--d) * 0.18s);
}
@keyframes slotPulse {
    0%, 100% { background: var(--card); border-color: var(--border); }
    35%, 65% { background: var(--brand-light); border-color: rgba(233, 30, 99, 0.4); }
}
.hero-visual .hero-screenshot {
    position: relative;
    z-index: 1;
}

/* Section-Hintergrund: feines Raster (Stundenraster-Papier) */
.alt-bg {
    background:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        #ffffff;
    background-size: 44px 44px, 44px 44px, auto;
}

/* In 3 Schritten */
.steps-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: step;
    padding: 0;
}
.step-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    overflow: hidden;
}
.step-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--brand);
}
.step-slot {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}
.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.step-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Produkt-Showcase: ein großer Screenshot + Callouts */
.product-showcase {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.product-screenshot {
    margin: 0;
}
.product-callouts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 0;
}
.product-callouts li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.callout-dot {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 0.25rem;
    border-radius: 4px;
    background: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-light);
}
.product-callouts strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.98rem;
}
.product-callouts span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.callout-soon {
    opacity: 0.72;
}
.callout-soon .callout-dot {
    background: var(--text-muted);
    box-shadow: 0 0 0 4px var(--border);
}

/* Problem-Karten: Slot-Akzent oben */
.problem-card {
    position: relative;
    overflow: hidden;
}
.problem-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.problem-card:hover::before {
    transform: scaleX(1);
}

/* FAQ-Akkordeon */
.faq-container {
    max-width: 800px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.35rem;
    font-weight: 600;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--brand-light);
    color: var(--brand-dark);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}
.faq-item p {
    padding: 0 1.35rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Responsive – Grid-Konzept */
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .booking-grid {
        display: none;
    }
}
