/* ==========================================================================
   PG Sicherheitsakademie – globales Stylesheet
   Design-System übernommen aus paul1.html (Navy / Gold, Playfair + Jakarta)
   ========================================================================== */

:root {
    /* Farbwelt */
    --navy: #0F172A;            /* Deep Navy (Primärfarbe, Logo-Hintergrund) */
    --navy-soft: #1E293B;       /* Slate Dark */
    --navy-deep: #0B1120;       /* Abdunklung für Verläufe */
    --gold: #D97706;            /* Rich Gold (große Akzente, Buttons) */
    --gold-bright: #F59E0B;     /* helleres Gold (Akzente auf dunklem Grund) */
    --gold-deep: #B45309;       /* dunkles Gold (Text-Akzente auf hellem Grund, 4.6:1) */
    --gold-light: #FEF3C7;      /* Amber-Hintergrund für Hinweise */
    --red: #991B1B;             /* Deep Red (Erste Hilfe) */
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-on-dark: #E2E8F0;
    --text-on-dark-muted: #B6C2D4;
    --border: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.88);

    /* Typografie */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

    /* Layout */
    --container: 1140px;
    --radius: 16px;
    --radius-sm: 10px;
    --nav-height: 82px;
    --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.10);

    /* Z-Ebenen */
    --z-nav: 1000;
    --z-dropdown: 1010;
    --z-skiplink: 1100;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

h1, h2, h3, .serif {
    font-family: var(--font-serif);
    color: var(--navy);
    line-height: 1.2;
}

h4, h5 { line-height: 1.35; }

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

a { color: var(--gold-deep); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Barrierefreiheit
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: var(--z-skiplink);
    background: var(--navy);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

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

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Scroll-Reveal (nur aktiv, wenn JS verfügbar ist)
   -------------------------------------------------------------------------- */
html.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .reveal.active { opacity: 1; transform: translateY(0); }

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: var(--z-nav);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    height: var(--nav-height);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
    min-height: 44px;
}

.brand img {
    width: 46px; height: 46px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-tagline {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a.nav-link,
.nav-links button.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.83rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-links a.nav-link:hover,
.nav-links button.nav-link:hover,
.nav-links a.nav-link[aria-current="page"] {
    color: var(--navy);
    background: rgba(15, 23, 42, 0.05);
}

.nav-links a.nav-link[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--gold);
    border-radius: 8px 8px 2px 2px;
}

.nav-link .chev { font-size: 0.7rem; transition: transform 0.25s ease; }
.has-dropdown.open .chev { transform: rotate(180deg); }

/* Dropdown „Leistungen" */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.18);
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: var(--z-dropdown);
}

.has-dropdown.open .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) {
    .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    min-height: 44px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown a:hover { background: var(--bg-page); color: var(--navy); }

.dropdown a i {
    width: 20px;
    text-align: center;
    color: var(--gold-deep);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.dropdown a .sub {
    display: block;
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
    text-transform: none;
}

.dropdown .dropdown-all {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 8px;
}

.dropdown .dropdown-all a { color: var(--gold-deep); font-size: 0.85rem; }

/* Mobile-Menü-Button */
.nav-toggle {
    display: none;
    width: 48px; height: 48px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--navy);
    font-size: 1.15rem;
    cursor: pointer;
}

/* Mobile-Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: var(--bg-card);
    overflow-y: auto;
    padding: 20px 24px 60px;
    z-index: calc(var(--z-nav) - 1);
}

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

.mobile-menu ul { list-style: none; }

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 8px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a i { width: 22px; text-align: center; color: var(--gold-deep); }

.mobile-menu .mm-group {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 22px 8px 8px;
}

.mobile-menu .mm-cta { margin-top: 26px; }

body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 16px 32px;
    min-height: 48px;
    border-radius: 9px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease,
                transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.28);
}

.btn-gold:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.35);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-navy:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
}

.btn-ghost-dark {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-sm { padding: 10px 22px; font-size: 0.9rem; min-height: 44px; }

.nav-cta { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Hero (Startseite, dunkel – passend zum Logo)
   -------------------------------------------------------------------------- */
.hero-dark {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(217, 119, 6, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 100%, rgba(30, 58, 95, 0.55) 0%, transparent 55%),
        linear-gradient(160deg, #16263F 0%, var(--navy) 55%, var(--navy-deep) 100%);
    color: var(--text-on-dark);
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold-bright);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-dark h1 {
    color: #fff;
    font-size: clamp(2.6rem, 5.2vw, 4.1rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.hero-dark h1 em {
    font-style: italic;
    color: var(--gold-bright);
}

.hero-dark .lead {
    font-size: 1.18rem;
    line-height: 1.8;
    color: var(--text-on-dark-muted);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }

.hero-keywords { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }

.hero-keywords li {
    font-size: 0.8rem;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    color: var(--text-on-dark-muted);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

.hero-logo-card {
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 20px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.hero-logo-card img { border-radius: 12px; width: 100%; }

/* --------------------------------------------------------------------------
   Page-Hero (Unterseiten, hell)
   -------------------------------------------------------------------------- */
.page-hero {
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 12% 15%, rgba(217, 119, 6, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 88% 85%, rgba(15, 23, 42, 0.05) 0%, transparent 40%);
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-deep); text-decoration: underline; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: var(--border); }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 600; }

.page-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.page-hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    font-weight: 700;
    max-width: 900px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.page-hero .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.8;
}

.page-hero .hero-actions { margin: 32px 0 0; }

/* --------------------------------------------------------------------------
   Transparenz-Hinweis
   -------------------------------------------------------------------------- */
.disclaimer-bar {
    background-color: var(--navy);
    color: #fff;
    padding: 26px 0;
}

.disclaimer-inner { display: flex; align-items: flex-start; gap: 20px; }

.disclaimer-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 44px; height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--gold-light);
    flex-shrink: 0;
    font-size: 1.05rem;
}

.disclaimer-text strong { color: var(--gold-light); letter-spacing: 0.5px; }
.disclaimer-text p { font-size: 0.92rem; color: var(--text-on-dark); margin-top: 4px; }
.disclaimer-text a { color: var(--gold-light); }

/* Kompakte Hinweis-Box (auf Leistungsseiten im Inhalt) */
.notice-box {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 22px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.notice-box i { color: var(--gold-deep); font-size: 1.15rem; margin-top: 4px; flex-shrink: 0; }
.notice-box strong { color: var(--navy); }
.notice-box p { font-size: 0.93rem; color: #57534E; margin-top: 4px; }
.notice-box a { color: var(--gold-deep); }

/* --------------------------------------------------------------------------
   Sektionen
   -------------------------------------------------------------------------- */
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-white { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header { margin-bottom: 54px; max-width: 640px; }
.section-header .kicker {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 14px; font-weight: 700; }
.section-header p { color: var(--text-muted); font-size: 1.12rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------------------------
   Karten (Leistungen)
   -------------------------------------------------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.tile {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px 34px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease, border-color 0.35s ease;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tile:hover, .tile:focus-visible {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(15, 23, 42, 0.12);
}

.tile:hover::before, .tile:focus-visible::before { opacity: 1; }

.tile .t-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.tile h3 { font-size: 1.45rem; margin-bottom: 8px; }

.tile .t-meta {
    font-size: 0.74rem;
    color: var(--gold-deep);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.tile p { font-size: 0.95rem; color: var(--text-muted); flex-grow: 1; }

.tile .t-link {
    margin-top: 24px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tile:hover .t-link i { transform: translateX(4px); }
.tile .t-link i { transition: transform 0.3s ease; }

.tile-cta {
    background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
    border-color: rgba(245, 158, 11, 0.3);
    color: #fff;
    justify-content: center;
}

.tile-cta h3 { color: #fff; }
.tile-cta p { color: var(--text-on-dark-muted); flex-grow: 0; }
.tile-cta .t-icon { background: rgba(245, 158, 11, 0.15); }
.tile-cta .t-link { color: var(--gold-bright); }

/* Service-Karten mit Liste + Preis (Formate) */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 44px 38px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.service-card:hover::before { opacity: 1; }

.service-card .s-icon { font-size: 1.7rem; color: var(--navy); margin-bottom: 24px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }

.s-meta {
    font-size: 0.76rem;
    color: var(--gold-deep);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: inline-block;
    background: var(--gold-light);
    padding: 4px 12px;
    border-radius: 4px;
    align-self: flex-start;
}

.service-card ul { list-style: none; margin-bottom: 32px; flex-grow: 1; }

.service-card ul li,
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    list-style: none;
}

.service-card ul li::before,
.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0; top: 2px;
    color: var(--gold-deep);
    font-size: 0.85rem;
}

.price-wrapper { border-top: 1px solid var(--border); padding-top: 22px; margin-top: auto; }

.price-amount {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--font-serif);
    line-height: 1;
}

.price-amount span {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 500;
}

/* Zweispaltige Checkliste (Inhalte) */
.check-list { list-style: none; }
.check-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8px 48px;
}

/* „Für wen geeignet"-Chips */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.audience-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: var(--shadow-card);
}

.audience-item i {
    color: var(--gold-deep);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.audience-item strong { display: block; color: var(--navy); font-size: 0.98rem; }
.audience-item span { font-size: 0.88rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Ablauf / Schritte
   -------------------------------------------------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    counter-reset: steps;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px 32px;
    position: relative;
    box-shadow: var(--shadow-card);
}

.step .step-num {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 18px;
    display: block;
}

.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: 0.94rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Preistabelle & Konditionen
   -------------------------------------------------------------------------- */
.table-wrap {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    background: var(--bg-card);
}

table { width: 100%; border-collapse: collapse; }

caption { text-align: left; padding: 18px 28px 0; font-weight: 700; color: var(--navy); }

th, td {
    padding: 20px 28px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: none; }

thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
    background: var(--bg-page);
}

td { font-size: 1rem; color: var(--navy); font-weight: 600; }

td .sub, th .sub {
    display: block;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 5px;
}

tbody th { font-size: 1rem; color: var(--navy); font-weight: 600; }

td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

tr.highlight-row { background: linear-gradient(90deg, rgba(217, 119, 6, 0.06), transparent); }
tr.highlight-row td, tr.highlight-row th { color: var(--gold-deep); }

.strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 10px;
    font-weight: 400;
}

.badge-popular {
    background: var(--gold);
    color: var(--navy);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: middle;
    white-space: nowrap;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.term-box {
    padding: 28px;
    background: var(--bg-page);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.term-icon {
    width: 42px; height: 42px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.term-box h3 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 8px; color: var(--navy); font-weight: 700; }
.term-box p { font-size: 0.9rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Dunkle Info-Karte (Erste Hilfe)
   -------------------------------------------------------------------------- */
.dark-card {
    background: linear-gradient(135deg, var(--navy), #020617);
    border-radius: 24px;
    padding: 68px 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.5);
}

.dark-card::after {
    content: '\f479';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -20px; bottom: -50px;
    font-size: 300px;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.dark-badge {
    background: rgba(220, 38, 38, 0.2);
    color: #FCA5A5;
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 28px;
}

.dark-card h2, .dark-card h3 { color: #fff; }
.dark-card p.intro { font-size: 1.12rem; color: var(--text-on-dark-muted); max-width: 620px; margin: 16px 0 36px; }

.dark-card .check-list li { color: var(--text-on-dark); }
.dark-card .check-list li::before { color: #FCA5A5; }

.dark-card-footer {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 44px;
}

.dark-card-footer .label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.dark-card-footer strong { font-size: 1.02rem; font-weight: 500; color: var(--text-on-dark); }
.dark-card-footer .price { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; display: block; color: #fff; }
.dark-card-footer .right { text-align: right; flex-shrink: 0; }
.dark-card-footer .right .sub { font-size: 0.85rem; color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   CTA-Sektion
   -------------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(160deg, #16263F 0%, var(--navy) 60%, var(--navy-deep) 100%);
    text-align: center;
    padding: 100px 0;
    color: var(--text-on-dark);
}

.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.cta-section p { color: var(--text-on-dark-muted); font-size: 1.12rem; max-width: 620px; margin: 0 auto 38px; }
.cta-section .hero-actions { justify-content: center; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Kontaktseite / Formular
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 48px;
    align-items: start;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 40px;
    box-shadow: var(--shadow-card);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.req { color: var(--gold-deep); }

.form-field .hint { font-size: 0.8rem; color: var(--text-muted); }

.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
    padding: 13px 16px;
    min-height: 48px;
    border: 1px solid #CBD5E1;
    border-radius: 9px;
    background: var(--bg-page);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    width: 100%;
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold-deep);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
}

.form-field [aria-invalid="true"] {
    border-color: #DC2626;
    background: #FEF2F2;
}

.field-error {
    display: none;
    font-size: 0.82rem;
    color: #B91C1C;
    font-weight: 600;
}

.form-field.has-error .field-error { display: block; }

.consent-field {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.consent-field input[type="checkbox"] {
    width: 20px; height: 20px;
    min-height: 0;
    margin-top: 3px;
    accent-color: var(--gold-deep);
    flex-shrink: 0;
    cursor: pointer;
}

.consent-field label { cursor: pointer; font-weight: 400; }

.form-status {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 9px;
    font-size: 0.94rem;
    display: none;
}

.form-status.success { display: block; background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.form-status.error { display: block; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.form-status a { color: inherit; font-weight: 700; }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-aside .aside-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.contact-aside h2 { font-size: 1.3rem; margin-bottom: 16px; }

.contact-aside ul { list-style: none; }

.contact-aside li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 0;
    font-size: 0.94rem;
    color: var(--text-muted);
}

.contact-aside li i { color: var(--gold-deep); width: 20px; text-align: center; margin-top: 4px; }
.contact-aside li a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-aside li a:hover { color: var(--gold-deep); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutz, AGB)
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }

.prose h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.18rem; margin: 30px 0 10px; font-family: var(--font-sans); font-weight: 700; }
.prose p, .prose li { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy); }
.prose address { font-style: normal; color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 88px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 52px;
    margin-bottom: 64px;
}

.footer-brand img { max-width: 250px; border-radius: 10px; margin-bottom: 22px; }

.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.95rem; max-width: 340px; }

.legal-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 18px 20px;
    font-size: 0.84rem;
    color: var(--text-on-dark-muted);
    margin-top: 26px;
    line-height: 1.65;
}

.legal-box strong { color: var(--gold-light); }

.footer-col h2 {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94A3B8;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul { list-style: none; }

.footer-col p, .footer-col li { color: var(--text-on-dark-muted); font-size: 0.93rem; margin-bottom: 4px; }

.footer-col a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    display: inline-block;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--gold-bright); }

.footer-col address { font-style: normal; line-height: 1.9; color: var(--text-on-dark-muted); font-size: 0.93rem; }
.footer-col address a { padding: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94A3B8;
}

.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; }
.footer-bottom a { color: #CBD5E1; text-decoration: none; padding: 4px 0; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .nav-links { gap: 2px; }
    .nav-links a.nav-link, .nav-links button.nav-link { padding: 10px 10px; letter-spacing: 1px; }
}

@media (max-width: 992px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }

    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-logo-card { max-width: 460px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

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

    .dark-card { padding: 48px 32px; }
    .dark-card-footer { flex-direction: column; align-items: flex-start; }
    .dark-card-footer .right { text-align: left; }
}

@media (max-width: 640px) {
    .section { padding: 72px 0; }
    .section-tight { padding: 56px 0; }
    .hero-dark { padding: 56px 0 72px; }
    .page-hero { padding: 48px 0 48px; }

    .brand-name { font-size: 1.05rem; }
    .brand-tagline { display: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }

    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 32px 24px; }

    th, td { padding: 14px 16px; }
    .hero-actions .btn { width: 100%; }
}

@media (min-width: 641px) {
    .hero-actions .btn { min-width: 220px; }
}

/* Druck */
@media print {
    .site-header, .nav-toggle, .mobile-menu, .skip-link, .cta-section { display: none; }
    body { padding-top: 0; }
}

/* ============================================================================
   App-Empfehlung und Hinweis auf das Übungsquiz
   Eingesetzt auf gilfoy.de (Startseite) und auf der §34a-Leistungsseite.
   Nutzt durchgehend die Farb- und Typo-Variablen aus :root, damit der
   Abschnitt sich in das bestehende Erscheinungsbild einfügt.
   ========================================================================== */

.app-promo {
    /* Eigener heller Farbton, damit der Abschnitt sich sowohl von .section
       (bg-page) als auch von .section-white absetzt – er steht auf beiden
       Seiten an unterschiedlicher Stelle in der Abfolge. */
    background: linear-gradient(180deg, #F1F5F9 0%, #E8EEF7 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.app-promo-grid {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 68px;
    align-items: center;
}

/* --------------------------------------------------------------- Handy */

.app-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    padding: 46px 26px 34px;
    border-radius: 26px;
    background: linear-gradient(160deg, #16263F 0%, var(--navy) 58%, var(--navy-deep) 100%);
    box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.55);
}

/* Warmer Lichtschein hinter dem Gerät, greift das Gold der Marke auf */
.app-stage::before {
    content: "";
    position: absolute;
    top: 8%;
    left: 50%;
    width: 78%;
    height: 45%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.22), transparent 70%);
    pointer-events: none;
}

.phone {
    position: relative;
    width: 244px;
    max-width: 100%;
    padding: 10px;
    border-radius: 38px;
    background: linear-gradient(155deg, #475569 0%, #0B1120 42%, #334155 100%);
    box-shadow:
        0 24px 46px -16px rgba(0, 0, 0, 0.62),
        inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

/* Seitentasten – zwei feine Striche, damit das Gerät nicht wie eine
   schwebende Kachel wirkt. Rein dekorativ. */
.phone::before,
.phone::after {
    content: "";
    position: absolute;
    width: 2px;
    border-radius: 2px;
    background: rgba(148, 163, 184, 0.75);
}
.phone::before { left: -2px; top: 104px; height: 42px; }   /* Lautstärke */
.phone::after  { right: -2px; top: 122px; height: 56px; }  /* Standby */

.phone-screen {
    display: block;
    border-radius: 29px;
    overflow: hidden;
    background: #F4F6FB;
    line-height: 0;
}

.phone-screen img {
    display: block;
    width: 100%;
    height: auto;
}

/* Name und Symbol unter dem Gerät */
.app-ident {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-on-dark);
}
.app-ident img {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    flex: none;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
.app-ident strong {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
}
.app-ident span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-on-dark-muted);
}

/* ---------------------------------------------------------------- Text */

/* Größen und Farben kommen aus .section-header der Seite – hier wird nur der
   Abstand angepasst, weil der Block in einer Spalte und nicht über der
   vollen Breite steht. */
.app-copy .section-header {
    margin-bottom: 0;
    max-width: none;
}

.app-features {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.app-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.55;
}
.app-features i {
    flex: none;
    width: 20px;
    margin-top: 4px;
    text-align: center;
    color: var(--gold-deep);
}
.app-features strong {
    color: var(--text-main);
    font-weight: 600;
}

/* -------------------------------------------------------- Store-Knöpfe */

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}
.store-badges a {
    display: inline-flex;
    align-items: center;
    border-radius: 9px;
    transition: transform 0.18s ease;
}
.store-badges a:hover { transform: translateY(-2px); }
.store-badges a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* Die beiden offiziellen Grafiken sind unterschiedlich aufgebaut: Apples
   Badge hat keinen Rand, Googles Badge bringt seine vorgeschriebene
   Schutzzone im Bild mit (250 px Bildhöhe zu 192 px sichtbarer Höhe,
   Faktor 1,302). Ohne Ausgleich wirkt der Play-Knopf deutlich kleiner –
   48 px zu 62 px lässt beide gleich groß erscheinen. */
.badge-apple  { display: block; height: 48px; width: auto; }
.badge-google { display: block; height: 62px; width: auto; }

.app-note {
    margin-top: 18px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --------------------------------------------------- Hinweis auf Quiz */

.quiz-teaser {
    margin-top: 72px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}
.quiz-teaser-icon {
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    background: var(--gold-light);
    color: var(--gold-deep);
}
.quiz-teaser h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}
.quiz-teaser p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
    max-width: 62ch;
}
.quiz-teaser .btn { white-space: nowrap; }

/* Schloss-Hinweis, damit der geschützte Zugang sofort erkennbar ist */
.quiz-locked {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 5px 11px;
    border-radius: 9999px;
    background: var(--gold-light);
    color: var(--gold-deep);
    font-size: 0.79rem;
    font-weight: 600;
}

/* ------------------------------------------------------------ Schmaler */

@media (max-width: 980px) {
    .app-promo-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }
    .app-stage {
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .quiz-teaser {
        grid-template-columns: auto minmax(0, 1fr);
        row-gap: 20px;
        padding: 24px;
    }
    .quiz-teaser .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
    .store-badges { gap: 12px; }
    .badge-apple  { height: 44px; }
    .badge-google { height: 57px; }
}
