/* ===================================================
   TIERARZTPRAXIS DR. VOGEL – STYLES.CSS
   Palette: teal / warm-white / coral
   Font: Nunito throughout
   =================================================== */

/* ── CUSTOM PROPERTIES ──────────────────────────── */
:root {
    --teal:        #0d7a72;
    --teal-dk:     #095f59;
    --teal-light:  #e0f5f3;
    --teal-mid:    #b2e4e0;
    --warm:        #fff8f0;
    --warm-dk:     #f5ede0;
    --text:        #1a3330;
    --text-lt:     #4a6663;
    --coral:       #f4845f;
    --coral-dk:    #e0634a;
    --coral-pale:  #fde8e1;
    --white:       #ffffff;
    --line:        rgba(13, 122, 114, 0.15);
    --line-dk:     rgba(13, 122, 114, 0.25);
    --header-h:    76px;
    --radius:      12px;
    --radius-sm:   8px;
    --shadow-sm:   0 2px 14px rgba(13,122,114,0.08);
    --shadow-md:   0 6px 32px rgba(13,122,114,0.14);
    --shadow-lg:   0 12px 48px rgba(13,122,114,0.18);
    --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    font-size: 16px;
}

body {
    font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    background: var(--warm);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dk); }
ul   { list-style: none; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── FADE-IN ─────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ================================================
   HEADER
   ================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 6px rgba(13,122,114,0.06);
    transition: box-shadow var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-paw svg { display: block; }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--teal);
}
.logo-sub {
    font-size: 0.72rem;
    color: var(--text-lt);
    font-weight: 400;
}

/* Icon Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 auto;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 16px;
    color: var(--text-lt);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
    background: var(--teal-light);
    color: var(--teal);
}
.nav-icon {
    font-size: 1.05rem;
    line-height: 1;
}
.nav-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Right side */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.notfall-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    background: var(--coral);
    color: var(--white);
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(244,132,95,0.35);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
    white-space: nowrap;
}
.notfall-btn:hover {
    background: var(--coral-dk);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(244,132,95,0.45);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 2rem 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('Pic/hero-background.jpg') center / cover no-repeat,
        linear-gradient(135deg, #065f58 0%, #0d9a8f 45%, #044f4a 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(9,95,89,0.82) 0%,
        rgba(13,122,114,0.68) 50%,
        rgba(9,50,48,0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.9);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.6rem, 6.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--white);
}
.hero-headline em {
    font-style: normal;
    color: var(--teal-mid);
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.2rem;
    max-width: 560px;
    font-weight: 400;
}

.hero-chips {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    text-decoration: none;
}
.chip-primary {
    background: var(--white);
    color: var(--teal);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.chip-primary:hover {
    background: var(--teal-light);
    color: var(--teal-dk);
    transform: translateY(-2px);
}
.chip-coral {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(244,132,95,0.4);
}
.chip-coral:hover {
    background: var(--coral-dk);
    color: var(--white);
    transform: translateY(-2px);
}

/* ================================================
   SECTIONS — GENERAL
   ================================================ */
.section {
    padding: 90px 0;
}
.section-alt {
    background: var(--teal-light);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
}
.section-header.centered { justify-content: center; text-align: center; }

.section-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-lt);
    margin-top: 4px;
}

/* ================================================
   PATIENTEN — TABS
   ================================================ */
.animal-tabs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--line-dk);
    padding-bottom: 0;
}

.animal-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-lt);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    margin-bottom: -2px;
}
.animal-tab:hover {
    color: var(--teal);
}
.animal-tab.active {
    color: var(--teal);
    border-bottom-color: var(--teal);
}
.tab-emoji { font-size: 1.2rem; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-intro {
    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}
.tab-intro h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--teal-dk);
    margin-bottom: 0.5rem;
}
.tab-intro p {
    color: var(--text-lt);
    font-size: 1.0rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.svc-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: box-shadow var(--transition), transform var(--transition);
}
.svc-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.svc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.svc-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.6rem;
}
.svc-card p {
    font-size: 0.93rem;
    color: var(--text-lt);
    line-height: 1.6;
}

/* ================================================
   TEAM
   ================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Team photo slot */
.team-photo {
    width: 100%;
    height: 200px;
    background:
        var(--team-img, none),
        var(--team-grad, linear-gradient(135deg, #0d9a8f, #065f58));
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    flex-shrink: 0;
}
.team-initials {
    font-size: 2.4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    /* hidden when real photo loads */
    position: absolute;
    bottom: 1rem;
    left: 1.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
}

.team-info { flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.team-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    background: var(--teal);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.team-badge-alt { background: #2a8a7e; }
.team-badge-tfa { background: var(--coral); }

.team-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.4rem;
}
.team-spec {
    font-size: 0.88rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.team-spec i { font-size: 0.7rem; }
.team-bio {
    font-size: 0.92rem;
    color: var(--text-lt);
    line-height: 1.65;
}

/* ================================================
   PRAXIS GALERIE
   ================================================ */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 10px;
}

.galerie-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        var(--galerie-img, none),
        var(--galerie-grad, linear-gradient(160deg, #0d9a8f, #044f4a));
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
.galerie-item:hover .galerie-overlay { opacity: 0.6; }
.galerie-item:hover .galerie-label { letter-spacing: 0.12em; }

.galerie-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,95,88,0.45);
    opacity: 0.25;
    transition: opacity 0.35s;
}

.galerie-label {
    position: absolute;
    bottom: 0.9rem;
    left: 1rem;
    right: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 1;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    transition: letter-spacing 0.35s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ================================================
   LEISTUNGEN
   ================================================ */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.leistung-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: box-shadow var(--transition), transform var(--transition);
}
.leistung-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.leistung-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.leistung-body h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.45rem;
}
.leistung-body p {
    font-size: 0.93rem;
    color: var(--text-lt);
    line-height: 1.6;
}

/* ================================================
   ÖFFNUNGSZEITEN
   ================================================ */
.hours-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.hours-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line-dk);
}

.hours-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--teal-light);
}

.hours-list { display: flex; flex-direction: column; }
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row.closed { opacity: 0.55; }
.h-day {
    font-weight: 700;
    color: var(--text);
    font-size: 0.93rem;
    min-width: 100px;
}
.h-time {
    font-size: 0.9rem;
    color: var(--text-lt);
    text-align: right;
}
.closed-text { color: var(--coral); font-style: italic; }

.lunch-notice {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
    padding: 0.8rem 1rem;
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--teal-dk);
    font-weight: 600;
}

.practical-info {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line-dk);
}

.info-items { display: flex; flex-direction: column; gap: 1.3rem; }
.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.info-item strong {
    display: block;
    font-size: 0.93rem;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.info-item p {
    font-size: 0.88rem;
    color: var(--text-lt);
    line-height: 1.55;
}

/* ================================================
   NOTFALL
   ================================================ */
.notfall-section {
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dk) 100%);
    color: var(--white);
}

.notfall-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.notfall-icon {
    font-size: 5rem;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    line-height: 1;
}

.notfall-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}
.notfall-content > p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.notfall-number a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    padding: 0.6rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: background var(--transition);
}
.notfall-number a:hover {
    background: rgba(255,255,255,0.3);
    color: var(--white);
}

.notfall-sub {
    font-size: 0.95rem !important;
    margin-bottom: 2rem !important;
    color: rgba(255,255,255,0.8) !important;
}

.notfall-symptoms h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}
.notfall-symptoms ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.notfall-symptoms ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.9);
}
.notfall-symptoms ul li i {
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ================================================
   KONTAKT
   ================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.contact-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--teal-light);
}
.contact-card p {
    font-size: 0.97rem;
    color: var(--text-lt);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.contact-card a { color: var(--teal); font-weight: 600; }
.contact-card a:hover { color: var(--teal-dk); }

.btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background: var(--teal);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-teal:hover {
    background: var(--teal-dk);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(13,122,114,0.3);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--text);
    color: rgba(255,248,240,0.75);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--teal-mid);
    margin-bottom: 1rem;
}
.footer-logo i { font-size: 1.4rem; }

.footer-section p {
    font-size: 0.92rem;
    line-height: 1.75;
}
.footer-section h4 {
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-mid);
    margin-bottom: 1.1rem;
}
.footer-section ul li { margin-bottom: 0.6rem; }
.footer-section ul li a {
    font-size: 0.92rem;
    color: rgba(255,248,240,0.65);
    transition: color var(--transition);
}
.footer-section ul li a:hover { color: var(--teal-mid); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255,248,240,0.35);
}
.footer-bottom a { color: rgba(255,248,240,0.45); }
.footer-bottom a:hover { color: var(--teal-mid); }
.footer-links { display: flex; gap: 1.5rem; }

/* ================================================
   DISCLAIMER
   ================================================ */
.escape-disclaimer {
    background: #0f2420;
    border-top: 2px solid var(--teal);
    padding: 0.9rem 1.5rem;
    font-size: 0.8rem;
    color: rgba(255,248,240,0.55);
    font-family: 'Nunito', sans-serif;
}
.escape-disclaimer__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.escape-disclaimer__inner i { color: var(--teal-mid); flex-shrink: 0; margin-top: 1px; }
.escape-disclaimer a { color: var(--teal-mid); }
.escape-disclaimer a:hover { color: var(--warm); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .nav-link { padding: 8px 10px; }
    .nav-label { font-size: 0.72rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 200px 200px; }
    .galerie-item--large { grid-column: span 2; grid-row: span 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .notfall-symptoms ul { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .service-cards    { grid-template-columns: repeat(2, 1fr); }
    .leistungen-grid  { grid-template-columns: 1fr; }
    .hours-layout     { grid-template-columns: 1fr; }
    .contact-layout   { grid-template-columns: 1fr; }
    .notfall-inner    { flex-direction: column; gap: 1.5rem; }
    .notfall-icon     { font-size: 3rem; }
}

@media (max-width: 700px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        z-index: 800;
    }
    .nav-menu.open { display: flex; }
    .nav-link {
        flex-direction: row;
        justify-content: flex-start;
        border-radius: 0;
        padding: 0.9rem 2rem;
        width: 100%;
    }
    .nav-icon { font-size: 0.95rem; }
    .nav-label { font-size: 0.9rem; font-weight: 700; }

    .menu-toggle { display: flex; }
    .header-inner { position: relative; }
    .logo-title { font-size: 1.05rem; }

    .service-cards { grid-template-columns: 1fr; }
    .animal-tabs { gap: 0; overflow-x: auto; }
    .animal-tab { font-size: 0.88rem; padding: 0.6rem 1rem; }
    .team-grid { grid-template-columns: 1fr; }
    .team-photo { height: 160px; }
    .galerie-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .galerie-item { height: 180px; }
    .galerie-item--large { grid-column: span 1; grid-row: span 1; }

    .notfall-number a { font-size: 1.6rem; }
    .notfall-symptoms ul { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
