/* Spielseiten (minecraft.html, rust.html … discordbots.html): Hero, Tarife, Features, FAQ.
   Bis 18.11.2026 stand dieser Block in jeder der 10 Seiten einzeln im <style>. Je Seite bleibt dort nur
   --gp-hero-bild (Titelbild) und bei einigen Unschaerfe/Zoom des Bildes. Laedt vor spielseite.css. */
/* Seitenspezifisch - Bausteine (Karten, Knoepfe, Abschnitte) kommen
   aus common.css. */
body { overflow-x: hidden; }

/* ===== Hero: Bild rechts, Text links ===== */
.gp-hero {
    margin-top: 70px;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 64px 0 56px;
    background: #070a0f;
    position: relative;
    overflow: hidden;
}
.gp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gp-hero-bild);
    z-index: 0;
}
.gp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #070a0f 0%, #070a0f 26%, rgba(7, 10, 15, 0.93) 42%, rgba(7, 10, 15, 0.6) 58%, rgba(7, 10, 15, 0.18) 74%, rgba(7, 10, 15, 0.05) 100%),
        linear-gradient(180deg, rgba(7, 10, 15, 0.3) 0%, rgba(7, 10, 15, 0) 35%, var(--bg-dark) 100%);
    z-index: 1;
}
.gp-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.gp-content { max-width: 640px; }
.gp-hero h1 {
    font-size: clamp(2.1rem, 3.9vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 1rem;
}
.gp-sub {
    font-size: 1.04rem;
    line-height: 1.6;
    color: #b7c1cf;
    max-width: 560px;
    margin-bottom: 1.9rem;
}
.gp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.9rem; }
.gp-facts {
    display: flex;
    align-items: center;
    gap: 10px 18px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.gp-facts .price { font-size: 1.05rem; font-weight: 700; color: var(--text-bright); }
.gp-facts .price span { font-size: 0.88rem; font-weight: 400; color: var(--text-muted); }
.gp-fact { display: inline-flex; align-items: center; gap: 7px; }
.gp-fact svg { width: 16px; height: 16px; color: var(--primary); }

/* ===== Inhalt ===== */
.gp-main {
    max-width: var(--content);
    margin: 0 auto;
    padding: clamp(48px, 6vw, 72px) var(--pad-x) var(--sec-y);
}
.gp-h2 {
    font-size: clamp(1.5rem, 2.3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}
.gp-sub2 { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1.8rem; }

/* ===== Tarifkarten ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: clamp(48px, 6vw, 72px);
}
.pricing-card {
    background: linear-gradient(180deg, #0e141d 0%, #0b1018 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.pricing-card[data-package="performance"] { border-color: rgba(var(--primary-rgb), 0.4); }
.pricing-card.selected { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg); }
.plan-header { margin-bottom: 16px; }
.plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    background: var(--primary-dim);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.plan-name { font-size: 1.3rem; font-weight: 700; color: var(--text-bright); letter-spacing: -0.01em; margin-bottom: 8px; }
.plan-price { display: flex; flex-direction: column; gap: 1px; }
.price-label { font-size: 0.78rem; color: var(--text-muted); }
.price-value { font-size: 1.55rem; font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; }
.plan-specs { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.plan-specs li {
    display: flex;
    gap: 7px;
    align-items: baseline;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.plan-specs li strong { color: var(--text); font-weight: 600; white-space: nowrap; }
.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: background 0.15s, transform 0.15s, box-shadow 0.2s;
}
.btn-order:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25); }

/* ===== Konfigurator ===== */
.configurator-section {
    background: linear-gradient(180deg, #0e141d 0%, #0b1018 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(22px, 3vw, 34px);
    margin-bottom: clamp(48px, 6vw, 72px);
    box-shadow: var(--shadow-md);
}
.configurator-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: start;
}
.slider-group { padding: 14px 0; }
.slider-group + .slider-group { border-top: 1px solid var(--line); }
.slider-group label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.slider-group label span:last-child { color: var(--text-bright); font-weight: 600; font-size: 1rem; }
/* Das Element ist hoch (Trefferflaeche), gezeichnet wird nur die 6px-Spur darin.
   --fill setzt game-configurator.js; Tippen/Wischen auf dem Handy: js/slider-touch.js */
.slider-group input[type="range"] {
    --fill: 0%;
    display: block;
    width: 100%;
    height: 32px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    touch-action: pan-y;
}
.slider-group input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--primary) var(--fill), var(--bg-elevated) var(--fill));
}
.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -7px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--on-primary);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.4), var(--shadow-sm);
    cursor: grab;
}
.slider-group input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--bg-elevated); }
.slider-group input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--primary); }
.slider-group input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--on-primary);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.4);
    cursor: grab;
}
.slider-group input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.3); }
/* Finger statt Maus: groesserer Griff, hoehere Trefferflaeche */
@media (pointer: coarse) {
    .slider-group { touch-action: pan-y; }
    .slider-group input[type="range"] { height: 44px; pointer-events: none; }
    .slider-group input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -11px; }
    .slider-group input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; }
}
.slider-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.configurator-summary {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
    position: sticky;
    top: 90px;
}
.configurator-summary h3 { font-size: 1.02rem; font-weight: 600; color: var(--text-bright); margin: 0 0 14px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--text-muted);
}
.summary-row strong { color: var(--text); font-weight: 600; }
.price-estimate {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line-strong);
    font-size: 0.92rem;
    color: var(--text-muted);
}
.price-amount { font-size: 1.55rem; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; }
.configurator-summary .btn-order { width: 100%; height: auto; min-height: 44px; padding: 10px 14px; text-align: center; }

/* ===== Feature-Raster ===== */
.features-section h2 {
    text-align: center;
    font-size: clamp(1.5rem, 2.3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: 1.6rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 20px;
    transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--line-strong); }
.feature-card h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-bright);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.feature-card h3::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .gp-hero::after {
        background:
            linear-gradient(90deg, #070a0f 0%, rgba(7, 10, 15, 0.9) 45%, rgba(7, 10, 15, 0.5) 100%),
            linear-gradient(180deg, rgba(7, 10, 15, 0.3) 0%, rgba(7, 10, 15, 0) 40%, var(--bg-dark) 100%);
    }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .configurator-container { grid-template-columns: minmax(0, 1fr); }
    .configurator-summary { position: static; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .gp-hero { min-height: 0; padding: 48px 0 44px; }
    .gp-hero::before { background-position: 60% center; }
    .gp-hero::after { background: linear-gradient(180deg, rgba(7, 10, 15, 0.85) 0%, rgba(7, 10, 15, 0.9) 100%); }
    .gp-ctas .btn-solid, .gp-ctas .btn-ghost { width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
    
