/* =========================================================
   Basti Skyfleet – zentrales Stylesheet
   Look & Feel übernommen aus „Mitgliedsbestaetigung_Skyfleet_Survival.docx“
   ========================================================= */

:root {
    /* Farben aus dem Word-Dokument */
    --navy: #0B2559;          /* Überschriften, Labels, Banner-Start */
    --blue: #1A5FC4;          /* Banner-Ende / Akzent */
    --blue-light: #4DA3E8;    /* feine helle Linie unter dem Banner */
    --orange: #F5A623;        /* Akzentstreifen, Hinweisbox-Rahmen */
    --orange-soft: #FFF7E8;   /* Hinweisbox-Fläche */
    --panel: #F4F7FC;         /* helle Panels / Tabellenflächen */
    --text: #222B3A;          /* Fließtext */
    --muted: #6E7A91;         /* Nebentext, Meta-Angaben */
    --border: #DCE3F0;
    --white: #FFFFFF;

    --font: "Poppins", Arial, Helvetica, sans-serif;
    --banner: linear-gradient(100deg, #0B2559 0%, #124593 55%, #1A5FC4 100%);
    --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }

body {
    font-family: var(--font);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

a { color: var(--blue); }

/* ---------- Kopfbereich (Banner wie im Briefkopf) ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    color: var(--white);
    background: var(--banner);
    border-bottom: 5px solid var(--orange);
    box-shadow: 0 1px 0 var(--blue-light), 0 3px 0 var(--white), 0 5px 0 var(--blue-light);
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 1.6rem;
    font-size: 0.85rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--white);
    border-color: var(--orange);
}

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

/* Sprachumschaltung */
.lang-switcher { display: flex; gap: 0.5rem; align-items: center; }

.lang-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.lang-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lang-link:hover { transform: scale(1.06); }
.lang-link.active { border-color: var(--orange); }

/* ---------- Layout ---------- */
main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3.5rem;
}

.section { margin-bottom: 3.5rem; }

.section-header { margin-bottom: 1.5rem; }

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 0.4rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--orange);
    display: inline-block;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 820px;
    margin-top: 0.5rem;
}

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.hero-highlight {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 4px;
    background: var(--panel);
    border-left: 4px solid var(--orange);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--text);
    font-size: 1rem;
    max-width: 520px;
}

.hero-visual { display: flex; align-items: center; justify-content: center; }

.logo-round-placeholder {
    width: min(375px, 100%);
    aspect-ratio: 1;
}

.logo-round-placeholder img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- Karten / Panels ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.form-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-top: 4px solid var(--navy);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.grid-3 .card { display: flex; flex-direction: column; height: 100%; }

.card-img-top {
    width: calc(100% + 2.8rem);
    margin: -1.4rem -1.4rem 1.2rem;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 6px 6px 0 0;
}

.card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 0.3rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.card-text { font-size: 0.9rem; color: var(--text); }

/* ---------- Vielfliegerprogramm ---------- */
.program-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
}

.program-highlights { display: grid; gap: 1.1rem; }

.program-item { display: flex; gap: 0.9rem; align-items: flex-start; }

.program-icon {
    flex: none;
    width: 14px;
    height: 14px;
    margin-top: 0.4rem;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-soft);
}

.program-text-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.program-text-body { font-size: 0.9rem; color: var(--text); }
.program-text-body small { font-size: 0.82rem; color: var(--muted); }

/* ---------- Formular ---------- */
.form-card .card-title { margin-bottom: 0.6rem; }
.form-card > .card-text { margin-bottom: 1rem; }

.form-row { margin-bottom: 0.9rem; }

.form-row-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }

.form-row label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.form-row small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

input, select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 95, 196, 0.18);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.form-footer span { display: inline-flex; align-items: center; gap: 0.4rem; }

.form-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.65rem 1.3rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--panel); }

/* ---------- Hinweisbox (Anmelde-Seite) – wie „Wichtig: Karte aktivieren“ ---------- */
.irony-banner {
    position: relative;
    margin-bottom: 3rem;
    padding: 1.8rem 2rem;
    background: var(--orange-soft);
    border: 2px solid var(--orange);
    border-radius: var(--radius);
}

.irony-banner::after {
    content: '📬';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.2rem;
    opacity: 0.7;
}

.irony-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-right: 3.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
}

.irony-header-icon {
    flex: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--orange);
    font-size: 1rem;
}

.irony-text { font-size: 0.95rem; color: var(--text); line-height: 1.75; max-width: 720px; }
.irony-text p + p { margin-top: 0.75rem; }
.irony-text strong { color: var(--navy); }

.irony-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.irony-cta:hover { background: var(--navy); color: var(--white); }

/* ---------- Fußbereich (wie Fußzeile des Dokuments) ---------- */
footer {
    color: rgba(255, 255, 255, 0.88);
    background: var(--banner);
    border-top: 5px solid var(--orange);
    padding: 1.5rem;
    font-size: 0.8rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero,
    .program-layout { grid-template-columns: minmax(0, 1fr); }
    header { position: static; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .nav { flex-wrap: wrap; }
    .nav-links { display: none; }
    .hero-title { font-size: 1.9rem; }
    .grid-3 { grid-template-columns: minmax(0, 1fr); }
    .form-row-split { grid-template-columns: minmax(0, 1fr); }
    .irony-banner { padding: 1.4rem 1.2rem; }
}
