/* Basislayout für AlltagQuest Landingpage */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background: #f1f5f9;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.aq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.aq-header {
    background: #020617;
    color: #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.aq-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Logo + Wortmarke */

.aq-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aq-logo img {
    height: 36px;
    display: block;
}

.aq-logo-text {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1rem;
}

.aq-nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    font-size: 0.95rem;
}

.aq-nav a {
    opacity: 0.9;
    transition: opacity 0.2s;
}

.aq-nav a:hover {
    opacity: 1;
}

/* NEU: Der Highlight-Button im Header */
.aq-nav-cta {
    background: #06b6d4; /* Türkis */
    color: #0f172a !important; /* Dunkle Schrift für Kontrast */
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.aq-nav-cta:hover {
    background: #22d3ee; /* Helleres Türkis */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 182, 212, 0.6);
}

/* Sektionen */

.aq-section {
    padding: 3.5rem 0;
}

.aq-section-alt {
    background: #e2e8f0;
}

/* Hero */

.aq-hero {
    background: radial-gradient(circle at top left, #06b6d4, #020617);
    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-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: 1.2rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

/* Hero Box */

.aq-hero-box {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
}

/* Buttons */

.aq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    background: #06b6d4; /* Haupttürkis */
    color: #0f172a;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.aq-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.45);
    text-decoration: none;
    background: #0891b2; /* dunkleres Türkis */
}

.aq-btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow: none;
}

.aq-btn-secondary:hover {
    background: rgba(15, 23, 42, 0.6);
}

.aq-btn-small {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

/* 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: 1rem;
    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;
}

/* Kontakt & Formular */

.aq-contact {
    max-width: 700px;
}

.aq-form {
    margin-top: 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    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: 0.7rem;
    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: 0.8rem;
    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;
}

/* Footer */

.aq-footer {
    background: #020617;
    color: #9ca3af;
    padding: 1rem 0;
    margin-top: 2rem;
}

.aq-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.aq-footer-links {
    display: flex;
    gap: 1rem;
}

.aq-footer a {
    color: #e5e7eb;
    opacity: 0.8;
}

.aq-footer a:hover {
    opacity: 1;
}

/* Cookie-Hinweis */

.aq-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.97);
    color: #e5e7eb;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.aq-cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.aq-cookie-text {
    max-width: 720px;
}

.aq-cookie-text a {
    color: #06b6d4;
    text-decoration: underline;
}

/* "Nach oben"-Button */

.aq-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 4.5rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: #0f172a;
    color: #e5e7eb;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 90;
}

.aq-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.aq-to-top:hover {
    transform: translateY(-2px);
}

/* FAQ-Akkordeon */

.aq-faq-accordion {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aq-faq-item {
    background: #ffffff;
    border-radius: 0.9rem;
    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: 1.1rem;
    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 hervorheben */

.aq-pricing-grid .aq-card:nth-child(2) {
    background: #0f172a;
    color: #e5e7eb;
    transform: translateY(-4px);
}

.aq-pricing-grid .aq-card:nth-child(2) h3,
.aq-pricing-grid .aq-card:nth-child(2) .aq-price {
    color: #e5e7eb;
}

.aq-pricing-grid .aq-card:nth-child(2) ul {
    color: #e5e7eb;
}

/* 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: #e5e7eb;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

@media (max-width: 800px) {
    /* 1. Footer Fix */
    .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 */
    .aq-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #020617;
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }

    .aq-nav.active {
        display: flex; 
    }

    .aq-nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        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);
    }
}

@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;
    }

    .aq-cookie-text {
        max-width: 100%;
    }
}