:root { 
    --goebel-green: #1a3a32; 
    --brand-bronze: #b8860b; 
    --text-main: #1d1d1f; 
    --text-light: #86868b; 
    --apple-bg: #f5f5f7; 
}

/* ANIMATIONEN */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* BASIS STYLES */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: #fff; color: var(--text-main); transition: 0.3s; overflow-x: hidden; line-height: 1.6; }

main, .timeline-item, .card, .hero-text { animation: fadeIn 0.8s ease-out forwards; }

/* NAVIGATION */
nav { position: fixed; top: 0; width: 100%; height: 65px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); z-index: 10000; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; border-bottom: 1px solid rgba(0,0,0,0.05); }

/* Logo-Gruppe (Bild + Text) */
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; max-width: 70%; }
.nav-logo-img { height: 42px; width: auto; mix-blend-mode: multiply; filter: contrast(110%); border-radius: 8px; flex-shrink: 0; }
.nav-brand-text { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--goebel-green); white-space: nowrap; transition: 0.3s; overflow: hidden; text-overflow: ellipsis; }
.nav-brand:hover .nav-brand-text { color: var(--brand-bronze); }

.nav-links { display: flex; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 13px; padding: 0 15px; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--brand-bronze); }

/* CONTAINER & LAYOUTS */
.container { max-width: 1200px; margin: 120px auto 60px; padding: 0 20px; }
h1 { font-size: clamp(32px, 6vw, 60px); color: var(--goebel-green); margin-bottom: 40px; text-align: center; line-height: 1.1; letter-spacing: -0.04em; }

/* STARTSEITE (HERO) */
.hero { display: flex; min-height: 90vh; align-items: center; padding: 120px 5% 60px; max-width: 1400px; margin: auto; gap: 60px; }
.hero-text { flex: 1.1; text-align: left; }
.hero-text h1 { text-align: left; margin-bottom: 25px; }
.hero-text h1 span { color: var(--brand-bronze); }
.photo-wrapper { border-radius: 24px; overflow: hidden; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.1); cursor: pointer; }
.ggf-photo { width: 100%; height: auto; display: block; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.photo-wrapper:hover .ggf-photo { transform: scale(1.05); }

/* LEISTUNGEN (KARTEN) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-bottom: 80px; }
.card { background: var(--apple-bg); padding: 50px; border-radius: 32px; display: flex; flex-direction: column; transition: 0.3s; }
.card h2 { font-size: 28px; margin-bottom: 20px; color: var(--goebel-green); border-bottom: 2px solid var(--brand-bronze); padding-bottom: 10px; }
.card p { margin-bottom: 25px; font-size: 16px; color: #424245; }
.card ul { list-style: none; margin-top: auto; }
.card li { margin-bottom: 12px; padding-left: 25px; position: relative; font-weight: 600; color: var(--goebel-green); }
.card li::before { content: "→"; position: absolute; left: 0; color: var(--brand-bronze); }
.special { background: var(--goebel-green); color: #fff; }
.special h2 { color: var(--brand-bronze); border-color: #fff; }
.special p, .special li { color: #fff; }

/* GESCHICHTE (TIMELINE) */
.timeline-item { padding-left: 30px; border-left: 2px solid var(--goebel-green); margin-bottom: 50px; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -9px; top: 0; width: 16px; height: 16px; background: var(--brand-bronze); border-radius: 50%; border: 3px solid #fff; }
.year { font-weight: 600; color: var(--brand-bronze); font-size: 18px; margin-bottom: 10px; display: block; }
.highlight-box { background: var(--goebel-green); color: #fff; padding: 40px; border-radius: 32px; border-left: 8px solid var(--brand-bronze); margin-top: 60px; margin-bottom: 60px; }

/* KONTAKT SEITE */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.info-card { background: var(--goebel-green); color: #fff; padding: 40px; border-radius: 32px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.info-card h2 { color: var(--brand-bronze); margin-bottom: 10px; }
.phone-display, .email-display { font-size: 24px; font-weight: 600; color: var(--brand-bronze); display: block; margin: 10px 0; text-decoration: none; transition: 0.2s; }
.phone-display:hover, .email-display:hover { filter: brightness(1.2); }
.form-card { background: var(--apple-bg); padding: 50px; border-radius: 28px; }
label { display: block; margin-top: 15px; font-weight: 600; color: var(--goebel-green); }
input, select, textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #d2d2d7; margin-top: 8px; font-size: 16px; font-family: inherit; }
.btn-submit { background: var(--goebel-green); color: #fff; border: none; padding: 18px; border-radius: 14px; font-weight: 600; cursor: pointer; width: 100%; margin-top: 25px; transition: 0.3s; }
.btn-submit:hover { background: var(--brand-bronze); }
.map-card { background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 380px; min-height: 450px; margin-bottom: 40px; }
.map-placeholder { width: 100%; height: 100%; background: #f0f0f5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; position: relative; }
.btn-load-map { background: var(--goebel-green); color: #fff; border: none; padding: 12px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.location-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }

/* DATENSCHUTZ TEXTE */
.legal-text-block { background: var(--apple-bg); padding: 40px; border-radius: 24px; margin-bottom: 40px; }
.apple-footer { background-color: var(--apple-bg); padding: 0 8% 40px; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding-top: 25px; border-top: 1px solid #d2d2d7; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.legal-links { display: flex; list-style: none; gap: 12px; font-size: 11px; }
.legal-links li:not(:last-child)::after { content: "|"; margin-left: 12px; color: #d2d2d7; }

/* IMPRESSUM & FOOTER */
.impressum-section { padding: 80px 5%; background-color: #f9f9fb; border-top: 1px solid #eee; }
.impressum-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.impressum-section h2 { font-size: 24px; color: var(--goebel-green); margin-bottom: 20px; font-weight: 600; }
.impressum-section p { font-size: 15px; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; }
.impressum-section strong { color: var(--brand-bronze); font-weight: 600; }
.impressum-section a { color: var(--text-main); text-decoration: none; transition: 0.2s; }
.impressum-section a:hover { color: var(--brand-bronze); }

footer { text-align: center; padding: 40px; font-size: 13px; color: var(--text-light); border-top: 1px solid #eee; background-color: #f9f9fb; }
footer a { color: var(--text-light); text-decoration: none; margin-left: 5px; }
footer a:hover { color: var(--brand-bronze); text-decoration: underline; }

.acc-btn { position: fixed; bottom: 20px; right: 20px; background: #000; color: #fff; border: 1px solid #fff; padding: 12px 20px; border-radius: 50px; cursor: pointer; z-index: 10001; font-size: 11px; }

/* RESPONSIVE & MOBILE */
@media (max-width: 1024px) { 
    .hero { flex-direction: column; text-align: center; padding-top: 100px; } 
    .hero-text h1 { text-align: center; }
    .impressum-container { grid-template-columns: 1fr; text-align: center; }
    .map-card, .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    nav { padding: 0 15px; }
    
    /* HIER IST DIE ÄNDERUNG: */
    /* Der Text wird angezeigt, aber kleiner gemacht */
    .nav-brand-text { 
        display: block !important; /* Erzwingt die Anzeige */
        font-size: 10px; /* Kleinere Schrift für Handy */
        letter-spacing: 0.5px; /* Etwas enger */
    }
    .nav-logo-img { height: 32px; } /* Logo etwas kleiner auf dem Handy */
    .nav-brand { gap: 8px; } /* Abstand verringern */
}

/* BARRIEREFREIHEITSMODUS */
body.high-contrast { background-color: #000 !important; color: #fff !important; }
body.high-contrast nav { background: #000 !important; border-bottom: 3px solid #fff !important; }
body.high-contrast nav .nav-links a { color: #fff !important; text-decoration: underline; }
body.high-contrast .card, body.high-contrast .info-card, body.high-contrast .form-card, body.high-contrast .map-card, body.high-contrast .legal-text-block, body.high-contrast .highlight-box { background: #000 !important; border: 3px solid #fff !important; }
body.high-contrast h1, body.high-contrast h2, body.high-contrast .ggf-name { color: #fff !important; }
body.high-contrast strong, body.high-contrast span, body.high-contrast label, body.high-contrast .year { color: #ffcc00 !important; }
body.high-contrast .nav-logo-img { border: 2px solid #fff; filter: brightness(1.2); mix-blend-mode: normal; }
body.high-contrast footer, body.high-contrast .impressum-section, body.high-contrast .apple-footer { border-top: 1px solid #fff !important; background-color: #000 !important; }
body.high-contrast a { color: #ffcc00 !important; text-decoration: underline; }
body.high-contrast input, body.high-contrast select, body.high-contrast textarea { background: #000 !important; color: #fff !important; border: 2px solid #fff !important; }