/* ============================================================
   FritzXaero Paragliding — Haupt-CSS
   ============================================================
   Struktur:
   1.  Custom Properties (Design-Tokens)
   2.  Reset & Basis
   3.  Typografie
   4.  Layout-Helfer
   5.  Header & Navigation
   6.  Hero-Bereich
   7.  Section-Grundstruktur
   8.  Video-Bereich & Karten
   9.  Foto-Bereich
   10. Slider & Pagination
   11. Über-mich-Bereich
   12. Kontakt & Formular
   13. Footer
   14. Buttons
   15. Utilities & Animationen
   16. Media Queries
   ============================================================ */


/* ────────────────────────────────────────────────────────────
   SELF-HOSTED FONTS
   ──────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Black Ops One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/BlackOpsOne-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Black Ops One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/BlackOpsOne-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
   ──────────────────────────────────────────────────────────── */
:root {
    /* Farben */
    --fx-white:         #ffffff;
    --fx-off-white:     #f8f9fb;
    --fx-light:         #eef2f7;
    --fx-sky-pale:      #dceefb;
    --fx-sky:           #5ba3d9;
    --fx-sky-dark:      #3b7fbf;
    --fx-dark:          #1a2535;
    --fx-dark-mid:      #2d3d52;
    --fx-gray:          #6b7a8d;
    --fx-gray-light:    #c5ced9;
    --fx-accent:        #5ba3d9;
    --fx-accent-hover:  #3b7fbf;
    --fx-success:       #2ecc71;

    /* Hero-Gradient (Fallback wenn kein echtes Bild gesetzt) */
    --fx-hero-gradient: linear-gradient(
        160deg,
        #0d1b2a 0%,
        #1b3a5c 35%,
        #2d6a9f 65%,
        #5ba3d9 100%
    );

    /* Typografie */
    --fx-font-base:     'Segoe UI', system-ui, -apple-system, sans-serif;
    --fx-font-size:     1rem;
    --fx-line-height:   1.65;

    /* Abstände */
    --fx-space-xs:      0.5rem;
    --fx-space-sm:      1rem;
    --fx-space-md:      2rem;
    --fx-space-lg:      4rem;
    --fx-space-xl:      6rem;

    /* Radii */
    --fx-radius-sm:     6px;
    --fx-radius-md:     12px;
    --fx-radius-lg:     20px;

    /* Schatten */
    --fx-shadow-sm:     0 2px 8px rgba(0,0,0,.06);
    --fx-shadow-md:     0 6px 24px rgba(0,0,0,.10);
    --fx-shadow-lg:     0 16px 48px rgba(0,0,0,.14);

    /* Transitionen */
    --fx-transition:    0.3s ease;
    --fx-transition-slow: 0.5s cubic-bezier(.4,0,.2,1);

    /* Container */
    --fx-container-max: 1200px;
    --fx-container-pad: 1.5rem;

    /* Header */
    --fx-header-h:      72px;
}


/* ────────────────────────────────────────────────────────────
   2. RESET & BASIS
   ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--fx-font-base);
    font-size: var(--fx-font-size);
    line-height: var(--fx-line-height);
    color: var(--fx-dark);
    background: var(--fx-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* WordPress stört manchmal mit eigenen Margins */
.fx-page-wrapper {
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--fx-sky);
    text-decoration: none;
    transition: color var(--fx-transition);
}

a:hover, a:focus-visible {
    color: var(--fx-sky-dark);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--fx-sky);
    outline-offset: 3px;
    border-radius: 3px;
}


/* ────────────────────────────────────────────────────────────
   3. TYPOGRAFIE
   ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: inherit;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 600; }

p {
    max-width: 68ch;
    color: var(--fx-gray);
}

/* Etiketten / Labels */
.fx-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fx-sky);
    margin-bottom: 0.75rem;
}

.fx-label--light {
    color: rgba(255,255,255,.6);
}


/* ────────────────────────────────────────────────────────────
   4. LAYOUT-HELFER
   ──────────────────────────────────────────────────────────── */
.fx-container {
    max-width: var(--fx-container-max);
    margin-inline: auto;
    padding-inline: var(--fx-container-pad);
}

/* Raster */
.fx-grid {
    display: grid;
    gap: 1.5rem;
}

.fx-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.fx-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Sektions-Header */
.fx-section-header {
    text-align: center;
    margin-bottom: var(--fx-space-lg);
}

.fx-section-header h2 {
    margin-bottom: 0.75rem;
    color: var(--fx-dark);
}

.fx-section-header p {
    margin-inline: auto;
    color: var(--fx-gray);
}


/* ────────────────────────────────────────────────────────────
   5. HEADER & NAVIGATION
   ──────────────────────────────────────────────────────────── */
.fx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--fx-header-h);
    background: linear-gradient(to bottom, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0) 100%);
    transition: background var(--fx-transition-slow), box-shadow var(--fx-transition);
}

/* Scrolled-Zustand — per JS gesetzt */
.fx-header.is-scrolled {
    background: rgba(26, 37, 53, 0.96);
    background-image: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.fx-header__inner {
    max-width: var(--fx-container-max);
    margin-inline: auto;
    padding-inline: var(--fx-container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.fx-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.fx-logo__text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--fx-white);
}

/* Desktop-Navi */
.fx-nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.fx-nav__list a {
    color: rgba(255,255,255,.85);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--fx-transition);
    text-decoration: none;
}

.fx-nav__list a:hover,
.fx-nav__list a:focus-visible {
    color: var(--fx-white);
}

/* CTA-Button in der Navi */
.fx-nav__cta {
    color: var(--fx-white) !important;
    background: var(--fx-sky);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: background var(--fx-transition), transform var(--fx-transition) !important;
}

.fx-nav__cta:hover {
    background: var(--fx-sky-dark);
    transform: translateY(-1px);
}

/* Burger-Button */
.fx-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--fx-radius-sm);
}

.fx-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fx-white);
    border-radius: 2px;
    transition: transform var(--fx-transition), opacity var(--fx-transition);
}

.fx-nav__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.fx-nav__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.fx-nav__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menü */
.fx-mobile-menu {
    display: none;
    background: var(--fx-dark);
    padding: 1.5rem var(--fx-container-pad) 2rem;
}

.fx-mobile-menu.is-open {
    display: block;
}

.fx-mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fx-mobile-menu a {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.4rem 0;
    display: block;
}

.fx-mobile-menu a:hover {
    color: var(--fx-white);
}


/* ────────────────────────────────────────────────────────────
   6. HERO-BEREICH
   ──────────────────────────────────────────────────────────── */
.fx-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--fx-header-h);
}

/* Hintergrundbild / Gradient */
.fx-hero__bg {
    position: absolute;
    inset: 0;
    /*
        AUSTAUSCHEN: Kommentiere den Gradient aus und setze ein echtes Bild:
        background-image: url('/wp-content/themes/fritzxaero/assets/images/hero.jpg');
        background-size: cover;
        background-position: center;
    */
    background: var(--fx-hero-gradient);
    background-size: 200% 200%;
    animation: fx-gradient-drift 18s ease infinite;
}

@keyframes fx-gradient-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Echtes Hintergrundbild — Gradient und Animation deaktivieren */
.fx-hero__bg--custom {
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center center !important;
    animation: none !important;
}

/* Overlay-Bild + Text (zentriert im Hero) */
.fx-hero__overlay-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    pointer-events: none;
}

.fx-hero__overlay-text {
    font-family: 'Black Ops One', cursive;
    font-size: clamp(1.8rem, 5vw, 4rem);
    color: var(--fx-white);
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.fx-hero__overlay-img img {
    width: clamp(200px, 40vw, 700px);
    height: auto;
    object-fit: contain;
    display: block;
}

/* Inhalt */
.fx-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--fx-space-lg) var(--fx-container-pad);
    max-width: 860px;
    animation: fx-fade-up 1s ease both;
}

.fx-hero__eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 1.5rem;
    max-width: none;
}

.fx-hero__headline {
    color: var(--fx-white);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    /* Feinen Schatten für Lesbarkeit über Bildern */
    text-shadow: 0 2px 40px rgba(0,0,0,.4);
}

.fx-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.8);
    margin-inline: auto;
    margin-bottom: 2.5rem;
    max-width: 56ch;
    line-height: 1.7;
}

.fx-hero__actions {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
}

/* Scroll-Pfeil */
.fx-hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.fx-scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,.5);
    border-bottom: 2px solid rgba(255,255,255,.5);
    transform: rotate(45deg);
    animation: fx-bounce 1.8s ease infinite;
}

@keyframes fx-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50%       { transform: rotate(45deg) translateY(6px); opacity: .4; }
}


/* ────────────────────────────────────────────────────────────
   7. SECTION-GRUNDSTRUKTUR
   ──────────────────────────────────────────────────────────── */
.fx-section {
    padding-block: var(--fx-space-xl);
}

.fx-section--light {
    background: var(--fx-off-white);
}

/* Hinweis-Bereich */
.fx-hinweis {
    background: var(--fx-sky-pale);
    padding-block: 30px;
}

.fx-hinweis .fx-section-header {
    margin-bottom: 0;
}

.fx-hinweis .fx-section-header p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fx-dark);
}

.fx-section--dark {
    background: var(--fx-dark);
    color: var(--fx-white);
}

.fx-section--dark .fx-section-header h2 {
    color: var(--fx-white);
}

.fx-section--dark .fx-section-header p {
    color: rgba(255,255,255,.6);
}


/* ────────────────────────────────────────────────────────────
   8. VIDEO-KARTEN
   ──────────────────────────────────────────────────────────── */
.fx-card {
    border-radius: var(--fx-radius-md);
    overflow: hidden;
    background: var(--fx-white);
    box-shadow: var(--fx-shadow-sm);
    transition: transform var(--fx-transition), box-shadow var(--fx-transition);
}

.fx-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fx-shadow-md);
}

.fx-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Thumbnail */
.fx-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fx-dark);
}

.fx-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fx-card:hover .fx-card__thumb img {
    transform: scale(1.04);
}

/* Platzhalter wenn kein Bild */
.fx-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fx-dark-mid) 0%, var(--fx-dark) 100%);
    color: var(--fx-sky);
}

.fx-thumb-placeholder svg {
    width: 64px;
    height: 64px;
}

/* Play-Button */
.fx-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--fx-transition);
    background: rgba(10,20,36,.45);
}

.fx-card__play svg {
    width: 48px;
    height: 48px;
    color: var(--fx-white);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

.fx-card:hover .fx-card__play {
    opacity: 1;
}

/* Dauer-Badge */
.fx-card__duration {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    background: rgba(0,0,0,.7);
    color: var(--fx-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

/* Karten-Text */
.fx-card__body {
    padding: 1rem 1.1rem 1.2rem;
}

.fx-card__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fx-sky);
    margin-bottom: 0.3rem;
}

.fx-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--fx-dark);
    letter-spacing: -0.01em;
}


/* ────────────────────────────────────────────────────────────
   9. FOTO-KARTEN
   ──────────────────────────────────────────────────────────── */
.fx-photo-card {
    border-radius: var(--fx-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--fx-light);
    cursor: default;
    transition: transform var(--fx-transition), box-shadow var(--fx-transition);
}

.fx-photo-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--fx-shadow-md);
}

.fx-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fx-photo-card:hover img {
    transform: scale(1.05);
}

/* Foto-Platzhalter */
.fx-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    background: linear-gradient(
        135deg,
        hsl(210, 40%, 88%) 0%,
        hsl(200, 50%, 80%) 100%
    );
    position: relative;
}

/* Jeder Platzhalter bekommt eine leicht unterschiedliche Farbe */
.fx-photo-card:nth-child(1)  .fx-photo-placeholder { background: linear-gradient(135deg, #c8dff5, #9fc6e8); }
.fx-photo-card:nth-child(2)  .fx-photo-placeholder { background: linear-gradient(135deg, #b8d4ee, #8ab6dd); }
.fx-photo-card:nth-child(3)  .fx-photo-placeholder { background: linear-gradient(135deg, #cde5f7, #a5cce8); }
.fx-photo-card:nth-child(4)  .fx-photo-placeholder { background: linear-gradient(135deg, #d2e8f5, #aad0e9); }
.fx-photo-card:nth-child(5)  .fx-photo-placeholder { background: linear-gradient(135deg, #bfdaf2, #92bfe4); }
.fx-photo-card:nth-child(6)  .fx-photo-placeholder { background: linear-gradient(135deg, #cadfef, #9ec4de); }

.fx-photo-placeholder span {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(30,60,100,.6);
    letter-spacing: 0.04em;
}


/* ────────────────────────────────────────────────────────────
   10. SLIDER & PAGINATION
   ──────────────────────────────────────────────────────────── */

/* Slider-Container: relativ positioniert für Overflow */
.fx-slider {
    position: relative;
    overflow: hidden;
}

/* Seiten übereinander — nur aktive Seite sichtbar */
.fx-slider__page {
    display: none;
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity var(--fx-transition-slow),
        transform var(--fx-transition-slow);
}

.fx-slider__page--active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Slide-von-links-Einblendung */
.fx-slider__page--slide-in {
    display: block;
    opacity: 0;
    transform: translateX(-40px);
    animation: fx-slide-in var(--fx-transition-slow) forwards;
}

@keyframes fx-slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide-nach-rechts-Ausblendung (vorherige Seite) */
.fx-slider__page--slide-out {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    transform: translateX(0);
    animation: fx-slide-out var(--fx-transition-slow) forwards;
    pointer-events: none;
}

@keyframes fx-slide-out {
    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

/* Pagination */
.fx-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.fx-pagination__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fx-light);
    color: var(--fx-dark-mid);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--fx-transition), color var(--fx-transition), transform var(--fx-transition);
}

.fx-pagination__btn:hover {
    background: var(--fx-sky-pale);
    color: var(--fx-sky-dark);
    transform: translateY(-2px);
}

.fx-pagination__btn--active {
    background: var(--fx-sky);
    color: var(--fx-white);
    pointer-events: none;
}


/* ────────────────────────────────────────────────────────────
   11. ÜBER-MICH-BEREICH
   ──────────────────────────────────────────────────────────── */
.fx-about__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

.fx-about__image-wrap {
    position: relative;
    border-radius: var(--fx-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--fx-sky-pale);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fx-about__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Platzhalter-Portrait */
.fx-portrait-placeholder {
    color: var(--fx-sky);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #dceefb 0%, #b8d9f4 100%);
}

.fx-portrait-placeholder svg {
    width: 50%;
    height: auto;
}

.fx-about__content {
    padding-block: 1rem;
}

.fx-about__content h2 {
    margin-bottom: 0.4rem;
    color: var(--fx-dark);
}

.fx-about__tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--fx-sky);
    margin-bottom: 1.5rem;
    max-width: none;
}

.fx-about__content p {
    margin-bottom: 1rem;
}

/* Fakten-Zeile */
.fx-about__facts {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fx-light);
}

.fx-about__facts li {
    display: flex;
    flex-direction: column;
}

.fx-about__facts strong {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--fx-sky);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.fx-about__facts span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--fx-gray);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ────────────────────────────────────────────────────────────
   12. KONTAKT & FORMULAR
   ──────────────────────────────────────────────────────────── */
.fx-contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
}

.fx-contact__inner--centered {
    display: block;
    text-align: center;
}

.fx-contact__inner--centered .fx-contact__details {
    align-items: center;
}

.fx-contact__intro h2 {
    color: var(--fx-white);
    margin-bottom: 1rem;
}

.fx-contact__intro > p {
    color: rgba(255,255,255,.65);
    margin-bottom: 2rem;
}

.fx-contact__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fx-contact__details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,.75);
    font-size: 0.95rem;
}

.fx-contact__details svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--fx-sky);
}

.fx-contact__details a {
    color: rgba(255,255,255,.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(91,163,217,.4);
}

.fx-contact__details a:hover {
    color: var(--fx-sky);
}

/* Formular-Wrapper */
.fx-contact__form-wrap {
    background: var(--fx-dark-mid);
    border-radius: var(--fx-radius-lg);
    padding: 2.5rem;
}

/* Formular */
.fx-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.fx-form__row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.fx-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fx-form__group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: 0.03em;
}

.fx-form__group label span {
    color: var(--fx-sky);
}

.fx-form__group input,
.fx-form__group textarea {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--fx-radius-sm);
    color: var(--fx-white);
    font-family: var(--fx-font-base);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color var(--fx-transition), background var(--fx-transition);
    -webkit-appearance: none;
}

.fx-form__group input::placeholder,
.fx-form__group textarea::placeholder {
    color: rgba(255,255,255,.3);
}

.fx-form__group input:focus,
.fx-form__group textarea:focus {
    outline: none;
    border-color: var(--fx-sky);
    background: rgba(91,163,217,.08);
}

.fx-form__group textarea {
    resize: vertical;
    min-height: 140px;
}

.fx-form__group--submit {
    margin-top: 0.5rem;
}

/* Erfolgsmeldung */
.fx-alert--success {
    background: rgba(46, 204, 113, .15);
    border: 1px solid rgba(46, 204, 113, .35);
    color: #2ecc71;
    border-radius: var(--fx-radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}


/* ────────────────────────────────────────────────────────────
   13. FOOTER
   ──────────────────────────────────────────────────────────── */
.fx-footer {
    background: #111c2b;
    padding-block: 3.5rem 1.5rem;
}

.fx-footer--no-inner {
    padding-block: 1.5rem;
    color: rgba(255,255,255,.6);
}

.fx-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 1.5rem;
}

.fx-logo--footer .fx-logo__text {
    font-size: 1.1rem;
}

.fx-footer__tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,.4);
    margin-top: 0.5rem;
    max-width: 28ch;
    line-height: 1.5;
}

.fx-footer__nav ul,
.fx-footer__legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.fx-footer__nav a,
.fx-footer__legal a {
    font-size: 0.88rem;
    color: rgba(255,255,255,.55);
    transition: color var(--fx-transition);
}

.fx-footer__nav a:hover,
.fx-footer__legal a:hover {
    color: var(--fx-white);
}

.fx-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fx-footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,.3);
    max-width: none;
}

.fx-footer__bottom .fx-footer__legal ul {
    flex-direction: row;
    gap: 1.5rem;
}

.fx-footer__bottom .fx-footer__legal a {
    font-size: 0.8rem;
}


/* ────────────────────────────────────────────────────────────
   14. BUTTONS
   ──────────────────────────────────────────────────────────── */
.fx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--fx-transition), color var(--fx-transition), transform var(--fx-transition), box-shadow var(--fx-transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.fx-btn:hover {
    transform: translateY(-2px);
}

.fx-btn--primary {
    background: var(--fx-sky);
    color: var(--fx-white);
    box-shadow: 0 4px 20px rgba(91,163,217,.35);
}

.fx-btn--primary:hover {
    background: var(--fx-sky-dark);
    box-shadow: 0 6px 28px rgba(91,163,217,.45);
    color: var(--fx-white);
}

.fx-btn--primary svg {
    width: 18px;
    height: 18px;
}

.fx-btn--ghost {
    border-color: rgba(255,255,255,.45);
    color: var(--fx-white);
    background: transparent;
}

.fx-btn--ghost:hover {
    border-color: var(--fx-white);
    background: rgba(255,255,255,.1);
    color: var(--fx-white);
}

.fx-btn--full {
    width: 100%;
}


/* ────────────────────────────────────────────────────────────
   15. MODAL — Meldung für deaktivierte Bereiche
   ──────────────────────────────────────────────────────────── */
#fx-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

#fx-modal-overlay.fx-modal--visible {
    display: flex;
}

.fx-modal {
    background: var(--fx-white);
    color: var(--fx-dark);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.fx-modal__text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    color: var(--fx-dark);
}

.fx-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--fx-gray);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.fx-modal__close:hover {
    color: var(--fx-dark);
}


/* ────────────────────────────────────────────────────────────
   16. UTILITIES & ANIMATIONEN
   ──────────────────────────────────────────────────────────── */

/* Fade-Up-Einblendung */
@keyframes fx-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer — Scroll-Animationen */
.fx-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fx-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fx-reveal--delay-1 { transition-delay: 0.1s; }
.fx-reveal--delay-2 { transition-delay: 0.2s; }
.fx-reveal--delay-3 { transition-delay: 0.3s; }


/* ────────────────────────────────────────────────────────────
   16. MEDIA QUERIES
   ──────────────────────────────────────────────────────────── */

/* Tablet: 1024px */
@media (max-width: 1024px) {
    :root {
        --fx-space-lg: 3rem;
        --fx-space-xl: 4.5rem;
    }

    .fx-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .fx-about__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fx-about__image-wrap {
        aspect-ratio: 16 / 7;
        max-height: 360px;
    }

    .fx-contact__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fx-footer__inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .fx-footer__brand {
        grid-column: 1 / -1;
    }
}

/* Mobile: 768px */
@media (max-width: 768px) {
    :root {
        --fx-space-lg: 2.5rem;
        --fx-space-xl: 3.5rem;
        --fx-container-pad: 1.25rem;
    }

    /* Header */
    .fx-nav__list {
        display: none;
    }

    .fx-nav__burger {
        display: flex;
    }

    /* Hero */
    .fx-hero__actions {
        position: static;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    /* Grids */
    .fx-grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .fx-grid--3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Formular */
    .fx-form__row--half {
        grid-template-columns: 1fr;
    }

    /* Kontakt */
    .fx-contact__form-wrap {
        padding: 1.75rem 1.25rem;
    }

    /* Footer */
    .fx-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Über mich Fakten */
    .fx-about__facts {
        gap: 1.5rem;
    }
}

/* Small Mobile: 480px */
@media (max-width: 480px) {
    :root {
        --fx-space-xl: 3rem;
    }

    .fx-hero__headline {
        font-size: 2.4rem;
    }

    .fx-grid--4,
    .fx-grid--3 {
        grid-template-columns: 1fr;
    }

    .fx-about__facts {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .fx-footer__inner {
        text-align: center;
    }

    .fx-footer__nav ul,
    .fx-footer__legal ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
