/* ===================================================================
   WAFFELBOX.DE — Main Stylesheet
   =================================================================== */

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

:root {
    --primary: #E8781A;
    --primary-dark: #D06510;
    --primary-light: #FFF3E8;
    --dark: #1B2A4A;
    --dark-light: #2C3E5F;
    --text: #3A3A3A;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-warm: #FFF8F0;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(232, 120, 26, 0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 120, 26, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.logo .waffle-icon { font-size: 2rem; }
.logo span { color: var(--primary); }
.logo .custom-logo { max-height: 50px; width: auto; }

.navbar.scrolled .logo { color: var(--dark); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.navbar.scrolled .nav-links a { color: var(--dark); }

.nav-cta {
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
}
.nav-cta::after { display: none !important; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar.scrolled .mobile-toggle span { background: var(--dark); }

/* Mobile Menu Active */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.6) 100%),
                url('../img/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z'/%3E%3C/svg%3E") no-repeat bottom / 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,120,26,0.2);
    border: 1px solid rgba(232,120,26,0.4);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat h3 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
}

.hero-stat p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ===== SECTIONS SHARED ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== USP / VORTEILE ===== */
.usp-section {
    padding: 100px 0 80px;
    background: var(--white);
}

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

.usp-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
    position: relative;
    overflow: hidden;
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.usp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.usp-card:hover::before { transform: scaleX(1); }

.usp-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 24px;
}

.usp-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.usp-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== SO FUNKTIONIERT'S ===== */
.how-section {
    padding: 100px 0;
    background: var(--bg-warm);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(232, 120, 26, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(232,120,26,0.3);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== PRODUKTE ===== */
.products-section {
    padding: 100px 0;
    background: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--white);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--bg-warm);
}

/* Platzhalter-Hintergründe — ersetze mit eigenen Bildern */
.product-img-butter {
    background-image: url('../img/waffel-butter.jpg');
}
.product-img-schoko {
    background-image: url('../img/waffel-schoko.jpg');
}
.product-img-vanille {
    background-image: url('../img/waffel-vanille.jpg');
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
}

.product-info { padding: 24px; }

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
}

.product-price small {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Klickbare Produktkarten */
.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
.product-card-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-link .product-card:hover {
    transform: none;
}

/* PDF Produktfiche Link */
.product-pdf-link {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    background: var(--bg-light);
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.2s ease;
}
.product-pdf-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* Produkte Modul-Button */
.products-section .section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== ZIELGRUPPEN ===== */
.audience-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.audience-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,120,26,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.audience-section .section-header h2 { color: var(--white); }
.audience-section .section-header p { color: rgba(255,255,255,0.6); }

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.audience-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.audience-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.audience-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.audience-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.audience-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.audience-card .card-link {
    color: var(--primary);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}
.audience-card:hover .card-link { gap: 14px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 4rem;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-light);
    line-height: 1;
}

.testimonial-stars {
    color: #FFC107;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.cta-section::before { width: 400px; height: 400px; top: -100px; left: -100px; }
.cta-section::after  { width: 300px; height: 300px; bottom: -80px; right: -80px; }

.cta-section h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    position: relative;
}

.cta-section > .container > p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

/* ===== KONTAKTFORMULAR ===== */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--white);
    background: rgba(255,255,255,0.15);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    justify-content: center;
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34,197,94,0.2);
    color: #86EFAC;
    border: 1px solid rgba(34,197,94,0.3);
}

.form-message.error {
    display: block;
    background: rgba(239,68,68,0.2);
    color: #FCA5A5;
    border: 1px solid rgba(239,68,68,0.3);
}

.cta-phone {
    margin-top: 32px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    position: relative;
}
.cta-phone a {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.75);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links,
.footer .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer .menu li {
    margin-bottom: 12px;
}

.footer-links a,
.footer .menu a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}
.footer-links a:hover,
.footer .menu a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.1rem;
    color: var(--white);
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===== PAGE TEMPLATE: Für Schulen / Vereine ===== */
.page-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(27,42,74,0.9) 0%, rgba(27,42,74,0.7) 100%),
                url('../img/hero-bg.jpg') center/cover no-repeat;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 140px 0 80px;
}

.page-content .container {
    max-width: 800px;
}

/* When page-hero is present, reduce padding on page-content */
.page-hero + .page-content {
    padding-top: 80px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 20px 0 20px 60px;
    position: relative;
    border-bottom: 1px solid #F0F0F0;
    font-size: 1.05rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.benefits-list li strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    margin-bottom: 4px;
}

/* ===== STANDARD PAGE (Impressum, AGB, etc.) ===== */
.page-article {
    padding: 40px 0 60px;
}

.page-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.page-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.page-body h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--dark);
}

.page-body h3 {
    font-size: 1.2rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--dark);
}

.page-body p {
    margin-bottom: 16px;
}

.page-body ul, .page-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-body li {
    margin-bottom: 8px;
}

.page-body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(232,120,26,0.3);
    transition: text-decoration-color 0.3s;
}

.page-body a:hover {
    text-decoration-color: var(--primary);
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.page-body th, .page-body td {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.page-body th {
    background: var(--bg-light);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* ===== ERFOLGSGESCHICHTEN ===== */
.erfolg-section {
    padding: 80px 0;
}

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

.erfolg-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.erfolg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.erfolg-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-warm);
}

.erfolg-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-warm));
}

.erfolg-img-placeholder span {
    font-size: 4rem;
    opacity: 0.5;
}

.erfolg-info {
    padding: 24px;
}

.erfolg-info h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.erfolg-project {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
}

.erfolg-quote {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

/* Erfolgsgeschichten Statistiken */
.erfolg-stats-section {
    padding: 80px 0;
    background: var(--bg-warm);
}

.erfolg-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.erfolg-stat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.erfolg-stat h3 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 4px;
}

.erfolg-stat p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SO FUNKTIONIERT ES (Unterseite) ===== */
.page-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}
.hero-text h1 { font-size: 2.8rem; color: var(--white); margin-bottom: 20px; line-height: 1.15; }
.hero-text h1 em { color: var(--primary); font-style: normal; }
.hero-text p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 550px; margin-bottom: 32px; }
.mascot-wrapper { display: flex; justify-content: center; align-items: center; }
.mascot-svg { width: 260px; height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3)); animation: mascotBounce 3s ease-in-out infinite; }
@keyframes mascotBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.sfe-intro { padding: 80px 0 60px; text-align: center; }
.sfe-intro .section-header p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.sfe-why-section { padding: 60px 0 80px; background: var(--bg-warm); }
.sfe-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sfe-why-content h2 { font-size: 1.8rem; margin-bottom: 20px; }
.sfe-why-content p { color: var(--text-light); margin-bottom: 16px; font-size: 1.02rem; }
.sfe-why-benefits { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.sfe-benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.sfe-benefit-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.sfe-benefit-text strong { display: block; color: var(--dark); font-family: 'Poppins', sans-serif; font-size: 1rem; }
.sfe-benefit-text span { color: var(--text-light); font-size: 0.92rem; }
.sfe-why-mascot { display: flex; justify-content: center; }
.sfe-why-mascot svg { width: 280px; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.1)); }

.sfe-steps-section { padding: 100px 0; }
.sfe-steps-list { max-width: 800px; margin: 0 auto; }
.sfe-step-item { display: grid; grid-template-columns: 80px 1fr; gap: 32px; margin-bottom: 56px; position: relative; }
.sfe-step-item:last-child { margin-bottom: 0; }
.sfe-step-item:not(:last-child)::after {
    content: ''; position: absolute; left: 40px; top: 80px; bottom: -56px; width: 3px;
    background: linear-gradient(to bottom, var(--primary), rgba(232,120,26,0.15));
    transform: translateX(-50%);
}
.sfe-step-number {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--white);
    flex-shrink: 0; box-shadow: 0 4px 16px rgba(232,120,26,0.3); position: relative; z-index: 2;
}
.sfe-step-content {
    background: var(--white); border-radius: var(--radius-lg); padding: 32px 36px;
    box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04); transition: all 0.3s ease;
}
.sfe-step-content:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sfe-step-content h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--dark); }
.sfe-step-content p { color: var(--text-light); font-size: 0.98rem; margin-bottom: 12px; }
.sfe-step-content p:last-child { margin-bottom: 0; }
.sfe-step-tip {
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--primary-light); border-left: 4px solid var(--primary);
    padding: 14px 18px; border-radius: 0 10px 10px 0; margin-top: 16px; font-size: 0.92rem;
}
.sfe-tip-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.sfe-step-tip p { color: var(--text); margin-bottom: 0; }

.sfe-cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.sfe-cta-banner::before {
    content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 60px;
    background: var(--white); clip-path: ellipse(55% 100% at 50% 0%);
}
.sfe-cta-banner h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 16px; }
.sfe-cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }
.sfe-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--white) !important;
        font-size: 1.2rem;
    }

    .mobile-toggle { display: block; }

    .usp-grid,
    .steps-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .steps-grid::before { display: none; }
    .audience-grid { grid-template-columns: 1fr; }
    .erfolg-grid { grid-template-columns: 1fr; }
    .erfolg-stats-grid { grid-template-columns: 1fr; gap: 32px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .hero-stats { gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .hero { min-height: auto; padding: 120px 0 80px; }
}

/* ===== WordPress Defaults ===== */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

/* ===== SO FUNKTIONIERT ES — RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { margin: 0 auto 24px; }
    .hero-buttons { justify-content: center; }
    .mascot-wrapper { order: -1; }
    .mascot-svg { width: 180px; }
    .sfe-why-grid { grid-template-columns: 1fr; }
    .sfe-why-mascot { order: -1; }
    .sfe-why-mascot svg { width: 200px; }
    .sfe-step-item { grid-template-columns: 56px 1fr; gap: 20px; }
    .sfe-step-number { width: 56px; height: 56px; font-size: 1.3rem; }
    .sfe-step-item:not(:last-child)::after { left: 28px; top: 60px; }
    .sfe-step-content { padding: 24px; }
    .sfe-cta-banner h2 { font-size: 1.6rem; }
    .page-hero { padding: 130px 0 80px; }
}
