/* Solaris Valley – Webseite (neu gestaltet am 14.11.2026 nach dem Vorbild der Banana-Fire-Seite).
   Farben aus dem Spiel: Sonnengelb (BrandSun #F7B912) mit dunkler Schrift (OnSun #17171A) für Knöpfe, Himmelblau aus dem App-Icon für Akzente.
   Nur Systemschriften, keine externen Ressourcen, keine Cookies. Hell und dunkel folgen der Systemeinstellung. */

:root {
    color-scheme: light dark;
    --sun: #f7b912;
    --sun-strong: #e5a400;
    --on-sun: #17171a;
    --sky: #1767a8;
    --sky-tint: rgba(23, 103, 168, 0.09);
    --ink: #12161b;
    --ink-2: #4a5563;
    --ink-3: #78838f;
    --bg: #ffffff;
    --bg-soft: #f3f7fb;
    --bg-warm: #fff6df;
    --card: #ffffff;
    --line: #e2e8ef;
    --device: #0c0d10;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 22px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 26px 64px rgba(15, 23, 42, 0.18);
    --radius: 20px;
    --radius-sm: 12px;
    --max: 1180px;
    --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
    :root {
        --sky: #7cb9ee;
        --sky-tint: rgba(124, 185, 238, 0.13);
        --ink: #eef2f6;
        --ink-2: #b3bdc9;
        --ink-3: #8794a2;
        --bg: #0d1217;
        --bg-soft: #121a21;
        --bg-warm: #1b170d;
        --card: #151d25;
        --line: #26313c;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 8px 22px rgba(0, 0, 0, 0.38);
        --shadow-lg: 0 26px 64px rgba(0, 0, 0, 0.55);
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: var(--sky); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
    background: var(--sun); color: var(--on-sun); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Navigation */
nav.top {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.86);
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.nav-content { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.08rem; letter-spacing: -0.02em; }
.logo img { width: 38px; height: 38px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 550; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .lang-switch {
    display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 0.6rem; border-radius: 9px;
    border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); font-size: 0.82rem; font-weight: 750;
}
.nav-links .lang-switch:hover { background: var(--sun); border-color: var(--sun); color: var(--on-sun); }
.nav-back { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.nav-back svg { width: 18px; height: 18px; }
.nav-back:hover { color: var(--ink); }

/* Kopfbild ganz oben (Wunsch vom 14.11.2026: „das oben als header“): Panorama der Illustration über die volle Breite, unter der durchscheinenden
   Navigation. Die Höhe folgt Breite und Bildschirmhöhe; der Ausschnitt hält Typ und Firmenwagen immer ganz im Bild. */
.masthead { position: relative; height: clamp(280px, 40vw, 60vh); overflow: hidden; background: var(--bg-warm); }
.masthead img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 79%; }
.masthead figcaption {
    position: absolute; right: 16px; bottom: 14px; display: block; margin: 0; padding: 0.32rem 0.8rem; border-radius: 999px;
    background: rgba(12, 13, 16, 0.55); color: #fff; font-size: 0.78rem; line-height: 1.4;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.masthead figcaption span { color: inherit; font-size: inherit; }   /* nicht wie die Bildunterschriften der Galerie (figcaption span) */

/* Startbild */
.hero {
    position: relative; overflow: hidden; padding: 4.5rem 1.5rem 5.5rem;
    background:
        radial-gradient(1100px 620px at 88% -12%, var(--bg-warm), transparent 62%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 88%);
}
.hero-content { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr); gap: 3.2rem; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.38rem 0.9rem; border-radius: 999px; margin-bottom: 1.4rem;
    background: var(--sky-tint); color: var(--sky); font-size: 0.86rem; font-weight: 650;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(247, 185, 18, 0.28); }
/* Größe so gewählt, dass „Verkaufe PV-Anlagen. / Bau dir dein / Solar-Imperium auf.“ auf breiten Bildschirmen in drei Zeilen steht */
h1 { font-size: clamp(2.1rem, 4.1vw, 3.3rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 820; margin-bottom: 1.35rem; text-wrap: balance; }
h1 span { color: var(--sky); }
.hero-description { font-size: 1.14rem; color: var(--ink-2); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.75rem 1.35rem;
    border-radius: 14px; border: 1px solid transparent; background: var(--sun); color: var(--on-sun); font-weight: 720; font-size: 1rem;
    text-decoration: none; box-shadow: 0 8px 20px rgba(247, 185, 18, 0.32); transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.button:hover { transform: translateY(-1px); background: var(--sun-strong); }
.button.outline { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.button.outline:hover { background: var(--card); border-color: var(--ink-3); }
.coming-soon {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.75rem 1.3rem; border-radius: 14px;
    background: var(--ink); color: var(--bg); font-weight: 720; font-size: 1rem;
}
.coming-soon svg { width: 20px; height: 20px; color: var(--sun); }
.app-store-badge { display: inline-block; }
.app-store-badge img { height: 52px; width: auto; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2rem; color: var(--ink-2); font-size: 0.95rem; font-weight: 550; }
.hero-meta li { position: relative; padding-left: 1.6rem; }
.hero-meta li::before {
    content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
    background: var(--sun) var(--check) center / 0.7rem no-repeat;
}
/* Spielszenen ohne Rahmen an der Stelle der Illustration (Wunsch vom 14.11.2026) */
.hero-visual { position: relative; }
.hero-video { aspect-ratio: 1280 / 590; border-radius: 24px; overflow: hidden; background: #0b0f14; box-shadow: var(--shadow-lg); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-note { margin-top: 0.9rem; text-align: center; color: var(--ink-3); font-size: 0.85rem; }

/* Zahlenzeile unter dem Startbild */
.facts-band { position: relative; z-index: 1; padding: 0 1.5rem; margin-top: -2rem; }
.facts {
    max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem;
    padding: 1.6rem 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.fact-value { color: var(--sky); font-size: 2.3rem; font-weight: 820; line-height: 1; letter-spacing: -0.03em; }
.fact-label { margin-top: 0.4rem; color: var(--ink-2); font-size: 0.95rem; line-height: 1.4; }

/* Spielbilder in echten Apple-Gerätrahmen (fertig zusammengesetzt von media.py) */
.framed { display: block; }
.framed img { width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(15, 23, 42, 0.2)); transition: transform 0.25s; }
.framed:hover img { transform: translateY(-4px); }
@media (prefers-color-scheme: dark) { .framed img { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55)); } }

/* Abschnitte */
.band { padding: 6rem 1.5rem; }
.band.soft { background: var(--bg-soft); }
.section-header { max-width: 46rem; margin: 0 auto 3.2rem; text-align: center; }
.section-label { display: inline-block; margin-bottom: 0.8rem; color: var(--sky); font-size: 0.8rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 1rem; }
.section-description { color: var(--ink-2); font-size: 1.1rem; }

.feature-rows { max-width: var(--max); margin: 0 auto; display: grid; gap: 5.5rem; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.feature-row.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.feature-row.reverse .feature-media { order: 2; }
.feature-kicker { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; color: var(--sky); font-size: 0.82rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.feature-kicker span {
    display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--sun); color: var(--on-sun);
    font-size: 0.85rem; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.feature-text h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 0.8rem; }
.feature-text p { color: var(--ink-2); font-size: 1.07rem; }

.pillars-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.pillar {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-num {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.1rem; border-radius: 12px;
    background: var(--sun); color: var(--on-sun); font-weight: 800; font-variant-numeric: tabular-nums;
}
.pillar h3 { font-size: 1.14rem; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.pillar p { color: var(--ink-2); font-size: 0.97rem; }

.screen-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.6rem; }
figcaption { display: grid; gap: 0.15rem; margin-top: 1rem; padding: 0 0.3rem; }
figcaption strong { font-size: 1.05rem; letter-spacing: -0.01em; }
figcaption span { color: var(--ink-2); font-size: 0.95rem; }

.showcase-row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.showcase-text .section-label { margin-bottom: 0.6rem; }
.showcase-text p { color: var(--ink-2); font-size: 1.06rem; }
/* Drei weitere iPad-Szenen unter dem großen iPad; auf dem Handy eine Reihe zum Wischen */
.ipad-strip { max-width: var(--max); margin: 4.5rem auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem; }
.checklist { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.checklist li { position: relative; padding-left: 2.05rem; color: var(--ink-2); }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: 0.18rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--sun) var(--check) center / 0.8rem no-repeat;
}

/* Film: immer dunkel, wie im Kino */
.film { background: #0b0f14; color: #eef2f6; }
.film .section-label { color: var(--sun); }
.film .section-description { color: #a9b4c0; }
.film-frame { max-width: 1040px; margin: 0 auto; aspect-ratio: 3840 / 1646; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }

.pricing-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun), var(--shadow-md); }
.price-kicker { margin-bottom: 0.35rem; color: var(--ink-3); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.price-card h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.price-card p { color: var(--ink-2); }
.pricing-note { max-width: 46rem; margin: 1.8rem auto 0; text-align: center; color: var(--ink-3); font-size: 0.93rem; }

.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem; }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.45rem; line-height: 1; color: var(--ink-3); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 1.2rem; color: var(--ink-2); }

.cta-section { text-align: center; background: linear-gradient(160deg, var(--bg-warm), var(--bg-soft)); }
.cta-section p { max-width: 38rem; margin: 0 auto 2rem; color: var(--ink-2); font-size: 1.06rem; }
.cta-section .hero-cta { justify-content: center; }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 1.4rem; border-radius: 22px; box-shadow: var(--shadow-md); }
.support-box { max-width: 42rem; margin: 2.4rem auto 0; color: var(--ink-2); font-size: 0.97rem; }
.support-box strong { color: var(--ink); }

footer { border-top: 1px solid var(--line); padding: 2.5rem 1.5rem 3rem; }
.footer-content { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 750; }
.footer-brand img { width: 30px; height: 30px; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.3rem; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-copy { width: 100%; color: var(--ink-3); font-size: 0.85rem; }

/* Rechtsseiten */
.legal { max-width: 800px; margin: 0 auto; padding: 7.5rem 1.5rem 4.5rem; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.7rem; }
.legal-tabs a {
    padding: 0.4rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2);
    text-decoration: none; font-size: 0.9rem; font-weight: 550;
}
.legal-tabs a[aria-current="page"] { background: var(--sun); border-color: var(--sun); color: var(--on-sun); font-weight: 720; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.7rem); margin: 1.6rem 0 0.4rem; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.015em; margin: 2.2rem 0 0.6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 0.35rem; }
.legal p { color: var(--ink-2); margin-bottom: 0.8rem; }
.legal .meta { color: var(--ink-3); font-size: 0.92rem; }
.legal address { font-style: normal; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); }
.legal address p { margin-bottom: 0.4rem; color: var(--ink); }
.legal address p:last-child { margin-bottom: 0; }

/* Breiten */
@media (max-width: 1020px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text { max-width: 640px; }
    h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
    .hero-visual { width: 100%; max-width: 760px; margin: 0 auto; }
    .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-row { grid-template-columns: 1fr; gap: 2.6rem; }
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 1.8rem; }
    .feature-row.reverse .feature-media { order: 0; }
    .feature-rows { gap: 4rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 600px; }
}
@media (max-width: 720px) {
    nav.top { padding: 0.7rem 1rem; }
    .nav-links { gap: 1rem; }
    .nav-links a:not(.lang-switch) { display: none; }
    .hero { padding: 2.8rem 1rem 3.8rem; }
    .band { padding: 4.3rem 1rem; }
    .section-header { margin-bottom: 2.4rem; }
    .screen-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .masthead img { object-position: 26% 79%; }
    .masthead-more { display: none; }
    .ipad-strip {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 1.2rem;
        margin: 2.8rem -1rem 0; padding: 0.4rem 1rem 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory;
        scroll-padding-inline: 1rem; overscroll-behavior-x: contain; scrollbar-width: none;
    }
    .ipad-strip::-webkit-scrollbar { display: none; }
    .ipad-strip figure { scroll-snap-align: start; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.3rem 1.2rem; }
    .fact-value { font-size: 1.9rem; }
    .pillars-grid { grid-template-columns: 1fr; }
    .legal { padding: 6.5rem 1rem 3.5rem; }
    footer { padding: 2.2rem 1rem 2.6rem; }
}
@media (max-width: 400px) {
    .hero-cta .button, .hero-cta .coming-soon { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
