/*
Theme Name: Tierarztpraxis Dr. Schröer
Theme URI: https://www.tierarztpraxis-stuttgart.com
Author: Tierarztpraxis Dr. Schröer
Author URI: https://www.tierarztpraxis-stuttgart.com
Description: Maßgeschneidertes WordPress-Theme für die Tierarztpraxis Dr. Schröer in Stuttgart-Sillenbuch. DSGVO-konform, barrierefrei (EU-Accessibility), SEO-optimiert und vollständig responsiv. Alle Inhalte sind über den Customizer und Inline-Editing bearbeitbar.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tierarztpraxis
Tags: one-page, custom-logo, custom-colors, editor-style, translation-ready, accessibility-ready

Tierarztpraxis Dr. Schröer WordPress Theme
(C) 2026 Tierarztpraxis Dr. Schröer
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --beige: #d6cbb6;
    --beige-dark: #c9bba2;
    --beige-light: #efe9df;
    --beige-pale: #f7f3ed;
    --tan: #daba94;
    --tan-dark: #c9a67b;
    --gold: #be8a44;
    --gold-dark: #a87838;
    --gold-light: #d4a86a;
    --brown: #736656;
    --brown-dark: #5e5345;
    --brown-light: #9b8d7d;
    --cream: #faf8f5;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #eeeeee;
    --gray-400: #999999;
    --gray-600: #666666;
    --gray-800: #333333;
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--gray-600);
    background: var(--white);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--brown); font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1rem; }

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section-label {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
    display: block;
}
.section-title { margin-bottom: 1.5rem; }
.section-intro {
    max-width: 680px;
    font-size: 1.05rem;
    color: var(--gray-600);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    padding: .75rem 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 10000;
    font-weight: 600;
    transition: top .3s;
}
.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.3;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--gold); }
.btn-white:hover { background: var(--cream); color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity .7s ease-out, transform .7s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   ANNOUNCEMENT BANNER
   ============================================ */
.announcement-banner {
    background: var(--gold);
    color: var(--white);
    text-align: center;
    padding: .75rem 1rem;
    font-size: .9rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}
.announcement-banner a { color: var(--white); text-decoration: underline; font-weight: 700; }
.announcement-banner a:hover { color: var(--cream); }
.announcement-banner.vacation-banner { background: #c0392b; }
.announcement-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}
.announcement-banner svg { width: 18px; height: 18px; flex-shrink: 0; }
.announcement-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: .25rem;
    opacity: .7;
    transition: opacity var(--transition);
}
.announcement-close:hover { opacity: 1; }
.announcement-close svg { width: 16px; height: 16px; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(214,203,182,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(115,102,86,.1);
    transition: box-shadow var(--transition), top var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header.has-announcement { top: 0; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 42px; width: auto; }
.custom-logo-link img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 500;
    color: var(--brown-dark);
    padding: .5rem 1rem;
    position: relative;
    transition: color var(--transition);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--gold); }
.header-phone svg { width: 16px; height: 16px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; z-index: 1001; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--brown); margin: 6px 0; transition: all var(--transition); border-radius: 2px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cream);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(115,102,86,.82) 0%, rgba(90,78,64,.7) 50%, rgba(0,0,0,.35) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 60px 0 80px;
    animation: fadeUp 1s ease-out .3s both;
}
.hero-content h1 { color: var(--white); margin-bottom: .5rem; font-size: clamp(2.5rem, 5.5vw, 4rem); line-height: 1.15; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 300; opacity: .92; margin-bottom: 2rem; line-height: 1.6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-badges { display: flex; gap: 2rem; flex-wrap: wrap; opacity: .85; font-size: .9rem; }
.hero-badge { display: flex; align-items: center; gap: .5rem; }
.hero-badge svg { width: 18px; height: 18px; opacity: .8; }

/* ============================================
   WILLKOMMEN (WELCOME) SECTION
   ============================================ */
.welcome { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--white); }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.welcome-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.welcome-image img { width: 100%; height: 500px; object-fit: cover; transition: transform 6s ease; }
.welcome-image:hover img { transform: scale(1.03); }
.welcome-text h2 { margin-bottom: 1.25rem; }
.welcome-text p { font-size: 1.05rem; }

/* ============================================
   PHILOSOPHIE / WERTE (VALUES) SECTION
   ============================================ */
.values {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--cream);
}
.values-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.value-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige-light);
    border-radius: 50%;
}
.value-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}
.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: .75rem;
    color: var(--brown-dark);
    line-height: 1.3;
}
.value-card p {
    font-size: .92rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ============================================
   SPRECHZEITEN (HOURS) SECTION
   ============================================ */
.hours {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--beige);
    color: var(--brown-dark);
    position: relative;
    overflow: hidden;
}
.hours::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.hours .section-label { color: var(--brown); font-size: .95rem; }
.hours .section-title { color: var(--brown-dark); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.hours h2 { color: var(--brown-dark); margin-bottom: .75rem; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; position: relative; z-index: 1; }
.hours-table { width: 100%; }
.hours-row { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid rgba(115,102,86,.2); font-size: 1.05rem; }
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; color: var(--brown-dark); }
.hours-time { text-align: right; color: var(--gray-600); }
.hours-note {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(255,255,255,.5);
    border-radius: var(--radius);
    font-size: .92rem;
    line-height: 1.6;
    color: var(--brown);
}
.hours-right p { color: var(--brown); font-size: 1.05rem; margin-bottom: 1.5rem; }
.hours-right .btn { margin-bottom: .75rem; }
.hours-billing { margin-top: 1.5rem; font-size: .9rem; color: var(--brown-light); line-height: 1.6; }

/* ============================================
   LEISTUNGEN (SERVICES) SECTION
   ============================================ */
.services { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--cream); }
.services-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services-header .section-intro { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); position: relative; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 1.75rem; }
.service-card-body h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.service-card-body p { font-size: .95rem; color: var(--gray-600); margin-bottom: 0; }
.service-icon { width: 48px; height: 48px; background: var(--beige-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-icon svg { width: 24px; height: 24px; color: var(--gold); }
.services-extra { margin-top: 3rem; padding: 2.5rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.services-extra h3 { margin-bottom: 1.25rem; text-align: center; }
.services-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .75rem 2rem; list-style: none; }
.services-list li { padding: .5rem 0; padding-left: 1.75rem; position: relative; font-size: .95rem; }
.services-list li::before { content: ''; position: absolute; left: 0; top: .85rem; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

/* ============================================
   PRAXIS (PRACTICE) SECTION
   ============================================ */
.praxis { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--white); }
.praxis-header { margin-bottom: clamp(2rem, 4vw, 3rem); }
.praxis-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 260px 260px; gap: 1rem; }
.praxis-gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; }
.praxis-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.praxis-gallery-item:hover img { transform: scale(1.05); }
.praxis-gallery-item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.praxis-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: var(--white); font-size: .85rem; font-weight: 500; }

/* ============================================
   TEAM SECTION
   ============================================ */
.team { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--beige-pale); }
.team-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.team-header .section-intro { margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-align: center; }
.team-card-img { width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.25rem; box-shadow: var(--shadow-md); position: relative; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s ease; }
.team-card:hover .team-card-img img { transform: scale(1.04); }
.team-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.team-card .role { font-size: .85rem; color: var(--gold); font-weight: 500; }
.team-lead { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.team-lead-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.team-lead-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-lead-info h3 { font-size: 1.6rem; margin-bottom: .25rem; }
.team-lead-info .role { font-size: 1rem; color: var(--gold); font-weight: 500; margin-bottom: 1rem; display: block; }
.team-lead-info p { font-size: .95rem; }
.team-lead-info ul { list-style: none; margin-top: 1rem; }
.team-lead-info ul li { padding: .35rem 0; padding-left: 1.5rem; position: relative; font-size: .95rem; }
.team-lead-info ul li::before { content: ''; position: absolute; left: 0; top: .7rem; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ============================================
   NOTFALL (EMERGENCY) SECTION
   ============================================ */
.emergency {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--beige);
    color: var(--brown-dark);
}
.emergency .section-label { color: var(--brown); }
.emergency-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.emergency h2 { color: var(--brown-dark); margin-bottom: .75rem; }
.emergency p { font-size: 1.05rem; line-height: 1.7; color: var(--brown); }
.emergency-numbers {
    margin-top: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.emergency-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.emergency-number:last-child { border-bottom: none; }
.emergency-number .label { font-weight: 500; color: var(--gray-800); }
.emergency-number a { font-size: 1.1rem; font-weight: 700; color: var(--gold-dark); }
.emergency-number a:hover { color: var(--brown-dark); }
.emergency-symptoms {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.emergency-symptoms h4 {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brown-dark);
    margin-bottom: .75rem;
}
.emergency-symptoms ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.emergency-symptoms li { font-size: .9rem; padding-left: 1.25rem; position: relative; color: var(--brown); }
.emergency-symptoms li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

/* ============================================
   KONTAKT (CONTACT) SECTION
   ============================================ */
.contact { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.contact-info h2 { margin-bottom: 1rem; }
.contact-details { margin-top: 1.5rem; }
.contact-item { display: flex; gap: 1rem; padding: 1rem 0; }
.contact-item-icon { width: 44px; height: 44px; background: var(--beige-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-item-text strong { display: block; color: var(--gray-800); font-size: .95rem; }
.contact-item-text span { font-size: .92rem; color: var(--gray-600); }
.contact-item-text a { color: var(--gold); font-weight: 500; }
.contact-form { background: var(--cream); padding: 2.5rem; border-radius: var(--radius-lg); }
.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-800); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .95rem;
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    color: var(--gray-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--beige-light); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-checkbox { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0; font-size: .88rem; color: var(--gray-600); }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); }

/* OpenStreetMap container */
.map-container { margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; height: 350px; background: var(--gray-100); position: relative; }
#osm-map { width: 100%; height: 100%; z-index: 1; }
.map-consent-overlay {
    position: absolute;
    inset: 0;
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}
.map-consent-overlay p { color: var(--gray-600); margin-bottom: 1rem; max-width: 400px; }

/* ============================================
   JOBS SECTION
   ============================================ */
.jobs { padding: clamp(3.5rem, 6vw, 5rem) 0; background: var(--beige-light); }
.jobs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.jobs h2 { margin-bottom: .75rem; }
.jobs p { font-size: 1.05rem; }
.jobs-list { list-style: none; }
.jobs-list li {
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: .75rem;
    font-weight: 600;
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: .75rem;
    transition: all var(--transition);
}
.jobs-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.jobs-list li::before { content: ''; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--brown-dark);
    color: rgba(255,255,255,.7);
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 36px; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 1rem; filter: brightness(2); opacity: .9; }
.footer-brand .custom-logo-link { display: inline-block; }
.footer-brand .custom-logo-link img { height: 36px; width: auto; max-width: 200px; object-fit: contain; }
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .9rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 18px; height: 18px; color: rgba(255,255,255,.7); }
.footer-social a:hover svg { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.75rem; font-size: .82rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: var(--white); }

/* ============================================
   COOKIE BANNER (GDPR)
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brown-dark);
    color: rgba(255,255,255,.85);
    padding: 1.25rem 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: .88rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
    transform: translateY(0);
    transition: transform .4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner p { margin: 0; max-width: 700px; line-height: 1.5; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-buttons { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btn { padding: .6rem 1.25rem; border-radius: 50px; font-size: .82rem; font-weight: 600; cursor: pointer; border: none; font-family: var(--font-body); transition: all var(--transition); }
.cookie-accept { background: var(--gold); color: var(--white); }
.cookie-accept:hover { background: var(--gold-dark); }
.cookie-decline { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); }
.cookie-decline:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ============================================
   QUICK ACTIONS
   ============================================ */
.quick-actions { position: fixed; right: 1.25rem; bottom: 5.5rem; z-index: 998; display: flex; flex-direction: column; gap: .6rem; }
.quick-action-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: all var(--transition); text-decoration: none; border: none; cursor: pointer; }
.quick-action-btn:hover { transform: scale(1.1); }
.quick-action-btn svg { width: 22px; height: 22px; }
.qa-phone { background: var(--gold); }
.qa-phone svg { color: var(--white); }
.qa-calendar { background: var(--brown); }
.qa-calendar svg { color: var(--white); }

/* ============================================
   LEGAL PAGES (Datenschutz / Impressum)
   ============================================ */
.legal-page {
    padding: clamp(6rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
    background: var(--white);
}
.legal-page .container { max-width: 800px; }
.legal-page h1 { margin-bottom: 2rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-page h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 2rem 0 1rem; }
.legal-page h3 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; }
.legal-page p { font-size: 1rem; line-height: 1.8; }
.legal-page ul { margin: 1rem 0; padding-left: 1.5rem; }
.legal-page li { margin-bottom: .5rem; line-height: 1.7; }
.legal-page a { color: var(--gold); }
.legal-page a:hover { color: var(--gold-dark); text-decoration: underline; }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .header-phone { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 10000;
        justify-content: center;
        align-items: center;
        gap: .5rem;
        animation: fadeIn .3s ease;
    }
    .main-nav.open a { font-size: 1.3rem; padding: .75rem 1.5rem; }
    .main-nav.open ~ .header-actions { display: none; }
    .menu-toggle { z-index: 10001; }
    .welcome-grid { grid-template-columns: 1fr; }
    .welcome-image { order: -1; }
    .welcome-image img { height: 350px; }
    .hours-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .praxis-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .praxis-gallery-item:first-child { grid-column: 1 / 3; grid-row: auto; }
    .praxis-gallery-item { height: 220px; }
    .team-lead { grid-template-columns: 240px 1fr; }
    .team-grid { grid-template-columns: repeat(4, 1fr); }
    .emergency-inner { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .jobs-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .praxis-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
    .praxis-gallery-item:first-child { grid-column: auto; }
    .praxis-gallery-item { height: 250px; }
    .team-lead { grid-template-columns: 1fr; text-align: center; }
    .team-lead-img { max-width: 280px; margin: 0 auto; }
    .team-lead-info { text-align: left; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .emergency-symptoms ul { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
    .cookie-banner { flex-direction: column; text-align: center; padding: 1.25rem; }
    .quick-actions { bottom: 5rem; right: 1rem; }
    .hero-content { padding: 40px 0 60px; }
    .hero-badges { gap: 1.25rem; }
    .announcement-close { position: static; transform: none; margin-left: .5rem; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { justify-content: center; }
    .team-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav open: break backdrop-filter stacking context so overlay renders above page */
body.nav-open .site-header {
    z-index: 10000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
}
body.nav-open .quick-actions { display: none; }
body.nav-open .cookie-banner { display: none; }
body.nav-open .announcement-banner { display: none; }

/* Focus visible for accessibility */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* High contrast mode */
@media (forced-colors: active) {
    .btn { border: 2px solid ButtonText; }
    .service-card, .emergency-numbers { border: 1px solid CanvasText; }
}

/* Print styles */
@media print {
    .site-header, .cookie-banner, .quick-actions, .menu-toggle, .announcement-banner { display: none !important; }
    .hero { min-height: auto; page-break-inside: avoid; }
    body { color: #000; font-size: 12pt; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
