/* ── PhantastikCharts – seitenspezifisches CSS für mitmachen.php ──────────
   Ausgelagert aus dem früheren Inline-<style>-Block (Aufräumaktion 2026-08-22),
   damit der Browser diese Datei über Page-Loads hinweg cachen kann (per <link>
   + asset_url()-Cache-Busting eingebunden, wie assets/style.css). */

.page-wrap { max-width: 900px; margin: 0 auto; padding: 1.5rem 1rem; }
h1 { font-size: 1.5rem; font-weight: 800; color: #1a1a1a; border-bottom: 2px solid #1a1a1a; padding-bottom: 0.5rem; margin: 0 0 1.25rem; }
.subtitle { color: #666; margin-bottom: 2rem; line-height: 1.6; }

/* .bc-tabs/.bc-tab: siehe assets/style.css (Aufräumaktion 2026-08-22, 1:1-Duplikat
   mit blogger-charts.php) — Außenabstand hier per Override erhalten. */
.bc-tabs { margin-bottom: 1.5rem; }

.card { background: #fff; border: 1px solid #e0e0d8; border-radius: 6px; padding: 1.75rem; }

/* YouTube-Embed responsiv (Chat 2026-08-30): das feste width="560" height="315" am
   <iframe> ist auf schmalen Viewports breiter als der Screen und sprengt die Seite
   (horizontales Scrollen). Klassischer Fluid-Video-Wrapper stattdessen -- volle
   Breite bis max. 560px, Seitenverhaeltnis per aspect-ratio (16:9, keine Browser-
   Unterstuetzung fuer aspect-ratio noetig, breit genug verfuegbar), Iframe absolut
   auf 100%/100% der Wrapper-Flaeche gezogen. */
.video-embed {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    margin: 0.75rem 0 0;
}
.video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
    border-radius: 6px;
}

.form-group { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: 0.4rem; font-size: 0.82rem; color: #666;
        text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
input[type=text], input[type=email], input[type=url], select, textarea {
    width: 100%; padding: 0.65rem 0.9rem; border-radius: 5px;
    border: 1px solid #d0d0c8; background: #fff; color: #1a1a1a;
    font-size: 0.95rem; font-family: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid #c0392b; border-color: #c0392b;
}
.hint { font-size: 0.8rem; color: #999; margin-top: 0.3rem; }

.terms-list { list-style: none; margin-bottom: 0.85rem; }
.terms-list li {
    font-size: 0.85rem; color: #444; line-height: 1.5;
    padding-left: 1.1rem; position: relative; margin-bottom: 0.4rem;
}
.terms-list li::before { content: "–"; position: absolute; left: 0; color: #aaa; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.85rem; color: #333; text-transform: none;
    letter-spacing: normal; font-weight: 400; cursor: pointer;
}
.checkbox-label input { width: auto; margin-top: 0.2rem; }

.btn {
    display: inline-block; padding: 0.7rem 1.5rem; border-radius: 5px;
    font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer;
    font-family: inherit;
}
.btn-primary { background: #c0392b; color: #fff; }
.btn-primary:hover { background: #a93226; }

.alert { padding: 0.85rem 1rem; border-radius: 5px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
