/* --- 1. GRUNDEINSTELLUNGEN --- */
:root {
    --primary: #006D77;        
    --primary-light: #e6f2f3; 
    --primary-dark: #004d55;
    --accent: #E29578;        
    --text-main: #333333;
    --bg-glass: rgba(255, 255, 255, 0.96); 
    --emergency-red: #b93c3c; 
}

html {
    scroll-behavior: smooth;
}

section[id], div[id] {
    scroll-margin-top: 180px; 
}

body {
    font-family: 'Jost', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    line-height: 1.7; 
    font-size: 1.1rem; 
    font-weight: 400;  
    
    background-image: url('aquarell.JPG'); 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3 {
    color: var(--primary);
    font-weight: 500; 
    margin-top: 0;
    letter-spacing: 0.5px; 
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* --- 2. HEADER --- */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 150px; 
    width: auto;
    display: block;
    transition: height 0.3s; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Container für Handy-Icons (Notfall + Menü) */
.mobile-header-icons {
    display: none; 
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Kleiner Notfall-Icon im Header (Nur Mobile) */
.mobile-emergency-icon {
    text-decoration: none;
    color: var(--emergency-red);
    font-weight: bold;
    font-size: 1.5rem;
    border: 2px solid var(--emergency-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse-border 2s 5;
}

/* --- 3. HERO --- */
.hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px; 
}

.hero-box {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px 60px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    max-width: 90%; 
}

.hero h1 {
    font-size: 2.8rem; 
    margin-bottom: 10px;
    color: var(--primary);
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    margin-top: 20px;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif; 
}

.btn:hover {
    background-color: var(--primary-dark);
}

/* --- 4. WEISSE BOXEN --- */
.content-wrapper {
    background-color: var(--bg-glass);
    margin: 60px auto;
    padding: 60px 40px;
    max-width: 1100px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

/* --- 5. GRID LAYOUTS --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 10px 10px 0 var(--primary);
    display: block;
}

/* --- 6. METHODEN --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch; 
}

.method-item {
    background: white;
    padding: 30px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.method-item:hover {
    transform: translateY(-5px);
}

.method-item h3 {
    font-size: 1.4rem;
    color: var(--primary);
    min-height: 5.5rem; 
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start; 
    justify-content: flex-start; 
    text-align: left;
    padding-bottom: 10px;
    hyphens: auto; 
}

.method-item p {
    flex-grow: 1;
    margin: 0;
}

/* --- 7. VERANSTALTUNGEN --- */
.event-info-box {
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 109, 119, 0.1);
}

/* --- 8. PRAXIS & KONTAKT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info strong {
    color: var(--primary);
}

/* Notfallnummern Box */
.emergency-box {
    border-left: 5px solid var(--emergency-red);
    background-color: #fff5f5; 
    padding: 30px;
    margin-top: 60px;
    border-radius: 4px;
}

.emergency-list {
    list-style: none;
    padding: 0;
}

.emergency-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 5px;
}

.emergency-list strong {
    color: var(--text-main);
}

/* --- BUTTON (DESKTOP) --- */
.emergency-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--emergency-red);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid white;
    animation: pulse-border 2s 10;
}

.emergency-float:hover {
    transform: scale(1.05);
    background-color: #a02e2e;
}

/* Animation für das Pulsieren */
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(185, 60, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(185, 60, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(185, 60, 60, 0); }
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 350px;
    background-color: #eef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
    padding: 20px;
    box-sizing: border-box;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/bd/Google_Maps_Logo_2020.svg/512px-Google_Maps_Logo_2020.svg.png');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center 30%;
    position: relative;
}

.map-placeholder::before {
    content: "";
    position: absolute; top:0; left:0; right:0; bottom:0;
    background: rgba(255,255,255,0.85);
    border-radius: 5px;
}

.map-content {
    position: relative;
    z-index: 2;
}

.map-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    font-size: 0.9rem;
    font-family: 'Jost', sans-serif;
}

.map-btn:hover {
    background-color: var(--primary-dark);
}

#google-map-iframe {
    display: none; 
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Jost', sans-serif; 
    font-size: 1rem;
    box-sizing: border-box;
    background: #f9f9f9;
}

/* Verstecktes Feld für Spambots */
.robots-only {
    display: none;
    visibility: hidden;
}

form button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
}

form button:hover {
    background-color: var(--primary-dark);
}

footer {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

footer a {
    color: #ddd;
    text-decoration: underline;
    margin: 0 10px;
}

@media (max-width: 768px) {
    section[id], div[id] {
        scroll-margin-top: 100px; 
    }
    .container { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: space-between; 
    }
    .logo img { height: 60px; } 
    .mobile-header-icons { display: flex; }
    .emergency-float { display: none; }
    nav {
        width: 100%;
        display: none; 
        margin-top: 20px;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
    nav.active { display: block; }
    nav ul { 
        flex-direction: column; 
        gap: 15px; 
        margin-bottom: 20px; 
        text-align: center; 
    }
    .content-wrapper { 
        margin: 20px 10px; 
        padding: 40px 20px; 
    }
    .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
    h2 { font-size: 1.7rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-box { padding: 30px 20px; }
    .method-item h3 { 
        min-height: auto; 
        border: none; 
        align-items: flex-start;
    }
    .mobile-break { display: block; margin-top: 5px; }
}
/* --- SPAM SCHUTZ --- */
.robots-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    z-index: -1000;
}