/* ==========================================================================
   Site styles for chirovet-lange.de
   Part 1: the former assets/css/untitled*.css files, merged unchanged (same order).
           Dropped: the invalid rule ".navbar-collapse . {...}" from untitled-9.css (it never matched anything).
   Part 2: new components added in the SEO overhaul.
   ========================================================================== */

/* ---------- Part 1: former untitled*.css ---------- */

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 .2rem rgba(141,174,165,.5) !important;
}

.navbar-collapse .dropdown-toggle {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

/* .text-start stays Bootstrap's "align left". An older override forced it to center. */

.btn-primary {
  color: #111111;
  background-color: #d7ebe4;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #111111 !important;
  background-color: #b7d6ce !important;
  border-color: transparent !important;
}

.text-muted {
  color: #000000!important;
}

a:hover .nav-link:hover {
  color: #8daea5;
}

:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #8daea5;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #868e96;
  --bs-gray-dark: #343a40;
  --bs-primary: #8daea5;
  --bs-secondary: #868e96;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #8daea5;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #8daea5;
}

.text-primary {
  color: #8daea5 !important;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #8daea5;
}

/* ---------- Part 2: new components ---------- */

:root {
  --brand: #8daea5;
  --brand-light: #d7ebe4;
  --brand-dark: #4f7569;      /* readable on white (contrast >= 4.5) */
  --wa-green: #0e7c66;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

/* accessibility: skip link */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: #fff; color: #111; padding: 8px 14px; border-radius: 4px; box-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.skip-link:focus { top: 8px; }

/* real <img> replacing former CSS background columns */
.img-frame {
  position: relative; overflow: hidden; padding: 0 !important;
  min-height: 300px; box-shadow: 0 0 7px;
}
.img-frame > .img-cover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.img-frame.img-frame-sm { min-height: 250px; box-shadow: none; }
.img-frame.img-frame-tall { min-height: 380px; }
.img-fluid-rounded { border-radius: 4px; box-shadow: 0 0 7px rgba(0,0,0,.35); }

/* slider slides as real images */
.simple-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* responsive hero image (see assets/js/bs-init.js: reads the computed background) */
.masthead-home {
  background: url("../img/Tierarzt_Franziska_Lange_Chiropraktik_Rehabilitation_Mecklenburg_Vorpommern_Schleswig_Holstein-800.webp") left / cover no-repeat;
}
@media (min-width: 769px) {
  .masthead-home {
    background-image: url("../img/Tierarzt_Franziska_Lange_Chiropraktik_Rehabilitation_Mecklenburg_Vorpommern_Schleswig_Holstein.webp");
  }
}

/* readable inline links in content (default Bootstrap link colour is pale yellow on white) */
main p a:not(.btn), main li a:not(.btn), main td a:not(.btn), main .faq-answer a:not(.btn) {
  color: var(--brand-dark); text-decoration: underline;
}
main p a:not(.btn):hover, main li a:not(.btn):hover { color: #2f4f46; }
header.masthead p a:not(.btn) { color: #fff; }

/* one vertical rhythm: inner pages clear the fixed navbar, later sections share the same padding.
   Beats the agency rule "section { padding: 150px 0 }" from bootstrap.min.css. */
main > section { padding: 64px 0; }
main > :first-child:not(header) { padding-top: 130px !important; margin-top: 0 !important; }
body { overflow-x: hidden; }

/* page title is the largest heading; service headings stay smaller */
main h1:not(.hero-h1) { font-size: 2rem; line-height: 1.3; }
h2.section-heading, .section-heading.h2 { font-size: 1.6rem !important; line-height: 1.3; margin-bottom: .75rem; }

/* image columns use the grid gutter; extra margins were pushing them off the text edge */
.row > .img-frame { margin: 0 !important; }

/* tighter hero so headline + CTAs stay above the fold */
header.masthead.masthead-home .intro-text { padding-top: 130px; padding-bottom: 70px; }
@media (min-width: 768px) {
  header.masthead.masthead-home .intro-text { padding-top: 150px; padding-bottom: 90px; }
}

/* hero text + calls to action */
.hero-h1 {
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .06em; margin: 10px 0 8px; line-height: 1.25;
}
.hero-sub { color: #fff; font-size: clamp(.85rem, 1.8vw, 1.05rem); margin: 0 auto 18px; max-width: 760px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 8px; }
.hero-cta .btn { text-shadow: none; }

/* buttons */
.btn-whatsapp {
  background: var(--wa-green); color: #fff; border: none;
}
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #0a5f4e; color: #fff; }
.btn-outline-brand { border: 2px solid var(--brand); color: #111; background: #fff; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--brand-light); color: #111; }

/* own video-consultation banner (replaces the hot-linked HaustierDocs images) */
.video-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  background: #343a40; color: #fff; border-left: 6px solid var(--brand);
  border-radius: 6px; padding: 14px 20px; max-width: 760px; margin: 20px auto;
  text-align: left;
}
.video-banner .vb-icon { font-size: 2rem; color: var(--brand); }
.video-banner .vb-text { flex: 1 1 260px; }
.video-banner .vb-text strong { display: block; font-size: 1.05rem; }
.video-banner .vb-text span { font-size: .9rem; opacity: .9; }
.video-banner .btn { white-space: nowrap; }

/* section helpers */
.page-top { padding-top: 130px; }
.site-footer .footer-rule { height: 1px; background: var(--brand); margin: 8px 0 20px; }
.section-pad { padding: 50px 0; }
.rule { background: var(--brand); height: 1px; margin: 30px 0; }
.prose { max-width: 820px; margin: 0 auto; text-align: left; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { text-align: left; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.lead-center { max-width: 820px; margin: 0 auto; }
.breadcrumb-lite { font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb-lite a { color: var(--brand-dark); }

/* USP block */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 20px; }
.usp-card { background: #f8f9fa; border-top: 4px solid var(--brand); border-radius: 4px; padding: 18px; text-align: center; }
.usp-card .fa-stack { margin-bottom: 8px; }
.usp-card h3 { font-size: 1.05rem; margin: 6px 0; }
.usp-card p { margin: 0; font-size: .92rem; }

/* service area */
.area-chips { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.area-chips li { background: var(--brand-light); border-radius: 20px; padding: 4px 14px; font-size: .92rem; }
.area-chips li.is-range { background: #f1f3f5; font-style: italic; }

/* reviews */
.review-box { background: #f8f9fa; border-radius: 6px; padding: 24px; text-align: center; }
.review-box .stars { color: #e0a800; font-size: 1.4rem; letter-spacing: 3px; }
.review-box .btn { margin: 4px; }

/* cards for hub pages */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 24px 0; }
.card-link { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid #dee2e6; border-radius: 6px; overflow: hidden; height: 100%; transition: box-shadow .2s; }
.card-link:hover { box-shadow: 0 2px 12px rgba(0,0,0,.2); color: inherit; }
.card-link img { width: 100%; height: 190px; object-fit: cover; display: block; }
.card-link .card-body { padding: 16px; }
.card-link h2, .card-link h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-link p { margin: 0; font-size: .92rem; }

/* FAQ (native <details>, works without JavaScript) */
.faq details { border: 1px solid #dee2e6; border-radius: 6px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 18px; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--brand-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid #dee2e6; }
.faq .faq-answer { padding: 14px 18px; text-align: left; }
.faq .faq-answer p:last-child { margin-bottom: 0; }

/* symptom lists (collapse panels) */
.symptom-list { list-style: none; padding-left: 0; margin: 0; text-align: left; }
.symptom-list li::before { content: "\2022"; color: var(--brand-dark); margin-right: 8px; }

/* contact page */
.contact-card { background: #fff; border-radius: 6px; box-shadow: 0 0 8px rgba(0,0,0,.25); padding: 22px; height: 100%; text-align: left; }
.contact-card h2, .contact-card h3 { font-size: 1.2rem; }
.contact-card .btn { margin: 4px 4px 4px 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 12px; }
.contact-list li { margin: 6px 0; }
.contact-list i { width: 1.6em; color: var(--brand-dark); }

/* click-to-load map */
.map-consent {
  position: relative; min-height: 320px; background: #e9ecef center / cover no-repeat;
  border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
}
.map-consent .map-box { background: rgba(255,255,255,.95); border-radius: 6px; padding: 20px; max-width: 460px; box-shadow: 0 0 8px rgba(0,0,0,.3); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
.map-consent small { display: block; margin-top: 10px; color: #495057; }

/* footer */
.site-footer { padding: 10px 0 20px; }
.site-footer a { color: var(--brand-dark); }
.site-footer .footer-nap { font-size: .92rem; margin-bottom: 14px; }
.site-footer .footer-nap h2 { font-size: 1rem; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.site-footer .footer-nap ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-nap li { margin: 3px 0; }
.site-footer .quicklinks a { color: var(--brand-dark); }

/* floating WhatsApp button (desktop) and fixed action bar (phones) */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1030;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa-green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 30px; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.wa-float:hover, .wa-float:focus { background: #0a5f4e; color: #fff; }
.termin-float {
  position: fixed; right: 88px; bottom: 18px; z-index: 1030;
  height: 58px; padding: 0 16px; border-radius: 29px; background: var(--brand-dark); color: #fff;
  display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.termin-float:hover, .termin-float:focus { background: #3d5c52; color: #fff; }
.mobile-bar { display: none; }
@media (max-width: 767.98px) {
  .wa-float, .termin-float { display: none; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: #343a40; box-shadow: 0 -2px 8px rgba(0,0,0,.35);
  }
  .mobile-bar a {
    flex: 1 1 0; text-align: center; color: #fff; text-decoration: none; padding: 10px 4px 8px; font-size: .78rem; line-height: 1.2;
    border-right: 1px solid rgba(255,255,255,.15);
  }
  .mobile-bar a:last-child { border-right: none; }
  .mobile-bar a i { display: block; font-size: 1.25rem; margin-bottom: 2px; }
  .mobile-bar a.mb-wa { background: var(--wa-green); }
  body { padding-bottom: 62px; }
}

/* anchor targets below fixed header */
[id] { scroll-margin-top: 90px; }
