/* ==========================================================================
   Schriften (lokal eingebunden, keine Verbindung zu Google)
   ========================================================================== */
@font-face{font-family:'Montserrat';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/montserrat-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/montserrat-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/montserrat-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/montserrat-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/montserrat-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/montserrat-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/montserrat-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/montserrat-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/montserrat-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/montserrat-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/ptserif-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/ptserif-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* ==========================================================================
   Tierarztpraxis Finkenauer, Nachbau mit behutsamer Modernisierung
   Werbeagentur Hoffmann
   ========================================================================== */

/* ---------- Design-Tokens ---------- */
:root {
  --blue: #052fa4;
  --blue-light: #305edd;
  --blue-active: #3a61ce;
  --blue-soft: #6f86d4;
  --blue-caption: rgba(5, 47, 162, 0.85);
  --text: #272727;
  --heading: #404040;
  --line: #eeeeee;
  --footer-bg: #e5e9f5;
  --white: #ffffff;
  --page-gradient: linear-gradient(45deg, #eaeaea 0%, #fcfcfc 53%, #ffffff 100%);

  --font-sans: 'Montserrat', Arial, sans-serif;
  --font-serif: 'PT Serif', Georgia, serif;

  --container: 1200px;
  --gutter: 15px;
  --nav-h: 48px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(5, 47, 164, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
a:hover, a:focus-visible { color: var(--blue-light); }

p { margin: 0 0 16px; }

ul { margin: 0 0 16px 20px; padding: 0; }
li { margin-bottom: 4px; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 500; margin: 0; }

h1 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.3;
  color: var(--heading);
  padding-bottom: 20px;
}

h2 {
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.4;
  color: var(--blue);
  padding-bottom: 16px;
}

h3 { font-size: 17px; line-height: 1.5; color: var(--text); }
h4 { font-size: 17px; font-weight: 600; color: var(--heading); }

hr { border: 0; }

:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}

.site-nav__brand {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: .2px;
}
.site-nav__brand:hover, .site-nav__brand:focus-visible { color: var(--white); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  color: var(--white);
  font: 600 14px var(--font-sans);
  cursor: pointer;
  transition: background .2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .12); }

.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Offcanvas (Mobile) */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  margin: 0;
  padding: 80px 0 24px;
  list-style: none;
  background: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
  z-index: 110;
}
.nav-menu.is-open { transform: translateX(0); }

.nav-menu li { margin: 0; }

.nav-menu a {
  display: block;
  padding: 13px 28px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(255, 255, 255, .1); color: var(--white); }
.nav-menu a[aria-current="page"] { background: var(--blue-active); border-left-color: var(--white); }

.nav-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

.nav-menu .nav-menu__extra { display: block; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.site-header__inner {
  position: relative;
  padding-top: 24px;
  padding-bottom: 22px;
}

.site-header__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  color: var(--heading);
  line-height: 1.3;
  padding: 0 0 18px;
  margin: 0;
}
.site-header__title a { color: inherit; text-decoration: none; }

.site-header__line {
  height: 1px;
  margin: 0 0 18px;
  background: var(--line);
}

.site-header__phone {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--blue);
}
.site-header__phone a { color: inherit; text-decoration: none; }
.site-header__phone a:hover { text-decoration: underline; }

.site-header__deco {
  display: none;
  position: absolute;
  top: 10px;
  right: 12px;
  height: calc(100% - 20px);
  max-height: 300px;
  width: auto;
  opacity: .9;
  pointer-events: none;
}

/* ==========================================================================
   Seitenhintergrund und Sektionen
   ========================================================================== */
.page { background: var(--page-gradient); overflow-x: clip; }

.page-intro { padding-top: 40px; }

.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section--white { background: var(--white); }
.section--top-0 { padding-top: 0; }

.section--image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.divider {
  height: 2px;
  margin: 0 0 32px;
  background: var(--blue-soft);
  border-radius: 2px;
}

/* Raster */
.grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
.grid--center { align-items: center; }

/* Karten auf Bildhintergründen */
.card {
  background: rgba(255, 255, 255, .9);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.card--solid { background: var(--white); }
.card ul:last-child, .card p:last-child { margin-bottom: 0; }

/* Bilder mit leichter Rundung */
.media-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.caption { text-align: right; margin-top: 10px; font-size: 15px; color: var(--heading); }
/* ==========================================================================
   Kopfbild / Slider (Unterseiten)
   ========================================================================== */
.hero {
  position: relative;
  height: clamp(240px, 37vw, 480px);
  overflow: hidden;
  background: #dfe4f2;
  box-shadow: 0 14px 18px -14px rgba(0, 0, 0, .45);
}

.hero__track { position: relative; height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}
.hero__slide.is-active img { transform: scale(1); }

.hero__caption {
  position: absolute;
  right: 0;
  bottom: 22%;
  margin: 0;
  padding: 10px 26px 10px 22px;
  background: var(--blue-caption);
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 30px);
  line-height: 1.3;
  border-radius: var(--radius) 0 0 var(--radius);
  max-width: 90%;
  transform: translateX(30px);
  opacity: 0;
  transition: transform .8s var(--ease) .3s, opacity .8s ease .3s;
}
.hero__slide.is-active .hero__caption { transform: none; opacity: 1; }

/* Variante: Bild mit blauer Fläche und zentriertem Text (Praxis) */
.hero--overlay .hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 47, 164, .62);
}
.hero__statement {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  margin: 0;
  text-align: center;
  color: var(--white);
  font-size: clamp(17px, 2.2vw, 27px);
  line-height: 1.5;
  font-weight: 400;
}
.hero__statement span { max-width: 760px; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 3;
}
.hero__dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  transition: background .2s ease, transform .2s ease;
}
.hero__dot[aria-current="true"]::before { background: var(--white); transform: scale(1.25); }

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  color: var(--blue);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
}
.hero:hover .hero__arrow, .hero__arrow:focus-visible { opacity: 1; }
.hero__arrow:hover { background: var(--white); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

/* ==========================================================================
   Startseite
   ========================================================================== */
.home-divider { height: 2px; background: var(--blue-soft); margin: 40px 0 36px; border-radius: 2px; }

.lightbox-trigger {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.lightbox-trigger img { transition: transform .5s var(--ease); }
.lightbox-trigger:hover img { transform: scale(1.03); }

.more-link {
  text-align: center;
  font-style: italic;
  color: var(--blue);
  margin: 0;
}

.mobile-services { display: block; }
.mobile-services ul { list-style: none; margin: 0; }
.mobile-services li::before { content: "- "; }
.mobile-services .grid { gap: 0; }
.mobile-services img { width: 110px; margin: 16px auto 0; }

.animals {
  position: relative;
  background-image: url('../../../images/cow-3540404_1920.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.animals::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .73);
}
.animals .container { position: relative; }
.animals__grid { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 1090px; margin: 0 auto; }
.animals__grid img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ==========================================================================
   Akkordeon (Leistungen)
   ========================================================================== */
.accordion { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.accordion__item { border: 1px solid var(--line); border-bottom: 0; background: var(--white); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }
.accordion__item h3 { margin: 0; }

.accordion__button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  background: var(--white);
  color: var(--text);
  font: 500 16px var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.accordion__button:hover { background: #f6f8fd; color: var(--blue); }
.accordion__button i:first-child { font-size: 18px; color: var(--blue); width: 22px; text-align: center; }
.accordion__chevron { margin-left: auto; font-size: 13px; color: #8a8a8a; transition: transform .3s var(--ease); }
.accordion__button[aria-expanded="true"] { color: var(--blue); }
.accordion__button[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
  background: #fcfcfc;
}
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel ul { margin: 0; padding: 16px 18px 16px 38px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Team
   ========================================================================== */
.vet { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
.vet img { width: 100%; max-width: 280px; border-radius: var(--radius); box-shadow: var(--shadow); }
.vet ul { margin-left: 20px; }

.team-heading { margin-bottom: 8px; }

.person { text-align: left; }
.person__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.person:hover .person__img img { transform: scale(1.04); }
.person h3 { margin-bottom: 2px; font-size: 17px; font-weight: 600; color: var(--heading); }
.person p { margin: 0; font-size: 15px; color: #5c5c5c; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.blurb { display: flex; gap: 14px; margin-bottom: 18px; }
.blurb i {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5, 47, 164, .08);
  color: var(--blue);
  font-size: 15px;
}
.blurb h3 { font-size: 16px; font-weight: 500; padding-top: 6px; }
.blurb p { margin: 4px 0 0; font-size: 15px; }
.blurb a { word-break: break-word; }

.map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9edf6;
  box-shadow: var(--shadow);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  font-size: 15px;
}
.map__consent i { font-size: 34px; color: var(--blue); }
.map__consent p { max-width: 440px; margin: 0; }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.grid > * { min-width: 0; }

.travel h2 { padding-bottom: 6px; }
.travel p { margin-bottom: 26px; }

/* ==========================================================================
   Aktuelles
   ========================================================================== */
.book-cover { max-width: 320px; }
.book-sub { font-weight: 600; margin-bottom: 14px; }
.quote {
  margin: 24px 0 0;
  padding: 18px 22px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  font-style: italic;
}
.quote p { margin: 0 0 8px; }
.quote footer { font-style: normal; font-size: 14px; color: #666; }

/* ==========================================================================
   Rechtstexte
   ========================================================================== */
.legal { max-width: 900px; }
.legal h2 { font-size: 20px; padding: 18px 0 8px; }
.legal h3 { font-size: 17px; font-weight: 600; padding: 8px 0 4px; }
.legal p { word-wrap: break-word; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font: 600 15px var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--blue-light); border-color: var(--blue-light); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(5, 47, 164, .25); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--blue); color: var(--white); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 45px;
  padding-top: 36px;
  background: var(--footer-bg);
  border-top: 2px solid var(--blue);
  color: var(--heading);
  text-align: center;
}
.site-footer__cols { display: grid; gap: 10px; grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.site-footer p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
address { font-style: normal; }
.site-footer a { color: var(--heading); }
.site-footer a:hover { color: var(--blue); }

.site-footer__bottom { margin-top: 18px; padding: 18px 0 4px; border-top: 1px solid rgba(5, 47, 164, .12); }
.site-footer__bottom p { font-size: 13px; margin: 0 0 6px; }

.agency-branding { text-align: center; padding: 20px; }
.agency-branding p { margin: 0; font-size: 13px; }
.agency-branding .fa-heart { color: #e0001b; }
em[class*="fa-"] { font-style: normal; }

/* ==========================================================================
   Cookie-Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 22px;
  background: var(--white);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  transform: translateY(140%);
  transition: transform .45s var(--ease);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner h2 { font-size: 17px; padding-bottom: 6px; }
.cookie-banner p { margin-bottom: 14px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 40, .88);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

/* ==========================================================================
   404
   ========================================================================== */
.error-page { text-align: center; padding: 80px 0; }
.error-page__code { font-size: clamp(80px, 16vw, 150px); font-weight: 700; color: var(--blue); line-height: 1; margin: 0 0 10px; opacity: .9; }
.error-page p { max-width: 520px; margin: 0 auto 24px; }

/* ==========================================================================
   Einblend-Animationen
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .15s; }
.reveal[data-delay="2"] { transition-delay: .3s; }
.reveal[data-delay="3"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Hintergrundbilder der Bildsektionen
   ========================================================================== */
.bg-praxis { background-image: url('../../../images/freestocks-org-119823-unsplash.jpg'); }
.bg-leistungen { background-image: url('../../../images/james-sutton-705775-unsplash.jpg'); }
.bg-preise { background-image: url('../../../images/christopher-carson-522540-unsplash.jpg'); }
.bg-links { background-image: url('../../../images/diana-macesanu-279529-unsplash.jpg'); min-height: 520px; }
/* ==========================================================================
   Responsive: Tablet ab 768px
   ========================================================================== */
@media (min-width: 768px) {
  body { font-size: 17px; }

  .section { padding: 72px 0; }

  .grid--2 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid--7-5 { grid-template-columns: 7fr 5fr; gap: 40px; }
  .grid--8-4 { grid-template-columns: 2fr 1fr; gap: 40px; }
  .grid--4-8 { grid-template-columns: 1fr 2fr; gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .col-span-2 { grid-column: span 2; }

  .card-col { max-width: 420px; }
  .card-col--right { margin-left: auto; }

  .animals__grid { grid-template-columns: 1fr 1fr; gap: 40px 60px; }

  .vet-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .vet { grid-template-columns: 1fr 1fr; }

  .mobile-services { display: none; }

  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 40px; }

  .cookie-banner { display: flex; gap: 22px; align-items: flex-end; }
  .cookie-banner__text { flex: 1; }
  .cookie-banner p { margin-bottom: 0; }
  .cookie-banner__actions { flex-direction: column; flex-shrink: 0; }
}

/* ==========================================================================
   Responsive: Desktop ab 1024px
   ========================================================================== */
@media (min-width: 1024px) {
  .site-nav__brand, .nav-toggle, .nav-menu__close, .nav-backdrop { display: none; }

  .site-nav__inner { justify-content: flex-start; }

  .nav-menu {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }

  .nav-menu a {
    position: relative;
    padding: 0 22px;
    line-height: var(--nav-h);
    font-size: 14px;
    font-weight: 700;
    border-left: 0;
  }
  .nav-menu a::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 9px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .25s var(--ease);
  }
  .nav-menu a:hover::after, .nav-menu a:focus-visible::after { transform: scaleX(1); }
  .nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(255, 255, 255, .08); }
  .nav-menu a[aria-current="page"] { background: var(--blue-active); }
  .nav-menu a[aria-current="page"]::after { display: none; }

  .nav-menu .nav-menu__extra { display: none; }

  .site-header__inner { padding-top: 30px; padding-bottom: 30px; padding-right: 200px; }
  .site-header__deco { display: block; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .vet-row { grid-template-columns: 1fr 1fr; gap: 30px; }

  .hero__caption { bottom: 26%; }
}


/* ==========================================================================
   Joomla-Anpassungen (nur im Template)
   ========================================================================== */
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }

button.skip-link { font: inherit; cursor: pointer; border: 0; }

/* Joomla-Artikelwrapper neutralisieren */
.item-page, .com-content-article, .content-item { margin: 0; padding: 0; }
.page .page-header,
.page .article-info,
.page .icons,
.page .pagenavigation,
.page .content_rating,
.page .article-index,
.page .tags { display: none; }

/* Systemmeldungen von Joomla */
#system-message-container:not(:empty) { max-width: var(--container); margin: 20px auto 0; padding: 0 var(--gutter); }

/* Header-Linie: &nbsp; aus dem Modul darf keine Hoehe erzeugen */
.site-header__line { font-size: 0; line-height: 0; overflow: hidden; }

/* mod_menu in der Navigation */
.nav-menu > ul { list-style: none; margin: 0; padding: 0; }
.nav-menu > ul > li { margin: 0; }
.nav-menu .nav-menu__close { position: absolute; }

/* Leere Platzhalter mit &nbsp; */
.hero__dots { font-size: 0; }

@media (min-width: 1024px) {
  .nav-menu > ul { display: flex; }
}

/* Font-Awesome-Icons mit &nbsp; (Joomla-Editorschutz): das Leerzeichen darf das Symbol nicht verschieben */
i[class*="fa-"] { display: inline-grid; justify-items: center; align-content: center; line-height: 0; }
i[class*="fa-"]::before { line-height: 1; }
.blurb i { display: grid; }
