/* Basislayout für AlltagQuest Landingpage
   Branding-Refresh 2026-05-22 (Frank-Vorgabe: helles, klares Branding).
   Schritt 1: Inter-Webfont + Brand-Tokens. Komponenten-Migration folgt in Schritt 2. */

/* === Inter v4.1 self-hosted (OFL 1.1) ============================== */
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* === Brand-Tokens (Single Source of Truth) ======================== */
:root {
    /* --- BRAND --- */
    --aq-cyan:        #06B6D4;        /* NUR Dekoration: Punkte, Kreise, dünne Linien. NIE für Text. */
    --aq-cyan-700:    #0E7490;        /* Funktional: Links, CTAs, Akzent-Text. AA (5.4:1 auf Weiß). */
    --aq-cyan-800:    #155E75;        /* Hover, Text in Cyan wenn nötig. AAA (8.7:1). */
    --aq-cyan-tint:   #F0F7F9;        /* Section-Background (alternierende Sektionen). */

    /* --- TEXT --- */
    --aq-text:        #0A0A0A;        /* Primär, ~20:1 auf Weiß = AAA. */
    --aq-text-muted:  #525252;        /* Sekundär, 7.9:1 = AAA. */
    --aq-text-soft:   #6F6F6F;        /* Tertiär: Captions, Hints, Meta. */

    /* --- BACKGROUNDS --- */
    --aq-bg:          #FFFFFF;
    --aq-bg-alt:      #F0F7F9;

    /* --- BORDERS --- */
    --aq-border:      #E5E5E5;
    --aq-border-tint: #D9E6E9;

    /* --- LAYOUT --- */
    --aq-container:        1180px;
    --aq-container-narrow:  720px;
    --aq-section-y:          80px;
    --aq-section-x:          32px;

    /* --- RADIUS (neu, eckig) --- */
    --aq-radius-sm: 2px;
    --aq-radius-md: 4px;
    --aq-radius-lg: 8px;

    /* --- FONT --- */
    --aq-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* --- TRANSPARENZ (Brand-Veil-Ebene) --- */
    --aq-cyan-veil-strong: rgba(6, 182, 212, 0.16);
    --aq-cyan-veil-soft:   rgba(6, 182, 212, 0.09);
    --aq-cyan-hover-bg:    rgba(14, 116, 144, 0.05);
    --aq-cyan-card-bg:     rgba(6, 182, 212, 0.03);
    --aq-cyan-image-veil:  rgba(6, 182, 212, 0.10);

    /* --- SCHATTEN --- */
    --aq-shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);

    /* --- TRANSITIONS --- */
    --aq-trans: 160ms cubic-bezier(0.4, 0, 0.2, 1);

    /* --- LEGACY (werden in Schritt 2 entfernt, bleiben bis dahin für Komponenten in style.css) --- */
    --aq-dark: #1e293b;
    --aq-primary: #06b6d4;
    --aq-primary-hover: #0891b2;
    --aq-radius: 6px;
    --aq-radius-lg-legacy: 10px;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--aq-font);
    line-height: 1.6;
    color: var(--aq-text);
    background: var(--aq-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================================================ */
/* === Globale Komponenten (Brief § 1.4 – § 1.10)              === */
/* === Branding-Refresh 2026-05-22 — Schritt 2A                === */
/* ============================================================ */

/* --- Container & Sections (Brief § 1.5) --------------------- */
.aq-container {
    max-width: var(--aq-container);
    margin: 0 auto;
    padding: 0 var(--aq-section-x);
}
.aq-container--narrow { max-width: var(--aq-container-narrow); }

.aq-section {
    background: var(--aq-bg);
    padding: var(--aq-section-y) 0;
}
.aq-section--alt { background: var(--aq-bg-alt); }

.aq-section--with-circles {
    position: relative;
    overflow: hidden;
    background: var(--aq-bg);
}
.aq-section--with-circles::before {
    content: "";
    position: absolute;
    right: -180px; top: -130px;
    width: 540px; height: 540px;
    border-radius: 50%;
    background: var(--aq-cyan);
    opacity: 0.16;
    z-index: 0;
    pointer-events: none;
}
.aq-section--with-circles::after {
    content: "";
    position: absolute;
    left: -130px; bottom: -180px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: var(--aq-cyan);
    opacity: 0.09;
    z-index: 0;
    pointer-events: none;
}
.aq-section--with-circles > * {
    position: relative;
    z-index: 1;
}

/* --- Buttons & CTAs (Brief § 1.4, Hover-Variante 2) --------- */
.aq-btn-primary {
    background: var(--aq-cyan-700);
    color: #FFFFFF;
    padding: 11px 22px;
    border: none;
    border-radius: var(--aq-radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background var(--aq-trans);
}
.aq-btn-primary:hover {
    background: var(--aq-cyan-800);
    color: #FFFFFF;
    text-decoration: none;
}
.aq-btn-primary:focus-visible {
    outline: 2px solid var(--aq-cyan);
    outline-offset: 2px;
}

.aq-link-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--aq-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 11px 4px;
    transition: color var(--aq-trans);
}
.aq-link-cta::after {
    content: "→";
    color: var(--aq-cyan-700);
    transition: transform var(--aq-trans);
}
.aq-link-cta:hover { color: var(--aq-cyan-800); text-decoration: none; }
.aq-link-cta:hover::after { transform: translateX(3px); }

/* --- Cards (Brief § 1.6) ------------------------------------ */
.aq-card {
    background: var(--aq-bg);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    padding: 24px 28px;
    transition: background var(--aq-trans), border-color var(--aq-trans);
}
.aq-card:hover {
    background: var(--aq-cyan-hover-bg);
    border-color: var(--aq-cyan-700);
}

.aq-card--soft {
    background: var(--aq-cyan-card-bg);
    border: none;
    padding: 24px 28px;
    border-radius: var(--aq-radius-md);
}

.aq-card--highlight {
    background: var(--aq-bg);
    border: 1px solid var(--aq-cyan-700);
    border-radius: var(--aq-radius-md);
    padding: 24px 28px;
    position: relative;
}
.aq-card--highlight::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 3px;
    background: var(--aq-cyan-700);
    border-radius: var(--aq-radius-md) var(--aq-radius-md) 0 0;
}

/* --- Pills & Eyebrow-Labels (Brief § 1.3 + § 1.7) ----------- */
.aq-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    background: var(--aq-bg);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-sm);
    font-size: 12px;
    color: var(--aq-text-muted);
}
.aq-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aq-cyan);
}

/* .aq-label-eyebrow ist bereits aus Block A definiert (siehe weiter unten)
   — nicht doppelt deklarieren. */

/* --- Promo-Strip (Brief § 1.9, Variante A) ------------------ */
.aq-promo-strip {
    background: var(--aq-cyan-tint);
    color: var(--aq-text);
    padding: 8px 16px;
    text-align: center;
    font-size: 13px;
    border-bottom: 1px solid var(--aq-border-tint);
}
.aq-promo-strip a {
    color: var(--aq-cyan-700);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.aq-promo-strip a:hover { color: var(--aq-cyan-800); }

/* --- Mini-Top-Bar (Stufe 2 des dreistufigen Headers) -------- */
.aq-topbar {
    background: var(--aq-bg);
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
}
.aq-topbar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    font-size: 12px;
    color: var(--aq-text-muted);
}
.aq-topbar a {
    color: var(--aq-text-muted);
    text-decoration: none;
    transition: color var(--aq-trans);
}
.aq-topbar a:hover {
    color: var(--aq-cyan-800);
    text-decoration: none;
}

/* --- Logo-Bereich (Stufe 3, mit Tagline) -------------------- */
/* Ergänzt die bestehende .aq-header-inner */
.aq-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--aq-text);
    text-decoration: none;
    transition: color var(--aq-trans);
}
.aq-logo:hover { color: var(--aq-cyan-800); text-decoration: none; }

.aq-logo-mark {
    color: var(--aq-cyan);
    font-style: italic;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.05em;
    line-height: 1;
}
.aq-logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.aq-logo-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--aq-text);
    letter-spacing: -0.025em;
}
.aq-logo-tagline {
    font-size: 11px;
    color: var(--aq-text-muted);
    margin-top: 1px;
}

/* Logo-Bild im Header (Schritt 2C — analog .aq-footer-logo, Header-kompakte 32 px) */
.aq-logo-img {
    width: auto;
    height: 32px;
    display: block;
}

/* --- Footer kompakt (Brief § 1.8, Block-B-Layout) ----------- */
.aq-footer {
    background: var(--aq-bg);
    border-top: 1px solid var(--aq-border);
    color: var(--aq-text-muted);
}
.aq-footer-row {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.aq-footer-row--primary { border-bottom: 1px solid #F0F0F0; }
.aq-footer-nav {
    display: flex;
    gap: 18px;
    font-size: 13px;
}
.aq-footer-nav a {
    color: var(--aq-text);
    text-decoration: none;
    transition: color var(--aq-trans);
}
.aq-footer-nav a:hover { color: var(--aq-cyan-800); }
.aq-footer-meta { font-size: 12px; color: var(--aq-text-muted); }
.aq-footer-meta a {
    color: var(--aq-text-muted);
    text-decoration: none;
    margin-left: 14px;
    transition: color var(--aq-trans);
}
.aq-footer-meta a:hover { color: var(--aq-cyan-800); }

/* Footer-Erweiterung: Brand-Block links, Stack rechts ----- */
.aq-footer { padding: 48px 0 28px; }

.aq-footer-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}

.aq-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.aq-footer-logo {
    width: auto;
    height: 48px;
    display: block;
}
.aq-footer-blurb {
    font-size: 13px;
    color: var(--aq-text-muted);
    line-height: 1.55;
    margin: 0;
}

.aq-footer-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.aq-footer-row--primary { padding-top: 0; padding-bottom: 14px; }

.aq-footer-social {
    color: var(--aq-text-muted);
    display: inline-flex;
    align-items: center;
    transition: color var(--aq-trans);
}
.aq-footer-social:hover { color: var(--aq-cyan-800); }
.aq-footer-social svg { display: block; }

/* --- Image-Wrap mit optionalem Cyan-Veil (Brief § 1.10) ----- */
.aq-image-wrap {
    position: relative;
    border-radius: var(--aq-radius-md);
    overflow: hidden;
}
.aq-image-wrap img { display: block; width: 100%; height: auto; }
.aq-image-wrap--veil::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--aq-cyan-image-veil);
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* --- Mobile (Brief § 5) ------------------------------------- */
@media (max-width: 767px) {
    :root {
        --aq-section-y: 48px;
        --aq-section-x: 20px;
    }
    .aq-topbar { display: none; }
    .aq-logo-tagline { display: none; }
    .aq-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .aq-footer-nav { flex-direction: column; gap: 12px; }
    div.aq-footer-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; }
    div.aq-footer-meta a { margin-left: 0; }
    .aq-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .aq-section--with-circles::before {
        width: 320px; height: 320px;
        right: -120px; top: -80px;
        opacity: 0.18;
    }
    .aq-section--with-circles::after {
        width: 200px; height: 200px;
        left: -80px; bottom: -100px;
    }
}

/* ============================================================ */
/* === LEGACY ab hier (werden in Schritt 3+ pro Datei migriert,
       NICHT jetzt löschen — bestehende Marketing-Seiten und der
       Footer-Partial nutzen sie noch).                          */
/* ============================================================ */

.aq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip-Link (Accessibility, WCAG 2.4.1) – sichtbar nur bei Tab-Fokus */

.skip-link {
    position: absolute;
    top: -48px;
    left: 8px;
    background: #3b82f6;
    color: #ffffff;
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    transition: top 0.15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 8px;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
.skip-link:hover { background: #2563eb; }

/* Header (Branding-Refresh 2026-05-22 — hell mit Hairline) */

.aq-header {
    background: var(--aq-bg);
    color: var(--aq-text);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--aq-border);
}

.aq-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* Logo + Wortmarke */

.aq-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--aq-text);
    text-decoration: none;
    transition: color var(--aq-trans);
}

.aq-logo a:hover {
    color: var(--aq-cyan-800);
    text-decoration: none;
}

/* Logo-Bild (bleibt sichtbar bis finales Logo-Konzept da ist) */
.aq-logo img {
    height: 32px;
    width: auto;
    max-width: 80px;
    display: block;
}

/* Header-Lockup: 2-zeilige Wortmarke neben Logo-Bild */
.aq-logo-stack {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}
.aq-logo-text {
    font-weight: 600;
    letter-spacing: -0.025em;
    font-size: 17px;
    color: var(--aq-text);
    line-height: 1.1;
}
.aq-logo-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--aq-text-muted);
    line-height: 1.2;
}

.aq-nav {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    font-size: 0.88rem;
}

.aq-nav a {
    color: var(--aq-text);
    opacity: 1;
    text-decoration: none;
    transition: color var(--aq-trans);
}

.aq-nav a:hover {
    color: var(--aq-cyan-800);
    text-decoration: none;
}

/* Primärer Header-CTA: Cyan-700-Filled mit weißem Text (Brief § 1.4, Hover Cyan-800) */
.aq-nav-cta {
    background: var(--aq-cyan-700);
    color: #FFFFFF !important;
    padding: 11px 18px;
    border-radius: var(--aq-radius-sm);
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: none;
    border: 1px solid var(--aq-cyan-700);
    transition: background var(--aq-trans), color var(--aq-trans), border-color var(--aq-trans);
}

.aq-nav-cta:hover {
    background: var(--aq-cyan-800);
    border-color: var(--aq-cyan-800);
    color: #FFFFFF !important;
    transform: none;
    box-shadow: none;
}

/* Sektionen */

.aq-section {
    padding: 3.5rem 0;
}

.aq-section-alt {
    background: #e2e8f0;
}

/* Hero */

.aq-hero {
    background: radial-gradient(circle at top left, #06b6d4, var(--aq-dark));
    color: #e5e7eb;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.aq-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

.aq-hero h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.aq-hero-subline {
    font-size: 1rem;
    max-width: 38rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.aq-hero-origin {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-style: italic;
    color: #cbd5e1;
    border-left: 3px solid #fbbf24;
    background: rgba(251, 191, 36, 0.06);
    max-width: 38rem;
    line-height: 1.5;
}

.aq-hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.aq-hero-note {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Hero-Bild */

.aq-hero-image-wrapper {
    margin-top: 1.5rem;
    text-align: center;
}

.aq-hero-image-wrapper img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: var(--aq-radius);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

/* Hero Box */

.aq-hero-box {
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--aq-radius);
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
}

/* Buttons (Branding-Refresh 2026-05-22 — brief-konform: Cyan-700-Filled mit weißem Text)
   Konsolidiert: .aq-btn = Primary, .aq-btn-secondary/.aq-btn-outline = Ghost-Variante.
   Default = Cyan-700 #0E7490, Text weiß (Kontrast 5.4:1 = AA).
   Hover = Cyan-800 #155E75, Text bleibt weiß (Kontrast 8.7:1 = AAA). */

.aq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 11px 22px;
    border-radius: var(--aq-radius-sm);
    border: 1px solid var(--aq-cyan-700);
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    background: var(--aq-cyan-700);
    color: #FFFFFF;
    text-decoration: none;
    transition: background var(--aq-trans), border-color var(--aq-trans), color var(--aq-trans);
    box-shadow: none;
}

.aq-btn:hover {
    background: var(--aq-cyan-800);
    border-color: var(--aq-cyan-800);
    color: #FFFFFF;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

.aq-btn-secondary {
    background: transparent;
    color: var(--aq-text);
    border: 1px solid var(--aq-border);
    box-shadow: none;
}

.aq-btn-secondary:hover {
    background: transparent;
    color: var(--aq-cyan-800);
    border-color: var(--aq-cyan-700);
}

.aq-btn-small {
    padding: 8px 14px;
    font-size: 13px;
}

/* Eyebrow-Label (Versalien) — Brief § 1.3 */
.aq-label-eyebrow {
    display: inline-block;
    color: var(--aq-cyan-700);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Grids / Cards */

.aq-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.aq-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.aq-card {
    background: #ffffff;
    border-radius: var(--aq-radius);
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.aq-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.aq-card-icon {
    margin-bottom: 0.75rem;
    line-height: 0;
}
.aq-card-icon svg {
    display: inline-block;
}

/* Kontakt & Formular */

.aq-contact {
    max-width: 700px;
}

.aq-form {
    margin-top: 1.5rem;
    background: #ffffff;
    border-radius: var(--aq-radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.aq-form-row {
    margin-bottom: 1rem;
}

.aq-form-row label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.aq-form-row input,
.aq-form-row textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: var(--aq-radius);
    border: 1px solid #cbd5f5;
    font: inherit;
}

.aq-form-row input:focus,
.aq-form-row textarea:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.4);
}

.aq-contact-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #475569;
}
/* Formular-Rückmeldungen */

.aq-form-success,
.aq-form-errors {
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: var(--aq-radius);
    font-size: 0.9rem;
}

.aq-form-success {
    background: #ecfdf3;
    color: #14532d;
    border: 1px solid #4ade80;
}

.aq-form-errors {
    background: #fef2f2;
    color: #7f1d1d;
    border: 1px solid #fca5a5;
}

.aq-form-errors ul {
    margin: 0.4rem 0 0 1.2rem;
    padding: 0;
}

.aq-form-errors li + li {
    margin-top: 0.2rem;
}

/* Interne Linkblöcke (Seitenende) */
.aq-related-links {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.aq-related-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.aq-related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aq-related-grid a {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.aq-related-grid a:hover {
    background: #1a5276;
    color: #fff;
}

/* Cookie-Hinweis (Branding-Refresh 2026-05-23 / Schritt 3+: hell, Token-konform).
   Klassennamen behalten die Bindestrich-Konvention (.aq-cookie-banner, .aq-cookie-inner,
   .aq-cookie-buttons) — Markup im Partial bleibt unverändert, Mobile-Block Z. 1290+
   greift weiter. .aq-btn-outline ist hier scoped auf .aq-cookie-banner, generelle
   Definition fällt weg (einziger Verwender war der Banner). */

.aq-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: var(--aq-bg);
    color: var(--aq-text);
    border-top: 1px solid var(--aq-border);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    padding: 16px 0;
}

.aq-cookie-inner {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.aq-cookie-text {
    flex: 1 1 320px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--aq-text);
    margin: 0;
}
.aq-cookie-text a {
    color: var(--aq-cyan-700);
    text-decoration: underline;
}
.aq-cookie-text a:hover {
    color: var(--aq-cyan-800);
}

.aq-cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Banner-eigene Button-Stilvarianten — beide auf hellem Background lesbar */
.aq-cookie-banner .aq-btn-small {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--aq-radius-sm);
    cursor: pointer;
    line-height: 1.4;
    border: 1px solid transparent;
    transition: background var(--aq-trans), color var(--aq-trans), border-color var(--aq-trans);
}

/* Primary: „Alle akzeptieren" */
.aq-cookie-banner .aq-btn-small:not(.aq-btn-outline) {
    background: var(--aq-cyan-700);
    color: #FFFFFF;
    border-color: var(--aq-cyan-700);
}
.aq-cookie-banner .aq-btn-small:not(.aq-btn-outline):hover {
    background: var(--aq-cyan-800);
    border-color: var(--aq-cyan-800);
}

/* Outline: „Nur notwendige" — jetzt auf hellem Background lesbar */
.aq-cookie-banner .aq-btn-small.aq-btn-outline {
    background: transparent;
    color: var(--aq-text);
    border-color: var(--aq-border);
}
.aq-cookie-banner .aq-btn-small.aq-btn-outline:hover {
    background: var(--aq-bg-alt);
    border-color: var(--aq-cyan-700);
    color: var(--aq-cyan-800);
}

/* "Nach oben"-Button (Branding-Refresh 2026-05-22 — eckig + dezent + Cyan-700)
   Quadratisch mit Radius-md, weißer Background, Cyan-Pfeil, Hairline-Border.
   Hover: zarte Cyan-Tint-Füllung, kein Glow. */

.aq-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 4.5rem;
    width: 44px;
    height: 44px;
    border-radius: var(--aq-radius-md);
    border: 1px solid var(--aq-border);
    background: var(--aq-bg);
    color: var(--aq-cyan-700);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--aq-shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--aq-trans), transform var(--aq-trans),
                background var(--aq-trans), border-color var(--aq-trans), color var(--aq-trans);
    z-index: 90;
}

.aq-to-top.visible,
.aq-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.aq-to-top:hover {
    background: var(--aq-cyan-tint);
    border-color: var(--aq-cyan-700);
    color: var(--aq-cyan-800);
    transform: translateY(0);
    box-shadow: var(--aq-shadow-sm);
}

/* FAQ-Akkordeon */

.aq-faq-accordion {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aq-faq-item {
    background: #ffffff;
    border-radius: var(--aq-radius);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.aq-faq-question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
}

.aq-faq-icon {
    font-weight: 700;
    font-size: 1.1rem;
    margin-left: 1rem;
}

.aq-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2rem;
    padding-bottom: 0;
    transition: max-height 0.2s ease, padding-bottom 0.2s ease;
    font-size: 0.95rem;
    color: #0f172a;
}

.aq-faq-answer p {
    margin-bottom: 1rem;
}

.aq-faq-item.open .aq-faq-answer {
    max-height: 400px;
    padding-bottom: 0.9rem;
}

.aq-faq-item.open .aq-faq-icon {
    transform: rotate(45deg);
}

/* Preise – Grid & Karten */

.aq-pricing-grid {
    margin-top: 1.5rem;
    align-items: stretch;
    gap: 1.5rem;
}

.aq-pricing-grid .aq-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 1.4rem;
    border-radius: var(--aq-radius);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.aq-pricing-grid .aq-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.aq-pricing-grid .aq-card p {
    margin-bottom: 0.5rem;
}

.aq-pricing-grid .aq-card ul {
    margin-top: 0.75rem;
    padding-left: 1.2rem;
    font-size: 0.92rem;
}

.aq-pricing-grid .aq-card ul li + li {
    margin-top: 0.2rem;
}

/* Mittleres Paket – kein Sonder-Styling (dynamische Bundles) */

/* Preistext */

.aq-price {
    font-size: 0.95rem;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.aq-price strong {
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

/* Zusatzblock unter Preisen */

.aq-pricing-extra {
    margin-top: 2rem;
    max-width: 800px;
    font-size: 0.95rem;
}

.aq-pricing-extra h3 {
    margin-bottom: 0.4rem;
}

/* --- MOBILE NAVIGATION & FOOTER FIX --- */

.aq-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--aq-text);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

@media (max-width: 800px) {
    /* 1. Footer Fix */
    .aq-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .aq-footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .aq-footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 1.5rem;
    }

    .aq-footer-links a {
        white-space: nowrap;
    }

    /* 2. Hamburger Menü Styles (hell) */
    .aq-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--aq-bg);
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-top: 1px solid var(--aq-border);
        box-shadow: 0 10px 24px rgba(10, 10, 10, 0.08);
    }

    .aq-nav.active {
        display: flex;
    }

    .aq-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--aq-border);
        width: 100%;
        display: block;
    }
    
    .aq-nav a:last-child {
        border-bottom: none;
    }

    /* Der CTA Button im mobilen Menü */
    .aq-nav-cta {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

    .aq-btn.aq-btn-small {
        margin-top: 0.5rem;
        display: inline-block;
        width: auto;
    }

    /* Button sichtbar machen */
    .aq-menu-toggle {
        display: block;
    }

    /* Grid Anpassungen */
    .aq-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .aq-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .aq-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Mobile Bottom-Bar (App-Feeling) */
.aq-mobile-bar {
    display: none;
}

@media (max-width: 800px) {
    .aq-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 49;
        background: var(--aq-dark);
        border-top: 1px solid rgba(6, 182, 212, 0.3);
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
    }

    .aq-mobile-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0.6rem 0.5rem;
        border-radius: 8px;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        white-space: nowrap;
    }

    .aq-mobile-bar .aq-bar-cta {
        background: #06b6d4;
        color: #0f172a;
    }

    .aq-mobile-bar .aq-bar-secondary {
        background: rgba(255, 255, 255, 0.08);
        color: #e2e8f0;
    }

    .aq-mobile-bar svg {
        flex-shrink: 0;
    }

    /* Platz für die Bottom-Bar schaffen */
    .aq-footer {
        padding-bottom: 5rem;
    }
}

@media (max-width: 700px) {
    .aq-to-top {
        bottom: 6rem;
        right: 1rem;
    }

    .aq-cookie-inner {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.85rem;
    }

    /* Bugfix 26.05.: flex-basis 320 px wirkt im column-stack als Höhe → Banner 414 px statt ~150 px */
    .aq-cookie-text {
        max-width: 100%;
        flex: 0 0 auto;
        width: 100%;
    }

    .aq-cookie-buttons {
        width: 100%;
    }

    .aq-cookie-buttons .aq-btn {
        flex: 1;
    }
}

/* ─────────────────────────────────────────────────────────
   Cross-Selling-Komponenten (Patch 01: Promo-Strip + Sektionen)
   Stand: 2026-05-11
   ───────────────────────────────────────────────────────── */

/* Promo-Strip oben auf allen Marketing-Seiten — Brief § 1.9 */
.aq-promo-bar {
    background: var(--aq-cyan-tint);
    color: var(--aq-text);
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px solid var(--aq-border-tint);
    z-index: 100;
}
.aq-promo-bar__inner {
    padding: 8px 16px;
    text-align: center;
}
.aq-promo-bar p { margin: 0; }
.aq-promo-bar a {
    color: var(--aq-cyan-700);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.aq-promo-bar a:hover { color: var(--aq-cyan-800); }
.aq-promo-bar__details { margin-left: 6px; }
@media (max-width: 480px) {
    .aq-promo-bar { font-size: 12px; }
    .aq-promo-bar__inner { padding: 6px 12px; }
}

/* Volle Cross-Selling-Sektion (auf index.php und preise.php) */
.aq-crossselling-full {
    background: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);
    padding: 60px 0;
}
.aq-crossselling-full h2 {
    font-size: 28px;
    margin: 0 0 16px;
    color: #0F1419;
}
.aq-crossselling-full__lead {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #1A2129;
}
.aq-crossselling-full__list {
    margin: 0 0 24px;
    padding-left: 20px;
    color: #1A2129;
}
.aq-crossselling-full__list li {
    margin-bottom: 8px;
    line-height: 1.5;
}
.aq-crossselling-full__cta { margin-top: 32px; }

/* Aktueller Fachbeitrag – Deep-Link zu hilfeplaene.de */
.aq-aktuelles {
    background: #FFFFFF;
    padding: 40px 0 56px;
}
.aq-aktuelles__card {
    background: #FAFBFC;
    border: 1px solid #E1E5EA;
    border-left: 4px solid #00ACC1;
    border-radius: 6px;
    padding: 28px 32px;
}
.aq-aktuelles__title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #0F1419;
    font-weight: 600;
}
.aq-aktuelles__teaser {
    font-size: 16px;
    line-height: 1.6;
    color: #1A2129;
    margin: 0 0 20px;
}
.aq-aktuelles__cta { margin: 0; }
.aq-aktuelles__link {
    color: #00ACC1;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}
.aq-aktuelles__link:hover,
.aq-aktuelles__link:focus { border-bottom-color: #00ACC1; }
@media (max-width: 600px) {
    .aq-aktuelles { padding: 32px 0 40px; }
    .aq-aktuelles__card { padding: 20px 18px; }
    .aq-aktuelles__title { font-size: 19px; }
    .aq-aktuelles__teaser { font-size: 15px; }
}

/* Kompakte Cross-Selling-Box (auf Longtail-Seiten) */
.aq-crossselling-compact { padding: 32px 0; }
.aq-crossselling-compact__box {
    background: #F5F7FA;
    border-left: 4px solid #00ACC1;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
}
.aq-crossselling-compact__title {
    margin: 0 0 8px;
    font-size: 16px;
    color: #0F1419;
}
.aq-crossselling-compact__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #3A4452;
}
.aq-crossselling-compact a {
    color: #00ACC1;
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────
   Cyan-Kreis-Sektion (generische Schlüssel-Sektion mit Brand-Hintergrund)
   Brief § 1.5 — einsetzbar auf Testimonial, Pilot-Hinweis, Schlüssel-Sektion.
   Max. 2–3 Sektionen pro Seite, sonst verwässert.
   ───────────────────────────────────────────────────────── */
.aq-section--with-circles {
    position: relative;
    overflow: hidden;
}
.aq-section--with-circles::before {
    content: "";
    position: absolute;
    right: -180px;
    top: -130px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: var(--aq-cyan);
    opacity: 0.16;
    z-index: 0;
    pointer-events: none;
}
.aq-section--with-circles::after {
    content: "";
    position: absolute;
    left: -130px;
    bottom: -180px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--aq-cyan);
    opacity: 0.09;
    z-index: 0;
    pointer-events: none;
}
.aq-section--with-circles > * {
    position: relative;
    z-index: 1;
}
/* Mobile: Kreise kleiner, nicht entfernen */
@media (max-width: 767px) {
    .aq-section--with-circles::before {
        width: 320px; height: 320px;
        right: -120px; top: -80px;
        opacity: 0.18;
    }
    .aq-section--with-circles::after {
        width: 200px; height: 200px;
        left: -80px; bottom: -100px;
    }
}

/* ─────────────────────────────────────────────────────────
   Bottom-CTA-Box (oberhalb Footer, alle Marketing-Seiten)
   Branding-Refresh 2026-05-22 — hell auf Cyan-Tint mit Cyan-Kreisen
   ───────────────────────────────────────────────────────── */
.aq-cta-final {
    background: var(--aq-bg-alt);
    color: var(--aq-text);
    padding: 64px 0;
    text-align: center;
    border-top: 1px solid var(--aq-border-tint);
    border-bottom: 1px solid var(--aq-border-tint);
    position: relative;
    overflow: hidden;
}
/* Cyan-Kreise auf Bottom-CTA (Schlüssel-Sektion) */
.aq-cta-final::before {
    content: "";
    position: absolute;
    right: -180px;
    top: -130px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: var(--aq-cyan);
    opacity: 0.16;
    z-index: 0;
    pointer-events: none;
}
.aq-cta-final::after {
    content: "";
    position: absolute;
    left: -130px;
    bottom: -180px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--aq-cyan);
    opacity: 0.09;
    z-index: 0;
    pointer-events: none;
}
.aq-cta-final > * {
    position: relative;
    z-index: 1;
}
@media (max-width: 767px) {
    .aq-cta-final::before {
        width: 320px; height: 320px;
        right: -120px; top: -80px;
        opacity: 0.18;
    }
    .aq-cta-final::after {
        width: 200px; height: 200px;
        left: -80px; bottom: -100px;
    }
}
.aq-cta-final h2 {
    color: var(--aq-text);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
.aq-cta-final p {
    color: var(--aq-text-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 56ch;
    margin: 0 auto 24px;
}
.aq-cta-final__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}
.aq-cta-final__buttons .btn--primary {
    background: var(--aq-cyan-700);
    color: #FFFFFF;
    padding: 11px 22px;
    border-radius: var(--aq-radius-sm);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background var(--aq-trans), color var(--aq-trans), border-color var(--aq-trans);
    border: 1px solid var(--aq-cyan-700);
}
.aq-cta-final__buttons .btn--primary:hover {
    background: var(--aq-cyan-800);
    border-color: var(--aq-cyan-800);
    color: #FFFFFF;
}
.aq-cta-final__buttons .btn--ghost {
    background: transparent;
    color: var(--aq-text);
    padding: 11px 22px;
    border-radius: var(--aq-radius-sm);
    border: 1px solid var(--aq-border);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: border-color var(--aq-trans), color var(--aq-trans);
}
.aq-cta-final__buttons .btn--ghost:hover {
    border-color: var(--aq-cyan-700);
    color: var(--aq-cyan-800);
}
.aq-cta-final__trust {
    color: var(--aq-text-soft) !important;
    font-size: 13px !important;
    margin: 0 !important;
}