/* =========================================
   GLOBAL STYLES
========================================= */

:root {
    --accent: #3b82f6;            /* Blau */
    --bg: #ffffff;
    --bg-alt: #f4f4f4;
    --text: #111111;
    --text-alt: #555555;
    --card-bg: #ffffff;
    --border: #e0e0e0;
}

body.dark {
    --bg: #0f1115;
    --bg-alt: #181b21;
    --text: #ffffff;
    --text-alt: #cfcfcf;
    --card-bg: #1c1f26;
    --border: #2d3038;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background .3s, color .3s;
}

img {
    max-width: 100%;
    display: block;
}

/* Containers */
.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    opacity: .8;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    padding: 1rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

/* Desktop Navigation */
.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a {
    font-weight: 500;
    color: var(--text);
}

/* Mobile Menü (versteckt erstmal) */
#burger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#theme-toggle {
    font-size: 1.3rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

/* Mobiles Menü */
@media (max-width: 800px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background: var(--bg);
        padding-top: 5rem;
        transition: right .3s;
        border-left: 1px solid var(--border);
    }
    .nav.open {
        right: 0;
    }
    .nav ul {
        flex-direction: column;
        gap: 1rem;
        padding-left: 1.5rem;
    }
    #burger {
        display: block;
    }
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    padding: 5rem 0 6rem;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0;
}

.tagline {
    max-width: 500px;
    margin-top: .5rem;
    font-size: 1.2rem;
    color: var(--text-alt);
}

.hero-ctas {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.badge-img {
    height: 55px;
    object-fit: contain;
}

.contact-line {
    margin-top: 1.5rem;
}

/* Visuelle Fläche (reine CSS-Elemente) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-area {
    width: 270px;
    height: 380px;
    position: relative;
}

.device {
    width: 140px;
    height: 260px;
    background: var(--bg-alt);
    border-radius: 22px;
    border: 2px solid var(--border);
    position: absolute;
    top: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.device-1 {
    left: 0;
    transform: rotate(-8deg);
}
.device-2 {
    right: 0;
    transform: rotate(8deg);
}

/* Konfetti (nur Deko) */
.confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, var(--accent) 0%, transparent 60%) 10% 20%,
        radial-gradient(circle, #a855f7 0%, transparent 60%) 70% 30%,
        radial-gradient(circle, #22c55e 0%, transparent 60%) 40% 80%;
    background-size: 20px 20px, 18px 18px, 16px 16px;
    background-repeat: no-repeat;
    opacity: .8;
}

/* Responsive Hero */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-visual {
        margin-bottom: 2rem;
    }
}

/* =========================================
   FEATURES
========================================= */

.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.cards {
    display: flex;
    gap: 2rem;
}

.card {
    flex: 1;
    padding: 2rem;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
    .cards {
        flex-direction: column;
    }
}

/* =========================================
   CTA STRIP
========================================= */

.cta-strip {
    background: var(--accent);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    border-radius: 20px;
    margin: 3rem auto;
    width: min(900px, 90%);
}

.btn.primary {
    background: white;
    color: var(--accent);
    padding: .8rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: opacity .2s;
}

.btn.primary:hover {
    opacity: .85;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.footer-links li {
    margin-bottom: .5rem;
}

@media (max-width: 700px) {
    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-links {
        text-align: center;
    }
}


/* ============================================
   FAQ STYLES
============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    transition: background .3s;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .arrow {
    transition: transform .3s;
}

.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.4rem;
    color: var(--text-alt);
    transition: max-height .35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px; /* ausreichend Platz */
    padding-bottom: 1rem;
}
