/* CSS Custom Properties (Variablen) */
:root {
    /* Neue Farbpalette */
    --primary-color: #6e8da9;      /* Dunkelblau - Hauptfarbe */
    --primary-dark: #0f1f35;       /* Dunkleres Blau für Hover */
    --secondary-color: #74a892;    /* Salbeigrün - Sekundärfarbe */
    --secondary-dark: #74a892;     /* Dunkleres Grün für Hover */
    --accent-color: #7C9680;       /* Salbeigrün - Akzentfarbe */
    --accent-dark: #6b8270;        /* Dunkleres Grün */
    
    /* Neutrale Farben */
    --text-dark: #132A49;          /* Dunkelblau für Text */
    --text-gray: #5a6c7d;          /* Mittleres Grau */
    --text-light: #8a9ba8;         /* Helles Grau */
    --bg-light: #f9f6f2;           /* Beige/Creme - Hintergrund */
    --bg-white: #ffffff;           /* Weiß */
    --border-light: #d1c7bd;       /* Heller Border basierend auf Beige */
    --border-gray: #b8aca0;        /* Dunklerer Border basierend auf Beige */
    
    /* Status Farben */
    --success-color: #7C9680;      /* Salbeigrün für Erfolg */
    --error-color: #d32f2f;        /* Rot für Fehler */
    --warning-color: #f57c00;      /* Orange für Warnungen */
    
    /* Typografie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Prevent horizontal overflow on all screen sizes */
html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Ensure all containers stay within viewport */
.container {
    max-width: min(var(--container-max-width), 100vw);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-gray);
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    min-height: 48px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-lg);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-lg);
    color: white;
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

/* Fix for buttons and forms */
.btn, .form-input {
    max-width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(19, 42, 73, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-md) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.nav-brand .brand-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: white;
}

#workbook-sichern-btn-mbl {
    background-color: var(--secondary-color) !important;
    color: white !important;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: calc(80px + var(--spacing-4xl)) 0 var(--spacing-4xl);
    background: 
        linear-gradient(135deg, rgba(95, 95, 95, 0.85) 0%, rgba(95, 95, 95, 0.85) 100%),
        url('../images/Bildschirmfoto-2023-06-09-um-20.38.52-png-e1757779318650.webp') center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

/* Fix for wide content elements */
.hero-content,
.problem-content,
.about-content,
.solution-content,
.form-content {
    max-width: 100%;
    overflow-x: hidden;
}

.trust-badge {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.badge {
    background-color:#74a892;
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-headline {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    margin-bottom: var(--spacing-xl);
}

.cta-note {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-2xl);
    background-color: transparent;
    border-radius: var(--border-radius-lg);
}

.visual-element {
    display: flex !important;
    justify-content: left;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(19, 42, 73, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.visual-element .text {
    display: flex;
    align-items: center;
}

.visual-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.visual-element:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(19, 42, 73, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(124, 150, 128, 0.4);
    cursor: default;
}

.visual-element:hover::before {
    left: 100%;
}

.visual-element .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #74a892 0%, #74a892 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(19, 42, 73, 0.15);
    transition: all 0.3s ease;
}

.visual-element .icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.visual-element .text {
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.visual-element:nth-child(1) {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.visual-element:nth-child(2) {
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.visual-element:nth-child(3) {
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Section Styles */
section {
    padding: var(--spacing-4xl) 0;
}

.section-content {
    text-align: center;
}

.section-headline {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-2xl);
    color: var(--text-dark);
}

/* Problem Section */
.problem {
    background-color: #f9f6f2;
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    text-align: left;
}

/* Fix for wide content elements */
.hero-content,
.problem-content,
.about-content,
.solution-content,
.form-content {
    max-width: 100%;
    overflow-x: hidden;
}

.problem-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.problem-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.problem-point {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.problem-icon {
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.problem-text {
    font-weight: 500;
    color: var(--text-dark);
}

/* Solution Section */
.solution {
    background-color: white;
}

.success-proof {
    margin-bottom: var(--spacing-2xl);
}

.proof-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
}

.proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.proof-icon svg {
    width: 24px;
    height: 24px;
}

.solution-intro {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.benefit-card {
    padding: var(--spacing-2xl);
    background-color: #efefef;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform var(--transition-normal);
}

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

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background-color: #74a892;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(19, 42, 73, 0.15);
    transition: all 0.3s ease;
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    color: white;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(19, 42, 73, 0.25);
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
}

.benefit-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.benefit-description {
    color: var(--text-gray);
    text-align: left;
}

.solution-summary {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background-color: #efefef;
    border-radius: var(--border-radius);
    text-align: left;
}

.solution-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about {
    background-color: #f9f6f2;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-4xl);
    align-items: start;
    text-align: left;
}

.about-image {
    position: sticky;
    top: 100px;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: url('../images/IMG_0722.jpg') center center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder::before {
    display: none; /* Entfernt den Overlay-Effekt komplett */
}

.image-placeholder:hover::before {
    display: none; /* Entfernt den Hover-Effekt komplett */
}

.placeholder-content {
    display: none; /* Versteckt den Platzhalter-Text, da jetzt das echte Foto angezeigt wird */
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.placeholder-icon {
    font-size: var(--font-size-4xl);
}

.placeholder-text {
    font-weight: 600;
}

.about-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.about-cta {
    margin-top: var(--spacing-xl);
}

/* Reviews Section */
.reviews {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23cbd5e1" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.reviews-content {
    position: relative;
    z-index: 2;
}

.reviews-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.reviews-intro {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    margin-top: var(--spacing-md);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.review-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 1px 8px rgba(0, 0, 0, 0.1);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.review-text {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-lg) 0;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
}

.review-source {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-top: 0.25rem;
}

.reviews-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.reviews-cta-text {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 42, 73, 0.25);
}

/* Form Section */
.form-section {
    background-color: #6e8da9;
    color: white;
}

.form-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Fix for wide content elements */
.hero-content,
.problem-content,
.about-content,
.solution-content,
.form-content {
    max-width: 100%;
    overflow-x: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.form-headline {
    color: white;
    margin-bottom: var(--spacing-md);
}

.form-subheadline {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
}

.lead-form,
.workbook-form {
    background-color: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
    background-color: white;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error {
    border-color: var(--error-color);
}

.error-message {
    display: block;
    margin-top: var(--spacing-xs);
    color: var(--error-color);
    font-size: var(--font-size-sm);
}

.checkbox-group {
    margin-bottom: var(--spacing-xl);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    margin-top: 2px;
    transition: var(--transition);
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: var(--primary-dark);
}

.form-note {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Formular Submit Button */
.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit.loading {
    pointer-events: none;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Formular Success Message - Premium Design */
.success-message {
    position: relative;
    text-align: center;
    padding: var(--spacing-3xl);
    background-color: #74a892;
    color: white;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px -12px rgba(124, 150, 128, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.success-message::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: shine 4s ease-in-out infinite;
    pointer-events: none;
}

.success-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: bounce 2s ease-in-out infinite;
}

.success-icon svg {
    width: 48px;
    height: 48px;
}

.success-message h3 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #ffffff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-message p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.success-info {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin: var(--spacing-lg) 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-info p {
    margin: 0;
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.success-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

@keyframes celebration {
    0% { 
        transform: scale(0.8) rotate(-5deg); 
        opacity: 0;
    }
    50% { 
        transform: scale(1.05) rotate(2deg);
    }
    100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
    }
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shine {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    50% { 
        transform: translate(-30%, -30%) rotate(45deg);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    40% {
        transform: translateY(-10px) rotate(5deg);
    }
    60% {
        transform: translateY(-5px) rotate(-3deg);
    }
}

.success-message.celebration {
    animation: celebration 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message.celebration::before {
    animation: shimmer 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    animation: confetti-fall 3s linear forwards;
}

.confetti:nth-child(odd) {
    background: var(--accent-color);
    animation-delay: 0.1s;
}

.confetti:nth-child(even) {
    background: var(--primary-color);
    animation-delay: 0.2s;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(124, 150, 128, 0.7);
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(124, 150, 128, 0);
    }
}

/* Mobile Optimierung für Success Message */
@media (max-width: 768px) {
    .success-message {
        padding: var(--spacing-2xl);
        margin: var(--spacing-lg);
        border-radius: 16px;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-message h3 {
        font-size: var(--font-size-2xl);
    }
    
    .success-message p {
        font-size: var(--font-size-base);
    }
    
    .confetti {
        width: 4px;
        height: 4px;
    }
    
    /* About Section Mobile Optimierung */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .about-image {
        position: static;
        display: flex;
        justify-content: center;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
        background-size: contain; /* Stellt sicher, dass das Blob-Bild vollständig sichtbar ist */
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Hero Mobile Optimizations */
    .hero {
        background-attachment: scroll; /* Bessere Performance auf Mobile */
        background-size: cover;
        background-position: center center;
    }
    
    .hero-visual {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }
}

/* Final CTA Section */
.final-cta {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: none;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.final-text {
    text-align: left;
}

.final-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
    line-height: 1.7;
}

.final-signature {
    margin: var(--spacing-2xl) 0;
    font-style: italic;
    color: var(--text-dark);
}

.final-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.final-cta-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    transition: transform var(--transition-normal);
}

.final-cta-image:hover {
    transform: scale(1.02);
}

.final-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile-only image - hidden by default on desktop */
.final-image-mobile {
    display: none;
}

.final-cta-image-mobile {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.contact-icon {
    font-size: var(--font-size-xl);
}

/* Footer */
.footer {
    background-color: #6e8da9;
    color: white;
    padding: var(--spacing-xl) 0;
    padding-bottom: 60px !important; 
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all var(--transition-normal);
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-sticky {
    border-radius: 25px;
    box-shadow: var(--box-shadow-lg);
    font-size: var(--font-size-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: #74a892;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Hero Mobile Optimizations */
    .hero {
        background-attachment: scroll; /* Bessere Performance auf Mobile */
        background-size: cover;
        background-position: center center;
    }
    
    .hero-visual {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }
    
    /* Improve text readability on mobile */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Better button spacing */
    .btn + .btn {
        margin-top: 0.75rem;
    }
    
    /* Optimize touch targets */
    .btn, .nav-link, .form-input {
        min-height: 44px;
    }
    
    /* Improve form usability */
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better visual hierarchy */
    .section-headline {
        padding: 0 1rem;
        text-align: left;
    }
    
    /* Optimize spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Improve card layouts */
    .benefit-card,
    .problem-point {
        margin-bottom: 1rem;
    }
    
    /* Better CTA positioning */
    .hero-cta,
    .solution-cta,
    .final-cta-buttons {
        padding: 0 1rem;
    }
    
    /* Optimize sticky button */
    .sticky-cta {
        padding: 0 1rem;
    }
    
    .btn-sticky {
        width: 100%;
        max-width: none;
    }
}

/* Extra mobile optimizations for very small screens */
@media (max-width: 360px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .hero-headline {
        font-size: 1.375rem;
        line-height: 1.25;
    }
    
    .form-headline {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .benefit-card,
    .lead-form {
        padding: 1rem;
    }
}

/* Landscape mobile optimizations */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 768px) {
    .hero {
        padding: calc(60px + 1rem) 0 1rem;
        min-height: auto;
        background-attachment: scroll; /* Bessere Performance auf Mobile */
    }
    
    .hero-content {
        gap: 1rem;
    }
    
    .hero-headline {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subheadline {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .visual-element {
        padding: 0.5rem;
    }
}

/* Dark mode mobile optimizations */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    /* Optional: Add dark mode styles for mobile */
    /* Currently keeping light theme as default */
}

/* High contrast mode optimizations */
@media (prefers-contrast: high) and (max-width: 768px) {
    .btn {
        border: 2px solid;
    }
    
    .form-input {
        border-width: 2px;
    }
    
    .benefit-card,
    .problem-point {
        border: 1px solid var(--border-gray);
    }
}
