:root {
    --primary-color: #A61642;
    --secondary-color: #E5332A;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --accent-color: #FFD700;
    --focus-color: #005fcc;
    --error-color: #d32f2f;
    --success-color: #2e7d32;
}

/* Barrierefreiheit: Basis-Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reduzierte Animationen für Nutzer, die dies bevorzugen */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    font-size: 16px; /* Normale Basis-Schriftgröße */
}

/* Skip Link für Barrierefreiheit - nur bei Fokus sichtbar */
.skip-link {
    position: absolute;
    top: -40px; /* Komplett außerhalb des sichtbaren Bereichs */
    left: 6px;
    background: var(--focus-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    font-weight: 600;
    font-size: 14px;
    transition: top 0.3s ease;
    transform: translateY(-100%); /* Zusätzlich nach oben verschieben */
    opacity: 0; /* Unsichtbar machen */
}

.skip-link:focus {
    top: 0;
    transform: translateY(0); /* Bei Fokus normal positionieren */
    opacity: 1; /* Bei Fokus sichtbar machen */
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Fokus-Indikatoren für bessere Barrierefreiheit */
*:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* Spezielle Fokus-Indikatoren für interaktive Elemente */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--focus-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Reduziert von 2rem */
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0.8rem; /* Reduziert horizontales Padding */
    border-radius: 4px;
    font-size: 0.9rem; /* Kleinere Schrift für kompaktere Navigation */
    white-space: nowrap; /* Verhindert Zeilenumbruch */
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(166, 22, 66, 0.1);
}

.nav-link:focus {
    color: var(--primary-color);
    background-color: rgba(166, 22, 66, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0.8rem; /* Angepasst an neues Padding */
    right: 0.8rem;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Verbesserte Kontraste für bessere Lesbarkeit */
.text-light {
    color: #555; /* Verbesserte Kontraste */
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--background-light);
}

/* Special section for Gesund im Vertrieb */
.special-section {
    background: linear-gradient(135deg, rgba(166, 22, 66, 0.05), rgba(229, 51, 42, 0.05));
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(166, 22, 66, 0.1), rgba(229, 51, 42, 0.1));
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2rem; /* Deutlich reduziert */
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.1rem; /* Deutlich reduziert */
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-text .practice-name {
    font-size: 1.2rem;
    color: #555; /* Verbesserte Kontraste */
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
}

.hero-text p {
    font-size: 1.1rem;
    color: #555; /* Verbesserte Kontraste */
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Highlight Box in Hero */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(166, 22, 66, 0.3);
}

.highlight-box strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Verbesserter Button mit besseren Fokus-Indikatoren */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px; /* WCAG-konforme Mindestgröße für Touch-Targets */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(166, 22, 66, 0.3);
}

.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(166, 22, 66, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(166, 22, 66, 0.2));
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.8rem; /* Deutlich reduziert */
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: #555; /* Verbesserte Kontraste */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 300px;
    height: 300px;
    background: var(--background-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Featured Service Card */
.featured-service {
    border-top: 4px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(166, 22, 66, 0.1));
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.service-link:hover,
.service-link:focus {
    color: var(--secondary-color);
    background-color: rgba(166, 22, 66, 0.1);
}

/* Gesund im Vertrieb Section Styles */
.giv-intro {
    margin-bottom: 3rem;
}

.giv-highlight {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
}

.giv-highlight h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.giv-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.giv-foundation {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.giv-foundation h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Spezielle Anordnung für die 5 Phasen: 3-2 Layout */
.phases-grid .phase-item:nth-child(4),
.phases-grid .phase-item:nth-child(5) {
    grid-column: span 1;
}

.phases-grid .phase-item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2;
}

.phases-grid .phase-item:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2;
}

.phase-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.phase-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.phase-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    line-height: 1.3;
}

.phase-item p {
    color: #555; /* Verbesserte Kontraste */
    font-size: 0.9rem;
    line-height: 1.4;
}

.giv-components {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.giv-components h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.component-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-top: 3px solid var(--secondary-color);
}

.component-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.component-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.component-card ul {
    list-style: none;
    padding: 0;
}

.component-card li {
    padding: 0.25rem 0;
    color: #555; /* Verbesserte Kontraste */
    line-height: 1.4;
}

.giv-analogy {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.analogy-box {
    background: linear-gradient(135deg, rgba(166, 22, 66, 0.1), rgba(229, 51, 42, 0.1));
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.analogy-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.analogy-box p {
    line-height: 1.7;
    color: #555; /* Verbesserte Kontraste */
}

.giv-program {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.giv-program h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.program-structure {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.program-section {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.program-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.program-section p {
    line-height: 1.6;
    color: #555; /* Verbesserte Kontraste */
}

.program-section ul {
    line-height: 1.6;
    color: #555; /* Verbesserte Kontraste */
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.module {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    line-height: 1.5;
}

.giv-philosophy {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.philosophy-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.philosophy-box h3 {
    margin-bottom: 1rem;
}

.philosophy-box p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.experience-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.experience-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.experience-item .year {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.experience-item p {
    line-height: 1.6;
    color: #555; /* Verbesserte Kontraste */
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc; /* Verbesserte Kontraste */
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 48px; /* WCAG-konforme Mindestgröße */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(166, 22, 66, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Updated Contact Icon Styles - Fix for round icons */
.contact-item .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(166, 22, 66, 0.2);
    flex-shrink: 0;
    overflow: hidden;
}

/* Contact Item Layout Fix */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-item > div:last-child {
    flex: 1;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.contact-item p {
    line-height: 1.6;
    color: #555; /* Verbesserte Kontraste */
}

/* Adresse korrekt auszeichnen */
address {
    font-style: normal;
    line-height: 1.6;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: left;
    transition: opacity 0.3s ease;
    animation: slideInFromTop 0.3s ease;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-left: 4px solid var(--success-color);
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 4px solid var(--error-color);
}

.message-close {
    background: none !important;
    border: none !important;
    font-size: 18px !important;
    cursor: pointer !important;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 0.25rem;
    border-radius: 4px;
}

.message-close:hover,
.message-close:focus {
    opacity: 1;
}

/* Loading Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-overlay.show {
    opacity: 1;
}

.success-content {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.5s ease;
}

.success-overlay.show .success-content {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success-color), #43a047);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 1.5rem auto;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    color: #555; /* Verbesserte Kontraste */
    line-height: 1.6;
    margin: 0;
}

/* Submit Button States */
.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.cta-button:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Field Error States */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
}

.error-message {
    color: var(--error-color) !important;
    font-size: 0.9rem !important;
    margin-top: 0.25rem !important;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
}

.error-message::before {
    content: '⚠️';
    font-size: 0.8rem;
}

/* Map Section */
.map-section {
    margin-top: 4rem;
}

.map-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.map-info-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    line-height: 1.6;
}

.map-info-item strong {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer nav {
    margin-top: 1rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 2000;
    border-top: 3px solid var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.cookie-text p {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0 0;
}

.cookie-list li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: #555; /* Verbesserte Kontraste */
    line-height: 1.4;
}

.cookie-list li strong {
    color: var(--primary-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-height: 48px; /* WCAG-konforme Mindestgröße */
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cookie-accept:hover,
.cookie-accept:focus {
    box-shadow: 0 5px 15px rgba(166, 22, 66, 0.3);
    transform: translateY(-2px);
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 4px;
}

.cookie-link:hover,
.cookie-link:focus {
    color: var(--secondary-color);
    background-color: rgba(166, 22, 66, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #555; /* Verbesserte Kontraste */
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-right: 3rem;
    line-height: 1.3;
}

.modal-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.modal-content h4 {
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
    line-height: 1.3;
}

.modal-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555; /* Verbesserte Kontraste */
}

.modal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    line-height: 1.6;
}

.modal-content li {
    margin-bottom: 0.5rem;
    color: #555; /* Verbesserte Kontraste */
}

/* Video Section Styling */
.video-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Seitenverhältnis */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    background: var(--background-light);
}

/* Digital Business Card Styles */
.vcard-download {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 48px; /* WCAG-konforme Mindestgröße */
    justify-content: center;
}

.vcard-download:hover,
.vcard-download:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 22, 66, 0.3);
}

.vcard-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Mobile Business Card Prompt */
.mobile-vcard-prompt {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1500;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border-top: 3px solid var(--primary-color);
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.mobile-vcard-prompt.show {
    display: block;
}

.mobile-vcard-prompt h4 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.mobile-vcard-prompt p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.mobile-vcard-prompt-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.vcard-prompt-btn {
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
    min-height: 44px; /* WCAG-konforme Mindestgröße für Touch */
}

.vcard-prompt-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.vcard-prompt-btn.secondary {
    background: var(--background-light);
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.vcard-prompt-close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #555; /* Verbesserte Kontraste */
    font-size: 1.2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
}

.vcard-prompt-close:hover,
.vcard-prompt-close:focus {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: left;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .phases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .phases-grid .phase-item:nth-child(4),
    .phases-grid .phase-item:nth-child(5) {
        grid-column: span 1;
        grid-row: auto;
    }
    
    .components-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Navigation - besserer Umbruchpunkt */
@media (max-width: 1100px) {
    .nav-menu {
        gap: 1rem; /* Noch kompakter auf kleineren Bildschirmen */
    }
    
    .nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Schriftgrößen für Mobile anpassen */
    body {
        font-size: 16px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.5rem 0;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 1.6rem; /* Kleiner für Mobile */
    }

    .hero-text .subtitle {
        font-size: 1rem; /* Kleiner für Mobile */
    }

    .section-header h2 {
        font-size: 1.5rem; /* Kleiner für Mobile */
    }

    .services-grid,
    .experience-grid,
    .phases-grid,
    .components-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-name {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    
    .cookie-btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .modal-content {
        margin: 2% auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 90vh;
    }
    
    .giv-foundation,
    .giv-components,
    .giv-analogy,
    .giv-program,
    .giv-philosophy {
        padding: 1.5rem;
    }
    
    .phase-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .program-section {
        padding: 1rem;
    }
    
    /* Touch-Targets für Mobile vergrößern */
    .nav-link {
        padding: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .service-link {
        padding: 1rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
    }
}

/* Smooth scrolling animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Anpassungen für die Video-Steuerelemente */
video::-webkit-media-controls {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0 0 15px 15px;
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-fullscreen-button {
    color: var(--primary-color);
}

video::-webkit-media-controls-timeline {
    height: 8px;
    background: var(--background-light);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .video-container {
        padding-bottom: 75%; /* Anpassung für mobile Geräte */
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #000;
        --text-dark: #000;
        --text-light: #000;
        --background-light: #fff;
        --white: #fff;
    }
    
    .service-card,
    .contact-item,
    .modal-content {
        border: 2px solid #000;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .mobile-vcard-prompt,
    .success-overlay {
        display: none !important;
    }
    
    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        display: none;
    }
}