/* Local Inter Font */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/inter-400.ttf') format('truetype'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/inter-600.ttf') format('truetype'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/inter-700.ttf') format('truetype'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap; src:url('fonts/inter-800.ttf') format('truetype'); }

:root {
    --primary: #2471a3;
    --primary-mid: #3498db;
    --accent: #c9a227;
    --accent-hover: #b8911f;
    --text: #1e293b;
    --text-mid: #475569;
    --text-light: #7a8ba0;
    --bg: #fff;
    --bg-warm: #eaf2f8;
    --bg-section: #eaf2f8;
    --border: #d0e0d8;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Inter',system-ui,-apple-system,sans-serif; font-size:16px; line-height:1.7; color:var(--text); background:var(--bg); -webkit-font-smoothing:antialiased; }
.container { max-width:1080px; margin:0 auto; padding:0 24px; }
a { color:var(--primary-mid); text-decoration:none; transition:all 0.2s; }
a:hover { color:var(--primary); }
h1,h2,h3 { line-height:1.25; color:var(--primary); }
h1 { font-size:2rem; font-weight:800; letter-spacing:-0.5px; }
h2 { font-size:1.5rem; font-weight:700; margin-bottom:16px; }
h3 { font-size:1.1rem; font-weight:600; }

/* HEADER */
.header { background:#fff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:100; }
.header-inner { display:flex; justify-content:space-between; align-items:center; padding:10px 24px; max-width:1080px; margin:0 auto; }
.header-brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
.header-logo { width:36px; height:36px; border-radius:6px; }
.header-title { font-size:14px; font-weight:700; color:var(--primary); line-height:1.2; }
.header-sub { font-size:11px; color:var(--text-light); font-weight:500; }
.header-nav { display:flex; gap:2px; align-items:center; }
.header-nav a { color:var(--text-mid); font-size:13px; padding:6px 12px; border-radius:6px; font-weight:500; }
.header-nav a:hover { background:var(--bg-section); color:var(--primary); }
.header-hamburger { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.header-hamburger svg { width:24px; height:24px; stroke:var(--primary); }
@media(max-width:900px) {
    .header-nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; border-bottom:1px solid var(--border); flex-direction:column; padding:12px 24px; box-shadow:0 4px 16px rgba(0,0,0,0.08); }
    .header-nav.open { display:flex; }
    .header-nav a { padding:10px 0; font-size:15px; }
    .header-hamburger { display:block; }
}

/* HERO */
.hero {
    background: var(--primary);
    color: white;
    padding: 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    max-width: 1080px;
    margin: 0 auto;
    align-items: center;
}
.hero-text-col {
    padding: 52px 24px 52px 24px;
}
.hero-img-col {
    padding: 20px 24px 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.hero-img-round {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.hero-img-mobile {
    display: none;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}
.hero-img-mobile img {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.hero-doctor-name {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.hero h1 { color:white; font-size:2rem; margin-bottom:14px; }
.hero-text { font-size:16px; opacity:0.85; line-height:1.7; margin-bottom:24px; max-width:520px; }
.hero-stats { display:flex; gap:36px; margin-bottom:24px; padding:18px 0; border-top:1px solid rgba(255,255,255,0.1); border-bottom:1px solid rgba(255,255,255,0.1); }
.stat-num { font-size:26px; font-weight:800; letter-spacing:-1px; }
.stat-label { font-size:10px; text-transform:uppercase; letter-spacing:1px; opacity:0.5; font-weight:600; }
.hero-cta-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.btn-gold { display:inline-block; background:var(--accent); color:white; padding:14px 32px; border-radius:6px; font-size:15px; font-weight:700; transition:background 0.2s; }
.btn-gold:hover { background:var(--accent-hover); color:white; }
.btn-outline { display:inline-block; border:2px solid rgba(255,255,255,0.4); color:white; padding:12px 28px; border-radius:6px; font-size:15px; font-weight:600; transition:all 0.2s; }
.btn-outline:hover { border-color:white; color:white; background:rgba(255,255,255,0.1); }

@media(max-width:768px) {
    .hero-grid { grid-template-columns:1fr; text-align:center; }
    .hero-text-col { padding:36px 24px 32px; }
    .hero-img-col { display:none; }
    .hero-img-mobile { display:flex; }
    .hero h1 { font-size:1.55rem; }
    .hero-text { max-width:100%; margin-left:auto; margin-right:auto; }
    .hero-stats { justify-content:center; gap:24px; }
    .hero-cta-row { justify-content:center; }
}

/* PAGE HERO (sub-pages) */
.page-hero { background:var(--primary); color:white; padding:40px 0 32px; }
.page-hero h1 { color:white; font-size:1.7rem; margin-bottom:8px; }
.page-hero p { color:rgba(255,255,255,0.75); font-size:15px; }
.page-hero .hero-img-round { width:160px; height:160px; margin:0 auto 20px; display:block; }

/* BREADCRUMB */
.breadcrumb { padding:12px 0; border-bottom:1px solid var(--border); background:#ffffff; font-size:13px; }
.breadcrumb a { color:var(--text-light); }
.breadcrumb span { color:var(--text); font-weight:600; }
.page-hero .breadcrumb { background:transparent; border:none; padding:0 0 12px; }
.page-hero .breadcrumb a { color:rgba(255,255,255,0.6); }
.page-hero .breadcrumb span { color:white; }

/* SECTIONS */
.section { padding:60px 0; }
.section-alt { background:var(--bg-section); }
.section-header { text-align:center; margin-bottom:40px; }
.section-header p { color:var(--text-light); font-size:15px; margin-top:6px; }
.accent-line { width:36px; height:3px; background:var(--accent); margin:10px auto 0; }
.accent-line-left { margin:10px 0 0; }

/* SERVICES GRID */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card { background:white; border-radius:10px; padding:28px; border:1px solid var(--border); transition:all 0.3s; }
.service-card:hover { border-color:var(--primary-mid); box-shadow:0 4px 20px rgba(0,0,0,0.05); }
.service-card h3 { margin-bottom:8px; }
.service-card p { font-size:14px; color:var(--text-mid); line-height:1.65; margin-bottom:12px; }
.service-link { color:var(--primary-mid); font-weight:600; font-size:13px; }
.service-icon { font-size:28px; margin-bottom:12px; display:block; }
@media(max-width:768px) { .services-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:500px) { .services-grid { grid-template-columns:1fr; } }

/* SPRECHZEITEN TABLE */
.hours-table { width:100%; border-collapse:collapse; margin:20px 0; }
.hours-table td { padding:10px 16px; font-size:14px; border-bottom:1px solid var(--border); }
.hours-table td:first-child { font-weight:600; color:var(--primary); width:120px; }
.hours-table tr:last-child td { border-bottom:none; }
.hours-card { background:white; border-radius:10px; padding:28px; border:1px solid var(--border); }

/* STEPS */
.steps-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.step-card { text-align:center; padding:18px 14px; }
.step-num { width:42px; height:42px; border:2px solid var(--primary); color:var(--primary); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:17px; font-weight:700; margin:0 auto 12px; }
.step-card h3 { font-size:14px; margin-bottom:6px; }
.step-card p { font-size:13px; color:var(--text-mid); }
@media(max-width:768px) { .steps-grid { grid-template-columns:1fr 1fr; } }

/* ABOUT / TEAM */
.about-grid { display:grid; grid-template-columns:0.9fr 1.1fr; gap:44px; align-items:center; }
.about-img { width:100%; border-radius:10px; box-shadow:0 6px 24px rgba(0,0,0,0.08); }
.about-text p { margin-bottom:14px; color:var(--text-mid); line-height:1.75; }
.credentials { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:20px; }
.credential { font-size:13px; font-weight:600; color:var(--primary); padding:8px 0; border-bottom:1px solid var(--border); }
@media(max-width:768px) { .about-grid { grid-template-columns:1fr; } .credentials { grid-template-columns:1fr; } }

.team-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; margin:32px 0; }
.team-card { text-align:center; }
.team-card img { width:180px; height:180px; border-radius:50%; object-fit:cover; margin-bottom:16px; border:4px solid var(--border); }
.team-card h3 { margin-bottom:4px; }
.team-card p { font-size:14px; color:var(--text-mid); }
@media(max-width:500px) { .team-grid { grid-template-columns:1fr; } }

/* PROSE */
.prose { max-width:720px; margin:0 auto; }
.prose p { margin-bottom:14px; color:var(--text-mid); line-height:1.8; }
.prose h2 { margin-top:36px; }
.prose h3 { margin-top:28px; margin-bottom:10px; }
.prose-hl { color:var(--primary); font-weight:600; }
.prose ul { margin:0 0 16px 20px; color:var(--text-mid); }
.prose ul li { margin-bottom:6px; font-size:15px; }

/* CTA SECTION */
.cta-section { background:var(--primary); color:white; padding:48px 0; text-align:center; }
.cta-section h2 { color:white; margin-bottom:8px; }
.cta-section p { opacity:0.8; margin-bottom:24px; }
.cta-phone { display:inline-block; background:var(--accent); color:white; padding:15px 40px; border-radius:6px; font-size:20px; font-weight:800; transition:background 0.2s; }
.cta-phone:hover { background:var(--accent-hover); color:white; }
.cta-sub { margin-top:10px; font-size:12px; opacity:0.5; }

/* CONTACT */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start; }
.contact-info h3 { margin-bottom:16px; }
.c-row { font-size:14px; color:var(--text-mid); margin-bottom:10px; }
.c-row strong { color:var(--primary); }
.c-row a { color:var(--primary); font-weight:700; }
.fg { margin-bottom:14px; }
.fg label { display:block; font-size:11px; font-weight:600; color:var(--text-light); margin-bottom:4px; text-transform:uppercase; letter-spacing:0.5px; }
.fg input,.fg textarea { width:100%; padding:11px 14px; border:1px solid var(--border); border-radius:6px; font-size:15px; font-family:inherit; background:#ffffff; transition:all 0.2s; }
.fg input:focus,.fg textarea:focus { outline:none; border-color:var(--primary-mid); background:white; }
.fg textarea { min-height:90px; resize:vertical; }
.form-btn { background:var(--primary); color:white; border:none; padding:13px 24px; border-radius:6px; font-size:14px; font-weight:700; cursor:pointer; width:100%; transition:background 0.2s; }
.form-btn:hover { background:var(--primary-mid); }
@media(max-width:768px) { .contact-grid { grid-template-columns:1fr; } }

/* FOOTER */
.footer { background:var(--primary); color:white; padding:24px 0; text-align:center; }
.footer a { color:rgba(255,255,255,0.65); font-size:13px; }
.footer a:hover { color:white; }
.footer-links { display:flex; justify-content:center; gap:16px; margin-bottom:8px; flex-wrap:wrap; }
.footer-adr { font-size:13px; opacity:0.5; margin-bottom:8px; }
.footer-copy { font-size:11px; opacity:0.35; }

/* FLOATING BAR */
.fbar { position:fixed; bottom:0; left:0; right:0; z-index:999; background:var(--primary); box-shadow:0 -3px 16px rgba(0,0,0,0.2); transition:transform 0.3s ease; }
.fbar.hidden { transform:translateY(100%); }
.fbar-inner { max-width:520px; margin:0 auto; padding:10px 20px; display:flex; flex-direction:column; align-items:center; gap:5px; }
.fbar-top { display:flex; align-items:center; gap:10px; }
.fbar-hl { color:white; font-size:13px; font-weight:600; }
.fbar-badge { display:flex; align-items:center; gap:5px; font-size:11px; color:rgba(255,255,255,0.65); }
.fbar-dot { width:7px; height:7px; border-radius:50%; background:#76ff03; box-shadow:0 0 6px #76ff03; }
.fbar-btns { display:flex; gap:8px; width:100%; max-width:400px; }
.fbar-btn-anfrage { flex:1; display:block; background:var(--accent); color:white; text-align:center; padding:11px 16px; border-radius:6px; font-size:15px; font-weight:700; transition:background 0.2s; }
.fbar-btn-anfrage:hover { background:var(--accent-hover); color:white; }
.fbar-btn-anruf { flex:1; display:block; background:transparent; border:2px solid rgba(255,255,255,0.4); color:white; text-align:center; padding:9px 16px; border-radius:6px; font-size:15px; font-weight:700; transition:all 0.2s; }
.fbar-btn-anruf:hover { border-color:white; color:white; background:rgba(255,255,255,0.08); }
.fbar-sub { color:rgba(255,255,255,0.45); font-size:10px; }

/* TIMELINE */
.timeline { position:relative; padding-left:28px; margin:24px 0; }
.timeline::before { content:''; position:absolute; left:8px; top:0; bottom:0; width:2px; background:var(--border); }
.timeline-item { position:relative; margin-bottom:20px; }
.timeline-item::before { content:''; position:absolute; left:-24px; top:6px; width:12px; height:12px; border-radius:50%; background:var(--primary); border:3px solid var(--bg); }
.timeline-year { font-size:13px; font-weight:700; color:var(--accent); margin-bottom:2px; }
.timeline-text { font-size:14px; color:var(--text-mid); line-height:1.6; }

/* JOBS */
.job-card { background:white; border-radius:10px; padding:28px; border:1px solid var(--border); margin-bottom:18px; }
.job-card h3 { margin-bottom:8px; }
.job-card p { font-size:14px; color:var(--text-mid); line-height:1.65; margin-bottom:12px; }
.job-tag { display:inline-block; background:var(--bg-section); color:var(--primary); font-size:12px; font-weight:600; padding:4px 10px; border-radius:4px; margin-right:6px; }

/* EXPERT BLOCK */
.expert-block { background:#ffffff; border:1px solid var(--border); border-radius:10px; padding:30px; display:flex; align-items:center; gap:24px; margin:40px 0; }
.expert-block img { width:100px; height:100px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.expert-block h3 { margin-bottom:6px; font-size:1.1rem; }
.expert-block p { font-size:14px; color:var(--text-mid); margin-bottom:10px; line-height:1.6; }
.expert-block .btn-gold { padding:10px 24px; font-size:13px; }
@media(max-width:600px) { .expert-block { flex-direction:column; text-align:center; } }

/* DIAGNOSEVERFAHREN GRID */
.diagnose-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:24px 0; }
.diagnose-card { background:white; border-radius:10px; padding:24px; border:1px solid var(--border); }
.diagnose-card h3 { margin-bottom:8px; font-size:1rem; }
.diagnose-card p { font-size:14px; color:var(--text-mid); line-height:1.65; }
@media(max-width:600px) { .diagnose-grid { grid-template-columns:1fr; } }

/* UTILITY */
.text-center { text-align:center; }
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Hero Doctor Cards - Desktop: side by side, square, large */
.hero-doctors {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: flex-end;
    padding: 20px 0;
}
.hero-doctor-card {
    text-align: center;
}
.hero-doctor-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.hero-doctor-label {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
}
.hero-doctor-spec {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
}
.hero-img-mobile { display: none; }

@media (max-width: 768px) {
    .hero-img-col { display: none; }
    .hero-img-mobile {
        display: flex;
        gap: 12px;
        justify-content: center;
        margin-bottom: 16px;
    }
    .hero-img-mobile img {
        width: 156px;
        height: 156px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center 20%;
        border: 3px solid rgba(255,255,255,0.2);
    }
}

@media (min-width: 769px) {
    .hero-cta-row .btn-outline br { display: none; }
}

/* Doctor page hero: mobile stack */
@media (max-width: 768px) {
    .page-hero div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .page-hero div[style*="grid-template-columns"] img {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto 16px;
    }
    .page-hero div[style*="grid-template-columns"] div[style*="display:flex"] {
        justify-content: center;
    }
}

/* Anchor scroll offset for sticky header */
#kontakt { scroll-margin-top: 80px; }

/* Floating bar button centering */
.fbar-btn-anfrage, .fbar-btn-anruf {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Smooth hide/show */
.fbar { transition: transform 0.3s ease, opacity 0.3s ease; }

body { padding-bottom: 140px; }

/* Map column in contact grid */
.map-col { display:flex; align-items:stretch; }
.map-col .map-placeholder { width:100%; }
