/* ═══════════════════════════════════════════════════════════════
   Tierarzt Erbslöh – theme.css
   WCAG 2.1 AA · BITV 2.0 · Fully Responsive
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --green:        #52AB16;
  --green-dark:   #3d820f;
  --green-light:  rgba(82,171,22,.15);
  --green-pale:   rgba(82,171,22,.08);
  --white:        #ffffff;
  --gray-50:      #f8f9f7;
  --gray-100:     #f0f2ed;
  --gray-200:     #dde3d5;
  --gray-500:     #8a9680;
  --gray-700:     #4a5240;
  --gray-900:     #1e2419;
  --red:          #d9534f;
  --red-light:    #fdf3f3;
  --orange:       #e07800;
  --orange-light: #fff3e0;
  --blue:         #1a6bbf;
  --blue-light:   #e8f1fb;
  --font-head:    'Raleway', sans-serif;
  --font-body:    'Merriweather', serif;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.12);
  --nav-h:        76px;
  --t:            .3s ease;
  --max-w:        1200px;
  --hero-overlay-opacity: 70%;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: underline; text-decoration-skip-ink: auto; }
a:hover { color: var(--green); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--gray-900);
  font-weight: 700;
}

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: .75rem 1.5rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Screen-reader-only (visually hidden but semantically present) ── */
.ta-sr-only,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Focus ─────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── Layout Utilities ──────────────────────────────────────── */
.container { width: min(100%, var(--max-w)); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--gray-900); color: var(--white); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
/* Keep intro paragraph + divider centered within a centered section header */
.section-header .section-intro { margin-inline: auto; }
.section-header .divider { margin-inline: auto; }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}
.section-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: 1rem; }
.section-intro { font-size: 1.05rem; color: var(--gray-700); max-width: 64ch; }
.divider {
  width: 48px; height: 4px;
  background: linear-gradient(90deg,var(--green),var(--green-dark));
  border-radius: 4px;
  margin: 1rem 0 1.5rem;
}
.section-header .divider { margin-inline: auto; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background var(--t), color var(--t), box-shadow var(--t), transform .15s;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
}
.btn:focus-visible { outline-offset: 4px; }
.btn:active { transform: scale(.97); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; box-shadow: 0 6px 20px rgba(82,171,22,.35); }

.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--gray-50); }

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-ghost:hover { background: var(--green); color: #fff; }

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ── Tags / Pills ──────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: .25rem .8rem;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tag-green  { background: var(--green-light); color: var(--green-dark); }
.tag-red    { background: var(--red-light);   color: var(--red); }
.tag-orange { background: var(--orange-light);color: var(--orange); }
.tag-blue   { background: var(--blue-light);  color: var(--blue); }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--nav-h);
}

/* ─── Logo / Branding ──────────────────────────────────────── */
.nav-brand {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 6px 0;                     /* vertical breathing room */
  margin-right: auto;
}
/* Bundled transparent-PNG logo (277×96, ratio 2.89:1) */
.nav-logo-img {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: opacity var(--t), transform var(--t);
}
/* Catch-all: ANY image inside the brand link is capped to the nav height,
   whether it's the bundled <img>, a WP custom-logo, or anything else. */
.site-header .nav-brand img {
  max-height: 52px !important;
  height: 52px !important;
  width: auto !important;
  object-fit: contain;
  object-position: left center;
}
.nav-brand:hover .nav-logo-img { opacity: .88; }
/* WP custom_logo wrapper – match bundled image sizing exactly.
   Use high-specificity + !important so WordPress' inline width/height
   attributes and core styles can't blow the logo past the nav height. */
.nav-brand .custom-logo-link,
.nav-brand .custom-logo-link:hover { text-decoration: none; background: none; }
.nav-brand .custom-logo-link { display: flex; align-items: center; height: 100%; }
.site-header .nav-brand .custom-logo-link img,
.site-header .nav-brand img.custom-logo {
  height: 52px !important;
  width: auto !important;
  max-height: 52px !important;
  max-width: 220px !important;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.nav-site-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--gray-900);
  line-height: 1.2;
}

/* Nav list */
.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-list li a {
  display: block;
  padding: .6rem .9rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.nav-list li a:hover,
.nav-list li.current-menu-item > a,
.nav-list li.current-page-ancestor > a {
  color: var(--green-dark);
  background: var(--green-pale);
}

/* Sub-menu */
.nav-list li.menu-item-has-children { position: relative; }
.nav-list li.menu-item-has-children > a::after {
  content: '▾';
  margin-left: .3rem;
  font-size: .7rem;
}
.nav-list .sub-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t);
}
.nav-list li.menu-item-has-children:hover > .sub-menu,
.nav-list li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-list .sub-menu li a {
  font-size: .85rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
}

/* CTA nav phone */
.nav-cta { margin-left: .5rem; font-size: .82rem; padding: .6rem 1.2rem; }
.nav-phone-text { font-size: .82rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: .5rem;
  border-radius: var(--radius-sm);
  min-width: 44px; min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(30,36,25,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav nav { text-align: center; width: 100%; max-width: 360px; }
.mobile-nav-list { list-style: none; }
.mobile-nav-list li a {
  display: block;
  padding: 1rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--t);
}
.mobile-nav-list li a:hover { background: rgba(255,255,255,.08); }
.mobile-nav-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 1rem 0; }
.mobile-nav-legal {
  display: inline-block;
  padding: .4rem .8rem;
  color: var(--gray-500);
  font-size: .82rem;
  text-decoration: none;
  font-family: var(--font-head);
}
.mobile-nav-legal:hover { color: #fff; }
.mobile-nav-cta { margin-top: 1.5rem; width: 100%; justify-content: center; font-size: 1rem; }

/* ══════════════════════════════════════════════════════════════
   NOTICE BAR
   ══════════════════════════════════════════════════════════════ */
.notice-bar {
  padding: .7rem 0;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
}
.notice-bar--info    { background: var(--green-pale); color: var(--green-dark); border-bottom: 2px solid var(--green-light); }
.notice-bar--urgent  { background: var(--red-light);  color: var(--red);        border-bottom: 2px solid #f5c6c5; }
.notice-bar--neutral { background: var(--gray-100);   color: var(--gray-700);   border-bottom: 2px solid var(--gray-200); }
.notice-bar__inner {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.notice-bar svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 6s ease;
}
.hero:hover .hero__bg { transform: scale(1.02); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,36,25, calc(var(--hero-overlay-opacity) / 100 * 1.1)) 0%,
    rgba(30,36,25, calc(var(--hero-overlay-opacity) / 100 * 0.6)) 100%
  );
}
.hero .container { position: relative; z-index: 1; padding-block: 4rem; }
.hero__content { max-width: 680px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  padding: .4rem 1.1rem;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}
.hero__title {
  font-size: clamp(2.4rem,5.5vw,4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero__title em {
  font-style: normal;
  display: block;
  color: var(--green);
  white-space: normal;
}
.hero__lead {
  font-size: clamp(.95rem,1.8vw,1.15rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.hero__phone-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .4rem 0;
  border-bottom: 2px solid rgba(255,255,255,.3);
  transition: color var(--t), border-color var(--t);
}
.hero__phone-link:hover { color: #fff; border-color: var(--green); }
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 60% { transform: translateX(-50%) translateY(8px); } }

/* ══════════════════════════════════════════════════════════════
   QUICK INFO
   ══════════════════════════════════════════════════════════════ */
.quick-info {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.25rem 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.quick-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  divide: var(--gray-200);
}
.quick-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem 1rem;
  border-right: 1px solid var(--gray-100);
}
.quick-item:last-child { border-right: none; }
.quick-item__icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}
.quick-item__label {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: .15rem;
}
.quick-item__value {
  display: block;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* ══════════════════════════════════════════════════════════════
   ÜBER UNS / ABOUT
   ══════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image { position: relative; }
.about-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px; height: 120px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(82,171,22,.4);
  border: 4px solid #fff;
  padding: .5rem;
}
.about-badge__num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.about-badge__text {
  font-family: var(--font-head);
  font-size: .6rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.about-text { padding-block: 2rem; }
.feature-list { margin-block: 1.5rem 2rem; display: flex; flex-direction: column; gap: .6rem; }
.feature-item { display: flex; align-items: center; gap: .75rem; font-size: .92rem; }
.feature-check {
  width: 22px; height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--t), transform var(--t);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.team-card__img--placeholder {
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.team-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.team-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  color: var(--gray-900);
  margin-bottom: .3rem;
}
.team-card__role {
  font-family: var(--font-head);
  font-size: .8rem;
  color: var(--green-dark);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   NOTICES / ANNOUNCEMENTS
   ══════════════════════════════════════════════════════════════ */
.notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.notice-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
  transition: box-shadow var(--t);
}
.notice-card:hover { box-shadow: var(--shadow-lg); }
.notice-card--urgent  { border-left-color: var(--red); }
.notice-card--vacation{ border-left-color: var(--orange); }
.notice-card--news    { border-left-color: var(--blue); }
.notice-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--gray-900);
}
.notice-card__body { font-size: .9rem; color: var(--gray-700); line-height: 1.7; }
.notice-card__body p { margin-bottom: .6rem; }
.notice-card__body p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   FAQ (Accordion)
   ══════════════════════════════════════════════════════════════ */
.container--narrow { max-width: 820px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq-item:hover { box-shadow: var(--shadow); border-color: var(--gray-200); }
.faq-item[open] {
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  list-style: none;
  transition: color var(--t);
  user-select: none;
}
.faq-question::-webkit-details-marker,
.faq-question::marker { display: none; content: ''; }
.faq-question:hover { color: var(--green-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--t), background var(--t);
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
  animation: faq-fade .3s ease;
}
.faq-answer p { margin-bottom: .6rem; }
.faq-answer p:last-child { margin-bottom: 0; }
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-icon { animation: none !important; transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   CTA STRIP
   ══════════════════════════════════════════════════════════════ */
.cta-strip {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '🐾';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: .06;
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-title {
  font-size: clamp(1.5rem,2.5vw,2.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: .5rem;
}
.cta-sub { color: rgba(255,255,255,.85); font-size: .95rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   OPENING HOURS TABLE
   ══════════════════════════════════════════════════════════════ */
.hours-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.hours-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hours-card__head {
  background: var(--green);
  padding: 1.5rem 2rem;
  color: #fff;
}
.hours-card__head h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .2rem;
}
.hours-card__head p { font-size: .85rem; opacity: .9; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--gray-100); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table tr.closed td { color: var(--gray-500); }
.hours-table tr.today { background: var(--green-pale); }
.hours-table td {
  padding: .85rem 1.5rem;
  font-size: .9rem;
}
.hours-table td:first-child { font-family: var(--font-head); font-weight: 700; }
.hours-table td:last-child  { text-align: right; color: var(--gray-700); }
.hours-table .closed-label {
  font-family: var(--font-head);
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 600;
}
.hours-note {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: .88rem;
  color: var(--green-dark);
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES / LEISTUNGEN
   ══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: box-shadow var(--t), transform var(--t);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card__icon {
  width: 56px; height: 56px;
  background: var(--green-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.service-card__text { font-size: .88rem; color: var(--gray-700); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════
   OSM MAP
   ══════════════════════════════════════════════════════════════ */
.map-section { background: var(--gray-100); }
.map-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}
.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-iframe {
  width: 100%;
  border: 0;
  display: block;
}
.map-consent {
  position: absolute;
  inset: 0;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}
.map-consent.hidden { display: none; }
.map-consent__icon { font-size: 3rem; opacity: .5; }
.map-consent__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
}
.map-consent__text { font-size: .88rem; color: var(--gray-700); max-width: 30ch; line-height: 1.6; }

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-card__head {
  background: var(--green);
  padding: 1.5rem 2rem;
}
.contact-card__head h3 { color: #fff; font-size: 1.2rem; font-weight: 800; }
.contact-items { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; align-items: flex-start; gap: .85rem; }
.contact-item__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
}
.contact-item__label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: block;
  margin-bottom: .15rem;
}
.contact-item__value { font-size: .9rem; font-weight: 600; }
.contact-item__value a { text-decoration: none; color: var(--gray-900); }
.contact-item__value a:hover { color: var(--green-dark); }
.contact-item__value small { font-size: .78rem; color: var(--gray-500); font-weight: 400; display: block; }

/* ══════════════════════════════════════════════════════════════
   EMERGENCY
   ══════════════════════════════════════════════════════════════ */
.emergency-section { background: var(--red-light); }
.emergency-card {
  background: #fff;
  border: 2px solid var(--red);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 40px rgba(217,83,79,.12);
}
.emergency-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.emergency-title {
  font-size: clamp(1.3rem,2.5vw,1.8rem);
  font-weight: 800;
  color: var(--red);
  margin-bottom: .75rem;
}
.emergency-text { font-size: .95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 2rem; max-width: 50ch; margin-inline: auto; }
.emergency-phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: clamp(1.5rem,3vw,2.2rem);
  font-weight: 900;
  color: var(--red);
  text-decoration: none;
  border: 2px solid var(--red);
  padding: .75rem 2rem;
  border-radius: var(--radius-lg);
  transition: background var(--t), color var(--t);
  margin-bottom: .75rem;
}
.emergency-phone:hover { background: var(--red); color: #fff; }
.emergency-cost { font-size: .78rem; color: var(--gray-500); margin-top: .5rem; }

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 0;
}
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2rem 0 .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.legal-content p  { margin-bottom: .85rem; color: var(--gray-700); font-size: .94rem; }
.legal-content a  { color: var(--green-dark); }
.legal-content ul { list-style: disc; margin: .75rem 0 .75rem 1.5rem; }
.legal-content ul li { margin-bottom: .3rem; color: var(--gray-700); font-size: .94rem; }
.legal-box {
  background: var(--gray-50);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.legal-box p { margin-bottom: .4rem; font-size: .9rem; }
.legal-box p:last-child { margin-bottom: 0; }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--green-dark) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(82,171,22,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__breadcrumb {
  font-family: var(--font-head);
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb span { margin: 0 .4rem; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem,4vw,3rem);
  font-weight: 900;
  margin-bottom: .5rem;
}
.page-hero p { color: rgba(255,255,255,.8); font-size: 1rem; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--gray-900);
  color: #fff;
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
/* Footer logo – uses pre-made white PNG (no filter trickery) */
.footer-logo { margin-bottom: 1.25rem; }
.footer-logo-img {
  height: 76px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
  display: block;
  /* Light rounded plate so the green header logo stays legible on the dark footer */
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: opacity var(--t);
}
.footer-logo-img:hover { opacity: 1; }
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-about { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-block: .75rem 1.5rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: .65rem; }
.footer-contact-list li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .84rem; color: rgba(255,255,255,.75);
}
.footer-contact-list svg { color: var(--green); flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-contact-list a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links li a {
  font-family: var(--font-head);
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding: .3rem 0;
  transition: color var(--t);
  display: flex; align-items: center; gap: .4rem;
}
.footer-links li a::before { content: '→'; color: var(--green); font-size: .75rem; }
.footer-links li a:hover { color: #fff; }
.footer-hours { display: flex; flex-direction: column; gap: .4rem; }
.footer-hours-row { display: flex; justify-content: space-between; font-size: .82rem; padding: .3rem 0; }
.footer-hours-row dt { font-family: var(--font-head); font-weight: 600; color: rgba(255,255,255,.7); }
.footer-hours-row dd { color: rgba(255,255,255,.5); }
.footer-hours-row--closed dt, .footer-hours-row--closed dd { color: rgba(255,255,255,.3); text-decoration: line-through; }
.footer-emergency-phone {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
  display: block;
  margin-top: .4rem;
}
.footer-emergency-phone:hover { color: #ff7070; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.footer-legal a,
.footer-legal-btn {
  font-family: var(--font-head);
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--t);
}
.footer-legal a:hover,
.footer-legal-btn:hover,
.footer-legal-btn:focus-visible { color: #fff; }
.footer-legal-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ══════════════════════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(96%, 780px);
  background: var(--gray-900);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  padding: 1.5rem 2rem;
  display: none;
}
.cookie-banner.visible { display: block; animation: slide-up .4s cubic-bezier(.16,1,.3,1); }
@keyframes slide-up { from { opacity: 0; transform: translateX(-50%) translateY(24px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.cookie-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-title { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.cookie-desc { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.cookie-desc a { color: var(--green); }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 998;
  width: 48px; height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--green-dark); }

/* ══════════════════════════════════════════════════════════════
   INLINE EDITOR
   ══════════════════════════════════════════════════════════════ */
[contenteditable="true"] {
  outline: 2px dashed var(--green);
  outline-offset: 3px;
  cursor: text;
  border-radius: 3px;
  min-width: 2em;
}
[contenteditable="true"]:focus { outline: 2px solid var(--green); background: rgba(82,171,22,.05); }
.ta-save-indicator {
  position: fixed;
  bottom: 4.5rem;
  right: 1.75rem;
  z-index: 9997;
  background: var(--gray-900);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.ta-save-indicator.show { opacity: 1; transform: translateY(0); }
.ta-save-indicator.error { background: var(--red); }
.ta-edit-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 9998;
  max-width: min(320px, calc(100vw - 2.5rem));
  background: rgba(30,36,25,.96);
  backdrop-filter: blur(8px);
  padding: .6rem .75rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .6rem;
  font-family: var(--font-head);
  font-size: .72rem;
  line-height: 1.3;
  color: rgba(255,255,255,.72);
  transition: opacity .25s, transform .25s;
}
.ta-edit-bar__msg { flex: 1 1 100%; }
.ta-edit-bar.ta-edit-bar--collapsed {
  padding: 0;
  max-width: none;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.ta-edit-bar.ta-edit-bar--collapsed > :not(.ta-edit-bar__toggle) { display: none; }
.ta-edit-bar__toggle {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  font-size: .8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.ta-edit-bar.ta-edit-bar--collapsed .ta-edit-bar__toggle {
  position: static;
  width: auto;
  height: auto;
  padding: .5rem .8rem;
  border-radius: var(--radius);
  font-size: .72rem;
  font-weight: 700;
  gap: .35rem;
}
.ta-edit-bar a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(82,171,22,.3);
}
.ta-edit-bar a:hover { background: rgba(82,171,22,.15); }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   GENERIC PAGE CONTENT
   ══════════════════════════════════════════════════════════════ */
.entry-content { font-size: .97rem; line-height: 1.8; }
.entry-content h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.entry-content h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.entry-content p  { margin-bottom: 1rem; color: var(--gray-700); }
.entry-content a  { color: var(--green-dark); }
.entry-content ul { list-style: disc; margin: .75rem 0 .75rem 1.5rem; }
.entry-content ul li { margin-bottom: .35rem; }
.entry-content img { border-radius: var(--radius); margin-block: 1.5rem; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .quick-info__grid { grid-template-columns: repeat(3,1fr); }
  .about-grid  { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1/-1; }
  .map-grid { grid-template-columns: 1fr; }
  .hours-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-logo-img,
  .site-header .nav-brand .custom-logo-link img,
  .site-header .nav-brand img.custom-logo { height: 52px !important; max-width: 200px !important; }
  .primary-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .quick-info__grid { grid-template-columns: 1fr; gap: .5rem; }
  .quick-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .quick-item:last-child { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .about-badge { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--brand { grid-column: 1; }
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .section { padding: 3rem 0; }
  .emergency-card { padding: 2rem 1.5rem; }
  .notices-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding-inline: 1rem; }
  .hero__title { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════ */
@media print {
  .site-header, .cookie-banner, .back-to-top, .mobile-nav, .cta-strip, .hero__scroll-hint { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a::after { content: " (" attr(href) ")"; }
  .hero { min-height: auto; background: none; padding: 1rem 0; }
  .hero__overlay, .hero__bg { display: none; }
  .hero__title, .hero__lead { color: #000; }
}

/* ══════════════════════════════════════════════════════════════
   FORCED COLORS (Accessibility)
   ══════════════════════════════════════════════════════════════ */
@media (forced-colors: active) {
  .btn, .notice-card, .service-card, .team-card { forced-color-adjust: none; }
  .divider { background: ButtonText; }
  .skip-link:focus { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  .hero__bg:hover { transform: none; }
}

/* Leistungen detail lists (live-site content parity) */
.service-list { list-style: none; margin: .25rem 0 0; padding: 0; }
.service-list li { position: relative; padding-left: 1.35rem; margin-bottom: .4rem; color: var(--gray-700); line-height: 1.5; break-inside: avoid; }
.service-list li::before { content: "›"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.service-block h4 { font-family: var(--font-head); color: var(--green-dark); font-size: 1rem; }
.services-detail .service-block li { break-inside: avoid; }
