/* ============================================
   BASE.CSS — Gemeinsames CSS für alle Seiten
   m-strasser.at
   ============================================ */

/* ── VARIABLEN ── */
:root {
    --bg: #05070b;
    --panel: rgba(14, 19, 30, 0.55);
    --panel-strong: rgba(13, 18, 29, 0.78);
    --panel-border: rgba(143, 180, 255, 0.18);
    --text: #f4f7fb;
    --muted: #a4b0c2;
    --blue: #5ea2ff;
    --blue-strong: #3d8dff;
    --blue-soft: rgba(94, 162, 255, 0.18);
    --radius: 22px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --container: 1220px;
}

/* ── RESET ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 18%, rgba(33, 107, 255, 0.22), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(78, 140, 255, 0.18), transparent 24%),
        radial-gradient(circle at 48% 58%, rgba(18, 63, 150, 0.12), transparent 24%),
        linear-gradient(180deg, #04060a 0%, #060910 42%, #05070b 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(61, 141, 255, 0.08), transparent 18%),
        radial-gradient(circle at 74% 14%, rgba(94, 162, 255, 0.08), transparent 18%);
    filter: blur(30px);
    opacity: 0.95;
}

a { color: inherit; }

/* ── LAYOUT ── */
.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* ── NAVIGATION ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 7, 11, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.nav-back:hover {
    color: #fff;
    border-color: rgba(94, 162, 255, 0.35);
    background: rgba(94, 162, 255, 0.06);
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #5ea2ff 0%, #2a72ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(61, 141, 255, 0.35);
}

.nav-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.nav-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(94, 162, 255, 0.14);
    border: 1px solid rgba(94, 162, 255, 0.3);
    color: #8dbbff;
    letter-spacing: 0.04em;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(180deg, #66acff 0%, #458df5 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(61, 141, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: all 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(61, 141, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 15px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.22s ease;
}

.btn-primary {
    background: linear-gradient(180deg, #66acff 0%, #458df5 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(61, 141, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(61, 141, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-secondary {
    color: #d8e4f7;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    border-color: rgba(94, 162, 255, 0.45);
    color: white;
    background: rgba(94, 162, 255, 0.06);
    transform: translateY(-2px);
}

/* ── HERO CARD (geteilt) ── */
.hero-wrap { padding: 48px 0 36px; }

.hero-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 28%, rgba(94, 162, 255, 0.10), transparent 26%),
        radial-gradient(circle at 82% 14%, rgba(94, 162, 255, 0.08), transparent 18%);
    pointer-events: none;
}

/* ── EYEBROW ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(94, 162, 255, 0.55);
    background: rgba(18, 30, 58, 0.45);
    color: #8dbbff;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: inset 0 0 18px rgba(94, 162, 255, 0.08);
    margin-bottom: 28px;
}

/* ── SECTION ── */
.section { padding: 38px 0 80px; }

.section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: white;
}

.section-title::before {
    content: "";
    display: block;
    width: 6px;
    height: 82px;
    border-radius: 999px;
    background: linear-gradient(180deg, #67aeff 0%, #2a72ff 100%);
    box-shadow: 0 0 16px rgba(61, 141, 255, 0.35);
    flex-shrink: 0;
}

.section-text {
    max-width: 920px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
    margin: 0 0 34px;
}

/* ── KARTEN (geteilt) ── */
.card {
    background: var(--panel-strong);
    padding: 28px 24px;
    border-radius: 18px;
    border: 1px solid rgba(140, 170, 230, 0.10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(94, 162, 255, 0.28);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
}

.card h3 {
    margin: 0 0 12px;
    color: #eef4ff;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.97rem;
}

/* ── TAG / BADGE ── */
.tag, .badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #dcecff;
    background: rgba(94, 162, 255, 0.14);
    border: 1px solid rgba(94, 162, 255, 0.28);
    width: fit-content;
}

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 34px 20px 42px;
    font-size: 0.95rem;
    color: #7f8a96;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer a {
    color: var(--blue);
    text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ── SPRACHUMSCHALTER ── */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.lang-switch a {
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--muted);
    transition: all 0.2s ease;
}

.lang-switch a:hover { color: #fff; }

.lang-switch a.active {
    background: rgba(94, 162, 255, 0.15);
    border: 1px solid rgba(94, 162, 255, 0.3);
    color: #8dbbff;
}

.lang-switch span {
    color: rgba(255,255,255,0.15);
    font-size: 0.7rem;
}

/* ── RESPONSIVE (geteilt) ── */
@media (max-width: 640px) {
    .hero-wrap { padding-top: 26px; }
    .eyebrow { font-size: 0.82rem; padding: 8px 14px; }
    .btn { width: 100%; min-width: unset; }
    .section-title::before { height: 62px; }
    .nav-back span { display: none; }
    .nav-cta { padding: 8px 14px; font-size: 0.82rem; }
}
