/* ==========================================================
   Rümpelbert – Startseite
   Stil: warm, handwerklich, vertrauensvoll
   ========================================================== */

:root {
  --green-deep: #4a3b2f;
  --green-mid: #c1652e;
  --green-light: #f2e6d8;
  --terracotta: #3f6b6f;
  --cream: #faf6ef;
  --text-dark: #2f2620;
  --text-muted: #6b5f52;
  --rose-bright: #ff3131;
  --rose-mid: #e0294a;
  --rose-deep: #a3122c;
  --rose-blush: #ffd9d9;
  --rose-core: #7a0f22;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(47, 44, 38, 0.08);
  --font-heading: 'Nunito', 'Segoe UI', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

/* <picture> ist nur ein Container für das WebP-Fallback und soll das
   Layout nicht beeinflussen – das <img> verhält sich wie ein direktes Kind. */
picture { display: contents; }

/* ---------- Barrierefreiheit ---------- */
/* Sprunglink: nur sichtbar, wenn er per Tab fokussiert wird */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--green-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* Sichtbarer Fokusrahmen für Tastaturbedienung */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 2px;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

#page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* min-width: 0 verhindert, dass main als Flex-Kind sich nicht unter die
   Breite seines breitesten Inhalts (z. B. SVG-Dekorationen mit
   overflow:visible) schrumpfen lässt – das war die eigentliche Ursache
   für den auf schmalen Bildschirmen nach rechts abgeschnittenen Inhalt. */
main { flex: 1; min-width: 0; }

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

a { color: inherit; }

/* ---------- Header ---------- */
.header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(47,44,38,0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.25s, color 0.25s;
}

.nav a:hover,
.nav a.active {
  background: var(--green-light);
  color: var(--green-deep);
}

/* ---------- Untermenü "Leistungen" ---------- */
.nav-item {
  position: relative;
  display: inline-flex;
}

.nav-caret {
  font-size: 0.7em;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.65;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 215px;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(47, 44, 38, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 120;
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  display: flex;
}

.nav-sub a {
  padding: 9px 12px;
  font-weight: 400;
  font-size: 0.94rem;
  white-space: nowrap;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--green-deep);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--cream);
  box-shadow: var(--shadow);
  width: 245px;
}

.mobile-nav a {
  padding: 14px 20px;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(47,44,38,0.06);
}

.mobile-nav a.mobile-sub {
  padding: 10px 20px 10px 36px;
  font-size: 0.92rem;
  color: var(--text-muted);
  background: rgba(47, 44, 38, 0.03);
}

.mobile-nav a.mobile-sub.active {
  color: var(--green-deep);
  font-weight: 600;
}

.mobile-nav.open { display: flex; }

/* ---------- Hero ----------
   Die Höhe wird nicht mehr fest vorgegeben, sondern richtet sich nach dem
   Overlay-Inhalt (min-height als Zielgröße). So kann der Titeltext auf
   schmalen Bildschirmen umbrechen, ohne dass er im festen Rahmen
   abgeschnitten wird – das Hintergrundbild (position: absolute) füllt
   automatisch die dadurch entstehende Höhe aus. */
.hero {
  position: relative;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

.hero-plain {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px 56px;
}

.hero-plain h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
  max-width: 780px;
  margin: 0 0 24px;
  line-height: 1.25;
}

.hero-plain p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green-deep);
  color: #fff;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.btn:hover {
  background: #63503f;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* ---------- Kurzvorstellung ---------- */
.intro {
  max-width: 1180px;
  margin: 70px auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  text-align: left;
}

.intro-portrait {
  max-width: 360px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.intro-text {
  max-width: 560px;
}

.intro h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.intro p {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.intro-phone {
  margin: 48px 0 0;
  text-align: center;
}

.intro-phone a {
  color: var(--rose-deep);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.intro-phone a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Vertrauens-Content (Startseite) ---------- */
.home-content {
  max-width: 780px;
  margin: 0 auto 70px;
  padding: 0 24px;
}

.home-content-inner h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.8rem;
  margin: 0 0 20px;
  line-height: 1.3;
}

.home-content-inner > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.home-content-block {
  margin-top: 32px;
}

.home-content-block h3 {
  font-family: var(--font-heading);
  color: var(--rose-deep);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.home-content-block p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 10px;
}

.home-content-closing {
  margin-top: 32px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* ---------- Übersichts-Galerie (Startseite) ---------- */
.nav-gallery {
  width: 100%;
  margin: 0 0 70px;
  padding: 32px 0;
  background: var(--green-light);
}

.nav-gallery-inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Lotus: interaktive Leistungsübersicht ---------- */
.lotus-section {
  max-width: 980px;
  margin: 32px auto 24px;
  padding: 14px 24px 8px;
  text-align: center;
  position: relative;
}

.lotus-section h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 560px;
  margin: 0 auto 0;
}

/* ---------- Dezente gemalte Randillustration neben der Blüte ----------
   Am echten Seitenrand des Fensters verankert (nicht an der 980px breiten
   Inhaltsspalte). Braucht dafür ein ausreichend breites Browserfenster –
   siehe Media Query unten, die sie sonst ausblendet statt zu überlappen. */
.lotus-section { overflow: visible; }

/* Zwischen 700px und 1200px: kleiner und näher an der Sektion selbst
   verankert (statt am Fensterrand), damit auch schmalere Bildschirme
   die Grafiken zeigen, ohne Überschrift/Blüte zu verdecken. */
@media (max-width: 1200px) and (min-width: 701px) {
  .lotus-side-art {
    width: 64px;
    top: 56px;
  }
  .lotus-side-art.left { left: 4px; }
  .lotus-side-art.right { right: 4px; }
}

/* Unter 700px reicht der Platz neben Überschrift und Blüte nicht mehr aus */
@media (max-width: 700px) {
  .lotus-side-art { display: none; }
}

.lotus {
  width: 100%;
  max-width: 640px;
  height: auto;
  overflow: visible;
}

/* ---------- Elegante Trennung zwischen Lotus und Galerie ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 320px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--green-mid), transparent);
}

.section-divider-ornament {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green-deep);
  transform: rotate(45deg);
}

/* Kompakte Variante: Lotus auf den Leistungs-Unterseiten, ohne Unterüberschrift, kleiner als auf der Leistungen-Seite */
.lotus-section.compact {
  max-width: 640px;
  margin: 40px auto 32px;
  padding: 0 24px;
}

.lotus-section.compact .lotus {
  width: 355px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.lotus-section.compact .lotus-panel {
  max-width: 380px;
  padding: 14px 22px;
  height: 130px;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.lotus-section.compact .lotus-stage {
  max-width: 380px;
  height: 180px;
}

.lotus-flower {
  transform-origin: 250px 330px;
}

.lotus.in-view .lotus-flower {
  animation: lotus-sway 6s ease-in-out 1.6s infinite;
}

@keyframes lotus-sway {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(1.2deg) scale(1.015); }
}

/* Äußere "Deckblätter": schmücken die Blüte aus, damit sie voller und wie ein echter
   aufblühender Lotus wirkt. Rein dekorativ, nicht klickbar. */
.lotus-guard-petals {
  pointer-events: none;
}

.guard-petal-group {
  transform: translate(250px, 330px) rotate(0deg) scale(0.12);
  transform-origin: 0 0;
  opacity: 0;
  transition: transform 1.1s cubic-bezier(.34, 1.2, .64, 1), opacity 0.8s ease;
  transition-delay: 0s;
}

.lotus.in-view .guard-petal-group {
  transform: translate(250px, 330px) rotate(var(--angle)) scale(1);
  opacity: 1;
  transition-delay: var(--delay);
}

.guard-petal {
  fill: var(--rose-blush);
  stroke: rgba(163, 18, 44, 0.18);
  stroke-width: 1.5;
}

/* Innere Blütenblätter: schaffen die eingerollte, geschichtete Mitte einer Rose. */
.lotus-inner-petals {
  pointer-events: none;
}

.inner-petal-group {
  transform: translate(250px, 330px) rotate(0deg) scale(0.1);
  transform-origin: 0 0;
  opacity: 0;
  transition: transform 1s cubic-bezier(.34, 1.2, .64, 1), opacity 0.7s ease;
  transition-delay: 0s;
}

.lotus.in-view .inner-petal-group {
  transform: translate(250px, 330px) rotate(var(--angle)) scale(0.62);
  opacity: 1;
  transition-delay: var(--delay);
}

.inner-petal {
  fill: var(--rose-core);
  stroke: rgba(122, 15, 34, 0.25);
  stroke-width: 1;
}

.petal-group {
  cursor: pointer;
  transform: translate(250px, 330px) rotate(0deg) scale(0.16);
  transform-origin: 0 0;
  opacity: 0.55;
  transition: transform 0.9s cubic-bezier(.34, 1.56, .64, 1), opacity 0.6s ease;
  transition-delay: 0s;
}

.lotus.in-view .petal-group {
  transform: translate(250px, 330px) rotate(var(--angle)) scale(1);
  opacity: 1;
  transition-delay: var(--delay);
}

.lotus.in-view .petal-group:hover,
.lotus.in-view .petal-group:focus {
  transform: translate(250px, 330px) rotate(var(--angle)) scale(1.07);
}

.petal-group:focus {
  outline: none;
}

.petal-group:focus .petal,
.petal-group:hover .petal {
  filter: brightness(1.1) drop-shadow(0 6px 10px rgba(47,44,38,0.18));
}

.petal-group:focus .petal-chip-label {
  stroke: var(--rose-deep);
}

.petal {
  transition: transform 0.3s ease, filter 0.3s ease;
  transform-origin: 0 0;
}

.petal-group.active .petal {
  transform: scale(1.1);
  filter: brightness(1.15) drop-shadow(0 6px 12px rgba(47,44,38,0.22));
}

.petal-group.pulse .petal {
  animation: petal-pulse 0.5s ease;
}

@keyframes petal-pulse {
  0%   { transform: scale(1.1); }
  40%  { transform: scale(1.22); }
  100% { transform: scale(1.1); }
}

.petal-1 .petal,
.petal-4 .petal { fill: var(--rose-deep); }

.petal-2 .petal { fill: var(--rose-bright); }

.petal-3 .petal { fill: var(--rose-mid); }

/* Blüten-Chips: Icon + Beschriftung, gegenrotiert damit sie aufrecht stehen */
.petal-chip {
  transition: transform 0.3s ease;
  pointer-events: none;
}

.petal-chip-1 { transform: translate(0px, -148px) rotate(54deg); }
.petal-chip-2 { transform: translate(0px, -148px) rotate(18deg); }
.petal-chip-3 { transform: translate(0px, -148px) rotate(-18deg); }
.petal-chip-4 { transform: translate(0px, -148px) rotate(-54deg); }

.petal-group.active .petal-chip-1 { transform: translate(0px, -152px) rotate(54deg) scale(1.08); }
.petal-group.active .petal-chip-2 { transform: translate(0px, -152px) rotate(18deg) scale(1.08); }
.petal-group.active .petal-chip-3 { transform: translate(0px, -152px) rotate(-18deg) scale(1.08); }
.petal-group.active .petal-chip-4 { transform: translate(0px, -152px) rotate(-54deg) scale(1.08); }

.petal-chip-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  fill: #fff;
  paint-order: stroke fill;
  stroke: rgba(47,44,38,0.35);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.lotus-center-group {
  cursor: pointer;
}

.lotus-center-group:focus {
  outline: none;
}

.lotus-center {
  fill: var(--rose-deep);
  transform: scale(0.16);
  transform-origin: 250px 330px;
  transition: transform 0.7s cubic-bezier(.34, 1.56, .64, 1) 0.55s, filter 0.25s ease;
}

.lotus.in-view .lotus-center {
  transform: scale(1);
}

.lotus-center-group:hover .lotus-center,
.lotus-center-group:focus .lotus-center {
  filter: brightness(1.2);
}

.lotus-center-icon {
  fill: var(--cream);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.4s ease 0.9s;
  pointer-events: none;
}

.lotus.in-view .lotus-center-icon {
  opacity: 1;
}

.lotus-panel {
  max-width: 540px;
  margin: 28px auto 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 26px 30px;
  height: 210px;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lotus-panel.updating {
  opacity: 0;
  transform: translateY(6px);
}

.lotus-panel .lotus-hint {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.lotus-panel h3 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.2rem;
  margin: 0;
}

.lotus-panel p {
  color: var(--text-muted);
  margin: 0 0 6px;
}

.lotus-panel .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.lotus-stage.visible {
  opacity: 1;
  background: #fff;
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.scene {
  display: none;
}

.bloom-1 .petal { fill: var(--terracotta); }
.bloom-2 .petal { fill: #d98fa0; }

@media (max-width: 900px) {
  .lawn-divider {
    height: auto;
    aspect-ratio: 1200 / 70;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grass-blade-anim { animation: none; }
}

@media (max-width: 740px) {
  .sunflower-meadow {
    height: auto;
    aspect-ratio: 700 / 150;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sunflower-group { animation: none; }
}

/* ---------- Leistungen ---------- */
/* ---------- Transporter wird beladen (Leistungsseite) ---------- */
.delivery-divider {
  max-width: 780px;
  margin: 8px auto 24px;
  padding: 0 24px;
}

/* Direkt nach der Grafik folgt der Kontaktblock – dort weniger Luft dazwischen.
   (Nötig, weil sonst die größere Oberkante des Kontaktblocks gewinnt.) */
.delivery-divider + .contact-cta {
  margin-top: 24px;
}

.delivery-svg {
  width: 100%;
  height: auto;
  display: block;
}

.vs-ground  { fill: rgba(47, 38, 32, 0.08); }
.vs-stripe  { fill: var(--rose-deep); }
.vs-cargo   { fill: #31261d; }
.vs-arch    { fill: #31261d; }
.vs-bumper  { fill: var(--text-dark); }
.vs-decal   { fill: var(--cream); }

.vs-cargo-box-a { fill: #c3b294; }
.vs-cargo-box-b { fill: #d3c6a8; }

.vs-box {
  fill: url(#vBox);
  stroke: #a3937a;
  stroke-width: 2;
}

.vs-tape {
  stroke: var(--rose-deep);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
}

.vs-tyre { fill: var(--text-dark); }
.vs-rim  { fill: #e8e2d6; }
.vs-hub  { fill: #9b9184; }

@media (max-width: 600px) {
  .delivery-divider { margin-bottom: 40px; }
}

.services-gallery {
  background: var(--green-light);
  margin: 0 0 80px;
  padding: 56px 24px 64px;
}

.services-gallery-inner {
  max-width: 700px;
  margin: 0 auto;
}

.gallery-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.9s ease;
  text-decoration: none;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide.gallery-slide-contain img {
  object-fit: contain;
  background: var(--cream);
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47,44,38,0) 40%, rgba(47,44,38,0.75) 100%);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb.gallery-thumb-contain img {
  object-fit: contain;
  background: var(--cream);
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--terracotta);
  transform: scale(1.06);
}

.services {
  width: 100%;
  margin: 0 0 80px;
  padding: 56px 0;
  background: var(--green-light);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.services h2 {
  font-family: var(--font-heading);
  text-align: center;
  color: var(--green-deep);
  font-size: 2rem;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover { transform: translateY(-4px); }

.service-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
  flex: 1;
}

.service-card a.link {
  color: var(--rose-deep);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: auto;
}

.service-card a.link:hover { text-decoration: underline; }

/* ---------- Trust-Signale ---------- */
.trust {
  background: var(--green-light);
  padding: 50px 24px;
}

.trust-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-item h3 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.trust-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Kundenstimmen ---------- */
.testimonials {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 10px;
  text-align: center;
}

.testimonials h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.8rem;
  margin: 0 0 36px;
}

.testimonial-stage {
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.testimonial-stars {
  color: var(--terracotta);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
  max-width: 620px;
  margin: 0 0 18px;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  color: var(--green-mid);
}

.testimonial-author {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--green-light);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.testimonial-dot.active {
  background: var(--terracotta);
  transform: scale(1.2);
}

.testimonial-dot:hover { background: var(--green-mid); }

@media (max-width: 600px) {
  .testimonials { padding: 44px 20px 6px; }
  .testimonial-quote { font-size: 1.1rem; }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--green-deep);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}

.mini-cta-banner {
  text-align: center;
  padding: 36px 24px;
  margin: 0 0 70px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Auf hellem Grund braucht der Outline-Button dunkle Kontur */
.mini-cta-banner .btn-outline,
.price-teaser .btn-outline {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.mini-cta-banner .btn-outline:hover,
.price-teaser .btn-outline:hover {
  background: rgba(74, 59, 47, 0.08);
}

/* ---------- Preis-Teaser auf der Startseite ---------- */
.price-teaser {
  max-width: 780px;
  margin: 0 auto 70px;
  padding: 36px 28px;
  background: var(--green-light);
  border-radius: var(--radius);
  text-align: center;
}

.price-teaser h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.price-teaser > p {
  color: var(--text-muted);
  margin: 0 auto 24px;
  max-width: 560px;
}

.price-teaser-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.price-teaser-figure {
  flex: 1 1 200px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 16px;
}

.price-teaser-figure strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--rose-deep);
  line-height: 1.1;
}

.price-teaser-figure span {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .price-teaser { padding: 28px 18px; }
  .mini-cta-banner .btn { width: 100%; }
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 14px;
}

.cta-banner p {
  max-width: 500px;
  margin: 0 auto 28px;
  opacity: 0.9;
}

/* ---------- Footer ---------- */
footer {
  background: var(--text-dark);
  color: #d9d5c9;
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
}

footer a {
  color: #d9d5c9;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover { color: #fff; }

/* ---------- Unterseiten: Layout ---------- */
.page-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.emergency {
  font-weight: 600;
  color: var(--rose-deep);
  white-space: nowrap;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}

.emergency-icon { margin-right: 4px; }

.emergency:hover,
.emergency:focus-visible {
  background: rgba(163, 18, 44, 0.08);
  text-decoration: underline;
}

/* ---------- Über uns ---------- */
.owner-section,
.team-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.team-section { flex-direction: row-reverse; }

.owner-img,
.team-img {
  width: 240px;
  height: 240px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

.owner-img {
  height: 210px;
  object-position: top;
}

.team-img {
  height: 360px;
}

.team-img-2 {
  width: 240px;
  height: 320px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

.owner-info h2,
.team-info h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.6rem;
  margin: 0 0 14px;
}

.owner-info p,
.team-info p {
  color: var(--text-muted);
  margin: 0 0 14px;
}

.owner-info p.team-tagline,
.team-info p.team-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: var(--rose-deep);
}

.cta-wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- Kontaktformular ---------- */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-header p { color: var(--text-muted); }

.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.form-container {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 560px;
  width: 100%;
}

.contact-illustration {
  width: 160px;
  align-self: flex-end;
  margin: 24px 0 0;
  text-align: center;
}

.contact-illustration img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.form-group { margin-bottom: 20px; }

/* Honeypot-Feld: für echte Nutzer unsichtbar, aber für Screenreader nicht im DOM-Fokusfluss */
.form-group.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(47,44,38,0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}

.contact-form .btn {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status.success {
  display: block;
  background: rgba(106, 143, 93, 0.15);
  color: var(--green-deep);
  border: 1px solid rgba(106, 143, 93, 0.4);
}

.form-status.error {
  display: block;
  background: rgba(200, 60, 60, 0.1);
  color: #b23a3a;
  border: 1px solid rgba(200, 60, 60, 0.3);
}

/* ---------- Rechtstexte (Impressum, Datenschutz, AGB) ---------- */
.privacy h1,
.impressum h1,
.page-container > h1 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 30px;
}

.privacy-section,
.impressum-section,
.page-container section {
  margin-bottom: 32px;
}

.privacy-section h2,
.impressum-section h2,
.page-container section h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.privacy-section p,
.privacy-section ul,
.impressum-section p,
.impressum-section ul,
.page-container section p {
  color: var(--text-muted);
}

.privacy-section a,
.impressum-section a,
.page-container section a {
  color: var(--terracotta);
}

/* ---------- FAQ ---------- */
.faq-header-container {
  text-align: center;
  max-width: 780px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.faq-header-container h1 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 2rem;
  margin-bottom: 10px;
}

.faq-header-container p { color: var(--text-muted); }

.search-container {
  max-width: 500px;
  margin: 24px auto;
  padding: 0 24px;
}

.search-container input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(47,44,38,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}

.results-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--green-deep);
}

#faq {
  max-width: 780px;
  margin: 20px auto 80px;
  padding: 0 24px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 24px;
  margin-bottom: 14px;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--green-deep);
  margin: 0;
  cursor: pointer;
}

.faq-answer {
  display: none;
  color: var(--text-muted);
  margin: 12px 0 0;
}

.faq-item.open .faq-answer { display: block; }

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 4px;
}

.faq-answer li:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--green-deep);
}

.faq-answer .btn {
  margin-top: 4px;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.highlight {
  background: var(--green-light);
  color: var(--green-deep);
  font-weight: 600;
}

/* ---------- Leistungs-Detailseiten (Accordion) ---------- */
.services-accordion {
  max-width: 780px;
  margin: 60px auto 0;
  padding: 0 24px 32px;
}

.services-accordion h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
}

.service-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px 24px;
  margin-bottom: 14px;
}

.service-item summary {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.1rem;
  padding: 16px 0;
  cursor: pointer;
}

.service-content p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* ---------- Bildergalerie auf den Leistungs-Unterseiten ----------
   Gleiche Technik wie .trust auf der Startseite: eine volle, andersfarbige
   Hintergrundfläche ("Farbblock"/Section-Band), die sich vom Seitenhintergrund
   abhebt und dadurch den Abschnitt sichtbar abtrennt. */
.page-gallery {
  background: var(--green-light);
  padding: 12px 24px 24px;
  text-align: center;
}

.page-gallery-inner {
  max-width: 560px;
  margin: 0 auto;
}

.page-gallery h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.service-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 32px;
}

.service-buttons .btn:not(.btn-outline) {
  color: #fff;
}

.service-buttons .btn-outline,
.cta-wrapper .btn-outline {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.service-buttons .btn-outline:hover,
.cta-wrapper .btn-outline:hover {
  background: rgba(74, 59, 47, 0.08);
}

@media (max-width: 720px) {
  .leaf-wood-divider {
    height: auto;
    aspect-ratio: 680 / 66;
  }
}

@media (max-width: 480px) {
  .leaf-wood-divider {
    margin: 40px auto 40px;
  }
}

/* ---------- Sanfte Einblend-Übergänge ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Cookie-Hinweis ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--text-dark);
  color: #f4f1e8;
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  max-width: 620px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.cookie-banner .btn-outline {
  border-color: #fff;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    justify-content: flex-start;
    text-align: left;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .hero-overlay { min-height: 520px; }
  .hero-overlay h1 { font-size: 2.2rem; }
  .hero-plain { padding: 56px 20px 44px; }
  .hero-plain h1 { font-size: 1.4rem; }
  .intro-portrait { max-width: 280px; }

  /* Anruf-Button: auf dem Handy der wichtigste Kontaktweg –
     als runder Button rechts neben dem Menü, Nummer ausgeblendet */
  .header-container { gap: 8px; padding: 12px 16px; }
  .logo-img { height: 46px; }

  .emergency {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    border-radius: 50%;
    background: var(--rose-deep);
    color: #fff;
    font-size: 1.25rem;
  }

  .emergency:hover,
  .emergency:focus-visible { background: var(--rose-core); color: #fff; }

  .emergency-icon { margin-right: 0; }
  .emergency-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .hamburger { order: 3; min-width: 44px; min-height: 44px; }
  .mobile-nav { top: 100%; }
  .owner-section,
  .team-section {
    flex-direction: column;
    text-align: center;
  }
  .owner-img,
  .team-img,
  .team-img-2 {
    width: 180px;
    height: 180px;
  }
  .owner-img {
    height: 158px;
  }
  .team-img {
    height: 270px;
  }
  .team-img-2 {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .hero-overlay { min-height: 440px; }
  .hero-overlay h1 { font-size: 1.8rem; }
  .hero-overlay p { font-size: 1rem; }
  .hero-plain h1 { font-size: 1.25rem; }
  .intro-portrait { max-width: 220px; }

  /* Feste Höhen der Lotus-Info-Panels aufweichen, damit längere Texte
     auf schmalen Displays nicht abgeschnitten werden */
  .lotus-section.compact .lotus-panel,
  .lotus-panel {
    height: auto;
    min-height: 130px;
  }
  .lotus-section.compact .lotus-stage,
  .lotus-stage {
    height: auto;
    min-height: 180px;
  }

  .form-container { padding: 24px 18px; }
}

/* ---------- Direkter Kontakt auf den Leistungsseiten ---------- */
.contact-cta {
  max-width: 780px;
  margin: 56px auto 40px;
  padding: 36px 28px;
  background: var(--green-light);
  border-radius: var(--radius);
  text-align: center;
}

.contact-cta h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.contact-cta p {
  color: var(--text-muted);
  margin: 0 auto 22px;
  max-width: 520px;
}

.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Anruf-Button in Braun wie die übrigen Buttons */
.contact-cta-phone {
  background: var(--green-deep);
  font-size: 1.05rem;
}

.contact-cta-phone:hover {
  background: #63503f;
}

.contact-cta .btn-outline {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.contact-cta .btn-outline:hover {
  background: rgba(74, 59, 47, 0.08);
}

.contact-cta-hours {
  margin: 20px 0 0 !important;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .contact-cta { padding: 28px 18px; }
  .contact-cta-actions .btn { width: 100%; }
}

/* ---------- Preisseite ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.price-intro {
  max-width: 780px;
  margin: 0 auto 48px;
}

.price-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.price-section {
  max-width: 780px;
  margin: 0 auto 56px;
}

.price-section h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.price-section h3 {
  font-family: var(--font-heading);
  color: var(--rose-deep);
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.price-section p { color: var(--text-muted); }

.price-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Hervorgehobene Grundpreise */
.price-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}

.price-highlight-item {
  flex: 1 1 260px;
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.price-highlight-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--rose-deep);
  line-height: 1.1;
}

.price-highlight-unit {
  display: block;
  font-weight: 600;
  color: var(--green-deep);
  margin: 4px 0 10px;
}

.price-highlight-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Preistabelle */
.price-table-wrap { overflow-x: auto; margin: 24px 0; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(47,44,38,0.08);
  font-size: 0.98rem;
}

.price-table thead th {
  background: var(--green-deep);
  color: #fff;
  font-weight: 600;
}

.price-table tbody th {
  font-weight: 600;
  color: var(--text-dark);
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: none; }

.price-table tbody tr:hover { background: var(--cream); }

/* Beispielrechnung */
.price-example-box {
  background: var(--green-light);
  border-left: 4px solid var(--rose-deep);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0 0;
}

.price-example-box p { margin: 0 0 12px; }
.price-example-box p:last-child { margin-bottom: 0; }

.price-example-calc {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--green-deep) !important;
  padding: 12px 0;
}

.price-example-calc strong { color: var(--rose-deep); }

/* Preisfaktoren */
.price-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.price-factor p { margin: 0; font-size: 0.98rem; }

/* Listen und Ablauf */
.price-list, .price-steps {
  color: var(--text-muted);
  padding-left: 22px;
}

.price-list li, .price-steps li { margin-bottom: 10px; }
.price-steps strong { color: var(--text-dark); }

.price-sources {
  max-width: 780px;
  margin: 0 auto 60px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(47,44,38,0.1);
  padding-top: 16px;
}

@media (max-width: 600px) {
  .price-highlight-value { font-size: 2.2rem; }

  /* Die vierspaltige Tabelle wird auf dem Handy zu gestapelten Karten,
     damit niemand seitwärts scrollen muss, um den Festpreis zu sehen. */
  .price-table-wrap { overflow-x: visible; margin: 20px 0; }

  .price-table {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    display: block;
  }

  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .price-table tbody { display: block; }

  .price-table tbody tr {
    display: block;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    padding: 4px 18px 12px;
  }

  .price-table tbody tr:hover { background: #fff; }

  .price-table tbody th {
    display: block;
    font-size: 1.05rem;
    padding: 14px 0 10px;
    border-bottom: 1px solid rgba(47, 44, 38, 0.12);
  }

  .price-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 9px 0;
    border-bottom: none;
    font-size: 0.95rem;
    text-align: right;
  }

  .price-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    text-align: left;
  }

  .price-table tbody td:last-child {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(47, 44, 38, 0.12);
    font-size: 1.05rem;
    color: var(--green-deep);
  }
}

/* ---------- Ausführliche Abschnitte auf den Leistungsseiten ---------- */
.detail-section {
  max-width: 780px;
  margin: 0 auto 48px;
}

.detail-section h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 24px;
}

.detail-section h3 {
  font-family: var(--font-heading);
  color: var(--rose-deep);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.detail-section p {
  color: var(--text-muted);
  margin: 0;
}

/* Einleitungstext vor den Boxen: mehr Luft nach unten */
.detail-section > p {
  margin-bottom: 40px;
}

/* Erster Abschnitt unter der Hero-Section: etwas mehr Abstand nach oben */
main > .detail-section:first-child {
  margin-top: 60px;
}

@media (max-width: 600px) {
  main > .detail-section:first-child { margin-top: 40px; }
}

/* Nummerierter Ablauf */
.detail-steps {
  list-style: none;
  counter-reset: schritt;
  padding: 0;
  margin: 0;
}

.detail-steps li {
  counter-increment: schritt;
  position: relative;
  padding: 0 0 22px 52px;
  border-left: 2px solid var(--green-light);
  margin-left: 15px;
}

.detail-steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.detail-steps li::before {
  content: counter(schritt);
  position: absolute;
  left: -16px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rose-deep);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Typische Fälle: immer zwei Boxen nebeneinander */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.detail-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

/* Bei ungerader Anzahl füllt die letzte Box die ganze Breite,
   damit die Reihe nicht halb leer wirkt. */
.detail-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.detail-card p { font-size: 0.96rem; }

@media (max-width: 620px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 600px) {
  .detail-steps li { padding-left: 42px; }
}

/* ---------- Preisseite: zweiteiliger Festpreis ---------- */
.price-highlight-badge {
  display: inline-block;
  background: var(--rose-deep);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Pluszeichen zwischen den beiden Posten */
.price-highlight-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-deep);
  flex: 0 0 auto;
}

/* Formelzeile Entsorgung + Arbeit = Festpreis */
.price-formula {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--green-deep) !important;
  background: var(--cream);
  border: 2px dashed rgba(74, 59, 47, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0 !important;
}

.price-formula strong { color: var(--rose-deep); }

.price-formula span {
  color: var(--rose-deep);
  font-weight: 700;
  margin: 0 6px;
}

/* Beispielrechnung mit zwei Zeilen */
.calc-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 6px;
}

.calc-sum {
  display: inline-block;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 2px solid rgba(74, 59, 47, 0.25);
}

@media (max-width: 700px) {
  .price-highlight-plus { padding: 4px 0; }
  .price-formula { font-size: 1rem; }
}

/* ---------- Kontaktdaten auf der Kontaktseite ---------- */
.contact-details {
  max-width: 780px;
  margin: 0 auto 48px;
}

.contact-details h2 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 28px;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-detail {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.contact-detail h3 {
  font-family: var(--font-heading);
  color: var(--rose-deep);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.contact-detail p {
  margin: 0 0 6px;
  color: var(--text-dark);
}

.contact-detail a {
  color: var(--rose-deep);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-detail a:hover { text-decoration: underline; }

.contact-detail-note {
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

@media (max-width: 620px) {
  .contact-details-grid { grid-template-columns: 1fr; }
}

/* Hinweis unter den Preis-Kennzahlen auf der Startseite */
.price-teaser-note {
  max-width: 560px;
  margin: 0 auto 24px !important;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================
   Mobile Feinschliff
   ========================================================== */

/* Sprungziele nicht unter dem klebenden Header verstecken */
:target,
[id] { scroll-margin-top: 90px; }

@media (max-width: 768px) {
  /* Fußzeile: Links als Liste statt gedrängt nebeneinander */
  footer { padding: 22px 16px 28px; }

  footer a {
    display: inline-block;
    margin: 0;
    padding: 10px 14px;
  }

  /* Mobilmenü: jeder Eintrag mindestens 48px hoch */
  .mobile-nav a { padding: 15px 20px; }
  .mobile-nav a.mobile-sub { padding: 13px 20px 13px 36px; }

  /* Ausklappbare Fragen bequemer treffen */
  .service-item summary { padding: 18px 0; }

  /* Kein blauer Kasten beim Antippen */
  a, button, summary { -webkit-tap-highlight-color: rgba(163, 18, 44, 0.12); }
}

@media (max-width: 820px) {
  /* Fließtext klebte bisher am Bildschirmrand – alle Inhaltsspalten
     bekommen auf schmalen Geräten einen Seitenabstand. */
  .detail-section,
  .price-section,
  .price-intro,
  .price-sources,
  .contact-details {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 600px) {
  .services-gallery { padding: 40px 16px 46px; }
  .price-highlight { gap: 14px; }
  .price-highlight-item { padding: 22px 18px; }
}

@media (max-width: 400px) {
  /* Sehr schmale Geräte: Logo und Vorschaubilder etwas kleiner */
  .logo-img { height: 40px; }
  .gallery-thumb { width: 62px; height: 62px; }
  .gallery-thumbs { gap: 10px; }
  .hero-plain { padding: 44px 16px 36px; }
  .hero-plain h1 { font-size: 1.25rem; }
  .detail-card { padding: 20px 16px; }
  .price-table tbody tr { padding: 4px 14px 12px; }
  .contact-cta { padding: 24px 14px; }
}
