/* =====================================================
   TIERARZTTEAM NEUKIRCHEN – style.css
   Farbschema aus Analyse-Dokument:
   Weiß:       #FFFFFF
   Grün:       #2E7D32
   Dunkelgrau: #333333
   Hellgrau:   #F5F5F5
   Blau:       #1565C0  (Buttons, Rollen-Schrift)
   ===================================================== */

/* ---- CSS-Variablen ---- */
:root {
  --green:       #b4c408;
  --green-light: #b4c408;
  --blue:        #1565C0;
  --blue-light:  #1976D2;
  --dark:        #333333;
  --gray-bg:     #F5F5F5;
  --gray-mid:    #E0E0E0;
  --white:       #FFFFFF;
  --footer-bg:   #051c2f;
  --quote-bg:    #E3F2FD;
  --quote-gray-bg: #F0F0F0;
  --font-head: 'Source Sans 3', sans-serif, bold;
  --font-body:   'Source Sans 3', sans-serif;
  --shadow:      0 2px 12px rgba(0,0,0,0.10);
  --radius:      6px;
  --transition:  0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

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

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
h4 { font-size: 1rem; margin-bottom: 0.3rem; }

p { margin-bottom: 1rem; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Bild-Platzhalter ---- */
.img-placeholder {
  background: white;
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =====================================================
   HEADER
   ===================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--green);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
  gap: 1rem;
}

/* Logo */
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.logo-sub {
  font-size: 0.65rem;
  color: #666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-logo {
  height: 75px;
  width: auto;
}

/* Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--green);
  color: var(--white);
}
.main-nav ul li a i { font-size: 0.7rem; margin-left: 3px; }

/* Dropdown */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 160px;
  flex-direction: column;
  gap: 0;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }
.has-dropdown .dropdown li a {
  padding: 0.5rem 1rem;
  border-radius: 0;
  white-space: nowrap;
  font-weight: 400;
}
.has-dropdown .dropdown li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.has-dropdown .dropdown li:last-child a  { border-radius: 0 0 var(--radius) var(--radius); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: background var(--transition);
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
  position: relative;
  height: clamp(320px, 55vw, 600px);
  overflow: hidden;
  background: #1b5e20;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
}
/* Platzhalter-Gradient wenn kein Bild vorhanden */
.slide:nth-child(1) { background-image: linear-gradient(135deg, #2e7d32, #388e3c); }
.slide:nth-child(2) { background-image: linear-gradient(135deg, #1565c0, #1976d2); }
.slide:nth-child(3) { background-image: linear-gradient(135deg, #4e342e, #6d4c41); }
.slide-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
}
.slide-content p {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 4vw, 2.4rem);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin: 0;
  background: rgba(0,0,0,0.35);
  padding: 0.4rem 1.5rem;
  border-radius: 4px;
}
.slider-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition);
}
.dot.active { background: var(--white); }

/* =====================================================
   SECTION INTRO
   ===================================================== */
.section-intro {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
}
.section-intro h1 { color: var(--green); }
.section-intro .subtitle { font-family: var(--font-head); font-size: 1.4rem; color: #555; font-weight: 400; margin-bottom: 1rem; }
.section-intro p { max-width: 600px; margin: 0 auto; color: #555; }

/* =====================================================
   SERVICES GRID (Startseite)
   ===================================================== */
.section-services { background: var(--gray-bg); padding: 3rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.13); }
.service-img-wrap img { width: 100%; height: 200px; object-fit: cover; }
.service-body { padding: 1.25rem 1.25rem 1.5rem; }
.service-body h3 { color: var(--green); margin-bottom: 0.5rem; }
.service-body p { font-size: 0.9rem; color: #555; margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); color: var(--white); transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-light); color: var(--white); transform: translateY(-1px); }
.btn-block { display: block; text-align: center; margin-top: 1.25rem; }

/* =====================================================
   ZITAT
   ===================================================== */
.section-quote { padding: 2.5rem 0; }
.section-quote blockquote {
  background: var(--quote-bg);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.section-quote blockquote p {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.section-quote blockquote cite { color: #666; font-size: 0.9rem; }

/* =====================================================
   KONTAKT & ZEITEN (Startseite)
   ===================================================== */
.section-contact-times { padding: 3rem 0; }
.contact-times-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-block h2 { color: var(--green); margin-bottom: 1rem; }
.opening-times {
  background: var(--gray-bg);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}
.opening-times p { margin-bottom: 0.4rem; font-size: 0.95rem; }
.phone-info { margin-top: 1rem; color: #555; font-size: 0.95rem; }
.phone-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  margin-top: 0.25rem;
}
.phone-link:hover { color: var(--green-light); }

.pharmacy-block { display: flex; flex-direction: column; gap: 1.25rem; }
.pharmacy-card {
  background: var(--gray-bg);
  padding: 1.25rem;
  border-radius: var(--radius);
}
.pharmacy-card h3 { color: var(--dark); font-size: 1rem; margin-bottom: 0.75rem; }

.pharmacy-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.pharmacy-table th, .pharmacy-table td { padding: 0.4rem 0.75rem; text-align: left; }
.pharmacy-table th { background: var(--green); color: var(--white); }
.pharmacy-table tr:nth-child(even) td { background: var(--white); }

/* =====================================================
   PAGE HERO (Unterseiten)
   ===================================================== */
.page-hero {
  background: var(--green);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin: 0; }

/* =====================================================
   LEISTUNG INTRO (Unterseiten)
   ===================================================== */
.section-leistung { padding: 3rem 0; }
.leistung-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.leistung-img { min-height: 320px; border-radius: var(--radius); }
.leistung-text h2 { color: var(--dark); margin-bottom: 0.75rem; }
.green-lead {
  color: var(--green);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.img-caption {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* =====================================================
   LEISTUNGSLISTE mit Hintergrundbild
   ===================================================== */
.section-leistungsliste { padding: 3rem 0; background: var(--gray-bg); }
.section-leistungsliste h2 { text-align: center; margin-bottom: 1.5rem; color: var(--green); }
.leistungsliste-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 2rem;
}
.leistungsliste-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #c8e6c9;
  opacity: 0.18;
  z-index: 0;
}
.leistungsliste {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
  list-style: none;
}
.leistungsliste li {
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.85);
  border-left: 3px solid var(--green);
  border-radius: 3px;
  font-size: 0.95rem;
}

/* =====================================================
   PATIENT SLIDER
   ===================================================== */
.section-patient-slider { padding: 3rem 0; }
.section-patient-slider h2 { text-align: center; margin-bottom: 1.5rem; color: var(--dark); }
.patient-slider {
  position: relative;
  height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
}
.patient-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.patient-slide.active { opacity: 1; }
.patient-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  min-height: 320px;
}
/* Platzhalter-Farben */
.patient-slide:nth-child(1) img { background: linear-gradient(135deg,#a5d6a7,#81c784); }
.patient-slide:nth-child(2) img { background: linear-gradient(135deg,#81c784,#66bb6a); }
.patient-slide:nth-child(3) img { background: linear-gradient(135deg,#66bb6a,#4caf50); }
.patient-slide:nth-child(4) img { background: linear-gradient(135deg,#4caf50,#43a047); }
.patient-slide:nth-child(5) img { background: linear-gradient(135deg,#43a047,#388e3c); }

/* =====================================================
   TEAM SEITE
   ===================================================== */
.section-team { padding: 3rem 0; }
.team-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.team-photo {
  max-width: 800px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.quote-gray {
  background: var(--quote-gray-bg);
  border-left: 5px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.quote-gray p {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.quote-gray cite { color: #666; font-size: 0.9rem; }

.team-group-title {
  color: var(--dark);
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.4rem;
  margin: 2.5rem 0 1.5rem;
}
.team-grid { display: grid; gap: 1.5rem; }
.team-grid-4 { grid-template-columns: repeat(4, 1fr); }
.team-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 580px; }

.team-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-3px); }
.team-img-wrap img { width: 100%; height: 250px; object-fit: cover; }
.team-card-body { padding: 1rem; }
.team-card-body h3 { font-size: 0.95rem; margin-bottom: 0.3rem; font-family: var(--font-body); font-weight: 600; }
.team-role { color: var(--blue); font-size: 0.85rem; font-weight: 400; }

/* =====================================================
   KONTAKT SEITE
   ===================================================== */
.section-kontakt { padding: 3rem 0; }
.kontakt-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.kontakt-card {
  background: var(--gray-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.kontakt-card--notfall {
  background: #fff8e1;
  border: 2px solid #f57f17;
}
.kontakt-icon { font-size: 2.5rem; color: var(--green); margin-bottom: 0.75rem; }
.kontakt-card--notfall .kontakt-icon { color: #e65100; }
.kontakt-card h2 { margin-bottom: 0.75rem; }
.phone-big {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin: 0.75rem 0;
}
.phone-big:hover { color: var(--green-light); }
.kontakt-card--notfall .phone-big { color: #e65100; }
.notfall-badge {
  display: inline-block;
  background: #e65100;
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  margin: 0.5rem 0 0.75rem;
}
.times-block { font-size: 0.9rem; color: #555; margin-top: 0.5rem; }
.times-block p { margin-bottom: 0.2rem; }

.section-standorte { padding: 2.5rem 0 3.5rem; }
.section-standorte h2 { text-align: center; margin-bottom: 1.5rem; color: var(--green); }
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.map-wrap h3 { margin-bottom: 0.75rem; font-size: 1rem; color: var(--dark); }
.map-wrap iframe { border-radius: var(--radius); border: 1px solid var(--gray-mid); }

/* =====================================================
   LINKS SEITE
   ===================================================== */
.section-links { padding: 3rem 0; }
.links-group { margin-bottom: 2.5rem; }
.links-group h2 { color: var(--green); border-bottom: 2px solid var(--green); padding-bottom: 0.4rem; margin-bottom: 1rem; }
.links-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.links-list li a {
  color: var(--blue);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.links-list li a:hover { border-bottom-color: var(--blue); }

/* =====================================================
   PRAKTIKUM
   ===================================================== */
.praktikum-list { margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.praktikum-list li { display: flex; align-items: flex-start; gap: 0.6rem; }
.praktikum-list li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }
.kontakt-box {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}
.kontakt-box a { color: var(--blue); }

/* =====================================================
   IMPRESSUM & DATENSCHUTZ
   ===================================================== */
.section-legal { padding: 3rem 0 4rem; max-width: 800px; }
.section-legal h2 { color: var(--green); margin-bottom: 1.5rem; }
.section-legal h3 { color: var(--dark); margin: 1.5rem 0 0.5rem; border-bottom: 1px solid var(--gray-mid); padding-bottom: 0.25rem; }
.section-legal h4 { color: var(--green); margin: 1.25rem 0 0.25rem; font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.section-legal ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.section-legal ul li { margin-bottom: 0.3rem; }

.legal-list { display: grid; gap: 0; }
.legal-list dt {
  color: var(--green);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 1.25rem;
}
.legal-list dd { padding: 0.5rem 0 0.5rem 0; border-bottom: 1px solid var(--gray-mid); }
.legal-list dd p { margin-bottom: 0.5rem; }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}
.footer-logo {
  text-align: center;
  margin-bottom: 1.5rem;
  height: 70px;
  width: auto;
}
.footer-logo-img {
  
  text-align: center;
}
.footer-addresses {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-addr p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.6; }
.footer-addr a { color: rgba(255,255,255,0.85); }
.footer-addr a:hover { color: var(--white); }
.footer-links { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.9rem; padding: 0 0.5rem; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-times-grid { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr; }
  .leistung-intro-grid { grid-template-columns: 1fr; }
  .kontakt-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid-4 { grid-template-columns: 1fr 1fr; }
  .team-grid-2 { grid-template-columns: 1fr; max-width: 100%; }
  .leistungsliste { grid-template-columns: 1fr; }
  .footer-addresses { gap: 2rem; flex-direction: column; }

  /* Mobile Nav */
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 900;
    padding: 1rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { padding: 0.65rem 1rem; }
  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--green);
    margin-left: 1rem;
    display: flex !important;
    flex-direction: column;
  }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .team-grid-4 { grid-template-columns: 1fr; }
  .hero-slider { height: 260px; }
}
