/* ===================================
   FARBSCHEMA & VARIABLEN
   =================================== */
:root {
    --primary-color: #6b8438;      /* Olivgrün (abgedunkelt für Barrierefreiheit - Kontrast 4.5:1) */
    --primary-dark: #4a5a28;       /* Dunkel-Olivgrün für Links/Button-Text (Kontrast 5.51:1) */
    --primary-extra-dark: #3a4a1f; /* Extra-Dunkel-Olivgrün für Labels/Strong (Kontrast 7.0:1 AAA) */
    --secondary-color: #e8f0d9;    /* Helles Olivgrün - Hintergründe */
    --text-color: #333333;         /* Haupttext */
    --white: #FFFFFF;              /* Kontrast */
    --light-gray: #f8f9fa;
    --border-color: #ddd;
    --hover-color: #5a6e2f;        /* Dunkleres Olivgrün für Hover */
}

/* ===================================
   RESET & BASIS
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset für sticky header */
}

body {
    font-family: 'Open Sans', 'Lato', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

strong {
    color: var(--primary-color);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
    background-color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast mit Weiß (5.51:1) */
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header .container {
    position: relative;
}

header h1,
header h2,
header h3 {
    color: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

/* Logo mit Bild + Text */
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

/* Fokus-Outline für Logo entfernen */
.logo:focus {
    outline: none;
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

/* Hamburger Menu Button (nur mobil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation bei aktiv */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
    border-bottom-color: var(--secondary-color);
}

/* Fokus-Outline für Navigation entfernen (nur visueller Hover-Effekt) */
.nav-menu a:focus {
    outline: none;
    border-bottom-color: var(--secondary-color);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast mit Weiß (5.51:1) */
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 90, 40, 0.4);
    font-weight: 700;
    border: 2px solid var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--primary-extra-dark);  /* Extra-Dunkel beim Hover für noch besseren Kontrast */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 74, 31, 0.5);
    border-color: var(--primary-extra-dark);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast (5.51:1) */
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-extra-dark) 50%, var(--primary-extra-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h1,
.hero h2,
.hero h3,
.hero strong {
    color: var(--white);
}

.hero h1 {
    font-size: 2.2rem;  /* Reduziert von 2.8rem - verhindert Umbruch */
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero h2 {
    font-size: 1.6rem;  /* Reduziert von 2rem - harmonischer */
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

.hero-content {
    max-width: 600px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.hero-contact {
    margin: 2rem 0;
    font-size: 1.2rem;
}

.hero-contact p {
    margin: 0.5rem 0;
}

.hero-contact a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
}

.hero-contact a:hover {
    color: var(--secondary-color);
}

.hero-contact i {
    margin-right: 0.5rem;
}

/* Hero Button mit extra Hervorhebung */
.hero .btn-primary {
    background-color: var(--white);
    color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast (5.51:1) */
    border: 3px solid var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
}

.hero .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--hover-color);  /* Dunkleres Olivgrün für besseren Kontrast (5.51:1) */
    border-color: var(--secondary-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Hero Gallery - Slideshow */
.hero-gallery {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    height: 450px;
}

.gallery-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.gallery-item.active {
    opacity: 1;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slideshow Indicators */
.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: 4rem 0;
    scroll-margin-top: 80px; /* Offset für sticky header bei Ankerlinks */
}

/* Sanfte harmonische Farbverläufe für Sektionen */
section:nth-child(even) {
    background: linear-gradient(135deg, 
        rgba(232, 240, 217, 0.3) 0%, 
        rgba(232, 240, 217, 0.6) 50%, 
        rgba(232, 240, 217, 0.4) 100%
    );
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* ===================================
   LEISTUNGEN (2x2 Grid + Details)
   =================================== */
#leistungen {
    background: linear-gradient(160deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(232, 240, 217, 0.2) 30%,
        rgba(232, 240, 217, 0.4) 70%,
        rgba(255, 255, 255, 1) 100%
    );
}

#leistungen h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Hauptleistung - volle Breite */
.main-service {
    width: 100%;
    margin: 3rem 0 2rem 0;
}

/* Services Grid für die zwei Services nebeneinander */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;  /* Texte linksbündig */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(107, 132, 56, 0.15);
}

/* Omega-Symbol für Spangentherapie */
.omega-symbol {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    font-weight: bold;
    line-height: 1;
    text-align: center;  /* Symbol bleibt zentriert */
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    text-align: center;  /* Icons bleiben zentriert */
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;  /* Überschriften bleiben zentriert */
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-card ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-card ul li {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.service-card small {
    color: #777;
    font-style: italic;
    display: block;
    margin-top: 1rem;
    text-align: left;  /* Small-Text linksbündig */
}

/* Weitere Leistungen Section */
.weitere-leistungen {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--secondary-color);
}

.weitere-leistungen h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.detail-intro {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.zusatzleistungen-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
}

.zusatz-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(107, 132, 56, 0.05) 0%, rgba(232, 240, 217, 0.2) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.zusatz-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(107, 132, 56, 0.15);
}

.zusatz-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.zusatz-item h3 i {
    font-size: 1.5rem;
}

.zusatz-item p {
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 768px) {
    .zusatzleistungen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zusatz-item:last-child {
        grid-column: 1 / -1;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* ===================================
   PRAXIS & TEAM
   =================================== */
#praxis-team {
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(232, 240, 217, 0.15) 50%,
        rgba(255, 255, 255, 1) 100%
    );
}

#praxis-team h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Styles für Leistungsliste (wird jetzt in #leistungen verwendet) */
.leistungen-liste {
    max-width: 800px;
    margin: 2rem auto 0;
}

.leistungen-liste ul {
    list-style: none;
    margin-bottom: 2rem;
}

.leistungen-liste li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
}

.leistungen-liste li:last-child {
    border-bottom: none;
}

.leistungen-liste i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.highlight {
    background-color: var(--white);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    margin-top: 2rem;
    font-style: italic;
    color: #555;
}

/* ===================================
   FAQ
   =================================== */
#faq {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(232, 240, 217, 0.2) 50%,
        rgba(255, 255, 255, 1) 100%
    );
}

#faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item i {
    color: var(--primary-color);
}

.faq-item p {
    color: #555;
    line-height: 1.7;
}

/* ===================================
   KONTAKT SECTION
   =================================== */
#kontakt {
    background: linear-gradient(180deg, 
        rgba(232, 240, 217, 0.3) 0%, 
        rgba(232, 240, 217, 0.6) 30%,
        rgba(232, 240, 217, 0.4) 70%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

#kontakt h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.kontakt-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.praxis-adresse,
.oeffnungszeiten {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.praxis-adresse h3,
.oeffnungszeiten h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.praxis-adresse p,
.oeffnungszeiten p {
    margin-bottom: 0.5rem;
}

.praxis-adresse i,
.oeffnungszeiten i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Optimierte Kontraste für Praxis-Adresse */
.praxis-adresse strong {
    color: var(--primary-extra-dark);  /* Extra-Dunkel für AAA-Kontrast (7.0:1) */
}

.praxis-adresse a {
    color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast (5.51:1) */
    font-weight: 600;
}

.oeffnungszeiten table {
    width: 100%;
    margin-top: 1rem;
}

.oeffnungszeiten td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.oeffnungszeiten td:first-child {
    font-weight: 600;
    color: var(--primary-extra-dark);  /* Extra-Dunkel für AAA-Kontrast (7.0:1) */
}

.oeffnungszeiten tr:last-child td {
    border-bottom: none;
}

/* Links in Öffnungszeiten */
.oeffnungszeiten a {
    color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast (5.51:1) */
    font-weight: 600;
}

/* ===================================
   LEAFLET MAP
   =================================== */
.map-section {
    margin: 3rem 0;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

#map {
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===================================
   KONTAKTFORMULAR
   =================================== */
.kontakt-formular {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kontakt-formular h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Links im Kontaktformular (z.B. Datenschutz-Link) */
.kontakt-formular a {
    color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast (5.51:1) */
    font-weight: 600;
}

.form-hint {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-style: italic;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-extra-dark);  /* Extra-Dunkel für AAA-Kontrast (7.0:1) */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-buttons .btn {
    width: 100%;
}

/* Erfolgsbestätigung */
.success-message {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 2px solid #22c55e;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: slideIn 0.5s ease;
}

.success-message i {
    font-size: 3rem;
    color: #16a34a;  /* Dunkleres Grün für besseren Kontrast (3.5:1, OK für Icons) */
    margin-bottom: 1rem;
}

.success-message h4 {
    color: #16a34a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #555;
    margin: 0;
}

/* Fehlerbestätigung */
.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 2px solid #ef4444;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: slideIn 0.5s ease;
}

.error-message i {
    font-size: 3rem;
    color: #dc2626;  /* Dunkleres Rot für besseren Kontrast (4.5:1) */
    margin-bottom: 1rem;
}

.error-message h4 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.error-message p {
    color: #555;
    margin: 0;
}

/* Button Loading State */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Textarea Styling */
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background-color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast mit Weiß (5.51:1) */
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

footer h1,
footer h2,
footer h3,
footer strong {
    color: var(--white);
}

footer p {
    margin: 0.5rem 0;
}

footer small {
    opacity: 0.8;
}

.footer-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0 0.5rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    color: var(--white);
}

/* ===================================
   LEGAL PAGES (Impressum, Datenschutz)
   =================================== */
.legal-page {
    padding: 4rem 0;
    background-color: var(--white);
}

.legal-page .container {
    max-width: 900px;
}

.legal-page h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-page h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-page h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.legal-page h4 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-page ul {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--hover-color);
}

.legal-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    /* Hamburger Menu sichtbar machen */
    .menu-toggle {
        display: flex;
    }

    /* Navigation: Standard versteckt */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-dark);  /* Dunkleres Olivgrün für besseren Kontrast (5.51:1) */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Navigation: Aktiv (ausgeklappt) */
    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: none;
        text-align: center;
    }

    .nav-menu a:hover {
        background-color: var(--hover-color);
        border-bottom: none;
    }
    
    /* Fokus-Outline für Mobile Navigation entfernen */
    .nav-menu a:focus {
        outline: none;
        background-color: var(--hover-color);
    }

    /* Header Content Anpassung */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo-img {
        height: 60px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    /* Auf sehr kleinen Screens: Logo-Text ausblenden, nur Bild zeigen */
    @media (max-width: 480px) {
        .logo-text {
            display: none;
        }
        
        .logo-img {
            height: 68px;
        }
        
        .hero h1 {
            font-size: 1.5rem;  /* Angepasst für Mobile */
        }
        
        .hero h2 {
            font-size: 1.15rem;  /* Angepasst für Mobile */
        }
        
        /* Gallery auf Mobile */
        .hero-gallery {
            height: 250px;
        }
        
        .gallery-indicators {
            bottom: 10px;
        }
        
        .indicator {
            width: 10px;
            height: 10px;
        }
    }

    /* Hero - Auf Tablet Stacked Layout */
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 1.8rem;  /* Angepasst für Tablet */
    }
    
    .hero h2 {
        font-size: 1.4rem;  /* Angepasst für Tablet */
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    /* Gallery auf Tablet */
    .hero-gallery {
        height: 350px;
    }

    /* Services Grid - 1 Spalte auf Mobil */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Kontakt Info */
    .kontakt-info {
        grid-template-columns: 1fr;
    }

    /* Form Buttons */
    .form-buttons {
        flex-direction: column;
    }

    /* Map */
    #map {
        height: 300px;
    }

    /* Typography */
    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   ACCESSIBILITY & SEO
   =================================== */
/* Kontrast ≥ 4.5:1 wird durch Farbwahl gewährleistet */
/* Schriftgröße ≥ 16px */
/* Fokus-Styles für Barrierefreiheit */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content (für Screen Reader) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
