/* Lokal gehostete Schrift (DSGVO: kein externer CDN-/Google-Fonts-Request).
Variabler Font deckt alle genutzten Stärken 100–900 ab. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
    --bg: #f7f3ec;
    --bg-soft: #fffaf3;
    --card: #ffffff;
    --text: #111827;
    --muted: #5f6673;
    --border: rgba(17, 24, 39, 0.10);
    --accent: #ff4b2b;
    --accent-dark: #e63b1d;
    --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    width: 100%;
    /* overflow-x: clip statt hidden -> verhindert horizontales Scrollen,
        bricht aber position: sticky des Headers NICHT */
    overflow-x: clip;
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 243, 0.45);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 8px 30px rgba(17, 24, 39, 0.06);
}

.nav {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    transition: height 0.3s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    position: relative;
    transition: width 0.3s ease, height 0.3s ease, border-width 0.3s ease;
}

.brand-icon::before,
.brand-icon::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
    transform: rotate(-8deg);
}

.brand-icon::before {
    top: 16px;
}

.brand-icon::after {
    bottom: 16px;
}

.brand-text {
    font-size: 18px;
    transition: font-size 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 15px;
    font-weight: 650;
    color: #1f2937;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* CTA, der nur im aufgeklappten Mobil-Menü erscheint */
.nav-cta {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 15px 24px;
    font-weight: 800;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 75, 43, 0.28);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 75, 43, 0.34);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    border-color: rgba(17, 24, 39, 0.18);
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* SCROLLED (compact) NAV */

.header.scrolled .nav {
    height: 58px;
}

.header.scrolled .brand-icon {
    width: 32px;
    height: 32px;
    border-width: 2px;
}

.header.scrolled .brand-icon::before,
.header.scrolled .brand-icon::after {
    left: 6px;
    right: 6px;
    height: 2px;
}

.header.scrolled .brand-icon::before {
    top: 11px;
}

.header.scrolled .brand-icon::after {
    bottom: 11px;
}

.header.scrolled .brand-text {
    font-size: 15px;
    line-height: 1;
}

.header.scrolled .brand-break {
    display: none;
}

.header.scrolled .btn-primary {
    padding: 9px 18px;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(255, 75, 43, 0.24);
}

/* HERO */

.hero {
    margin-top: -88px;
    padding: 0 0 24px;
}

.hero-card {
    min-height: 760px;
    background: var(--bg-soft);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    padding: 152px 0 54px;
    display: flex;
    align-items: stretch;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* cover -> Bild füllt die komplette Fläche (keine leeren Ränder).
        center: zeigt die ganze Breite der Szene, links die Halle als
        ruhiger Hintergrund für den Text-Overlay */
    object-fit: cover;
    /* center 20% -> Ausschnitt weiter oben im Bild -> Motiv wandert nach unten */
    object-position: center 20%;
    z-index: 0;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 250, 243, 0.97) 0%, rgba(255, 250, 243, 0.9) 32%, rgba(255, 250, 243, 0) 54%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: min(560px, 100%);
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(52px, 7vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.075em;
    margin-bottom: 32px;
    font-weight: 950;
    max-width: 700px;
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 6px;
    bottom: 6px;
    height: 10px;
    background: var(--accent);
    border-radius: 999px;
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-text {
    max-width: 480px;
    color: #475569;
    font-size: 20px;
    line-height: 1.65;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 560px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-icon {
    width: 42px;
    height: 42px;
    color: var(--text);
    margin-bottom: 6px;
}

.trust-title {
    font-weight: 850;
    font-size: 14px;
    letter-spacing: -0.02em;
}

.trust-sub {
    color: var(--muted);
    font-size: 13px;
}

/* MARQUEE */

.marquee {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    background: var(--accent);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    border-radius: var(--radius-md);
}

.marquee-track {
    display: inline-flex;
    gap: 38px;
    padding: 14px 0;
    animation: marquee 28s linear infinite;
    font-size: 14px;
    font-weight: 850;
}

.marquee span::after {
    content: "•";
    margin-left: 38px;
    opacity: 0.9;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* SECTION GENERAL */

section {
    padding: 96px 0;
}

#firmen {
    padding-top: 44px;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-head h2 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.06em;
    font-weight: 950;
    margin-bottom: 22px;
}

.section-head p {
    font-size: 20px;
    color: var(--muted);
    line-height: 1.65;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
    min-height: 255px;
}

.card-icon {
    width: 46px;
    height: 46px;
    color: var(--accent);
    margin-bottom: 34px;
}

.card h3 {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.055em;
    margin-bottom: 22px;
    font-weight: 950;
}

.card p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

/* GAME SECTION */

.game-section {
    padding-top: 24px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 430px;
    background: url("spiele-turnsaal.png") center / cover no-repeat;
    border: 1px solid rgba(255,255,255,0.8);
}

.split-content h2 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.06em;
    font-weight: 950;
    margin-bottom: 24px;
}

.split-content p {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.game-list {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
}

.game-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #263244;
    font-weight: 750;
}

.check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex: 0 0 auto;
}

/* PROCESS */

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.05);
}

.step {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 22px;
}

.process-card h3 {
    font-size: 20px;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    font-weight: 900;
}

.process-card p {
    font-size: 15px;
    color: var(--muted);
}

/* CTA */

.cta {
    padding: 80px 0 110px;
}

.cta-box {
    background: #111827;
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 56px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 30px 90px rgba(17, 24, 39, 0.22);
}

.cta-box h2 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
    font-weight: 950;
}

.cta-box p {
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.65;
    max-width: 640px;
}

.cta-actions {
    display: flex;
    justify-content: flex-end;
}

/* CONTACT FORM */

.form-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -0.01em;
    color: #1f2937;
}

.field label .req {
    color: var(--accent);
}

.field input,
.field select,
.field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 13px 15px;
    width: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.16);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
    border-color: #dc2626;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.form-actions .btn {
    flex: 0 0 auto;
}

.form-hint {
    font-size: 13px;
    color: var(--muted);
    max-width: 280px;
}

.consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.consent a {
    color: var(--accent);
    text-decoration: underline;
}

.form-status {
    grid-column: 1 / -1;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    display: none;
}

.form-status.show {
    display: block;
}

.form-status.success {
    background: rgba(22, 163, 74, 0.10);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.form-status.error {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.22);
}

/* PREISE */

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 24px 60px rgba(255, 75, 43, 0.18);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 30px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(255, 75, 43, 0.28);
}

.price-name {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 950;
    letter-spacing: -0.04em;
    margin-bottom: 4px;
}

.price-amount .num {
    font-size: 48px;
    line-height: 1;
}

.price-amount .unit {
    font-size: 16px;
    font-weight: 800;
    color: var(--muted);
}

.price-min {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 8px;
}

.price-group {
    font-size: 15px;
    color: #4b5563;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.price-features {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #263244;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.price-features .check {
    margin-top: 1px;
}

.price-card .btn {
    margin-top: auto;
    width: 100%;
}

/* Essen-Upgrade */

.upgrade-head {
    text-align: center;
    max-width: 640px;
    margin: 64px auto 32px;
}

.upgrade-head h3 {
    font-size: clamp(26px, 3.4vw, 38px);
    letter-spacing: -0.04em;
    font-weight: 950;
    margin-bottom: 12px;
}

.upgrade-head p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.upgrade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.upgrade-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    text-align: center;
}

.upgrade-card h4 {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.upgrade-card .upgrade-price {
    font-size: 22px;
    font-weight: 950;
    color: var(--accent);
    letter-spacing: -0.03em;
}

.upgrade-card .upgrade-price span {
    font-size: 14px;
    font-weight: 800;
    color: var(--muted);
}

.price-note {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 28px;
}

/* FLIEGENDER BALL */

.floating-ball {
    position: fixed;
    top: 0;
    left: 0;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    z-index: 45; /* über dem Inhalt, aber unter dem Header (50) */
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    touch-action: none;
    /* roter Gummiball mit Lichtpunkt oben links */
    background:
    radial-gradient(circle at 33% 28%,
        #ff8a6b 0%,
        #ff4b2b 36%,
        #e5371a 68%,
        #b21f0a 100%);
    box-shadow:
    inset -9px -11px 20px rgba(120, 12, 0, 0.55),
    inset 7px 8px 16px rgba(255, 255, 255, 0.40),
    0 14px 24px rgba(17, 24, 39, 0.30);
}

/* Glanzlicht */
.floating-ball::after {
    content: "";
    position: absolute;
    top: 14%;
    left: 22%;
    width: 30%;
    height: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.floating-ball:active {
    cursor: grabbing;
}

@media (prefers-reduced-motion: reduce) {
    .floating-ball {
    display: none;
    }
}

/* RESPONSIVE */

@media (max-width: 1250px) {
    .nav-links,
    .header-cta {
    display: none;
    }

    .mobile-menu {
    display: flex;
    cursor: pointer;
    }

    /* Aufgeklapptes Mobil-Menü */
    .header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 24px 20px;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    }

    .header.menu-open .nav-links a:not(.nav-cta) {
    padding: 15px 2px;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    }

    .header.menu-open .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 16px;
    }

    .hero-card {
    min-height: auto;
    padding: 128px 0 64px;
    }

    /* Mobile: dunkles Overlay über dem Foto -> weiße Schrift gut lesbar */
    .hero-card::before {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.80) 0%, rgba(17, 24, 39, 0.62) 48%, rgba(17, 24, 39, 0.55) 100%);
    }

    /* Schrift weiß statt dunkel, mit weichem Schatten für Kontrast */
    .hero h1,
    .hero .hero-text,
    .hero .trust-title,
    .hero .trust-sub {
    color: #fff;
    text-shadow: 0 1px 12px rgba(17, 24, 39, 0.6);
    }

    .hero .trust-icon {
    color: #fff;
    }

    .hero-img {
    /* Auf schmalen Screens schneidet cover die Breite zu -> Ausschnitt nach
        rechts ziehen, damit der getroffene Mann + Ball sichtbar bleiben */
    object-position: 72% center;
    transform: none;
    }

    .trust-row {
    grid-template-columns: 1fr;
    }

    .cards {
    grid-template-columns: repeat(2, 1fr);
    }

    .split {
    grid-template-columns: 1fr;
    }

    .process-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .price-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
    }

    .upgrade-grid {
    grid-template-columns: 1fr;
    }

    .cta-box {
    grid-template-columns: 1fr;
    padding: 46px 30px;
    }

    /* Mobile: zu wenig Platz -> einleitenden Text ausblenden. Die Info
        ("Wir melden uns innerhalb von 24 Stunden") steht ohnehin als
        Hinweis direkt unter den Eingabefeldern. Desktop bleibt unverändert. */
    .cta-box p {
    display: none;
    }

    .cta-actions {
    justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .container {
    width: min(100% - 24px, var(--max));
    }

    .nav {
    height: 74px;
    }

    .brand-icon {
    width: 42px;
    height: 42px;
    }

    .brand-text {
    font-size: 16px;
    }

    .hero {
    margin-top: -74px;
    }

    .hero-card {
    padding: 104px 0 44px;
    }

    h1 {
    font-size: 48px;
    }

    .hero-text {
    font-size: 17px;
    }

    .hero-actions {
    flex-direction: column;
    align-items: stretch;
    }

    .btn {
    width: 100%;
    }

    section {
    padding: 70px 0;
    }

    .cards,
    .process-grid,
    .game-list,
    .form-grid {
    grid-template-columns: 1fr;
    }

    .form-card {
    padding: 22px;
    }

    .card {
    min-height: auto;
    }
}