/* ============================================================
   FaturaBox Theme – Main CSS
   ============================================================ */

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

:root {
    --primary:          #0EA5E9;
    --primary-dark:     #0284C7;
    --secondary:        #14B8A6;
    --accent:           #06B6D4;
    --dark:             #0F172A;
    --light:            #F8FAFC;
    --light-blue:       #E0F2FE;
    --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #14B8A6 100%);
    --gradient-dark:    linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-light:   linear-gradient(135deg, #E0F2FE 0%, #CCFBF1 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
}

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

/* ---------- Navigation ---------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(14, 165, 233, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
    animation: gentleFloat 4s ease-in-out infinite;
}

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

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-links a:hover::after { width: 100%; }

.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
    color: white;
}

/* remove underline pseudo from cta-button */
.cta-button::after { display: none !important; }

/* ---------- Main Content ---------- */
.main-content { padding-top: 80px; }

/* ============================================================
   STARTSEITE – Hero
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-light);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.wave {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
    opacity: 0.8;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 { width: 500px; height: 500px; background: var(--primary);   top: 10%;    right: 10%; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: var(--secondary); bottom: 10%; left: 5%;   animation-delay: 5s; }
.blob-3 { width: 350px; height: 350px; background: var(--accent);    top: 40%;    left: 40%;  animation-delay: 10s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -30px) scale(1.1); }
    66%       { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
    animation: slideInLeft 0.8s ease-out;
}

.hero-content h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-content p {
    font-size: 20px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    animation: slideInLeft 0.8s ease-out 0.3s backwards;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}

.badge-icon { font-size: 18px; }

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInLeft 0.8s ease-out 0.4s backwards;
    flex-wrap: wrap;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.4);
    color: white;
}

.secondary-btn {
    background: white;
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}

.dashboard-preview {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.25);
    transition: all 0.5s ease;
}

.dashboard-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 100px rgba(14, 165, 233, 0.3);
}

/* ---------- Trust Section ---------- */
.trust-section {
    padding: 60px 40px;
    background: white;
    text-align: center;
}

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

.trust-text {
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 30px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-logo {
    width: 120px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 8px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.trust-logo:hover { opacity: 1; }

/* ---------- Stats Section ---------- */
.stats {
    background: var(--gradient-dark);
    padding: 80px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%2314B8A6' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ---------- Features Section ---------- */
.features {
    padding: 120px 40px;
    background: white;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 19px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.feature-card {
    background: var(--gradient-light);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
    border-color: var(--primary);
}

.feature-card:hover::before { opacity: 0.05; }

.feature-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-description {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: 120px 40px;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.steps-container {
    max-width: 1400px;
    margin: 0 auto;
}

.steps-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
    position: relative;
}

.steps-visual::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 16.666%;
    right: 16.666%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 0;
}

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

.step-number-circle {
    width: 120px;
    height: 120px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    margin: 0 auto 32px;
    color: var(--primary);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover .step-number-circle {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.3);
}

.step:nth-child(2) .step-number-circle { border-color: var(--secondary); color: var(--secondary); }
.step:nth-child(3) .step-number-circle { border-color: var(--accent);    color: var(--accent); }

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.step-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

/* ---------- Benefits Section ---------- */
.benefits {
    padding: 120px 40px;
    background: white;
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.2);
}

.benefits-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

.benefits-content > p {
    font-size: 18px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 32px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.benefit-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.benefit-text p {
    font-size: 15px;
    color: #64748b;
}

/* ---------- Pricing Section ---------- */
.pricing {
    padding: 120px 40px;
    background: var(--gradient-light);
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.toggle-container {
    display: flex;
    background: white;
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.toggle-option {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    user-select: none;
}

.toggle-option.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.toggle-option:not(.active):hover { color: var(--primary); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.pricing-card {
    background: white;
    border: 2px solid rgba(14, 165, 233, 0.15);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: var(--gradient-dark);
    color: white;
    border-color: var(--dark);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
    white-space: nowrap;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.plan-price {
    font-size: 56px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    margin-bottom: 8px;
    line-height: 1.2;
}

.original-price {
    font-size: 20px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.pricing-card.featured .original-price { color: rgba(255,255,255,0.5); }

.current-price {
    font-size: 56px;
    font-weight: 800;
    display: inline-block;
}

.price-period {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.7;
}

.savings-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    margin: 8px 0;
}

.pricing-card.featured .savings-text { color: #5eead4; }

.limited-offer {
    color: #64748b;
    font-size: 13px;
    font-style: italic;
    margin: 4px 0;
}

.pricing-card.featured .limited-offer { color: rgba(255,255,255,0.6); }

.payment-info {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

.pricing-card.featured .payment-info { color: rgba(255,255,255,0.7); }

.plan-period {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 32px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.plan-features li {
    padding: 12px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); }

.plan-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}

.plan-button {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.plan-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
    color: white;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 40px;
    background: white;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.testimonial-card {
    background: var(--light-blue);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: white;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.15);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    font-size: 20px;
    color: #0F172A;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: #64748b;
}

/* ---------- CTA Section (Startseite) ---------- */
.cta-section {
    padding: 120px 40px;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='30' fill='white' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.cta-section > .cta-container > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: white;
    color: var(--primary);
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ---------- Footer ---------- */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 40px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.8;
    color: rgba(255,255,255,0.8);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

/* ============================================================
   Sub-Pages (Über uns, Kontakt, Integrationen)
   ============================================================ */

.sub-page .main-content {
    padding-top: 80px;
}

.sub-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

/* Alias: .container used in sub-page templates */
.sub-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.sub-hero {
    text-align: center;
    margin-bottom: 70px;
}

.sub-hero h1 {
    font-size: 60px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.sub-hero .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-hero-subtitle {
    font-size: 20px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
    margin-bottom: 60px;
}

.content-card h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.intro-text {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: var(--gradient-light);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.story-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.story-card p { color: #475569; font-size: 15px; }

/* Mission Box */
.mission-box {
    background: var(--gradient-primary);
    color: white;
    padding: 70px 60px;
    border-radius: 24px;
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.3);
}

.mission-box h2 {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.mission-box p {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    max-width: 800px;
    margin: 0 auto;
}

/* Values */
.values-section { margin-bottom: 60px; }

.values-section > h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.value-card p { color: #64748b; font-size: 16px; }

/* Tech Section */
.tech-section {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 60px;
    border-radius: 24px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%2314B8A6' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.tech-section .section-label {
    background: rgba(255,255,255,0.1);
    color: white;
}

.tech-section h2 {
    color: white;
    position: relative;
    z-index: 1;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.tech-section > p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.tech-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.tech-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.tech-card p { color: rgba(255,255,255,0.8); font-size: 14px; }

/* Milestones */
.milestones-section { margin-bottom: 60px; }

.milestones-section h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 40px;
}

.sub-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

.stat-card .stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}

/* Vision */
.vision-section {
    background: var(--gradient-light);
    padding: 80px 60px;
    border-radius: 24px;
    margin-bottom: 60px;
    text-align: center;
}

.vision-section h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.vision-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}

.vision-icon { font-size: 40px; margin-bottom: 16px; }

.vision-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.vision-item p { color: #64748b; font-size: 14px; }

/* CTA Box (sub-pages) */
.cta-box {
    background: var(--gradient-primary);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.3);
    margin-bottom: 60px;
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 30px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    padding: 18px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

/* ============================================================
   Integrations Page
   ============================================================ */

.info-banner {
    background: var(--gradient-light);
    padding: 24px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
    font-size: 17px;
    color: #475569;
}

.integration-section { margin-bottom: 50px; }
.integration-section:last-child { margin-bottom: 0; }

.integration-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.integration-section p {
    margin-bottom: 20px;
    color: #475569;
    font-size: 16px;
}

.integration-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.integration-list li {
    background: var(--light);
    padding: 16px 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 15px;
    color: #475569;
}

.integration-list li:hover {
    background: var(--gradient-light);
    border-color: var(--primary);
    transform: translateX(5px);
}

.integration-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.integration-list li strong { color: var(--dark); font-weight: 700; }

.api-box {
    background: var(--dark);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
}

.api-box h2 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    justify-content: center;
}

.api-box p {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
}

/* ============================================================
   Legal Pages (Impressum, Datenschutz, AGB) – page.php
   ============================================================ */

.legal-page .container,
.legal-page.container {
    max-width: 860px;
}

.legal-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

/* Headings inside editor content */
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
    font-family: 'Sora', sans-serif;
    color: #0F172A;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h2 { font-size: 26px; font-weight: 700; border-bottom: 2px solid #E0F2FE; padding-bottom: 10px; }
.legal-content h3 { font-size: 20px; font-weight: 700; }
.legal-content h4 { font-size: 17px; font-weight: 700; }

.legal-content p { margin-bottom: 18px; }

.legal-content ul,
.legal-content ol {
    margin: 0 0 18px 24px;
    list-style: disc;
}

.legal-content ol { list-style: decimal; }

.legal-content li { margin-bottom: 8px; }

.legal-content a {
    color: #0EA5E9;
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-content a:hover { color: #0284C7; }

.legal-content strong { color: #0F172A; font-weight: 700; }

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 15px;
}

.legal-content th,
.legal-content td {
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.legal-content th {
    background: #F8FAFC;
    font-weight: 700;
    color: #0F172A;
}

.legal-content blockquote {
    border-left: 4px solid #0EA5E9;
    margin: 24px 0;
    padding: 16px 24px;
    background: #E0F2FE;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

/* Legal special boxes (used in Impressum, Datenschutz, AGB templates) */
.legal-contact-box {
    background: var(--gradient-light);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px 0;
}

.legal-contact-box p { margin-bottom: 6px; }
.legal-contact-box p:last-child { margin-bottom: 0; }

.highlight-box {
    background: var(--gradient-light);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px 0;
}

.highlight-box h4 { font-size: 16px; margin-top: 16px; margin-bottom: 8px; }
.highlight-box h4:first-child { margin-top: 0; }
.highlight-box p { margin-bottom: 12px; }
.highlight-box ul { list-style: disc; margin-left: 24px; margin-bottom: 12px; }
.highlight-box li { margin-bottom: 6px; }

.warning-box {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px 0;
}

.warning-box p { margin-bottom: 12px; color: #78350F; }
.warning-box p:last-child { margin-bottom: 0; }

/* ============================================================
   Contact Page
   ============================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background: var(--light);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
}

.form-group textarea { resize: vertical; min-height: 150px; }

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-checkbox a { color: var(--primary); }

.form-success {
    background: #ECFDF5;
    border: 1px solid #6EE7B7;
    border-radius: 12px;
    padding: 16px 20px;
    color: #065F46;
    font-weight: 600;
    margin-bottom: 24px;
}

.btn-primary-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
    width: 100%;
}

.btn-primary-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info .content-card {
    padding: 28px;
    margin-bottom: 0;
}

.contact-info .content-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-info .content-card p  { font-size: 15px; color: #475569; }

.cta-mini {
    background: var(--gradient-light);
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.btn-primary-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.btn-primary-inline:hover {
    transform: translateY(-2px);
    color: white;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1  { font-size: 52px; }
    .hero-buttons     { justify-content: center; }
    .hero-badges      { justify-content: center; }

    .stats-container  { grid-template-columns: repeat(2, 1fr); }

    .features-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }

    .steps-visual { grid-template-columns: 1fr; }
    .steps-visual::before { display: none; }

    .benefits-container { grid-template-columns: 1fr; }

    .footer-container { grid-template-columns: 1fr; }

    /* Sub-pages */
    .story-grid  { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .tech-grid   { grid-template-columns: repeat(2, 1fr); }
    .sub-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .vision-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .integration-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }

    .hero-content h1 { font-size: 38px; }
    .section-title   { font-size: 38px; }
    .stats-container { grid-template-columns: 1fr; }
    .hero-buttons    { flex-direction: column; }
    .cta-buttons     { flex-direction: column; }

    .trust-section { padding: 40px 20px; }
    .stats         { padding: 60px 20px; }
    .features      { padding: 80px 20px; }
    .how-it-works  { padding: 80px 20px; }
    .benefits      { padding: 80px 20px; }
    .pricing       { padding: 80px 20px; }
    .testimonials  { padding: 80px 20px; }
    .cta-section   { padding: 80px 20px; }
    footer         { padding: 60px 20px 30px; }

    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

    /* Sub-pages */
    .sub-page .container { padding: 40px 20px 60px; }
    .sub-hero h1 { font-size: 38px; }
    .content-card { padding: 32px 24px; }
    .mission-box  { padding: 40px 28px; }
    .mission-box h2 { font-size: 32px; }
    .tech-section { padding: 40px 28px; }
    .tech-grid    { grid-template-columns: 1fr; }
    .sub-stats-grid { grid-template-columns: 1fr; }
    .vision-section { padding: 40px 28px; }
    .cta-box      { padding: 40px 28px; }
    .cta-box h2   { font-size: 30px; }

    .contact-form .form-row { grid-template-columns: 1fr; }
}
