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

:root {
    /* Premium Lila Palette */
    --purple-dark: #1A0B2E;
    --purple-main: #4C1D95;
    --purple-hover: #3B0764;
    --purple-light: #F3E8FF;
    --purple-border: #E9D5FF;

    --bg-main: #FFFFFF;
    --bg-gray: #F8FAFC;

    --text-dark: #0F172A;
    --text-muted: #475569;

    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;

    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== Typography (inkl. Fix für extrem lange Wörter) ===== */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--purple-border);
    z-index: 1000;
}

.nav-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}

.nav-brand {
    font-size: 1.6rem; font-weight: 900; color: var(--text-dark);
    text-decoration: none; letter-spacing: -0.02em;
}

.brand-accent { color: var(--purple-main); }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
    font-weight: 600; font-size: 0.95rem; color: var(--text-muted);
    text-decoration: none; transition: var(--transition);
}

.nav-links a:hover { color: var(--purple-main); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.95rem;
    padding: 14px 28px; border: none; cursor: pointer;
    border-radius: 50px;
    text-decoration: none; transition: all var(--transition);
}

.btn-primary {
    background: var(--purple-main);
    color: var(--bg-main);
    box-shadow: 0 4px 14px rgba(76, 29, 149, 0.2);
}

.btn-primary:hover {
    background: var(--purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 29, 149, 0.3);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; width: 100%; max-width: 350px; }

/* ===== HERO SECTION ===== */
.hero-with-image {
    padding: 220px 0 160px 0;
    position: relative;
    background-color: var(--bg-main);
    background-image: url('hammer.jpg');
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 60%);
    z-index: 1;
}

.hero-container {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: flex-start;
}

.hero-content { max-width: 650px; }

.trust-badge {
    display: inline-block;
    background: var(--purple-light);
    color: var(--purple-main);
    font-weight: 600; font-size: 0.85rem;
    padding: 8px 20px; border-radius: 50px;
    margin-bottom: 24px;
}

.hero-with-image h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-highlight { color: var(--purple-main); }

.hero-text {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 40px; line-height: 1.7; max-width: 550px;
}

/* ===== Action Boxes ===== */
.action-boxes-section {
    padding-bottom: 80px;
    position: relative;
    margin-top: -100px;
    z-index: 10;
}

.action-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.action-card {
    background: var(--bg-main);
    border: 1px solid var(--purple-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-decoration: none; color: inherit;
    transition: all var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex; flex-direction: column;
    height: 100%;
}

.action-card:hover {
    border-color: var(--purple-main);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(76, 29, 149, 0.12);
}

.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.action-card h3 { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 12px; }
.action-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; }
.card-cta { font-weight: 600; color: var(--purple-main); display: block; }

/* ===== Content Sections ===== */
.content-section { padding: 80px 0; }

.content-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    background: var(--purple-dark);
    color: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    box-shadow: 0 20px 40px rgba(26, 11, 46, 0.15);
}

.bg-gray .content-grid {
    background: var(--bg-gray);
    color: var(--text-dark);
    box-shadow: none;
    border: 1px solid var(--purple-border);
}

.section-label {
    display: inline-block; font-weight: 700; color: var(--purple-light);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 16px; font-size: 0.85rem;
    background: rgba(255,255,255,0.1); padding: 6px 16px; border-radius: 50px;
}

.bg-gray .section-label { background: var(--purple-light); color: var(--purple-main); }

.content-text h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 24px; color: var(--bg-main); }
.bg-gray .content-text h2 { color: var(--text-dark); }

.content-text p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.bg-gray .content-text p { color: var(--text-muted); }

.check-list { list-style: none; margin-bottom: 40px; }
.check-list li {
    position: relative; padding-left: 36px;
    margin-bottom: 16px; font-size: 1.05rem; font-weight: 500;
}
.check-list li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    color: var(--purple-main); background: var(--bg-main);
    width: 24px; height: 24px; display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%; font-size: 0.85rem; font-weight: bold;
}
.bg-gray .check-list li::before { background: var(--purple-main); color: var(--bg-main); }

.cta-wrapper { display: flex; flex-direction: column; gap: 12px; }
.secure-text { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.bg-gray .secure-text { color: var(--text-muted); }

/* ===== Right Side Box (Calculator / Info) ===== */
.stark-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.bg-gray .stark-box {
    background: var(--bg-main);
    border: 1px solid var(--purple-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stark-inner h3 { margin-bottom: 24px; font-size: 1.4rem; color: var(--bg-main); }
.bg-gray .stark-inner h3 { color: var(--text-dark); }
.stark-inner .text-gray { color: rgba(255,255,255,0.7) !important; }
.stark-inner .big-icon { font-size: 3.5rem; margin-bottom: 20px; }

.calc-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem; color: rgba(255,255,255,0.8);
}
.calc-row strong { color: var(--bg-main); font-weight: 600; text-align: right; }
.calc-divider { height: 2px; background: rgba(255,255,255,0.2); margin: 16px 0; border-radius: 2px; }
.calc-row.total { border: none; font-size: 1.25rem; font-weight: 700; color: var(--bg-main); }
.calc-row.total strong { color: var(--purple-light); font-size: 1.4rem; }

/* ===== Footer ===== */
.footer {
    background: var(--bg-main); padding: 60px 0; color: var(--text-muted);
    border-top: 1px solid var(--purple-border);
}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px; font-size: 0.9rem;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dark); font-weight: 500; transition: color var(--transition); }
.footer-links a:hover { color: var(--purple-main); }


/* =========================================
   📱 RESPONSIVE MEDIA QUERIES (MOBILE FIXES)
   ========================================= */

@media (max-width: 1024px) {
    .content-grid { padding: 60px 40px; gap: 40px; }
}

@media (max-width: 992px) {
    .action-grid { grid-template-columns: 1fr; gap: 20px; }

    .hero-with-image { padding: 140px 0 100px 0; }
    .action-boxes-section { margin-top: -60px; padding-bottom: 60px; }

    .content-grid {
        display: flex;
        flex-direction: column;
        padding: 50px 30px;
        gap: 40px;
    }
    .content-text, .content-image { width: 100%; }
    .reverse-mobile { flex-direction: column-reverse; }
    .stark-box { padding: 30px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-inner { height: 70px; padding: 0 16px; }
    .nav-brand { font-size: 1.4rem; }

    /* ===== PERFEKTER HAMMER AUF DEM HANDY ===== */
    .hero-with-image {
        /* Wir geben unten 260px leeren Platz (Padding), wo der Hammer hinrutscht */
        padding: 120px 0 260px 0;

        /* Das Bild nimmt die volle Breite ein und wird nicht gezoomt oder abgeschnitten */
        background-size: 100% auto;

        /* Das Bild rutscht ganz nach unten in den leeren Platz */
        background-position: bottom center;
    }

    .hero-overlay {
        /* Oben (beim Text) absolut deckendes Weiß, unten (beim Bild) 100% unsichtbar */
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0) 85%);
    }

    .action-boxes-section { margin-top: 20px; }

    .btn-lg { width: 100%; max-width: 100%; }

    .content-section { padding: 40px 0; }
    .content-grid {
        padding: 40px 20px;
        border-radius: var(--radius-md);
    }

    .content-text h2 { font-size: 1.8rem; }
    .stark-box { padding: 24px 20px; }

    .calc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .calc-row strong { text-align: left; }

    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}


/* ===== Navigation (Kompletter Balken in Button-Farbe) ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    /* Der ganze Balken bekommt jetzt die Button-Farbe */
    background: var(--purple-main);
    border-bottom: 2px solid rgba(0,0,0,0.1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo-Text weiß machen */
.nav-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white); /* Weißer Text */
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Der "retter" Teil bekommt ein helleres Lila/Blau für den Kontrast */
.brand-accent {
    color: #C4B5FD;
}

/* Die Links in der Mitte ebenfalls weiß machen */
.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9); /* Fast weiß */
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

/* Der Button rechts muss sich jetzt vom Hintergrund abheben */
/* Wir machen ihn weiß mit lila Schrift, damit er "poppt" */
.nav .btn-primary {
    background: var(--white);
    color: var(--purple-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav .btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
}

/* ===== Navigation (Optimiert für lila Balken) ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--purple-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo: Weißer Text für maximalen Kontrast */
.nav-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* "retter" in hellem Flieder für den Marken-Look */
.brand-accent {
    color: #DDD6FE;
}

.nav-links {
    display: flex;
    gap: 32px;
}

/* Links in Weiß mit leichter Transparenz, bei Hover vollweiß */
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #FFFFFF;
}

/* Der Button im Header: Weißer Hintergrund, lila Schrift -> Perfekter Kontrast */
.nav .btn-primary {
    background: #FFFFFF;
    color: var(--purple-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
}

.nav .btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile-Fix: Falls du ein Hamburger-Menü Icon hättest, müsste das auch weiß sein */
@media (max-width: 768px) {
    .nav-inner { height: 70px; }
    .nav-brand { font-size: 1.3rem; }
}