/* ========================
   CSS Variables
======================== */
:root {
    --mint:    #7ecba8;
    --orange:  #f5723a;
    --blue:    #2d6ea8;
    --yellow:  #fde68a;
    --bg:      #e8f7f0;
    --dark:    #1a3a5c;
    --white:   #ffffff;
    --gray-bg: #f0faf5;
    --text:    #2c3e50;
    --text-muted: #6b7280;

    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-pill: 50px;

    --shadow:       0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);

    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* ========================
   Reset & Base
======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: inherit; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================
   Buttons
======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .15s ease;
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.btn-orange          { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover    { background: #e5622b; border-color: #e5622b; }

.btn-outline         { background: transparent; color: var(--blue); border-color: var(--mint); }
.btn-outline:hover   { background: var(--mint); color: #fff; }

.btn-dark            { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover      { background: #0f2540; }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ========================
   Navbar
======================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(126,203,168,.2);
    padding: .875rem 0;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: .2rem;
    white-space: nowrap;
    letter-spacing: -.5px;
}
.logo-wort  { color: var(--blue); }
.logo-fuchs { color: var(--orange); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}
.nav-links a { font-weight: 500; color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    z-index: 1010;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========================
   Hero
======================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--bg) 0%, var(--yellow) 100%);
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-deco-1 { width: 380px; height: 380px; background: var(--mint);  top: -100px; right: -80px;  opacity: .22; }
.hero-deco-2 { width: 220px; height: 220px; background: var(--yellow); bottom: -70px; left: 8%;  opacity: .45; }
.hero-deco-3 { width: 160px; height: 160px; background: var(--mint);  top: 80px; left: 38%;     opacity: .18; }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    color: var(--blue);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.fox-wrapper { position: relative; display: inline-block; }

.fox-emoji {
    font-size: 9rem;
    display: block;
    line-height: 1;
    animation: float 3.2s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(245,114,58,.28));
}

.speech-bubble {
    position: absolute;
    top: -14px;
    right: -70px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: .5rem 1rem;
    font-size: .9rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    white-space: nowrap;
    z-index: 2;
}
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 16px;
    border: 8px solid transparent;
    border-top-color: var(--white);
    border-bottom: 0;
}

.android-badge {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: .625rem 1.25rem;
    font-size: .9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    color: var(--text);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* ========================
   Section Base
======================== */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 3rem;
}

/* ========================
   Features
======================== */
.features { background: var(--gray-bg); padding: 5.5rem 0; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-icon { font-size: 2.75rem; margin-bottom: 1rem; }
.card h3   { font-size: 1.2rem; font-weight: 800; color: var(--blue); margin-bottom: .625rem; }
.card p    { color: var(--text-muted); font-size: .95rem; }

/* ========================
   How It Works
======================== */
.how-it-works { background: var(--white); padding: 5.5rem 0; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: .625rem;
}
.step-icon { font-size: 2rem; margin-bottom: .875rem; }
.step h3   { font-size: 1.1rem; font-weight: 800; color: var(--blue); margin-bottom: .5rem; }
.step p    { color: var(--text-muted); font-size: .95rem; }

/* ========================
   Pricing
======================== */
.preise { background: var(--bg); padding: 5.5rem 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border: 2px solid transparent;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.pricing-popular { border-color: var(--orange); }

.popular-badge {
    position: absolute;
    top: -14px;
    right: 14px;
    background: var(--orange);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: .25rem .875rem;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.plan-name  { font-size: 1.1rem; font-weight: 900; color: var(--blue); }
.plan-tagline { font-size: .75rem; color: var(--text-muted); margin-top: -.5rem; }

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .2rem;
    flex-wrap: wrap;
}
.price-amount { font-size: 2.1rem; font-weight: 900; color: var(--text); line-height: 1; }
.price-period { font-size: .82rem; color: var(--text-muted); }

.plan-features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
}
.plan-features li { font-size: .88rem; color: var(--text); }

.pricing-card .btn { width: 100%; }

/* ========================
   Download
======================== */
.download { background: var(--white); padding: 5.5rem 0; text-align: center; }

.download-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.download-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}
.btn-store:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-play { background: #1c1c2e; color: #fff; border-color: #1c1c2e; }
.btn-play .store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.btn-play .store-text small  { font-size: .72rem; font-weight: 400; opacity: .8; }
.btn-play .store-text strong { font-size: 1rem; }

.btn-ios { background: #f0f0f0; color: var(--text-muted); border-color: #ddd; cursor: not-allowed; opacity: .75; }

.download-note { color: var(--text-muted); font-size: .9rem; }

/* ========================
   Page Hero (Unterseiten)
======================== */
.page-hero {
    background: linear-gradient(135deg, var(--bg) 0%, var(--yellow) 100%);
    padding: 4rem 0 3.5rem;
    text-align: center;
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; color: var(--blue); margin-bottom: .875rem; }
.page-hero p  { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ========================
   Content-Seiten (Datenschutz, Impressum)
======================== */
.content-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}
.content-body {
    max-width: 760px;
    margin: 0 auto;
}
.content-body h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--blue);
    margin: 2.5rem 0 .75rem;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p   { color: var(--text); line-height: 1.75; margin-bottom: .875rem; }
.content-body ul  { margin: .5rem 0 .875rem 1.25rem; list-style: disc; }
.content-body li  { color: var(--text); line-height: 1.75; margin-bottom: .25rem; }
.content-body a   { color: var(--blue); text-decoration: underline; }
.content-body address { font-style: normal; }

/* ========================
   Lizenz FAQ
======================== */
.faq-section { background: var(--gray-bg); padding: 5rem 0; }

.faq-grid {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue); margin-bottom: .5rem; }
.faq-item p  { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

/* ========================
   Footer
======================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.85);
    padding: 3.5rem 0 2rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.footer .logo { color: #fff; }
.footer .logo-wort  { color: rgba(255,255,255,.92); }
.footer .logo-fuchs { color: var(--orange); }

.footer-brand p {
    max-width: 380px;
    font-size: .9rem;
    line-height: 1.7;
    opacity: .7;
    margin-top: .625rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--mint); }

.footer-contact p { font-size: .9rem; opacity: .72; }
.footer-contact a { color: var(--mint); text-decoration: underline; }

.footer-copy {
    font-size: .83rem;
    opacity: .5;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

/* ========================
   Responsive – 768px
======================== */
@media (max-width: 768px) {
    /* Navbar */
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem 1.75rem;
        gap: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .navbar { position: relative; }

    /* Hero */
    .hero { padding: 3.5rem 0 3rem; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .hero-sub { margin: 0 auto 2rem; }
    .hero-btns { justify-content: center; }
    .fox-emoji { font-size: 7rem; }
    .speech-bubble { right: -50px; }

    /* Grids → 1 Spalte */
    .cards-grid,
    .steps-grid { grid-template-columns: 1fr; }

    /* Pricing → horizontal scrollbar */
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--mint) transparent;
    }
    .pricing-card { min-width: 240px; flex-shrink: 0; }

    /* Sections padding */
    .features, .how-it-works, .preise, .download, .faq-section { padding: 3.5rem 0; }

    /* Footer */
    .footer-links { gap: .875rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .fox-emoji    { font-size: 5.5rem; }
    .speech-bubble { display: none; }
    .btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }
}
