/* =========================================================
   Airporty
   Datei: /public/css/index.css

   Ziel:
   - Heller, freundlicher, mehr "Air" ohne Comic Look
   - Hintergrundbild besser sichtbar
   - Übergang Hero -> Content super weich, kein Balken
   - Header höher (200px) und Logo sichtbar: /img/index/logo.png
   ========================================================= */

:root{
    --apy-bg: #070f1a;
    --apy-bg-2: #0a1526;

    --apy-text: rgba(245, 248, 255, 0.94);
    --apy-text-soft: rgba(220, 232, 255, 0.82);
    --apy-text-muted: rgba(190, 205, 235, 0.70);

    --apy-line: rgba(255,255,255,0.14);

    --apy-accent: #39d7ff;
    --apy-accent-2: #4a7dff;

    --apy-radius-lg: 18px;
    --apy-radius-md: 14px;

    --apy-max: 1160px;
    --apy-shadow: 0 18px 60px rgba(0,0,0,0.35);
    --apy-shadow-soft: 0 10px 40px rgba(0,0,0,0.26);

    --apy-header-h: 200px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body.apyBody{
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--apy-text);
    background:
        radial-gradient(1200px 800px at 18% 0%, rgba(57,215,255,0.16), transparent 58%),
        radial-gradient(900px 700px at 86% 10%, rgba(74,125,255,0.14), transparent 60%),
        linear-gradient(180deg, var(--apy-bg), var(--apy-bg-2));
    overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; }
p{ margin: 0; }
h1,h2,h3{ margin: 0; font-weight: 800; letter-spacing: -0.02em; }

/* =========================================================
   Header
========================================================= */

.apyTop{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;

    border-bottom: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(10,18,34,0.72), rgba(10,18,34,0.22) 62%, rgba(10,18,34,0.00));
    backdrop-filter: blur(12px);
}

.apyTop__inner{
    width: min(var(--apy-max), calc(100% - 32px));
    margin: 0 auto;
    height: var(--apy-header-h);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.apyBrand{
    display: inline-flex;
    align-items: center;
    padding: 12px 10px;
    border-radius: 14px;
}

.apyBrand__logo{
    height: 120px;
    width: auto;
    display: block;
    filter: drop-shadow(0 18px 36px rgba(0,0,0,0.35));
}

.apyNav{
    display: flex;
    gap: 14px;
    align-items: center;
}

.apyNav__link{
    font-size: 14px;
    color: var(--apy-text-soft);
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 140ms ease, color 140ms ease;
}

.apyNav__link:hover{
    background: rgba(255,255,255,0.10);
    color: var(--apy-text);
}

.apyActions{
    display: flex;
    gap: 10px;
    align-items: center;
}

/* =========================================================
   Buttons
========================================================= */

.apyBtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid transparent;

    font-weight: 800;
    font-size: 14px;
    line-height: 1;

    transition: transform 120ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
    user-select: none;
    white-space: nowrap;
}

.apyBtn--xl{
    padding: 13px 16px;
    border-radius: 16px;
    font-size: 15px;
}

.apyBtn--primary{
    background: linear-gradient(135deg, rgba(57,215,255,1), rgba(74,125,255,1));
    color: #04101c;
    box-shadow: 0 12px 34px rgba(57,215,255,0.20);
}

.apyBtn--primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(57,215,255,0.24);
}

.apyBtn--ghost{
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
    color: var(--apy-text);
}

.apyBtn--ghost:hover{
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.24);
    transform: translateY(-1px);
}

/* =========================================================
   Main
   - Ein globales, durchgehendes Overlay, damit nichts "streifig" wirkt
========================================================= */

.apyMain{
    position: relative;
    z-index: 1;
}

/* Dieses Overlay läuft über den Startbereich und nimmt den harten Cut raus */
.apyMain::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background:
        radial-gradient(1200px 520px at 22% 10%, rgba(255,255,255,0.06), transparent 62%),
        linear-gradient(
            180deg,
            rgba(10,18,34,0.00) 0px,
            rgba(10,18,34,0.00) 420px,
            rgba(10,18,34,0.22) 720px,
            rgba(10,18,34,0.50) 1050px,
            rgba(10,18,34,0.78) 1500px,
            rgba(10,18,34,0.88) 2200px,
            rgba(10,18,34,0.92) 100%
        );
}

/* =========================================================
   Hero
========================================================= */

.apyHero{
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;

    padding: calc(var(--apy-header-h) + 22px) 0 70px;
    overflow: hidden;
    z-index: 1;
}

.apyHero__bg{
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("/img/index/bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 22%;
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.02);
}

/* Lesbarkeit, aber nicht tot dunkeln */
.apyHero__shade{
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(920px 560px at 18% 36%, rgba(10,18,34,0.05), rgba(10,18,34,0.36) 58%, rgba(10,18,34,0.56) 100%),
        linear-gradient(180deg, rgba(10,18,34,0.08) 0%, rgba(10,18,34,0.20) 55%, rgba(10,18,34,0.44) 100%),
        linear-gradient(90deg, rgba(10,18,34,0.58) 0%, rgba(10,18,34,0.40) 34%, rgba(10,18,34,0.16) 68%, rgba(10,18,34,0.04) 100%);
}

/* Der Fade ist absichtlich groß und super smooth */
.apyHero::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 420px;
    pointer-events: none;
    z-index: 2;

    background:
        linear-gradient(
            180deg,
            rgba(10,18,34,0.00) 0%,
            rgba(10,18,34,0.06) 10%,
            rgba(10,18,34,0.14) 22%,
            rgba(10,18,34,0.26) 36%,
            rgba(10,18,34,0.42) 52%,
            rgba(10,18,34,0.60) 68%,
            rgba(10,18,34,0.76) 82%,
            rgba(10,18,34,0.88) 92%,
            rgba(10,18,34,1.00) 100%
        );
}

.apyHero__inner{
    position: relative;
    z-index: 3;

    width: min(var(--apy-max), calc(100% - 32px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 18px;
    align-items: start;
}

.apyHero__content{
    padding: 10px 2px;
}

.apyKicker{
    display: inline-flex;
    gap: 8px;
    align-items: center;

    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;

    color: rgba(245,248,255,0.90);
    padding: 8px 12px;

    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.apyH1{
    margin-top: 12px;
    font-size: clamp(34px, 4.3vw, 56px);
    line-height: 1.02;
    text-shadow: 0 18px 50px rgba(0,0,0,0.38);
}

.apyH1__sub{
    display: block;
    margin-top: 10px;

    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.25;
    font-weight: 750;

    color: var(--apy-text-soft);
}

.apyLead{
    margin-top: 14px;
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.55;
    color: var(--apy-text-soft);
}

.apyHero__cta{
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.apyHero__badges{
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 680px;
}

.apyBadge{
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 12px 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 38px rgba(0,0,0,0.22);
}

.apyBadge__top{
    font-weight: 900;
    font-size: 13px;
    color: rgba(245,248,255,0.95);
}

.apyBadge__sub{
    margin-top: 6px;
    font-size: 13px;
    color: var(--apy-text-muted);
    line-height: 1.35;
}

/* Right Panel */

.apyHero__panel{
    align-self: start;
}

.apyPanel{
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    border-radius: var(--apy-radius-lg);
    padding: 16px 16px;
    box-shadow: var(--apy-shadow);
    backdrop-filter: blur(14px);
}

.apyPanel__title{
    font-weight: 900;
    font-size: 14px;
    color: rgba(245,248,255,0.96);
    letter-spacing: 0.01em;
}

.apySteps{
    margin: 12px 0 0;
    padding: 0 0 0 18px;
    color: var(--apy-text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.apySteps li{ margin: 8px 0; }

.apyPanel__hint{
    margin-top: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(57,215,255,0.22);
    background: rgba(57,215,255,0.10);
    color: rgba(235, 248, 255, 0.94);
    font-size: 13px;
    line-height: 1.45;
}

.apyPanel__actions{
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* =========================================================
   Sections
   - Kein eigener Hintergrund pro Section
   - Erste Section zieht leicht in den Hero-Fade rein
========================================================= */

.apySection{
    position: relative;
    padding: 72px 0;
    background: transparent;
    z-index: 1;
}

.apySection#features{
    margin-top: -160px;
    padding-top: 160px;
}

.apySection__inner{
    width: min(var(--apy-max), calc(100% - 32px));
    margin: 0 auto;
}

.apyH2{
    font-size: 28px;
    line-height: 1.1;
}

.apyText{
    margin-top: 10px;
    color: var(--apy-text-soft);
    line-height: 1.6;
    max-width: 78ch;
}

.apyGrid{
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.apyCard{
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    border-radius: var(--apy-radius-lg);
    padding: 16px 16px;
    box-shadow: var(--apy-shadow-soft);
    backdrop-filter: blur(10px);
}

.apyCard--soft{
    background: rgba(255,255,255,0.08);
}

.apyH3{
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.apyTwoCol{
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* =========================================================
   FAQ
========================================================= */

.apyFaq{
    margin-top: 16px;
    display: grid;
    gap: 10px;
    max-width: 860px;
}

.apyFaq__item{
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.apyFaq__item summary{
    cursor: pointer;
    padding: 14px 14px;
    font-weight: 900;
    font-size: 14px;
    color: rgba(245,248,255,0.96);
    list-style: none;
}

.apyFaq__item summary::-webkit-details-marker{ display: none; }

.apyFaq__content{
    padding: 0 14px 14px;
    color: var(--apy-text-soft);
    line-height: 1.6;
    font-size: 14px;
}

/* =========================================================
   Footer
========================================================= */

.apyFooter{
    border-top: 1px solid rgba(255,255,255,0.10);
    background: rgba(10,18,34,0.72);
    backdrop-filter: blur(12px);
    padding: 18px 0;
}

.apyFooter__inner{
    width: min(var(--apy-max), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.apyFooter__brand{
    font-weight: 900;
    letter-spacing: -0.02em;
}

.apyFooter__meta{
    margin-top: 4px;
    color: var(--apy-text-muted);
    font-size: 13px;
}

.apyFooter__right{
    display: flex;
    gap: 12px;
    align-items: center;
}

.apyFooter__link{
    color: var(--apy-text-soft);
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 12px;
    transition: background 140ms ease, color 140ms ease;
}

.apyFooter__link:hover{
    background: rgba(255,255,255,0.10);
    color: var(--apy-text);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 980px){
    :root{
        --apy-header-h: 140px;
    }

    .apyHero__inner{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .apyHero{
        min-height: auto;
        padding: calc(var(--apy-header-h) + 16px) 0 34px;
    }

    .apyHero::after{
        height: 320px;
    }

    .apySection#features{
        margin-top: -120px;
        padding-top: 120px;
    }

    .apyHero__panel{
        order: 2;
    }

    .apyHero__badges{
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .apyGrid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apyBrand__logo{
        height: 86px;
    }
}

@media (max-width: 640px){
    :root{
        --apy-header-h: 120px;
    }

    .apyNav{ display: none; }

    .apyBtn{
        padding: 10px 12px;
        border-radius: 14px;
    }

    .apyBtn--xl{
        width: 100%;
        justify-content: center;
    }

    .apyHero__cta{
        gap: 10px;
    }

    .apyTwoCol{
        grid-template-columns: 1fr;
    }

    .apyGrid{
        grid-template-columns: 1fr;
    }

    .apyH2{
        font-size: 24px;
    }

    .apyBrand__logo{
        height: 72px;
    }

    .apyHero::after{
        height: 260px;
    }

    .apySection#features{
        margin-top: -90px;
        padding-top: 90px;
    }
}
