/* ============================================================
   MM Großküchentechnik – style.css
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --color-brand-dark:  #0A0851;
  --color-brand-mid:   #1A2070;
  --color-brand-red:   #F7100A;
  --color-brand-red-d: #C50D08;
  --color-bg-light:    #F0F2F8;
  --color-bg-white:    #FFFFFF;
  --color-text-dark:   #0F0E2A;
  --color-text-mid:    #4A5068;
  --color-border:      #D8DCF0;
  --gradient-hero:     linear-gradient(135deg, #0A0851 0%, #1A2070 60%, #0D1460 100%);
  --gradient-cta:      linear-gradient(135deg, #F7100A 0%, #C50D08 100%);
  --shadow-sm:  0 1px 3px rgba(10,8,81,.08);
  --shadow-md:  0 4px 16px rgba(10,8,81,.10);
  --shadow-lg:  0 8px 32px rgba(10,8,81,.14);
  --shadow-cta: 0 4px 20px rgba(247,16,10,.30);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --nav-h:     72px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
  --color-whatsapp:   #25D366;
  --color-whatsapp-d: #1DA851;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Accessibility ----------------------------------------- */
:focus-visible {
  outline: 3px solid var(--color-brand-red);
  outline-offset: 3px;
}
.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;
}

/* --- Utility ---------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.section-pad { padding: var(--space-xl) 0; }
@media (min-width: 900px) { .section-pad { padding: var(--space-2xl) 0; } }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-brand-red);
  margin-bottom: var(--space-xs);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-brand-dark);
  margin-bottom: var(--space-sm);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-mid);
  max-width: 560px;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(247,16,10,.40); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline {
  border: 2px solid var(--color-brand-dark);
  color: var(--color-brand-dark);
}
.btn-outline:hover { background: var(--color-brand-dark); color: #fff; }
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.30);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,.45); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}
#nav.scrolled {
  background: var(--color-bg-white);
  box-shadow: var(--shadow-lg);
}
#nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo img {
  height: 52px;
  width: auto;
}
.nav-logo-dark { display: none; }
.nav-logo-light { display: block; }
#nav.scrolled .nav-logo-dark  { display: block; }
#nav.scrolled .nav-logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-brand-red);
  transition: width .25s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
#nav.scrolled .nav-links a { color: var(--color-text-mid); }
#nav.scrolled .nav-links a:hover,
#nav.scrolled .nav-links a.active { color: var(--color-brand-dark); }

.nav-cta {
  padding: 9px 20px;
  font-size: .875rem;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#nav.scrolled .nav-burger span { background: var(--color-brand-dark); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-brand-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  transition: color .2s;
}
.nav-mobile-overlay a:hover { color: var(--color-brand-red); }

@media (max-width: 899px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(247,16,10,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
#hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-left: max(0px, calc((100% - 1160px) / 4));
  margin-right: auto;
}
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(247,16,10,.15);
  border: 1px solid rgba(247,16,10,.3);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--color-brand-red);
  border-radius: 50%;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.hero-title span { color: var(--color-brand-red); }
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.72);
  margin-bottom: var(--space-lg);
  max-width: 540px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.hero-usps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: -1rem;
}
@media (min-width: 900px) {
  .hero-usps { flex-wrap: nowrap; gap: 1.8rem; }
}
.hero-usp {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
}
.hero-usp svg { flex-shrink: 0; color: var(--color-brand-red); width: 26px; height: 26px; }

/* Hero slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    transparent 32%,
    rgba(0,0,0,.48) 54%,
    rgba(0,0,0,.48) 100%
  );
  mask-image: linear-gradient(to right,
    transparent 0%,
    transparent 32%,
    rgba(0,0,0,.48) 54%,
    rgba(0,0,0,.48) 100%
  );
}
@media (max-width: 767px) {
  .hero-slideshow {
    -webkit-mask-image: linear-gradient(to bottom,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.18) 100%
    );
    mask-image: linear-gradient(to bottom,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.18) 100%
    );
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  animation: hero-zoom 7s ease-out forwards;
  animation-play-state: paused;
}
.hero-slide.active img {
  animation-play-state: running;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}


/* ============================================================
   ÜBER UNS
   ============================================================ */
#ueber-uns { background: var(--color-bg-white); }
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .ueber-grid { grid-template-columns: 1fr 1fr; }
}
.ueber-image-wrap {
  position: relative;
}
.ueber-image-box {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ueber-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ueber-accent-card {
  position: absolute;
  bottom: -var(--space-sm);
  right: -var(--space-sm);
  background: var(--color-brand-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  bottom: var(--space-md);
  right: var(--space-md);
}
.ueber-accent-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-brand-red);
  line-height: 1;
}
.ueber-accent-text { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: 2px; }

.ueber-text .section-sub { max-width: 100%; }

/* 2×2 Kacheln unter dem Bild/Text-Grid */
.ueber-kacheln {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.ueber-kachel {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: var(--space-md);
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-brand-red);
}
.ueber-kachel-kunden { align-items: flex-start; }
.ueber-kachel-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--color-brand-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ueber-kachel-body {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.ueber-kachel-body strong {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-brand-dark);
}
.ueber-kachel-body span {
  font-size: .82rem;
  color: var(--color-text-mid);
}
@media (max-width: 599px) {
  .ueber-kacheln { grid-template-columns: 1fr; }
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
#leistungen { background: var(--color-bg-light); }
.leistungen-header { margin-bottom: var(--space-xl); }
.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px)  { .leistungen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .leistungen-grid { grid-template-columns: repeat(3, 1fr); } }

.leistung-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.leistung-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.leistung-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  line-height: 1.2;
}
.leistung-desc {
  font-size: .9rem;
  color: var(--color-text-mid);
  line-height: 1.6;
  flex: 1;
}

.leistungen-anfahrt {
  margin-top: var(--space-xl);
  background: var(--color-brand-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.anfahrt-text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}
.anfahrt-text span { font-size: .9rem; color: rgba(255,255,255,.65); }
.anfahrt-badge {
  background: var(--gradient-cta);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-cta);
  text-align: center;
  white-space: nowrap;
}

/* ============================================================
   REFERENZEN
   ============================================================ */
#referenzen { background: var(--color-bg-white); }
.referenzen-header { margin-bottom: var(--space-xl); }

/* Masonry via CSS columns */
.referenzen-masonry {
  columns: 2;
  column-gap: var(--space-md);
}
@media (min-width: 600px)  { .referenzen-masonry { columns: 3; } }
@media (min-width: 1000px) { .referenzen-masonry { columns: 4; } }

.ref-card {
  break-inside: avoid;
  display: block;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  background: var(--color-bg-light);
}
.ref-card:hover,
.ref-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  outline: 2px solid var(--color-brand-dark);
  outline-offset: 2px;
}
.ref-card picture { display: block; }
.ref-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .4s;
}
.ref-card:hover img,
.ref-card:focus-visible img { transform: scale(1.04); }

/* Lightbox – image-only with prev/next */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,4,40,.96);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  backdrop-filter: blur(6px);
}
#lightbox.open { display: flex; }
#lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox-inner picture { display: block; width: 100%; }
#lightbox img {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}
#lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s;
  z-index: 2001;
}
#lightbox-close:hover { background: var(--color-brand-red); }
#lightbox-prev,
#lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s;
  z-index: 2001;
}
#lightbox-prev { left: 1rem; }
#lightbox-next { right: 1rem; }
#lightbox-prev:hover,
#lightbox-next:hover { background: rgba(255,255,255,.28); }
@media (max-width: 600px) {
  #lightbox { padding: 3rem 1rem; }
  #lightbox-prev { left: .25rem; }
  #lightbox-next { right: .25rem; }
}

/* ============================================================
   PARTNER
   ============================================================ */
#partner { background: var(--color-bg-light); }
.partner-header { margin-bottom: var(--space-xl); }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
@media (min-width: 500px)  { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px)  { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .partner-grid { grid-template-columns: repeat(5, 1fr); } }

.partner-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 80px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  color: var(--color-text-mid);
  font-size: .8rem;
  font-weight: 600;
}
.partner-card:hover {
  border-color: var(--color-brand-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-brand-dark);
}
.partner-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-brand-dark);
}
.partner-domain {
  font-size: .72rem;
  color: var(--color-text-mid);
  margin-top: 1px;
}

/* ============================================================
   KONTAKT
   ============================================================ */
#kontakt { background: var(--color-bg-white); }

/* Contact info */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 599px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}
.kontakt-info-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
}
.kontakt-entry {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.kontakt-entry:last-child { border-bottom: none; padding-bottom: 0; }
.kontakt-entry svg { flex-shrink: 0; color: var(--color-brand-dark); margin-top: 2px; }
.kontakt-entry-text strong {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-dark);
}
.kontakt-entry-text span, .kontakt-entry-text a {
  font-size: .875rem;
  color: var(--color-text-mid);
}
.kontakt-entry-text a:hover { color: var(--color-brand-red); }


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--color-brand-dark);
  color: rgba(255,255,255,.65);
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--space-lg); }
}
.footer-brand img { height: 36px; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col a {
  font-size: .875rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--color-brand-red); }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--space-md);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: .8rem;
}
.footer-legal { display: flex; gap: var(--space-md); }
.footer-legal a:hover { color: var(--color-brand-red); }
.footer-credit {
  margin-top: var(--space-sm);
  text-align: center;
  font-size: .8rem;
  opacity: .7;
}
.footer-credit a:hover { color: var(--color-brand-red); }

/* ============================================================
   FLOATING CONTACT BUTTON
   ============================================================ */
#float-contact {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-lg);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.55);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn-phone     { background: var(--color-brand-dark); }
.float-btn-whatsapp  { background: var(--color-brand-dark); }
.float-btn-email     { background: var(--color-brand-dark); }
.float-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  background: var(--color-brand-dark);
  color: #fff;
  font-size: .75rem;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ============================================================
   WHATSAPP CTA CARD
   ============================================================ */
.whatsapp-cta-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.whatsapp-cta-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.whatsapp-cta-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.whatsapp-cta-body strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}
.whatsapp-cta-body span { font-size: .9rem; color: rgba(255,255,255,.75); }
.btn-whatsapp-outline {
  background: #fff;
  color: var(--color-brand-dark);
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  flex-shrink: 0;
}
.btn-whatsapp-outline:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
@media (max-width: 599px) {
  .whatsapp-cta-card { justify-content: center; }
  .btn-whatsapp-outline { width: 100%; justify-content: center; }
}

/* ============================================================
   MISC
   ============================================================ */
.divider-accent {
  width: 48px; height: 4px;
  background: var(--gradient-cta);
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   LEISTUNGS-MODAL
   ============================================================ */
.modal-src { display: none; }

#leistung-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
#leistung-modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 40, 0.88);
  backdrop-filter: blur(6px);
}
.modal-container {
  position: relative;
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(10,8,81,.28);
  overflow: hidden;
  animation: modal-in .22s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-bg-white);
}
#modal-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-dark);
  margin: 0;
  line-height: 1.2;
}
.modal-header-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.modal-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--color-brand-red); color: #fff; }

/* Body */
.modal-body {
  padding: var(--space-lg) var(--space-xl);
  overflow-y: auto;
  flex: 1;
}
.modal-body p {
  color: var(--color-text-mid);
  font-size: .93rem;
  line-height: 1.72;
  margin-bottom: var(--space-md);
}
.modal-body p:last-child { margin-bottom: 0; }
.modal-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-brand-dark);
  margin: var(--space-lg) 0 var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.modal-body h3:first-child { margin-top: 0; border-top: none; padding-top: 0; }

.modal-body ul,
.modal-body ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: var(--space-md);
}
.modal-body ul li,
.modal-body ol li {
  display: block;
  position: relative;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: var(--color-text-mid);
  line-height: 1.55;
}
.modal-body ol li {
  padding-left: 1.9rem;
}
.modal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .52em;
  width: 6px; height: 6px;
  background: var(--color-brand-red);
  border-radius: 50%;
}
.modal-body ol { counter-reset: modal-ol; }
.modal-body ol li { counter-increment: modal-ol; }
.modal-body ol li::before {
  content: counter(modal-ol);
  position: absolute;
  left: 0;
  top: .1em;
  width: 22px; height: 22px;
  background: var(--color-brand-dark);
  color: #fff;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-body li strong {
  display: block;
  color: var(--color-text-dark);
  margin-bottom: .1em;
}

.modal-note {
  background: var(--color-bg-light);
  border-left: 3px solid var(--color-brand-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  font-size: .875rem;
  color: var(--color-text-mid);
  line-height: 1.6;
}
.modal-note strong { color: var(--color-brand-dark); }

.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
@media (max-width: 540px) { .modal-product-grid { grid-template-columns: 1fr; } }

.modal-product-cat strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-brand-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.modal-product-cat ul { margin-bottom: 0; }

/* Footer */
.modal-footer {
  padding: var(--space-sm) var(--space-xl);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-light);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
.modal-cta { font-size: .9rem; padding: 12px 24px; }

/* Mobile */
@media (max-width: 599px) {
  #leistung-modal { padding: 0; align-items: flex-end; }
  .modal-container { max-height: 92vh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .modal-header, .modal-body { padding: var(--space-md); }
  .modal-footer { padding: var(--space-sm) var(--space-md); }
}

/* "Mehr erfahren"-Button auf Leistungskarte */
.leistung-mehr {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  padding: var(--space-sm) 0 0;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  width: 100%;
  transition: color .18s;
}
.leistung-mehr svg { transition: transform .18s; }
.leistung-mehr:hover { color: var(--color-brand-red); }
.leistung-mehr:hover svg { transform: translateX(3px); }

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--color-bg-white); padding-top: var(--space-lg); }
.faq-header { margin-bottom: var(--space-lg); }
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 800px) {
  .faq-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(var(--faq-rows, 4), 1fr);
    grid-auto-flow: column;
    gap: var(--space-md);
  }
}
.faq-item {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  height: 100%;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
}
@media (min-width: 700px) {
  .faq-item { padding: var(--space-md) var(--space-lg); }
}
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-brand-red);
}
.faq-answer {
  margin: 0;
  color: var(--color-text-mid);
  line-height: 1.65;
}

/* ============================================================
   Rechtstexte (Impressum / Datenschutz)
   ============================================================ */
.legal-page {
  padding-top: calc(var(--nav-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
}
.legal {
  max-width: 800px;
  line-height: 1.75;
}
.legal h1 { margin-bottom: var(--space-lg); }
.legal section { margin-bottom: var(--space-lg); }
.legal h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  margin-bottom: .75rem;
}
.legal h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: .75rem 0 .4rem;
}
.legal-intro,
.legal-meta { color: var(--color-text-mid); }
.legal-intro { margin-bottom: var(--space-lg); }
.legal-meta  { font-size: .85rem; margin-bottom: var(--space-lg); }
.legal ul {
  margin: .5rem 0 .5rem 1.25rem;
  list-style: disc;
}

