/* ==========================================================================
   Bettenland Weißenfels – statischer Neuaufbau
   Masterlayout: FireShot Capture 074–078 (Desktop 1920 px)
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-var.woff") format("woff");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
/* Ersatz für Tahoma auf Geräten ohne Tahoma (Android, iOS, Linux).
   size-adjust gleicht die Laufweite an Tahoma an, damit Umbrüche identisch bleiben. */
@font-face {
  font-family: "Tahoma Ersatz";
  src: url("../fonts/dejavu-sans-condensed.woff") format("woff");
  font-weight: 400;
  font-display: swap;
  size-adjust: 97%;
}
@font-face {
  font-family: "Tahoma Ersatz";
  src: url("../fonts/dejavu-sans-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
  size-adjust: 97%;
}

:root {
  --braun: #74371a;
  --braun-hell: #7b4226;
  --grau-bg: #edebec;
  --grau-box: #727272;
  --text: #333333;
  --stern: #efad4d;
  --marker: #f0a815;
  --link: #cc3366;          /* Theme-Standardfarbe des Originals (siehe Analyse) */
  --container: 987px;
  --font-head: "Roboto", Arial, sans-serif;
  --font-text: Tahoma, "Tahoma Ersatz", Verdana, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--link); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 .9rem; }
ul { margin: 0; }
.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--braun); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--marker); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header { background: #fff; height: 97px; position: relative; z-index: 5; }
.site-header .container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.logo { display: block; width: 159px; margin-top: -1px; }
.logo img { width: 159px; height: auto; }
.social {
  display: flex; justify-content: center; gap: 5px;
  padding-left: 9px;
}
.social a {
  width: 43px; height: 43px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 21px; transition: opacity .2s;
}
.social a:hover { opacity: .9; }
.social .fb { background: #3b5998; }
.social .ig { background: #262626; }

/* ---------- Slider ---------- */
.hero {
  position: relative;
  height: 533px;
  overflow: hidden;
  background: #3a3a3a;
}
.hero .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero .slide.is-active { opacity: 1; z-index: 1; }
.hero .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero .slide-heading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0 60px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 65px; line-height: 1;
  font-weight: 500;
  text-align: center;
  pointer-events: none;
}
.hero .slide-heading span { transform: translateY(4px); }
/* Slide IV: Öffnungszeiten als echter Text auf der retuschierten Rostfläche.
   Die Fläche ist 23,9 % der Bildbreite; das Bild füllt ab 768 px die volle Breite. */
.hero .slide-info {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 2;
  width: 23.9vw;
  display: flex; align-items: center; justify-content: center;
  padding: 0 1.2vw 0 calc(38px + .4vw);
  color: #fff; text-align: center;
  font-family: var(--font-head);
  text-shadow: 0 1px 3px rgba(40, 14, 2, .55);
  --s: .05208vw;                      /* 1 Einheit = 1 px bei 1920 px Breite */
}
.slide-info-inner { display: flex; flex-direction: column; align-items: center; gap: calc(17.5 * var(--s)); }
.slide-info p { margin: 0; }
.si-title { font-size: calc(40 * var(--s)); font-weight: 500; letter-spacing: .01em; line-height: 1.1; }
.si-hours { margin: 0; display: grid; grid-template-columns: auto auto; column-gap: calc(17.5 * var(--s)); row-gap: calc(5.0 * var(--s)); align-items: baseline; font-size: calc(30 * var(--s)); line-height: 1.25; }
.si-hours dt { text-align: right; font-weight: 300; }
.si-hours dd { margin: 0; text-align: left; font-weight: 500; white-space: nowrap; }
.si-hours dt { white-space: nowrap; }
.si-rule { width: calc(56 * var(--s)); height: 2px; background: rgba(255,255,255,.55); border-radius: 1px; box-shadow: 0 1px 2px rgba(40,14,2,.35); }
.si-addr { font-size: calc(29 * var(--s)); font-weight: 400; line-height: 1.3; }
.si-tel { font-size: calc(30 * var(--s)); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.si-tel a { color: #fff; text-decoration: none; pointer-events: auto; }
.si-tel a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-nav {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  width: 44px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(255,255,255,.5);
}
.hero-nav svg { width: 22px; height: 39px; fill: none; stroke: currentColor; stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-nav.prev { left: 12px; }
.hero-nav.next { right: 12px; }
.hero-nav:hover { color: rgba(255,255,255,.85); }

/* ---------- Intro ---------- */
.intro { background: var(--grau-bg); padding: 70px 0 27px; position: relative; }
.intro .container {
  display: grid;
  grid-template-columns: 650px 1fr;
  align-items: start;
}
.intro h1 {
  font-family: var(--font-head);
  font-size: 35px; line-height: 1;
  color: var(--braun);
  margin: 0 0 21px;
  padding-right: 10px;
}
.intro ul { padding-left: 35px; line-height: 1.53; }
.intro ul strong { font-weight: 400; }
.intro .badge {
  justify-self: end;
  width: 254px;
  margin: 1px 7px 0 0;
  transition: transform .3s;
}
.intro .badge:hover { transform: rotate(4deg); }

/* ---------- Leistungen ---------- */
.leistungen { position: relative; padding: 50px 0 0; }
.leistungen::before {             /* Pfeil-Formteiler aus dem Original */
  content: ""; position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  border-left: 38px solid transparent;
  border-right: 38px solid transparent;
  border-top: 27px solid var(--grau-bg);
}
.leistungen h2, .bewertungen h2 {
  font-family: var(--font-text);
  color: var(--braun);
  text-align: center;
}
.leistungen h2 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.check-cols { display: grid; grid-template-columns: 1fr 1fr; }
.check-list { list-style: none; padding: 0 0 0 10px; margin: 0; }
.check-cols .check-list:last-child { padding-left: 13px; }
.check-list li {
  display: flex; align-items: center;
  height: 44px;
}
.check-list .icon { font-size: 24px; color: var(--braun); margin-right: 12px; }

/* ---------- Passion ---------- */
.passion { padding: 98px 0 51px; text-align: center; }
.passion h3 {
  font-family: var(--font-text);
  font-size: 38px; line-height: 1.2;
  color: var(--braun);
}
.highlight { position: relative; display: inline-block; }
.highlight svg {
  position: absolute; top: 50%; left: 50%;
  width: calc(100% + 20px); height: calc(100% + 20px);
  transform: translate(-50%, -50%);
  overflow: visible; pointer-events: none;
}
.highlight path {
  fill: none; stroke: var(--marker); stroke-width: 9;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1500; stroke-dashoffset: 0;
}
.highlight.is-drawing path { animation: drawCircle 1.2s ease forwards; }
@keyframes drawCircle { from { stroke-dashoffset: 1500; } to { stroke-dashoffset: 0; } }

/* ---------- Bewertungen ---------- */
.bewertungen { background: var(--grau-bg); padding: 35px 0 55px; }
.stars { display: flex; color: var(--stern); }
.stars .icon { width: 1.125em; }
.stars-big { justify-content: center; font-size: 33px; gap: 3px; margin-bottom: 25px; }
.bewertungen h2 { font-size: 24px; line-height: 1.2; margin-bottom: 42px; }
.reviews { display: grid; grid-template-columns: 1fr 1fr; row-gap: 34px; }
.review { padding-right: 10px; }
.review:nth-child(even) { padding: 0 0 0 13px; }
.review .stars { font-size: 11.5px; gap: 3.5px; margin-bottom: 7px; }
.review p { margin: 0; line-height: 1.5; }

/* ---------- Kontakt-Boxen ---------- */
.kontakt { padding: 73px 0 0; }
.kontakt .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.k-box {
  position: relative;
  background: var(--grau-box);
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 300;
  min-height: 241px;
  padding: 27px 12px 20px;
}
.k-box .k-icon {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -50%);
  width: 47px; height: 47px; border-radius: 50%;
  margin-top: -3px;
  background: var(--braun);
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
}
.k-box .k-title {
  font-size: 21px; line-height: 32px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  margin: 0 0 10px;
}
.k-box .k-title a { color: inherit; text-decoration: inherit; text-underline-offset: inherit; }
.k-box .k-text { font-size: 17px; line-height: 22px; margin: 0; }
.k-box .k-text a { color: #fff; text-decoration: none; }
.k-box .k-text a:hover { text-decoration: underline; }

/* ---------- Stadt-Link ---------- */
.stadt { padding: 78px 0 75px; }
.stadt h2 { font-family: var(--font-head); font-size: 34.4px; line-height: 1.2; }
.stadt a {
  color: var(--braun);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ---------- Karte ---------- */
.karte { padding: 0 9px 9px; }
.karte-inner { position: relative; }
.karte img { width: 100%; height: auto; }
.maps-btn {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 13px;
  background: var(--braun);
  color: #fff;
  font-family: var(--font-text);
  font-size: 16px; line-height: 1;
  padding: 11px 9px 11px 9px;
  height: 38px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.maps-btn .icon { font-size: 15px; }
.maps-btn:hover { background: #8a4a2b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grau-box); color: #fff; }
.site-footer .container {
  max-width: 1002px;
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-footer p { margin: 0; }
.footer-nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.footer-nav a {
  position: relative;
  display: block;
  color: #fff; text-decoration: none;
  padding: 0 18px;
  line-height: 48px;
}
.footer-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--braun);
  opacity: 0; transition: opacity .2s;
}
.footer-nav a:hover::after, .footer-nav a[aria-current="page"]::after { opacity: 1; }

/* ---------- Kontakt-Lasche ---------- */
.contact-bar { background: #ebe9ea; height: 64px; display: flex; justify-content: center; align-items: flex-end; padding-top: 2px; }
.contact-tab {
  width: 282px; height: 60px;
  background: var(--braun);
  border-radius: 15px 15px 0 0;
  display: flex; align-items: center; justify-content: center; gap: 15px;
  padding-right: 18px;
}
.contact-tab a {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-size: 15px;
}
.contact-tab .icon { font-size: 25px; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page-banner {
  background: var(--braun);
  height: 141px;
  display: flex; align-items: center; justify-content: center;
}
.page-banner h1 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 52px; line-height: 1;
  transform: translateY(1px);
}
.page-content { padding: 69px 0 6px; }
.page-content h2 {
  font-family: var(--font-text);
  color: var(--braun);
  font-size: 36px; line-height: 1.2;
  margin: 0 0 13px;
}
.page-content h3 {
  font-family: var(--font-text);
  color: var(--braun);
  font-size: 22px; line-height: 1.3;
  margin: 2.1rem 0 .7rem;
}
.page-content h4 { font-weight: 700; font-size: 15px; margin: 1.4rem 0 .4rem; }
.page-content ul { padding-left: 35px; margin: 0 0 .9rem; }
.page-content a { color: var(--braun); word-break: break-word; }
.legal { padding-bottom: 50px; }
.legal p, .legal li { max-width: 860px; }

/* ---------- Einblend-Animationen (nur mit JS, respektiert reduzierte Bewegung) ---------- */
.js [data-anim] { opacity: 0; }
.js [data-anim].is-in { animation-duration: .9s; animation-fill-mode: both; }
.js [data-anim="fadeInUp"].is-in { animation-name: fadeInUp; }
.js [data-anim="fadeInLeft"].is-in { animation-name: fadeInLeft; }
.js [data-anim="fadeInDown"].is-in { animation-name: fadeInDown; }
.js [data-anim="rotateIn"].is-in { animation-name: rotateInDownLeft; }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -40px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rotateInDownLeft { from { opacity: 0; transform: rotate(-45deg); transform-origin: left bottom; } to { opacity: 1; transform: none; transform-origin: left bottom; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-anim] { opacity: 1 !important; animation: none !important; }
  .hero .slide { transition: none; }
  .highlight.is-drawing path { animation: none; }
}

/* Slide IV unter 1600 px: Infos als braune Karte, damit Pfeile und Text sich nicht berühren */
@media (max-width: 1599px) {
  .hero .slide-info { width: auto; left: 60px; top: 50%; bottom: auto; transform: translateY(-50%);
    padding: 18px 26px; border-radius: 6px; background: rgba(116, 55, 26, .92); --s: .66px; }
}
@media (max-width: 1100px) { .hero .slide-info { --s: .56px; padding: 16px 22px; } }

/* ==========================================================================
   Responsive (das Masterlayout zeigt nur Desktop – Tablet/Handy abgeleitet)
   ========================================================================== */
@media (max-width: 1020px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .intro .container { grid-template-columns: 1fr 220px; }
  .intro .badge { width: 220px; margin-right: 0; }
  .site-footer .container { padding-right: 0; }
}
@media (max-width: 1024px) {
  .hero { height: 420px; }
  .hero .slide-heading { font-size: 52px; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .site-header { height: 76px; }
  .logo, .logo img { width: 124px; }
  .social { justify-content: flex-end; padding-left: 0; }
  .social a { width: 38px; height: 38px; font-size: 19px; }
  .hero { height: 300px; }
  .hero .slide-heading { font-size: 34px; padding: 0 48px; }
  .hero-nav { width: 36px; }
  .hero .slide-info { left: 44px; --s: .5px; }
  .intro { padding: 44px 0 40px; }
  .intro .container { grid-template-columns: 1fr; }
  .intro h1 { font-size: 27px; line-height: 1.15; padding-right: 0; }
  .intro .badge { justify-self: center; width: 200px; margin: 28px 0 0; }
  .leistungen { padding-top: 46px; }
  .leistungen h2 { font-size: 24px; }
  .check-cols { grid-template-columns: 1fr; }
  .check-cols .check-list:last-child { padding-left: 10px; }
  .passion { padding: 48px 0 40px; }
  .passion h3 { font-size: 28px; }
  .reviews { grid-template-columns: 1fr; row-gap: 26px; }
  .review, .review:nth-child(even) { padding: 0; }
  .kontakt { padding-top: 50px; }
  .kontakt .container { grid-template-columns: 1fr; row-gap: 44px; }
  .k-box { min-height: 0; padding-bottom: 28px; }
  .stadt { padding: 52px 0 48px; }
  .stadt h2 { font-size: 24px; }
  .karte { padding: 0; }
  .karte-inner { aspect-ratio: 4 / 3; overflow: hidden; }
  .karte img { height: 100%; object-fit: cover; }
  .site-footer .container { flex-direction: column; height: auto; padding-top: 14px; text-align: center; }
  .footer-nav a { line-height: 44px; }
  /* Kontakt-Lasche auf dem Handy am unteren Rand fixieren (Anruf mit einem Tipp) */
  .contact-bar { position: sticky; bottom: 0; z-index: 20; background: transparent; height: 56px; pointer-events: none; }
  .contact-tab { pointer-events: auto; height: 54px; box-shadow: 0 -2px 10px rgba(0,0,0,.18); }
  .page-banner { height: 110px; }
  .page-banner h1 { font-size: 38px; }
  .page-content { padding-top: 44px; }
  .page-content h2 { font-size: 28px; }
}
