/*
 * Dr. Hezel - Zahnarztpraxis Website
 * Haupt-Stylesheet
 *
 * Farbpalette:
 * - Primary:    #2C5282 (Elegantes Blau)
 * - Dark:       #1A365D
 * - Light:      #4299E1
 * - Accent:     #C6A87D (Gold)
 * - Section:    #1A365D
 * - Footer:     #0F1F33
 *
 * Breakpoints:
 * - Desktop:      >= 992px
 * - Tablet:       768px - 991px
 * - Mobile groß:  481px - 767px
 * - Mobile klein: <= 480px
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-primary: #2C5282;
    --color-primary-dark: #1A365D;
    --color-primary-light: #4299E1;
    --color-accent: #C6A87D;
    --color-accent-dark: #A08860;
    --color-text: #66615b;
    --color-text-dark: #403D39;
    --color-text-light: #9A9A9A;
    --color-bg-light: #f8f9fa;
    --color-white: #FFFFFF;
    --color-footer: #0F1F33;

    --font-primary: 'Montserrat', 'Helvetica', Arial, sans-serif;
    --font-heading: 'Raleway', 'Montserrat', sans-serif;
    --font-logo: 'PlazadReg', 'Montserrat', sans-serif;

    --navbar-height: 70px;
    --transition-speed: 150ms;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    color: var(--color-text);
    font-size: 16px;
    font-family: var(--font-primary);
    line-height: 1.5;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */

/* View Transitions API (Chrome/Edge 111+) */
@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.4s;
    animation-timing-function: ease-in-out;
}

::view-transition-old(root) {
    animation-name: fadeOut;
}

::view-transition-new(root) {
    animation-name: fadeIn;
}

/* Fallback: CSS Fade-In für alle Browser */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Fallback Animation für Browser ohne View Transitions */
@supports not (view-transition-name: none) {
    body {
        animation: fadeIn 0.4s ease-out;
    }
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-speed) linear;
}

a:hover, a:focus {
    color: var(--color-primary-dark);
    text-decoration: none;
}

hr {
    border-color: #F1EAE0;
}

strong {
    color: var(--color-text-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 30px 0 15px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

h1, .h1 { font-size: 3em; }
h2, .h2 { font-size: 2.5em; }
h3, .h3 { font-size: 1.825em; line-height: 1.4; margin: 20px 0 10px; }
h4, .h4 { font-size: 1.5em; font-weight: 600; line-height: 1.2em; }
h5, .h5 { font-size: 1.25em; font-weight: 400; line-height: 1.4em; margin-bottom: 15px; }
h6, .h6 { font-size: 0.9em; font-weight: 600; text-transform: uppercase; }

p {
    font-size: 16px;
    line-height: 1.6em;
}

.text-white { color: var(--color-white) !important; }
.text-muted { color: var(--color-text-light); }
.text-primary { color: var(--color-primary) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.lead {
    font-size: 1.2em;
    line-height: 1.6;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    border-radius: 20px;
    box-sizing: border-box;
    border-width: 2px;
    border-style: solid;
    background-color: transparent;
    font-size: 16px;
    font-weight: 500;
    padding: 7px 18px;
    border-color: var(--color-text);
    color: var(--color-text);
    transition: all var(--transition-speed) linear;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.btn:hover, .btn:focus {
    outline: 0 !important;
}

.btn:active {
    box-shadow: none;
    outline: 0 !important;
}

.btn i {
    margin-right: 5px;
}

/* Button Sizes */
.btn-lg {
    font-size: 20px;
    border-radius: 50px;
    padding: 11px 30px;
    font-weight: 400;
}

.btn-sm {
    font-size: 14px;
    border-radius: 26px;
    padding: 4px 10px;
}

/* Button Primary */
.btn-primary {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.9);
    border-color: var(--color-primary);
}

.btn-primary.btn-fill {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary.btn-fill:hover, .btn-primary.btn-fill:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* Button Danger (Gold Accent - Elegant Style) */
.btn-danger {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.btn-danger:hover, .btn-danger:focus {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(198, 168, 125, 0.4);
}

.btn-danger.btn-fill {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border: none;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(198, 168, 125, 0.3);
    transition: all 0.3s ease;
}

.btn-danger.btn-fill:hover,
.btn-danger.btn-fill:focus,
.btn-danger.btn-fill:active {
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
    box-shadow: 0 6px 20px rgba(198, 168, 125, 0.5);
    color: var(--color-white) !important;
}

/* Phone Button in Navbar - Hover Fix */
.navbar .btn-phone.btn-danger.btn-fill:hover,
.navbar .btn-phone.btn-danger.btn-fill:focus {
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%) !important;
    color: var(--color-white) !important;
}

/* Button Outline White */
.btn-outline-white {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-text-dark);
}

/* Button Block */
.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   NAVBAR
   ============================================ */

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Base */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    height: 64px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text-dark);
    font-family: var(--font-logo);
    font-weight: 600;
    font-size: 1.15em;
    line-height: 1.2;
    flex-shrink: 0;
    padding: 0;
}

.navbar-brand:hover,
.navbar-brand:focus {
    text-decoration: none;
    color: var(--color-text-dark);
}

.navbar-brand .brand-icon { color: var(--color-primary); font-size: 1.3em; margin-right: 6px; }
.navbar-brand .brand-lines { display: flex; flex-direction: column; line-height: 1.15; }
.navbar-brand .brand-text { font-size: 1em; }
.navbar-brand .brand-name { font-size: 1em; }

/* Nav links — Desktop */
.navbar-header { display: contents; }
.navbar-collapse { display: flex; align-items: center; margin-left: auto; }
.navbar-collapse.collapse { display: flex; }
.nav { list-style: none; padding: 0; margin: 0; }
.navbar-nav { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }

.navbar-nav > li > a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: var(--color-primary);
    background: rgba(44, 82, 130, 0.06);
    text-decoration: none;
}

.navbar-nav > li.active > a {
    color: var(--color-primary);
    background: rgba(44, 82, 130, 0.08);
}

/* Phone CTA */
.navbar-nav .btn-phone {
    margin-left: 8px;
    padding: 8px 18px;
    font-size: 0.85em;
    white-space: nowrap;
}

/* Hamburger — hidden on desktop */
.navbar-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    margin-left: auto;
    border-radius: 8px;
    transition: background 0.2s;
}

.navbar-toggle:hover { background: rgba(44, 82, 130, 0.06); }

.navbar-toggle .icon-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-primary-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.navbar-toggle .icon-bar + .icon-bar { margin-top: 5px; }

/* ── Desktop large (>=1200px) ── */
@media (min-width: 1200px) {
    .navbar .container { height: 70px; }
    .navbar-brand { font-size: 1.25em; }
    .navbar-nav > li > a { padding: 8px 18px; font-size: 0.95em; }
    .navbar-nav .btn-phone { padding: 10px 22px; font-size: 0.9em; }
}

/* ── Tablet (768–991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar .container { height: 58px; }
    .navbar-brand { font-size: 1em; }
    .navbar-nav { gap: 0; }
    .navbar-nav > li > a { padding: 6px 8px; font-size: 0.8em; }
    .navbar-nav .btn-phone { padding: 6px 12px; font-size: 0.8em; margin-left: 4px; }
}

/* ── Mobile (<768px) ── */
@media (max-width: 767px) {
    .navbar { display: none; }
}

/* ============================================
   HERO / LANDING HEADER
   ============================================ */
.wrapper {
    overflow: hidden;
}

.landing-header {
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.landing-header .filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.filter-primary {
    background: rgba(44, 82, 130, 0.7);
}

.landing-header .container {
    position: relative;
    z-index: 2;
}

/* Hero Content Layout */
.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

/* Praxisschild */
.praxisschild {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px 35px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    max-width: 500px;
}

.praxisschild h1 {
    font-family: var(--font-logo);
    color: var(--color-primary-dark);
    font-size: 2.8em;
    margin: -5px 0 8px 0;
}

.praxisschild h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.1em;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.praxisschild p {
    color: #666;
    font-size: 1em;
    margin-bottom: 15px;
}

/* Focus Siegel */
.siegel-container {
    padding-top: 5px;
}

.focus-siegel {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.focus-siegel:hover {
    transform: scale(1.05);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 30px 0;
}

.landing-section {
    padding: 50px 0;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.section-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-dark {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.section-light {
    background-color: var(--color-bg-light);
}

/* ============================================
   SPRECHZEITEN TABLE
   ============================================ */
.table-sprechzeiten {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-sprechzeiten tr {
    transition: background-color 0.2s ease;
}

.table-sprechzeiten tr:hover {
    background-color: rgba(44, 82, 130, 0.05);
}

.table-sprechzeiten td {
    padding: 18px 25px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.table-sprechzeiten tr:last-child td {
    border-bottom: none;
}

.table-sprechzeiten td:first-child {
    font-weight: 600;
    color: var(--color-primary-dark);
    width: 140px;
    border-left: 3px solid transparent;
    padding-left: 22px;
}

.table-sprechzeiten tr:hover td:first-child {
    border-left-color: var(--color-accent);
}

.table-sprechzeiten td:not(:first-child) {
    color: #555;
}

.table-sprechzeiten td:last-child {
    color: #888;
    font-style: italic;
}

/* ============================================
   TERMIN CARDS
   ============================================ */
.termin-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.termin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.termin-card.featured {
    border: 2px solid var(--color-primary);
    background: linear-gradient(135deg, #fff 0%, #f8fafa 100%);
}

.termin-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.termin-card-icon i {
    font-size: 2em;
    color: var(--color-white);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.termin-card h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.termin-card p {
    color: #666 !important;
    margin-bottom: 20px;
}

.termin-card .phone-number,
.termin-card .email-address {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--color-primary);
    display: block;
    margin-bottom: 15px;
}

.termin-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #888;
}

/* ============================================
   BUCHUNG EMBED (iframe)
   ============================================ */
.buchung-embed {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
}

.buchung-embed iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    background: #f8fafc;
    display: block;
}

/* Tablet */
@media (max-width: 991px) {
    .buchung-embed iframe {
        height: 750px;
        border-radius: 8px;
    }
}

/* Mobile: quasi fullscreen */
@media (max-width: 767px) {
    .buchung-embed {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .buchung-embed iframe {
        height: 85vh;
        min-height: 600px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .buchung-embed iframe {
        height: 90vh;
        min-height: 550px;
    }
}

/* ── end buchung embed ── */

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: var(--color-white);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
        padding: 6px 0 env(safe-area-inset-bottom, 6px);
        justify-content: space-around;
        align-items: center;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 0;
        font-size: 0.65em;
        color: var(--color-text);
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        flex: 1;
        font-family: inherit;
        transition: color 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-nav-item i {
        font-size: 1.4em;
        line-height: 1;
    }

    .bottom-nav-item:hover,
    .bottom-nav-item.active {
        color: var(--color-primary);
    }

    /* Termin CTA — hervorgehoben */
    .bottom-nav-cta {
        position: relative;
    }

    .bottom-nav-cta i {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
        color: var(--color-white);
        font-size: 1.3em;
        margin-top: -18px;
        box-shadow: 0 4px 12px rgba(198, 168, 125, 0.4);
    }

    .bottom-nav-cta span {
        color: var(--color-accent-dark);
        font-weight: 600;
    }

    /* Footer Padding damit Bottom-Nav nichts verdeckt */
    .footer {
        padding-bottom: 80px;
    }

    /* Top Navbar: kein Hamburger, nur Brand */
    .navbar-toggle { display: none !important; }
    .navbar-collapse { display: none !important; }
}

/* Mehr-Popup */
.bottom-nav-popup {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 12px;
    z-index: 1050;
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 8px 0;
    min-width: 200px;
    animation: popupSlideUp 0.2s ease;
}

.bottom-nav-popup.open { display: block; }

.bottom-nav-popup a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: background 0.15s;
}

.bottom-nav-popup a:hover {
    background: rgba(44, 82, 130, 0.05);
    color: var(--color-primary);
}

.bottom-nav-popup a i {
    width: 20px;
    text-align: center;
    color: var(--color-primary);
}

@keyframes popupSlideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Termin Fullscreen Overlay */
.termin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: var(--color-white);
    flex-direction: column;
}

.termin-overlay.open {
    display: flex;
}

.termin-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1em;
    color: var(--color-text-dark);
    flex-shrink: 0;
}

.termin-overlay-close {
    background: none;
    border: none;
    font-size: 1.4em;
    color: var(--color-text);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.termin-overlay-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.termin-overlay-iframe {
    flex: 1;
    width: 100%;
    border: none;
}

/* ============================================
   PARODONTOLOGIE FEATURES
   ============================================ */

/* ============================================
   PARODONTOLOGIE FEATURES
   ============================================ */
.paro-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.paro-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.paro-feature-icon i {
    font-size: 1.5em;
    color: var(--color-white);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.paro-feature h4 {
    font-size: 1.2em;
    margin: 0 0 10px 0;
    color: var(--color-text-dark);
}

.paro-feature p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   DOCTOR PROFILE
   ============================================ */
/* Profile Image with Hover Effect */
.profile-image-container {
    display: inline-block;
    position: relative;
}

.doctor-profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.doctor-profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-color: var(--color-accent);
}

.achievement-card {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.achievement-icon i {
    font-size: 1.3em;
    color: var(--color-accent);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.achievement-year {
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3px;
}

.achievement-text {
    color: var(--color-white);
    font-weight: 500;
}

/* ============================================
   ALERTS
   ============================================ */
.alert-info-custom {
    background: rgba(122, 158, 159, 0.1);
    border: 1px solid rgba(122, 158, 159, 0.3);
    border-radius: 8px;
    padding: 20px;
    color: var(--color-primary-dark);
}

.alert-info-custom i {
    margin-right: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0 20px;
}

.footer-black {
    background-color: var(--color-footer);
}

.footer h5 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer p {
    color: rgba(255,255,255,0.7);
}

.footer a {
    color: rgba(255,255,255,0.7);
}

.footer a:hover {
    color: var(--color-white);
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
}

.footer .social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.footer .social-icons a:hover {
    background: rgba(255,255,255,0.2);
}

.footer .social-icons a i {
    color: var(--color-white);
    line-height: 1;
}

.footer .copyright {
    color: rgba(255,255,255,0.5);
}

/* ============================================
   UTILITIES
   ============================================ */
.img-responsive {
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 8px;
}

.img-circle {
    border-radius: 50%;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* ============================================
   GRID SYSTEM (Bootstrap 3 replacement)
   ============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row::after {
    content: '';
    display: table;
    clear: both;
}

[class*="col-"] {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

/* Mobile: all cols stack */
@media (min-width: 768px) {
    .col-md-3  { flex: 0 0 25%; max-width: 25%; }
    .col-md-4  { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-6  { flex: 0 0 50%; max-width: 50%; }
    .col-md-8  { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .col-md-offset-1 { margin-left: 8.333%; }
    .col-md-offset-2 { margin-left: 16.666%; }
    .col-md-push-8 { left: 66.666%; }
    .col-md-pull-4 { right: 33.333%; }
}

@media (min-width: 1200px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
}

/* Container */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Table base (Bootstrap 3 replacement) */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table td,
.table th {
    padding: 8px;
    line-height: 1.42857;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.table tr:first-child td,
.table tr:first-child th {
    border-top: none;
}

/* ============================================
   RESPONSIVE: DESKTOP (>= 992px)
   ============================================ */
@media (min-width: 992px) {
    .navbar-default .navbar-brand {
        font-size: 1.6em;
    }

    .landing-header {
        padding-top: 80px;
        min-height: 100vh;
    }

    .hero-content {
        flex-direction: row;
        gap: 40px;
    }

    .praxisschild {
        max-width: 500px;
        padding: 25px 35px;
    }

    .praxisschild h1 {
        font-size: 2.8em;
    }

    .focus-siegel {
        max-width: 140px;
    }
}

/* ============================================
   RESPONSIVE: TABLET (768px - 991px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --navbar-height: 60px;
    }

    .navbar-default .navbar-brand {
        font-size: 1.1em;
    }

    .navbar-default .navbar-nav > li > a {
        padding: 10px 8px;
        font-size: 0.85em;
    }

    .navbar .btn-phone {
        padding: 6px 10px;
        font-size: 0.85em;
    }

    .landing-header {
        padding-top: 100px;
        min-height: 100vh;
    }

    .hero-content {
        flex-direction: row;
        gap: 30px;
    }

    .praxisschild {
        max-width: 420px;
        padding: 20px 28px;
    }

    .praxisschild h1 {
        font-size: 2.4em;
    }

    .praxisschild h3 {
        font-size: 1em;
    }

    .focus-siegel {
        max-width: 120px;
    }

    .section {
        padding: 25px 0;
    }

    .landing-section {
        padding: 40px 0;
    }

    .doctor-profile-image {
        width: 150px;
        height: 150px;
    }
}

/* ============================================
   RESPONSIVE: MOBILE GROSS (481px - 767px)
   ============================================ */
@media (min-width: 481px) and (max-width: 767px) {
    .landing-header {
        padding-top: 20px;
        min-height: 100vh;
        padding-bottom: 40px;
    }

    .hero-content {
        flex-direction: row;
        gap: 25px;
        align-items: flex-start;
    }

    .praxisschild {
        max-width: 320px;
        padding: 18px 22px;
    }

    .praxisschild h1 {
        font-size: 1.8em;
    }

    .praxisschild h3 {
        font-size: 0.9em;
    }

    .praxisschild p {
        font-size: 0.85em;
    }

    .praxisschild .btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }

    .focus-siegel {
        max-width: 90px;
    }

    .section {
        padding: 20px 0;
    }

    .landing-section {
        padding: 35px 0;
    }

    .termin-card {
        margin-bottom: 20px;
    }

    .doctor-profile-image {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   RESPONSIVE: MOBILE KLEIN (<= 480px)
   ============================================ */
@media (max-width: 480px) {
    .landing-header {
        padding-top: 20px;
        min-height: 100vh;
        padding-bottom: 40px;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .praxisschild {
        max-width: 100%;
        padding: 20px 25px;
        margin: 0 15px;
    }

    .praxisschild h1 {
        font-size: 1.9em;
    }

    .praxisschild h3 {
        font-size: 0.95em;
    }

    .praxisschild .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .siegel-container {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .focus-siegel {
        max-width: 100px;
    }

    .section {
        padding: 15px 0;
    }

    .landing-section {
        padding: 30px 0;
    }

    h1, .h1 { font-size: 2em; }
    h2, .h2 { font-size: 1.8em; }
    h3, .h3 { font-size: 1.4em; }

    .termin-card {
        margin-bottom: 20px;
    }

    .paro-feature {
        flex-direction: column;
        text-align: center;
    }

    .paro-feature-icon {
        margin: 0 auto 15px;
    }

    .doctor-profile-image {
        width: 120px;
        height: 120px;
    }

    .achievement-card {
        flex-direction: column;
        text-align: center;
    }

    .achievement-icon {
        margin: 0 auto 10px;
    }
}

/* (Mobile menu styles are now in the main NAVBAR section above) */

/* ============================================
   PAGE HEADER (Unterseiten)
   ============================================ */
.page-header-small {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-small h1 {
    color: var(--color-white);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.page-header-small p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2em;
}

@media (max-width: 767px) {
    .page-header-small {
        padding: 40px 0 30px;
    }

    .page-header-small h1 {
        font-size: 1.8em;
    }

    .page-header-small p {
        font-size: 1em;
    }
}

/* ============================================
   TIMELINE (dr-hezel.html)
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.timeline-item .year {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.timeline-item .content {
    background: var(--color-bg-light);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

@media (max-width: 767px) {
    .timeline {
        padding-left: 30px;
    }
}

/* ============================================
   CV GROUPS (dr-hezel.html)
   ============================================ */
.cv-group {
    margin-bottom: 30px;
}

.cv-group h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

.cv-group h4 i {
    margin-right: 8px;
}

.cv-item {
    display: flex;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.cv-item:last-child {
    border-bottom: none;
}

.cv-year {
    min-width: 90px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9em;
}

.cv-text {
    flex: 1;
    color: var(--color-text);
}

.cv-text a {
    color: var(--color-primary);
}

.cv-text a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .cv-item {
        flex-direction: column;
    }

    .cv-year {
        margin-bottom: 5px;
    }
}

/* ============================================
   INFO CARDS (dr-hezel.html)
   ============================================ */
.info-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-card-icon i {
    font-size: 1.8em;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.info-card h4 {
    color: var(--color-text-dark);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.info-card p,
.section-primary .info-card p {
    color: #666 !important;
    margin-bottom: 0;
    font-size: 0.95em;
}

/* ============================================
   BENEFIT ITEMS (dr-hezel.html)
   ============================================ */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.benefit-item i {
    font-size: 1.5em;
    color: var(--color-accent);
    margin-right: 15px;
    margin-top: 3px;
}

.benefit-item div {
    color: var(--color-white);
}

.benefit-item strong {
    color: var(--color-white);
}

@media (max-width: 767px) {
    .info-card {
        margin-bottom: 20px;
    }
}

/* ============================================
   WISSENSCHAFT BLOCKS (dr-hezel.html)
   ============================================ */
.wissenschaft-block {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.wissenschaft-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.wissenschaft-icon {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wissenschaft-icon i {
    font-size: 1.5em;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.wissenschaft-header h3 {
    color: var(--color-white);
    margin: 0;
    font-size: 1.5em;
}

.wissenschaft-subtitle {
    font-weight: 400;
    opacity: 0.9;
}

.wissenschaft-header p {
    color: rgba(255,255,255,0.8);
    margin: 5px 0 0 0;
    font-size: 0.95em;
}

.wissenschaft-content .card h4,
.wissenschaft-content .card h5 {
    color: var(--color-text-dark) !important;
}

.wissenschaft-content .card p {
    color: #666 !important;
}

/* Leitlinie Cards */
.leitlinie-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.leitlinie-card h5 {
    color: var(--color-text-dark);
    font-size: 1.1em;
    margin-bottom: 12px;
    margin-top: 0;
}

.leitlinie-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.leitlinie-card p.small {
    font-size: 0.9em;
}

/* Übersicht Navigation */
.overview-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.overview-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
}

.overview-link h5 {
    color: white;
    margin: 12px 0 5px 0;
    font-size: 1em;
}

.overview-link p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.85em;
}

.overview-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.overview-icon i {
    font-size: 1.3em;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Publikationen Liste */
.publication-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.publication-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.5;
}

.publication-list li:last-child {
    border-bottom: none;
}

.publication-list li a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.publication-list li a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Checklist Style */
.checklist {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.checklist li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
}

.checklist li i {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Team Cards */
.team-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    height: calc(100% - 20px);
}

.team-card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin-bottom: 15px;
}

.team-card h4 {
    color: var(--color-text-dark);
    margin-bottom: 5px;
    font-size: 1.1em;
}

.team-card-role {
    color: var(--color-primary);
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-card-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Footer Sprechzeiten */
.footer-sprechzeiten {
    width: 100%;
    font-size: 0.9em;
}

.footer-sprechzeiten td {
    padding: 4px 0;
    color: rgba(255,255,255,0.8);
}

.footer-sprechzeiten td:first-child {
    font-weight: 600;
    color: #fff;
    width: 100px;
}

.footer-sprechzeiten td:nth-child(2),
.footer-sprechzeiten td:nth-child(3) {
    padding-left: 15px;
}

/* Forschung Cards */
.forschung-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}

.forschung-year {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
}

.forschung-card h5 {
    color: var(--color-text-dark);
    margin-bottom: 10px;
}

.forschung-card p {
    color: #666;
    margin-bottom: 15px;
}

.forschung-badge {
    display: inline-block;
    background: rgba(198, 168, 125, 0.2);
    color: var(--color-accent-dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

/* Award Cards */
.award-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    height: 100%;
}

.award-year {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 15px;
}

.award-card h5 {
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-size: 1em;
}

.award-card p {
    color: #888;
    margin: 0;
    font-size: 0.9em;
}

@media (max-width: 767px) {
    .wissenschaft-header {
        flex-direction: column;
        text-align: center;
    }

    .leitlinie-card,
    .forschung-card,
    .award-card {
        margin-bottom: 15px;
    }
}

/* ============================================
   TEAM CARDS
   ============================================ */
.card-user .avatar,
.team-player .img-circle {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f0f0f0;
}

.team-player .img-circle,
.team-player .img-thumbnail {
    display: block;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.info-card-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

/* ============================================
   GOOGLE MAPS CONSENT
   ============================================ */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 60px 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    color: rgba(255,255,255,0.9);
    line-height: 1;
}

.map-placeholder h4,
.map-placeholder p {
    color: var(--color-white);
}

.map-placeholder a {
    color: rgba(255,255,255,0.8);
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2em;
    color: var(--color-white);
    line-height: 1;
}

.contact-text h5 {
    margin-bottom: 5px;
    color: var(--color-text-dark);
}

.contact-text p {
    color: #666;
    margin: 0;
}

.contact-text a {
    color: var(--color-primary);
}

/* ============================================
   REFERRAL / ÜBERWEISER
   ============================================ */
.referral-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.kim-highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.kim-highlight strong {
    display: block;
    margin-bottom: 10px;
}

/* ============================================
   LANDING SECTION
   ============================================ */
.landing-section {
    padding: 50px 0;
}

.landing-section .btn-simple {
    padding: 0;
}

.landing-section .column {
    padding: 0 75px 0 25px;
}

/* ============================================
   AWARDS / AUSZEICHNUNGEN
   ============================================ */
.award-card {
    text-align: center;
    padding: 30px;
}

.award-icon {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.award-icon i {
    line-height: 1;
}

/* ============================================
   PUBLIKATIONEN
   ============================================ */
.publication-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.publication-item:last-child {
    border-bottom: none;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #333;
}

.section h2 + br {
    display: none;
}

.section-dark .section-title {
    color: #fff;
}

/* ============================================
   COLOR OVERRIDES
   ============================================ */

/* Section Primary Background */
.section-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-white);
}

.section-primary h2,
.section-primary p,
.section-primary .lead,
.section-primary .text-white {
    color: var(--color-white) !important;
}

.section-primary strong {
    color: var(--color-accent) !important;
}

/* Termin-Cards in section-primary behalten ihre Farben */
.section-primary .termin-card h4 {
    color: var(--color-text-dark) !important;
}

.section-primary .termin-card p,
.section-primary .termin-card-footer {
    color: #666 !important;
}

.section-primary .info-card p,
.section-primary .info-card h4 {
    color: #666 !important;
}

/* Wissenschaft Cards in section-primary - Überschriften */
.section-primary .leitlinie-card h4,
.section-primary .leitlinie-card h5,
.section-primary .forschung-card h5,
.section-primary .award-card h5,
.section-primary .wissenschaft-content .card h4,
.section-primary .wissenschaft-content .card h5,
.section-primary .card h4,
.section-primary .card h5 {
    color: var(--color-text-dark) !important;
}

/* Leitlinie-Card Listen in section-primary */
.section-primary .leitlinie-card li {
    color: #666 !important;
}

/* Wissenschaft Cards in section-primary - Paragraphen */
.section-primary .leitlinie-card p,
.section-primary .leitlinie-card p.small,
.section-primary .forschung-card p,
.section-primary .award-card p,
.section-primary .wissenschaft-content .card p,
.section-primary .card p {
    color: #666 !important;
}

.section-primary .leitlinie-card a,
.section-primary .forschung-card a,
.section-primary .wissenschaft-content .card a:not(.btn) {
    color: var(--color-primary) !important;
}

.section-primary .leitlinie-card strong,
.section-primary .forschung-card strong,
.section-primary .award-card strong {
    color: var(--color-text-dark) !important;
}

/* Section Dark */
.section-dark {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark .lead,
.section-dark .text-white {
    color: var(--color-white);
}

.section-dark a:not(.btn) {
    color: rgba(255,255,255,0.85);
}

.section-dark a:not(.btn):hover {
    color: var(--color-white);
}

/* Text Primary Override */
.text-primary,
.text-primary:hover {
    color: var(--color-primary) !important;
}

/* Text Danger (Gold) */
.text-danger,
.text-danger:hover {
    color: var(--color-accent) !important;
}

/* ============================================
   ICON FIXES
   ============================================ */
.fa {
    width: 15px;
    text-align: center;
}

h1 i, h2 i {
    margin-right: 15px;
}

h3 i, h4 i, h5 i {
    margin-right: 10px;
}

.info .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info .icon i {
    line-height: 1;
}

.card .icon {
    margin-bottom: 15px;
}

.card .icon i.text-primary {
    color: var(--color-accent) !important;
}

.card h4 {
    font-size: 1.1em;
    word-wrap: break-word;
    hyphens: auto;
}
