/* ==========================================================================
   Schumacher Zahntechnik - Modern Stylesheet (Lightweight & Superfast)
   ========================================================================== */

:root {
    --primary: #0a4f78;       /* Seriöses Dental-/Medizinblau */
    --primary-dark: #07344f;
    --primary-light: #e8f3f8;
    --accent: #008eb0;        /* Türkis-Akzent für Frische */
    --dark: #1e293b;          /* Lesbare dunkle Textfarbe */
    --light: #f8fafc;         /* Angenehmer Hintergrund */
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.03);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Hilfsklassen */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.max-800 { max-width: 800px; margin: 0 auto; }
.text-center { text-align: center; }
.bg-light { background-color: var(--light); }
.section { padding: 4.5rem 0; }

/* Typografie */
h1, h2, h3, h4 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: #334155; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background-color: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--light);
}
.full-width { width: 100%; }

/* Badge */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Header & Nav */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}
.logo {
    display: flex;
    flex-direction: column;
}
.logo-main {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}
.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: -3px;
}
.logo-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-brand img {
    max-height: 52px;       /* Sorgt für eine stimmige Höhe in der Menüleiste */
    width: auto;
    object-fit: contain;
    display: block;
}
.nav-menu {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}
.nav-menu a {
    font-weight: 500;
    color: var(--dark);
}
.nav-menu a:hover {
    color: var(--primary);
}
/* ==========================================================================
   Hero mit Hintergrundbild & Textschutz-Overlay
   ========================================================================== */
.hero.hero-with-bg {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
}

@media (min-width: 769px) {
    .hero.hero-with-bg {
        background:
            linear-gradient(90deg,
                rgba(7, 40, 62, 0.94) 0%,
                rgba(10, 60, 92, 0.85) 45%,
                rgba(10, 60, 92, 0.25) 80%,
                rgba(10, 60, 92, 0.05) 100%),
            url('images/slide_frau.png') right center / cover no-repeat;
    }
}

/* Container behält 1140px und bleibt bündig mit Logo/Nav */
.hero.hero-with-bg .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1140px;
}

/* Nur die Inhalte werden schmal gehalten (links ausgerichtet) */
.hero.hero-with-bg .hero-content > * {
    max-width: 650px;
}

.hero.hero-with-bg .hero-lead {
    color: #e2e8f0;
    font-size: 1.15rem;
}

.hero.hero-with-bg .trust-pills {
    color: #f1f5f9;
}

@media (max-width: 768px) {
    .hero.hero-with-bg {
        padding: 4rem 0 3rem;
        background-position: center center;
    }
}
@media (max-width: 768px) {
    .hero.hero-with-bg {
        padding: 4rem 0 3rem;
        background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
    }
}
/* Textfarben im Hero auf Weiß/Hell anpassen */
.hero-with-bg h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-with-bg .hero-lead {
    color: #e2e8f0;
    font-size: 1.15rem;
}

.hero-with-bg strong {
    color: #ffffff;
}

/* Hero Badge */
.badge-hero {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

/* Heller Zweit-Button für den dunklen Hintergrund */
.btn-secondary-white {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

.btn-secondary-white:hover {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: #ffffff;
}

/* Trust-Pills im Hero */
.trust-pills-hero .pill {
    background: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    font-size: 0.88rem;
    backdrop-filter: blur(4px);
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .hero-with-bg {
        padding: 4rem 0 3rem;
        background-position: center center;
    }
    /* Auf Mobilgeräten vollflächigerer Schutzfilter für kleine Displays */
    .hero-overlay {
        background: rgba(7, 40, 62, 0.88);
    }
}
.hero.hero-with-bg .btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}
.hero.hero-with-bg .btn-primary:hover {
    background-color: #00a5cc;
}
.phone-link {
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}
.phone-link:hover {
    background: #d4eaf5;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Hero */
.hero {
    background: linear-gradient(145deg, #ffffff 0%, var(--primary-light) 100%);
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
}
.hero-content {
    max-width: 820px;
}
.hero-lead {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.trust-pills {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Cards & Grids */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.grid {
    display: grid;
    gap: 1.75rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}
.card-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.checklist {
    list-style: none;
    margin-top: 1.25rem;
}
.checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.9rem;
}
.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

.highlight-box {
    background: var(--primary-light);
    border-radius: 12px;
    padding: 2.25rem;
    border: 1px solid #d4eaf5;
}
.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
.quote-author {
    margin-bottom: 1.5rem;
}
.quote-author strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
}
.quote-author span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Contact */
.contact-grid {
    align-items: start;
}
.contact-card {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 2.25rem;
    border-radius: 8px;
}
.contact-item {
    margin-bottom: 1.25rem;
}
.hours-card {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2.25rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}
.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 79, 120, 0.15);
}

/* Legal Pages */
.legal-page h1 { margin-bottom: 2rem; }
.legal-page h2 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.4rem; }
.legal-page h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.legal-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-page li { margin-bottom: 0.35rem; }

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: #94a3b8;
    padding: 2.5rem 0;
    font-size: 0.9rem;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.site-footer strong {
    color: var(--white);
    font-size: 1.05rem;
}
.site-footer a {
    color: #cbd5e1;
}
.site-footer a:hover {
    color: var(--white);
}
.footer-right .sep {
    margin: 0 0.5rem;
    color: #475569;
}
.copyright {
    font-size: 0.8rem;
    margin-top: 0.35rem;
    color: #64748b;
}

/* Responsivierung / Mobile */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .header-phone { display: none; }
    .mobile-toggle { display: flex; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
    }
    .nav-menu.open {
        display: flex;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}