/* ============================================================
   BÄREN ENTRÜMPELUNG – Main Stylesheet
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--clr-700);
  background: var(--clr-white);
  overflow-x: hidden;
  transition: background-color 0.6s ease;
  /* theme variables (light default) */
  --th-heading: var(--clr-900);
  --th-body:    var(--clr-700);
  --th-muted:   var(--clr-500);
}
body[data-theme="dark"] {
  --th-heading: var(--clr-white);
  --th-body:    var(--clr-300);
  --th-muted:   rgba(255,255,255,0.55);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Scroll Tint – full-page background color transition ─── */
body {
  transition: background-color 0.6s ease;
}

/* ══════════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--clr-900);
  overflow-wrap: break-word;
}
h1 { font-size: var(--text-6xl); font-weight: var(--weight-extrabold); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
p  { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════
   UTILITY & LAYOUT
══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--section-pad); position: relative; }
.section-light { background: #ffffff; }
.section-dark  { background: transparent; color: var(--clr-100); }
.section-green { background: var(--grad-primary); color: var(--clr-white); }

.overline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
}
.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header h2 { margin-bottom: var(--sp-4); color: var(--th-heading); transition: color 0.6s ease; }
.section-header p { max-width: 52ch; margin-inline: auto; color: var(--th-muted); transition: color 0.6s ease; }

.services .section-header {
  /* position: sticky; */
  /* top: 0; */
  z-index: 50;
  background: #fff;
  padding-top: 1.5rem;
  /* padding-bottom: 34rem; */
  margin-bottom: 4rem;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
}
.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(21,115,25,0.35), 0 2px 4px rgba(0,0,0,0.1);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  border-radius: inherit;
}
@media (hover: hover) {
.btn-primary:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(21,115,25,0.45), 0 4px 8px rgba(0,0,0,0.12);
}
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
}
@media (hover: hover) {
.btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--clr-white);
  transform: translateY(-3px);
}
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-primary);
  box-shadow: var(--shadow-lg);
}
@media (hover: hover) {
.btn-white:hover {
  background: var(--clr-accent-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
}

.btn i { font-size: 0.9em; }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0.55rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s, transform 0.35s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-block: 0.45rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.nav-logo img {
  height: 70px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-lg);
  color: var(--clr-white);
  line-height: 1.1;
  transition: color var(--transition-fast);
}
.nav-logo-text span { color: var(--clr-accent); }
.navbar.scrolled .nav-logo-text { color: var(--clr-900); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  position: relative;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}
@media (hover: hover) {
.nav-link:hover { color: var(--clr-white); }
}
.nav-link.active { color: var(--clr-white); }
.navbar.scrolled .nav-link { color: var(--clr-600); }
@media (hover: hover) {
.navbar.scrolled .nav-link:hover { color: var(--clr-primary); }
}
.navbar.scrolled .nav-link.active { color: var(--clr-primary); }

/* ── Limelight Indicator ─────────────────────────────────── */
.nav-limelight {
  position: absolute;
  top: 0;
  height: 3px;
  background: var(--clr-accent);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 0 10px 3px rgba(38,177,44,0.7), 0 0 30px 6px rgba(38,177,44,0.3);
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s;
}
.nav-limelight.ready { opacity: 1; }
.nav-limelight-cone {
  position: absolute;
  top: 3px;
  left: -30%;
  width: 160%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(38,177,44,0.28), transparent);
  clip-path: polygon(5% 100%, 25% 0%, 75% 0%, 95% 100%);
  pointer-events: none;
}

.nav-cta { margin-left: var(--sp-3); }
.navbar .btn-primary { padding: 0.65rem 1.5rem; }

/* ── Hamburger ────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  z-index: calc(var(--z-modal) + 1);
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--clr-white);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}
.navbar.scrolled .nav-hamburger span { background: var(--clr-900); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--clr-white); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--clr-white); }

/* ── Mobile Nav Overlay ───────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--clr-900);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: var(--sp-5);
  padding-right: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay .nav-link {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  font-weight: var(--weight-bold);
  transform: translateY(20px);
  opacity: 0;
  transition: color 0.25s, transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.nav-overlay.open .nav-link { transform: translateY(0); opacity: 1; }
.nav-overlay.open .nav-link:nth-child(1) { transition-delay: 0.05s; }
.nav-overlay.open .nav-link:nth-child(2) { transition-delay: 0.10s; }
.nav-overlay.open .nav-link:nth-child(3) { transition-delay: 0.15s; }
.nav-overlay.open .nav-link:nth-child(4) { transition-delay: 0.20s; }
.nav-overlay.open .nav-link:nth-child(5) { transition-delay: 0.25s; }
.nav-overlay .nav-link::after { background: var(--clr-accent-light, #6cb56f); height: 3px; }
@media (hover: hover) {
.nav-overlay .nav-link:hover { color: var(--clr-white); }
}
.nav-overlay .btn { margin-top: var(--sp-4); }

/* ── Mobile Sticky CTA ────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--clr-900);
  padding: var(--sp-3) var(--sp-4);
  gap: var(--sp-3);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--clr-white);
}
.mobile-cta-bar .mcta-phone { background: rgba(255,255,255,0.12); }
.mobile-cta-bar .mcta-contact { background: var(--clr-primary); }
.mobile-cta-bar a i { font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   HERO – Animated SVG Background Paths
══════════════════════════════════════════════════════════ */
.hero-paths {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-paths-svg {
  width: 100%;
  height: 100%;
}
.hero-path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: pathDraw 4s var(--ease-out) forwards, pathPulse 10s ease-in-out 4s infinite;
}
.hero-path:nth-child(2) { animation-delay: 0.3s, 4.3s; }
.hero-path:nth-child(3) { animation-delay: 0.6s, 4.6s; }
.hero-path:nth-child(4) { animation-delay: 0.9s, 4.9s; }
.hero-path:nth-child(5) { animation-delay: 1.2s, 5.2s; }
.hero-path:nth-child(6) { animation-delay: 1.5s, 5.5s; }

/* ── Hero Floating Particles ─────────────────────────────── */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--clr-accent);
  opacity: 0;
  will-change: transform, opacity;
  animation: particleFloat 6s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -5%;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center 70%;
  animation: kenBurns 22s ease-in-out infinite;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.20) 100%);
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--clr-white) 0%, transparent 100%);
}

/* Hero layout – full width, no split */
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100svh;
  padding-block: 9rem 5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
  max-width: 1400px;
}

/* Hero overline with green bar */
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
}
.overline-bar {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 2px;
}

.hero h1 {
  color: var(--clr-white);
  font-weight: var(--weight-extrabold);
  line-height: 1.12;
  word-break: normal;
  overflow-wrap: normal;
}
.hero h1 em { display: inline-flex; flex-wrap: nowrap; }

.hero-sub {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.85);
  max-width: 54ch;
  line-height: var(--leading-relaxed);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}



/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════════ */
.about { background: #ffffff; padding-bottom: calc(var(--section-pad) / 2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
}
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* About badge – dark glass pill, bottom left */
.about-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}
.about-badge i { color: var(--clr-accent); font-size: 0.85rem; }

.about-content { display: flex; flex-direction: column; gap: var(--sp-5); }
.about-content h2 { color: var(--clr-900); }
.about-content p { color: var(--clr-600, #4a5568); line-height: var(--leading-relaxed); }

/* Stats row – elevated boxed grid */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: var(--sp-4);
  max-width: 380px;
}
.stat-box {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.08);
  background: var(--clr-50);
}
.stat-box:last-child { border-right: none; }
.stat-box-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: var(--weight-extrabold);
  color: var(--clr-primary);
  line-height: 1;
}
.stat-box-label {
  font-size: var(--text-xs);
  color: var(--clr-500);
  margin-top: 0.4rem;
}

/* Certifications strip */
.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cert-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--clr-700);
  background: var(--clr-50);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
}
.cert-item i { color: #386641; font-size: 0.8rem; }

.about-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-primary);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  transition: gap var(--transition-fast);
}
@media (hover: hover) {
.about-link:hover { gap: var(--sp-3); }
}

/* ══════════════════════════════════════════════════════════
   SERVICES – Accordion Layout
══════════════════════════════════════════════════════════ */
.services { background: transparent; padding-top: calc(var(--section-pad) / 2); padding-bottom: calc(var(--section-pad) + 6rem); }

.services-stack-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.services-stack-left h3 {
  color: var(--clr-900);
  margin-bottom: var(--sp-4);
}

.services-stack-left p {
  color: var(--clr-500);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

#extra-services .services-stack-left p,
#extra-services .services-accordion .accordion-content .content-text p,
#services .services-stack-left p,
#services .services-accordion .accordion-content .content-text p {
  color: var(--clr-900);
}

/* Services Accordion */
.services-accordion {
  width: 100%;
  border: none;
  border-radius: 0;
}

.services-accordion .accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.services-accordion .accordion-btn {
  padding: 1.25rem 1.5rem;
}

.services-accordion .accordion-btn .accordion-title {
  color: var(--clr-900);
  font-weight: var(--weight-semibold);
}

.services-accordion .accordion-btn .accordion-btn-icon {
  font-size: 1.25rem;
  width: 2rem;
  color: #386641;
  flex-shrink: 0;
}

.services-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  overflow: hidden;
}

.services-accordion .accordion-content {
  background: var(--clr-white);
}

.services-accordion .accordion-content .content-text {
  padding: 1.5rem;
}

.services-accordion .accordion-content .content-text p {
  color: var(--clr-500);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

/* Override default accordion-content-inner padding for services */
.services-content-inner {
  padding: 0 !important;
}

/* Image reveal animation */
.services-image-wrap {
  overflow: hidden;
  position: relative;
}

.services-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 300px;
  object-fit: cover;
  border-left: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease-out;
}

/* ══════════════════════════════════════════════════════════
   PROJECTS SECTION
══════════════════════════════════════════════════════════ */
.projects { background: transparent; }
.projects .section-header .overline { color: var(--clr-accent); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) {
.project-card:hover img { transform: scale(1.08); }
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,50,12,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-5);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
@media (hover: hover) {
.project-card:hover .project-card-overlay { opacity: 1; transform: translateY(0); }
}
.project-tag {
  display: inline-block;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-2);
  align-self: flex-start;
}
.project-card-overlay h4 { color: var(--clr-white); font-size: var(--text-xl); }
.project-card-overlay p { color: rgba(255,255,255,0.75); font-size: var(--text-sm); }

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.project-card-overlay { z-index: 2; }

.project-label {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  z-index: 2;
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  transition: opacity 0.3s;
}
@media (hover: hover) {
.project-card:hover .project-label { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   GOOGLE REVIEWS SECTION
══════════════════════════════════════════════════════════ */
.reviews-section { background: transparent; padding-top: 3rem; }
.reviews-section .section-header h2 { color: var(--clr-white); }
.reviews-section .section-header p { color: rgba(255,255,255,0.6); }
.reviews-section .overline { color: var(--clr-accent); }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.reviews-summary-score {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.reviews-score-number {
  font-size: 3rem;
  font-weight: var(--weight-extrabold);
  font-family: var(--font-heading);
  color: var(--clr-white);
  line-height: 1;
}
.reviews-stars-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 1rem;
}
.reviews-stars {
  display: flex;
  gap: 3px;
  justify-content: flex-start;
}
.reviews-stars svg {
  width: 28px;
  height: 28px;
  fill: #F9AB00;
  transition: transform 0.2s ease, filter 0.2s ease;
}

@media (hover: hover) {
.reviews-stars svg:hover {
  transform: scale(1.3);
  filter: drop-shadow(0 0 6px rgba(249, 171, 0, 0.8));
}
}
.reviews-score-count {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.reviews-score-count strong { color: rgba(255,255,255,0.85); }

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-google svg {
  width: 24px;
  height: 24px;
}
@media (hover: hover) {
.btn-google:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s;
  position: relative;
}
@media (hover: hover) {
.review-card:hover {
  background: rgba(255,255,255,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(0,0,0,0.06);
}
.review-author-info {
  flex: 1;
  min-width: 0;
}
.review-author-name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--clr-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.1rem;
}
.review-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.review-stars svg {
  width: 14px;
  height: 14px;
  fill: #F9AB00;
}
.review-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.review-google-logo {
  display: flex;
  justify-content: flex-end;
  opacity: 1;
}

/* ── Reviews section on light body bg (before projects triggers #333333) ── */
body[data-theme="light"] #bewertungen .section-header h2,
body[data-theme="light"] #bewertungen .section-header p,
body[data-theme="light"] #bewertungen .reviews-score-number,
body[data-theme="light"] #bewertungen .reviews-score-count,
body[data-theme="light"] #bewertungen .reviews-score-count strong,
body[data-theme="light"] #bewertungen .review-author-name,
body[data-theme="light"] #bewertungen .review-date,
body[data-theme="light"] #bewertungen .review-text,
body[data-theme="light"] #bewertungen .btn-google { color: var(--clr-900); }
body[data-theme="light"] #bewertungen .btn-google { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.05); }
body[data-theme="light"] #bewertungen .reviews-summary,
body[data-theme="light"] #bewertungen .review-card { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }

@media (max-width: 768px) {
  .reviews-summary { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-score-number { font-size: 2.25rem; }
}

/* ══════════════════════════════════════════════════════════
   SERVICE DETAIL BLOCKS (Dienstleistungen page)
══════════════════════════════════════════════════════════ */
.service-details { background: var(--clr-white); }

/* ── Service Detail Cards (2×2 grid, similar to svc-card) ── */
.svc-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 25rem;
  padding-bottom: 8rem;
}

.svc-detail-card {
  position: sticky;
  top: 5.5rem;
  z-index: calc(10 + var(--card-index, 0));
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  height: 460px;
  transition: box-shadow 0.3s var(--ease-out);
}
@media (hover: hover) {
.svc-detail-card:hover {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(21,115,25,0.12);
  border-color: rgba(38,177,44,0.2);
}
.svc-detail-card:hover::before { opacity: 1; }
.svc-detail-card:hover::after { opacity: 1; }
.svc-detail-card:hover .svc-detail-img img {
  transform: scale(1.04);
}
}
.svc-detail-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(38,177,44,0.10), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
}
.svc-detail-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(38,177,44,0.22), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  filter: blur(12px);
}

.svc-detail-num {
  top: 1rem;
  left: 1.25rem;
  font-size: 3.5rem;
  font-weight: var(--weight-extrabold);
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.85);
  line-height: 1;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  pointer-events: none;
}

.svc-detail-img {
  flex: 1;
  min-height: 360px;
  overflow: hidden;
  flex-shrink: 0;
  order: 2;
}
.svc-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
  display: block;
}

.svc-detail-body {
  flex: 0 0 400px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  order: 1;
}
.svc-detail-body h3 {
  font-size: var(--text-xl);
  color: var(--clr-900);
  margin-bottom: 0.25rem;
}
.svc-detail-body > p {
  color: var(--clr-500);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: 0.5rem;
}
.svc-detail-body .btn {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem !important;
  font-size: var(--text-base) !important;
  min-height: 48px;
}
.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.service-detail-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--clr-700);
}
.service-detail-list li i {
  color: #386641;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   ORBITAL TIMELINE (Weitere Leistungen)
══════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════
   FLIP CARDS – Das können wir auch
══════════════════════════════════════════════════════════ */
.flip-section { background: transparent; }
.flip-section .section-header .overline { color: var(--clr-accent); }

.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
  margin-top: var(--sp-8);
}

.flip-card {
  perspective: 1000px;
  height: auto;
  min-height: 280px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card:hover .flip-card-front {
  border-color: rgba(38,177,44,0.35);
}
.flip-card:hover .flip-card-icon {
  background: rgba(38,177,44,0.18);
  border-color: rgba(38,177,44,0.45);
}
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.flip-card-front {
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,0.09);
  gap: 1.25rem;
  transition: border-color 0.3s;
}

.flip-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(38,177,44,0.1);
  border: 1px solid rgba(38,177,44,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--clr-accent);
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}

.flip-card-front h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-white);
  margin: 0;
}

.flip-card-front p {
  font-size: var(--text-sm);
  color: var(--clr-300);
  margin: 0;
}

.flip-card-back {
  background: var(--clr-primary);
  transform: rotateY(180deg);
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
}

.flip-card-back h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-white);
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #2a2a2a;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  width: 100%;
}

.flip-card-back > p {
  font-size: var(--text-base);
  color: var(--clr-white);
  margin: 0;
  line-height: 1.6;
  padding-top: 0.75rem;
}

.flip-card-back ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.flip-card-back ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  color: var(--clr-white);
}

.flip-card-back ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-white);
  flex-shrink: 0;
}

.flip-card-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.14);
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s, border-color 0.2s;
}

@media (hover: hover) {
.flip-card-cta:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.55);
}
}

/* ══════════════════════════════════════════════════════════
   PROJECTS — Clone-Carousel (Example-Style)
════════════════════════════════════════════════════════════ */
.projects-new {
  padding-block: var(--section-pad);
  padding-bottom: calc(var(--section-pad) * 0.5);
  position: relative;
}

.projects-new .section-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

/* ── Outer Wrapper ── */
.carousel-outer {
  overflow: hidden;
  width: 100%;
  padding: 0 22.5vw;
  box-sizing: border-box;
}

/* ── Track ── */
.carousel-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track.no-transition {
  transition: none;
}

/* ── Slide ── */
.slide {
  flex-shrink: 0;
  width: 55vw;
  margin-right: 28px;
  transform: scale(0.75);
  opacity: 0.4;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
  transform: scale(1);
  opacity: 1;
}

.slide-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

/* ── Slide Badge ── */
.slide-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #1b4332;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  z-index: 2;
  line-height: 1.2;
  white-space: nowrap;
}

/* ── Slide Title ── */
.slide-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: transparent;
  margin: 1.25rem 0 0;
  position: relative;
  z-index: 1;
}

/* ── Navigationspfeile ── */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.2s;
}

.nav-arrow.prev { left: 1.5rem; }
.nav-arrow.next { right: 1.5rem; }

.nav-arrow svg { width: 24px; height: 24px; }

@media (hover: hover) {
.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.1);
}
}

.projects-arrows {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  max-width: var(--container-max);
  margin: 1.5rem auto 0;
  padding-inline: var(--container-pad);
}

/* ── Maus-Cursor-Navigation (nur Hover-fähig) ── */
@media (hover: hover) {
  .projects-new .projects-arrows {
    display: none;
  }
  .projects-new.cursor-nav-active {
    cursor: none;
  }
}

.custom-cursor-arrow {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 9999;
  transform: rotate(0deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1b4332;
}
.custom-cursor-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .slide { width: 85vw; }
  .carousel-outer { padding: 0 calc((100vw - 85vw - 28px) / 2); }
  .nav-arrow { width: 40px; height: 40px; }
  .nav-arrow.prev { left: 0.75rem; }
  .nav-arrow.next { right: 0.75rem; }
}

@media (max-width: 480px) {
  .slide { width: 88vw; }
  .carousel-outer { padding: 0 calc((100vw - 88vw - 28px) / 2); }
}



.proj-acc-item {
  position: relative;
  flex: 0 0 72px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.proj-acc-item.active { flex: 4 0 72px; }
.proj-acc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) {
.proj-acc-item:hover .proj-acc-bg { transform: scale(1.05); }
}
.proj-acc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}
.proj-acc-tag {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-white);
  background: var(--clr-primary);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.35s 0.2s;
  white-space: nowrap;
}
.proj-acc-item.active .proj-acc-tag { opacity: 1; }
.proj-acc-label {
  position: absolute;
  color: var(--clr-white);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.proj-acc-item.active .proj-acc-label {
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
}
.proj-acc-item:not(.active) .proj-acc-label {
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%) rotate(-90deg);
}

/* ══════════════════════════════════════════════════════════
   LOGO DIVIDER
══════════════════════════════════════════════════════════ */
.logo-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: var(--sp-0);
  background: var(--clr-white);
}
.logo-divider-img {
  width: 320px;
  height: 210px;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════
   VISION GRID (two-column image + text)
══════════════════════════════════════════════════════════ */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.vision-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.vision-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vision-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.vision-content .overline { margin-bottom: var(--sp-1); }
.vision-content h2 { margin-bottom: var(--sp-2); }
.vision-content p {
  color: var(--clr-500);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   CERTIFICATES DETAIL
══════════════════════════════════════════════════════════ */
.certs-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
  /* allow scaled card to overflow without clipping */
  overflow: visible;
  padding: 0.5rem;
}
.cert-detail-card {
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  will-change: transform, filter;
  isolation: isolate;
  transition: border-color 0.3s;
}
@media (hover: hover) {
.cert-detail-card:hover {
  border-color: rgba(38,177,44,0.35);
  position: relative;
  z-index: 1;
}
.cert-detail-card:hover .cert-front {
  transform: translateY(20%);
  opacity: 0;
  pointer-events: none;
}
.cert-detail-card:hover .cert-hover-content {
  transform: translateY(0);
  pointer-events: auto;
}
.cert-hover-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.cert-hover-btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}
.cert-download-btn:hover {
  background: var(--clr-accent);
  transform: translateY(-1px);
  gap: 0.7rem;
}
.cert-download-link:hover { color: var(--clr-accent); gap: 0.6rem; }
}

/* ══════════════════════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════════════════════ */
.team { background: #ffffff; }

.team-members-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  overflow: visible;
  padding: 0.5rem;
}

/* ── Team card glow wrapper ─────────────────────────────── */
.tmc-glow-wrap {
  position: relative;
  border-radius: calc(var(--radius-xl) + 3px);
  overflow: hidden;
  padding: 3px;
  background: transparent;
  cursor: pointer;
  box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.08);
  transition: transform 400ms ease, filter 400ms ease;
  will-change: transform, filter;
}

/* Blur siblings – only fires when a card is actually hovered (via JS class) */
.team-members-grid.has-hover > .tmc-glow-wrap:not(.is-hovered) {
  filter: blur(6px);
  transform: scale(0.94);
}
.tmc-glow-wrap.is-hovered {
  transform: scale(1.03);
  z-index: 2;
}

@media (max-width: 600px) {
  .team-members-grid.has-hover > .tmc-glow-wrap:not(.is-hovered) {
    filter: none;
    transform: none;
  }
}
.tmc-glow-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 120px;
  height: 400%;
  background: linear-gradient(
    90deg,
    transparent,
    #26b12c,
    #157319,
    transparent
  );
  opacity: 0;
  transition: opacity 300ms;
  z-index: 0;
}
@media (hover: hover) {
.tmc-glow-wrap:hover::before {
  opacity: 0;
}
.tmc-glow-wrap:hover .team-member-card {
  transform: none;
}
.team-member-card:hover .tmc-image-wrap img {
  transform: scale(1.05);
}
.team-dot:hover {
  background: rgba(0,0,0,0.3);
}
.team-arrow:hover {
  background: var(--clr-50);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
}
.tmc-glow-wrap::after {
  position: absolute;
  content: '';
  inset: 3px;
  border-radius: var(--radius-xl);
  background: var(--clr-50);
  backdrop-filter: blur(40px);
  z-index: 0;
}
.tmc-glow-wrap .team-member-card {
  position: relative;
  z-index: 1;
}

@keyframes tmc-glow-rotate {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.team-member-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--clr-50);
  border: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.tmc-image-wrap {
  overflow: hidden;
}
.tmc-image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

/* David's photo is a tight headshot – use contain so nothing gets cropped */
.tmc-image-wrap--contain img {
  object-fit: contain;
  object-position: center top;
  background: #d8dfe6;
}
.tmc-body {
  padding: 1.75rem;
}
.tmc-body h3 {
  font-size: var(--text-xl);
  color: var(--clr-900);
  margin-bottom: 0.25rem;
}
.tmc-role {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  font-weight: var(--weight-bold);
  margin-bottom: var(--sp-3);
}
.tmc-body > p {
  color: var(--clr-500);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.tmc-quote {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: rgba(21,115,25,0.04);
  border-left: 3px solid var(--clr-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--clr-700);
  line-height: var(--leading-relaxed);
}
.tmc-quote i {
  color: var(--clr-accent);
  margin-right: 0.35rem;
  font-style: normal;
  font-size: 0.75rem;
}

/* Team values strip */
.team-values-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--clr-50);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.2);
}
.tvs-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--clr-700);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
}
.tvs-item i { color: var(--clr-primary); font-size: 1.1rem; }
.tvs-sep { width: 2px; height: 2rem; background: rgba(0,0,0,0.2); }

.team-split-wrapper {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.team-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 2rem;
  background: var(--clr-50);
}

.team-split-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
}

.team-split-role {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--clr-primary);
  font-weight: var(--weight-bold);
  margin: 0;
  line-height: 1;
}

.team-split-name {
  font-size: var(--text-2xl);
  color: var(--clr-900);
  margin: 0;
  font-weight: var(--weight-semibold);
  line-height: 1.2;
}

.team-split-text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--clr-500);
  margin: 0;
}

.team-split-quote-line {
  width: 3rem;
  height: 2px;
  background: rgba(21, 115, 25, 0.3);
  margin-top: 0.5rem;
}

.team-split-quote {
  font-style: italic;
  color: var(--clr-700);
  font-size: var(--text-lg);
  margin: 0.5rem 0 0 0;
  font-weight: 500;
  line-height: 1.5;
}

.team-split-image-wrap {
  position: relative;
  width: 200px;
  height: 280px;
  flex-shrink: 0;
}

.team-split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(0);
  transform: scale(1);
}

/* Animation states */
.team-split-image.exit {
  filter: blur(20px);
  transform: scale(1.05);
  opacity: 0;
  transition: all 0.2s ease-out;
}

.team-split-image.enter {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
  transition: all 0.4s ease-out;
}

/* Text animations */
.team-split-animate {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-split-animate.exit {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.2s ease-out;
}

.team-split-animate.enter {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease-out;
}

.team-split-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.team-split-dots {
  display: flex;
  gap: 0.5rem;
}

.team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.team-dot:hover {
  background: rgba(0,0,0,0.3);
}

.team-dot.active {
  background: var(--clr-primary);
  transform: scale(1.2);
}

.team-split-arrows {
  display: flex;
  gap: 0.5rem;
}

.team-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--clr-white);
  color: var(--clr-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.team-arrow:hover {
  background: var(--clr-50);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

@media (max-width: 768px) {
  .team-split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1.5rem;
    text-align: left;
  }
  .team-split-content {
    display: contents;
  }
  .team-split-name {
    grid-column: 1;
    grid-row: 1;
    font-size: var(--text-xl);
    margin: 0;
  }
  .team-split-role {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.6rem;
  }
  .team-split-quote-line {
    grid-column: 1;
    grid-row: 3;
    margin: 0.25rem 0;
  }
  .team-split-quote {
    grid-column: 1;
    grid-row: 4;
    margin: 0;
  }
  .team-split-image-wrap {
    grid-column: 2;
    grid-row: 1 / 5;
    width: 140px;
    height: 180px;
    margin: 0;
    align-self: start;
    justify-self: end;
  }
  .team-split-text {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 0.5rem;
  }
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding-top: 6rem;
  margin-top: 10rem;
}
.cta-section-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/about.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.cta-glass {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-top: 20rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.cta-glass h2 { color: #000; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--sp-4); }
.cta-glass p { color: rgba(255,255,255,0.7); font-size: var(--text-lg); margin-bottom: var(--sp-6); max-width: 48ch; margin-inline: auto; }
.cta-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  max-width: 400px;
  margin-inline: auto;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--clr-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.trust-badge i { color: var(--clr-accent); font-size: 0.85rem; }

/* ══════════════════════════════════════════════════════════
   SECTION TRANSITIONS – Smooth gradient blends
══════════════════════════════════════════════════════════ */
/* Shared transition pseudo-element base */
/* Section gradient transitions removed — full-page bg transition handles color changes */

/* ══════════════════════════════════════════════════════════
   CONTACT SECTION – Dark Premium Design
══════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--clr-white);
  color: var(--clr-900);
  padding-top: 1rem;
}
.contact-section .overline { color: var(--clr-primary); }

/* ── Info Panel ──────────────────────────────────────────── */
.contact-info-panel {
  background: #386641;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
}

/* ── Hours Strip ─────────────────────────────────────────── */
.hours-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.hours-strip-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}
.hours-strip-title i { color: var(--clr-accent); }

.hours-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.hours-pill {
  flex: 1;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #1b4332 0%, #1b4332 40%, #eff1ed 40%, #eff1ed 100%);
  border: none;
  transition: all 0.3s var(--ease-out);
  cursor: default;
  overflow: hidden;
  height: 85px;
}
.hours-pills--weekend {
  margin-top: 0.4rem;
}
.hours-pills--weekend .hours-pill {
  flex: 2.5;
}
.hours-pill--closed { opacity: 0.3; }
.hours-pill.today {
  box-shadow: 0 0 15px rgba(38,177,44,0.5);
}
.hours-pill.today-closed {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.40);
  box-shadow: 0 0 22px rgba(239,68,68,0.18), inset 0 0 16px rgba(239,68,68,0.06);
  opacity: 1;
}
.hours-pill-day {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding-top: 2px;
}
.hours-pill.today .hours-pill-day { color: var(--clr-accent); }
.hours-pill.today-closed .hours-pill-day { color: #f87171; }
.hours-pill.today-closed .hours-pill-time { color: #fca5a5; }
.hours-pill-time {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: var(--weight-semibold);
  color: #1a2e1a;
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Open/Closed badge */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(38,177,44,0.15);
  color: #4ade80;
  border: 1px solid rgba(38,177,44,0.35);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
}
.open-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
.closed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.35);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
}
.closed-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #f87171;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

/* ── Contact Header ────────────────────────────────────────── */
.contact-header {
  width: 100%;
}
.contact-header-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}
.contact-header-title i { color: #26b12c; }

/* ── Contact Quick Grid ───────────────────────────────────── */
.contact-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  background: #386641;
  padding: 1rem;
  border-radius: var(--radius-lg);
}
.cq-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: linear-gradient(180deg, #1b4332 40%, #eff1ed 40%);
  color: #1a2e1a;
  min-width: 0;
  overflow: hidden;
  height: 85px;
  cursor: pointer;
}

.cq-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: #eff1ed;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #1b4332;
  font-size: 1.5rem;
}

.cq-text {
  flex: 1;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 1rem;
}

.cq-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-bold);
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.2rem;
}
.cq-value {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: #1a2e1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Copy Toast ──────────────────────────────────────────── */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1b4332;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: var(--weight-semibold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: var(--z-toast);
  opacity: 0;
  transition: all 0.25s var(--ease-out);
  pointer-events: none;
}
.copy-toast i { color: #4ade80; font-size: 1rem; }
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.copy-toast.hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(150px);
}

/* ── Contact Bottom: Map + Form ──────────────────────────── */
.contact-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.contact-bottom-grid--single {
  grid-template-columns: 1fr;
  align-items: start;
}

/* Map */
.map-wrap {
  position: relative;
  height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: rgba(255,255,255,0.5);
  z-index: 2;
}
.map-placeholder i { font-size: 3rem; color: rgba(255,255,255,0.25); }
.map-placeholder p { font-size: var(--text-sm); text-align: center; max-width: 24ch; }
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}
.map-wrap.loaded .map-placeholder { display: none; }
.map-wrap.loaded iframe { display: block; }

/* ── Contact Form Card ───────────────────────────────────── */
.form-card {
  background: #386641;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--clr-white);
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  scroll-margin-top: 10px;
  max-width: 100%;
}
.form-card h3 {
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  font-size: var(--text-xl);
  text-align: center;
}

/* ── Form Inputs – floating label + conic glow border ───── */
.form-group {
  position: relative;
  margin-bottom: var(--sp-5);
}

/* Wrapper: creates the 2px "border" via padding, bg is the border color */
.field-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  overflow: hidden;
  transition: background 0.35s, box-shadow 0.35s;
}
.field-wrap:focus-within {
  background: transparent;
  box-shadow: 0 0 40px rgba(38, 177, 44, 0.5);
}

/* Spinning beam replaced by SVG tracer injected by JS */
.field-wrap::before { display: none; }

/* SVG border tracer */
.border-tracer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.field-wrap:focus-within .border-tracer { opacity: 0; }
.border-tracer rect {
  animation: none;
}
@keyframes borderTrace {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: calc(var(--bt-perim, 1000) * -1px); }
}

/* Inputs / textarea / select inside wrapper */
.field-wrap input,
.field-wrap textarea,
.field-wrap select {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--clr-white);
  padding: 1.55rem 1rem 0.6rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.3s;
}
.field-wrap textarea {
  resize: none;
  min-height: unset;
  overflow: hidden;
  padding-top: 1.75rem;
  line-height: 1.5;
}
.field-wrap select { cursor: pointer; }

.field-wrap select option { background: #0a1a0c; color: #fff; }
.field-wrap input::placeholder,
.field-wrap textarea::placeholder { color: transparent; }

/* Error state */
.form-group.error .field-wrap {
  background: rgba(248,113,113,0.2);
  box-shadow: 0 0 0 1px rgba(248,113,113,0.45);
}

/* Floating label */
.field-wrap label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(1rem + 2px);
  transform: translateY(-50%);
  pointer-events: none;
  font-size: var(--text-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: top 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              font-size 0.3s;
}
/* Textarea label anchored to top */
.field-wrap--textarea label {
  top: calc(1.1rem + 2px);
  transform: none;
}
/* Select label anchored to top */
.field-wrap--select label {
  top: 50%;
  transform: translateY(-50%);
}

/* ── Service Custom Select + Glider Dropdown ─────────────── */
.field-wrap--custom-select {
  position: relative;
  cursor: pointer;
  overflow: visible !important;
}
/* No rotating glow on custom select */
.field-wrap--custom-select::before {
  display: none !important;
}
.field-wrap--custom-select:focus-within {
  box-shadow: 0 0 0 1px rgba(38,177,44,0.35);
}
.custom-select-trigger {
  width: 100%;
  height: 100%;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  background: transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}
.custom-select-value {
  font-size: var(--text-base);
  color: var(--clr-white);
  flex: 1;
}
/* CSS-only arrow (no FA icon) */
.custom-select-arrow {
  height: 0.65rem;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.custom-select-arrow::before,
.custom-select-arrow::after {
  content: '';
  position: absolute;
  background-color: rgba(255,255,255,0.55);
  height: 100%;
  width: 2px;
  border-radius: 500px;
  transform-origin: bottom;
}
.custom-select-arrow::after  { transform: rotate(35deg)  translateX(-0.5px); }
.custom-select-arrow::before { transform: rotate(-35deg) translateX(0.5px);  }
.field-wrap--custom-select.open .custom-select-arrow {
  transform: rotateX(180deg);
}
/* Floating label: visible when closed & empty, hidden once value selected */
.custom-select-floating-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 0.2s ease;
  color: rgba(255,255,255,0.38);
  font-size: var(--text-base);
  z-index: 2;
  opacity: 1;
}
/* Hide label when a value is selected */
.field-wrap--custom-select.has-value .custom-select-floating-label {
  opacity: 0;
}
/* While open (no value yet), keep label visible */
.field-wrap--custom-select.open:not(.has-value) .custom-select-floating-label {
  opacity: 1;
}

/* Dropdown panel */
.service-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #111;
  border: 1px solid rgba(38,177,44,0.25);
  border-radius: var(--radius-lg);
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  /* closed: clip from center */
  clip-path: inset(10% 50% 90% 50% round var(--radius-lg));
  pointer-events: none;
  transition: clip-path 0.35s ease;
}
.field-wrap--custom-select.open .service-dropdown {
  clip-path: inset(0% 0% 0% 0% round var(--radius-lg));
  pointer-events: auto;
}

/* Glider radio list */
.radio-container {
  --main-color: #f7e479;
  --main-color-opacity: #f7e4791c;
  --total-radio: 3;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 0.5rem;
}
.radio-container label {
  cursor: pointer;
  padding: 1rem;
  position: relative;
  color: grey;
  transition: color 0.3s ease-in-out;
  z-index: 1;
}
@media (hover: hover) {
.radio-container label:hover {
  color: var(--main-color);
}
.radio-container:hover .glider-container {
  opacity: 1;
}
.radio-container:has(label:nth-child(1):hover) .glider { transform: translateY(0); }
.radio-container:has(label:nth-child(2):hover) .glider { transform: translateY(100%); }
.radio-container:has(label:nth-child(3):hover) .glider { transform: translateY(200%); }
.radio-container:has(label:nth-child(4):hover) .glider { transform: translateY(300%); }
.radio-container:has(label:nth-child(5):hover) .glider { transform: translateY(400%); }
.radio-container:has(label:nth-child(6):hover) .glider { transform: translateY(500%); }
.radio-container:has(label:nth-child(7):hover) .glider { transform: translateY(600%); }
.radio-container:has(label:nth-child(8):hover) .glider { transform: translateY(700%); }
.radio-container:has(label:nth-child(9):hover) .glider { transform: translateY(800%); }
.radio-container:has(label:nth-child(10):hover) .glider { transform: translateY(900%); }
}

/* Individual letter spans */
.field-wrap label .char {
  display: inline-block;
  color: rgba(255,255,255,0.38);
  transform: translateY(4px);
  transition: color 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.field-wrap label .req {
  display: inline-block;
  color: var(--clr-accent);
  transform: translateY(4px);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Float up: input/textarea on focus or when filled */
.field-wrap input:focus + label,
.field-wrap input:not(:placeholder-shown) + label {
  top: calc(0.42rem + 2px);
  transform: translateY(0);
  font-size: 0.58rem;
}
.field-wrap textarea:focus + label,
.field-wrap textarea:not(:placeholder-shown) + label {
  top: calc(0.42rem + 2px);
  font-size: 0.58rem;
}
/* Select float (JS adds .has-value) */
.field-wrap select:focus + label,
.field-wrap select.has-value + label {
  top: calc(0.42rem + 2px);
  transform: translateY(0);
  font-size: 0.58rem;
}

/* Chars animate in (color + bounce) when active */
.field-wrap input:focus + label .char,
.field-wrap input:not(:placeholder-shown) + label .char,
.field-wrap textarea:focus + label .char,
.field-wrap textarea:not(:placeholder-shown) + label .char,
.field-wrap select:focus + label .char,
.field-wrap select.has-value + label .char {
  color: var(--clr-accent);
  transform: translateY(0);
}
.field-wrap input:focus + label .req,
.field-wrap input:not(:placeholder-shown) + label .req,
.field-wrap textarea:focus + label .req,
.field-wrap textarea:not(:placeholder-shown) + label .req,
.field-wrap select:focus + label .req,
.field-wrap select.has-value + label .req {
  transform: translateY(0);
}

.form-error {
  font-size: var(--text-xs);
  color: #f87171;
  margin-top: 6px;
  display: none;
}
.form-group.error .form-error { display: block; }


.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

/* ── SVG Animated Checkbox ───────────────────────────────── */
.checkbox-wrapper input[type="checkbox"] {
  display: none;
}
.checkbox-wrapper .terms-label {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checkbox-wrapper .label-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.checkbox-wrapper .label-text a {
  color: var(--clr-accent);
  text-decoration: underline;
}
.checkbox-wrapper .checkbox-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 1px;
}
.checkbox-wrapper .checkbox-box {
  fill: #fff;
  stroke: #333333;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 0.6s ease-in;
}
.checkbox-wrapper .checkbox-tick {
  stroke: #333333;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 0.6s ease-in;
}
.checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-box {
  stroke: #333333;
  stroke-dashoffset: 0;
}
.checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-tick {
  stroke-dashoffset: 0;
}

/* Error state */
.form-check.error .checkbox-box {
  stroke: rgba(239,68,68,0.7) !important;
  fill: rgba(239,68,68,0.08) !important;
}

.btn-submit {
  justify-content: center;
  padding: 1rem 2rem;
  font-size: var(--text-base);
}
.btn-submit .spinner { display: none; animation: spin 0.8s linear infinite; }
.btn-submit.loading .spinner { display: inline-block; }
.btn-submit.loading .btn-text { display: none; }

.form-success, .form-error-msg {
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: center;
  margin-top: var(--sp-4);
  display: none !important;
}
.form-success {
  background: rgba(38,177,44,0.15);
  color: #4ade80;
  border: 1px solid rgba(38,177,44,0.3);
}
.form-error-msg { background: rgba(248,113,113,0.12); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.form-success.show, .form-error-msg.show { display: block !important; }

/* ── Directions Block ──────────────────────────────────────── */
.directions-block {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.directions-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38,177,44,0.15);
  color: var(--clr-accent);
  border-radius: var(--radius-lg);
  font-size: 1.2rem;
}
.directions-content h3 {
  color: var(--clr-white);
  font-size: var(--text-lg);
  margin-bottom: var(--sp-2);
}
.directions-content p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer {
  background: #1a1a1a;
  color: var(--clr-300);
  padding-top: 0;
  position: relative;
}
/* ── Wave Separator ──────────────────────────────────────── */
.wave-separator {
  position: relative;
  width: 100%;
  margin: 0 0 2.5rem;
  height: 1px;
}
.wave-hover-zone {
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 10;
  height: 40px;
  width: 100%;
  transition: top 0.15s ease, height 0.15s ease;
}
.wave-hover-zone:hover {
  top: -150px;
  height: 300px;
}
.wave-svg {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 300px;
  overflow: visible;
  pointer-events: none;
}
.wave-svg path {
  fill: none;
  stroke: var(--clr-accent);
  stroke-width: 2.5;
  opacity: 0.6;
}
.footer-main {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  padding: var(--sp-12) 0 var(--sp-8);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-5); min-width: 0; }

/* Large logo + text side-by-side */
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.footer-logo-img-link {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}
.footer-logo-img-link img {
  width: 280px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  overflow-wrap: break-word;
}
.footer-logo { display: flex; align-items: center; text-decoration: none; }
.footer-logo img { display: none; } /* hidden – img now in .footer-logo-img-link */
.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-xl);
  color: var(--clr-white);
  line-height: 1.1;
}
.footer-logo-text span { color: var(--clr-accent); }
.footer-tagline { font-size: var(--text-sm); line-height: var(--leading-relaxed); max-width: 26ch; opacity: 0.75; }
/* ── Footer Socials – Fill-up hover effect ───────────────── */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.footer-socials .icon-content {
  margin: 0 8px;
  position: relative;
}
.footer-socials .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.footer-socials .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -46px;
}
.footer-socials .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.footer-socials .icon-content a:hover {
  color: #fff;
  box-shadow: 3px 2px 45px 0px rgba(0,0,0,0.2);
}
.footer-socials .icon-content a i {
  position: relative;
  z-index: 1;
}
.footer-socials .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: all 0.3s ease-in-out;
}
.footer-socials .icon-content a:hover .filled { height: 100%; }

/* Instagram */
.footer-socials .icon-content a[data-social="instagram"] .filled,
.footer-socials .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(45deg, #405de6, #5b51db, #b33ab4, #c135b4, #e1306c, #fd1f1f);
}
.footer-socials .icon-content a[data-social="instagram"] i {
  font-size: 1.9rem;
}
/* TikTok */
.footer-socials .icon-content a[data-social="tiktok"] .filled,
.footer-socials .icon-content a[data-social="tiktok"] ~ .tooltip {
  background: linear-gradient(45deg, #010101, #69C9D0, #EE1D52);
}
.footer-socials .icon-content a[data-social="tiktok"] i {
  font-size: 1.6rem;
}
/* WhatsApp */
.footer-socials .icon-content a[data-social="whatsapp"] .filled,
.footer-socials .icon-content a[data-social="whatsapp"] ~ .tooltip {
  background-color: #25D366;
}
.footer-socials .icon-content a[data-social="whatsapp"] i {
  font-size: 1.9rem;
}

.footer-col { min-width: 0; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--clr-white);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link {
  font-size: var(--text-sm);
  color: var(--clr-300);
  display: flex; align-items: center; gap: var(--sp-2);
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.footer-link:hover { color: var(--clr-accent); gap: var(--sp-3); }
.footer-link i { font-size: 0.65rem; color: var(--clr-primary); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  transition: gap var(--transition-fast);
  cursor: default;
}
.footer-contact-item:hover { gap: calc(var(--sp-3) + 6px); }
.footer-contact-item i { color: var(--clr-primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: var(--text-sm); line-height: 1.5; color: var(--clr-300); transition: color var(--transition-fast); }
.footer-contact-item:hover span { color: var(--clr-accent); }
.footer-contact-item a { font-size: var(--text-sm); line-height: 1.5; color: var(--clr-300); text-decoration: none; transition: color var(--transition-fast); }
.footer-contact-item:hover a { color: var(--clr-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--text-xs);
}
.footer-legal { display: flex; gap: var(--sp-4); }
.footer-legal a { color: var(--clr-300); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--clr-white); }

/* ══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  max-width: 520px;
  z-index: var(--z-modal);
  background: var(--clr-900);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.5s var(--ease-out) both;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 { color: var(--clr-white); font-size: var(--text-base); margin-bottom: var(--sp-2); }
.cookie-banner p { color: var(--clr-300); font-size: var(--text-xs); margin-bottom: var(--sp-4); line-height: 1.6; }
.cookie-banner p a { color: var(--clr-accent); }
.cookie-buttons { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.btn-cookie-accept {
  flex: 1; padding: 0.7rem 1.2rem;
  background: var(--clr-primary); color: var(--clr-white);
  border-radius: var(--radius-full);
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: var(--weight-bold);
  transition: background var(--transition-fast);
}
@media (hover: hover) {
.btn-cookie-accept:hover {
  background: var(--clr-accent);
}
}
.btn-cookie-reject {
  flex: 1; padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.06); color: var(--clr-300);
  border-radius: var(--radius-full);
  font-family: var(--font-heading); font-size: var(--text-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
@media (hover: hover) {
.btn-cookie-reject:hover { background: rgba(255,255,255,0.12); color: var(--clr-white); }
}

/* ══════════════════════════════════════════════════════════
   LEGAL PAGES (Impressum / Datenschutz)
══════════════════════════════════════════════════════════ */
.legal-hero {
  background: #386641;
  padding: 10rem var(--container-pad) 5rem;
  text-align: center;
  color: var(--clr-white);
}
.legal-hero h1, .legal-hero h2 { color: var(--clr-white); margin-bottom: var(--sp-3); }
.legal-hero p { opacity: 0.8; color: var(--clr-white); }
.legal-content {
  max-width: 820px;
  margin-inline: auto;
  padding: var(--sp-12) var(--container-pad);
}
.legal-content h2 { font-size: var(--text-2xl); margin: var(--sp-8) 0 var(--sp-4); color: #386641; border-left: 4px solid var(--clr-accent); padding-left: var(--sp-4); }
.legal-content h3 { font-size: var(--text-xl); margin: var(--sp-6) 0 var(--sp-3); color: var(--clr-900); }
.legal-content p { color: var(--clr-500); line-height: var(--leading-relaxed); }
.legal-content ul { margin: var(--sp-3) 0 var(--sp-3) var(--sp-6); color: var(--clr-500); line-height: var(--leading-relaxed); list-style: disc; }
.legal-content a { color: #386641; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-stack-layout { grid-template-columns: 0.9fr 1.1fr; }
  .svc-card { grid-template-columns: 48px 1fr 100px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-bottom-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 280px; }
  .certs-detail-grid { grid-template-columns: 1fr 1fr; }
  .vision-grid { gap: clamp(1.5rem, 3vw, 3rem); }
}

@media (max-width: 768px) {
  :root { --section-pad: clamp(3rem, 7vw, 5rem); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 1024px) {
  .nav-cta { display: none; }
}

@media (max-width: 768px) {
  .nav-logo img { height: 46px; }
  /* Hero */
  .hero-layout { padding-block: 7rem 3rem; }
  .hero-path:nth-child(n+5) { display: none; }
  .hero-particles { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-content { display: contents; }
  .about-image-wrap { max-width: 480px; margin-inline: auto; order: 3; }
  .about-content > :first-child { order: 1; }
  .about-content > p { order: 2; }
  .about-content > .stats-row { order: 4; }
  .about-content > .about-certs { order: 5; }
  .about-content > a { order: 6; }

  /* Services stack → single column */
  .services-stack-layout { grid-template-columns: 1fr; }
  .services-accordion { order: -1; }
  .services-stack-left { position: static; text-align: center; order: 1; }
  .services-stack-left .btn { margin-inline: auto; }
  .services-stack-right { gap: 1rem; padding-bottom: 0; }
  .svc-card {
    position: relative;
    top: auto !important;
    grid-template-columns: 1fr;
    text-align: left;
    gap: 2.5rem;
    padding: 1.5rem;
    /* Ensure consistent height for all service cards - based on natural height of card 2 */
    min-height: 300px;
  }
  .svc-num { font-size: 2rem; }
  .svc-card img { width: 100%; height: 160px; border-radius: var(--radius-md); }

  /* Service detail cards – side-by-side on tablet, keep sticky scroll */
  .svc-detail-card { flex-direction: row; height: 520px; min-height: unset; }

  /* Services accordion content – stack vertically */
  .services-content-wrap { overflow: visible; }
  .svc-detail-body { flex: 0 0 320px; padding: 1.75rem; order: 1; }
  .svc-detail-img { flex: 1; min-height: unset; order: 2; }
  .svc-detail-card:nth-child(3) .svc-detail-img img { object-position: bottom; }

  /* Flip cards */
  .flip-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Project accordion → stack vertically */
  .proj-accordion { flex-direction: column; height: auto;   gap: 0.85rem;
}
  .proj-acc-item { width: 100% !important; height: 70px; flex: none; border-radius: var(--radius-lg); }
  .proj-acc-item.active { height: 320px; }
  .proj-acc-item:not(.active) .proj-acc-label {
    bottom: auto; top: 50%; left: 1.5rem;
    transform: translateY(-50%) rotate(0deg);
    font-size: 0.85rem;
  }
  .proj-acc-item.active .proj-acc-label {
    bottom: 1.25rem; left: 50%;
    transform: translateX(-50%) rotate(0deg);
  }
  .extra-services-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  /* Vision */
  .vision-grid { grid-template-columns: 1fr; }
  .vision-image-wrap { aspect-ratio: 16/9; max-height: 280px; }
  .certs-detail-grid { grid-template-columns: 1fr; max-width: 100%; }

  /* Team */
  .team-members-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .tvs-sep { display: none; }
  .team-values-strip { gap: 1rem; }

  /* Contact */
  .contact-info-panel { flex-direction: column; }
  .hours-strip { min-width: unset; width: 100%; }
  .contact-quick-grid { grid-template-columns: 1fr 1fr; }

  /* Contact table → stacked (use !important to override inline styles) */
  .contact-info-panel table,
  .contact-info-panel tbody,
  .contact-info-panel tr,
  .contact-info-panel td {
    display: block !important;
    width: 100% !important;
  }
  .contact-info-panel td {
    padding: 0.5rem 0 !important;
  }

  /* Hours header & pills */
  .hours-strip-head { flex-direction: column; align-items: flex-start; }
  .hours-pills { width: 100%; }

  /* Hours pills – readable size, reduced row gap */
  .hours-pill { height: auto; min-height: 80px; }
  .hours-pill-day { font-size: 0.75rem; white-space: nowrap; }
  .hours-pill-time { font-size: 0.85rem; white-space: nowrap; text-align: center; }
  .hours-pills--weekend { margin-top: 0.02rem !important; }

  /* Contact quick cards – no text truncation */
  .cq-card { height: auto; min-height: 75px; }
  .cq-value {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: var(--text-sm);
  }
  .contact-quick-grid { gap: 0.75rem; padding: 0.75rem; }

  /* Footer & misc */
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo-img-link img { width: 220px; height: auto; }
  .footer-brand-top { gap: 1rem; }
  .footer-logo-text { font-size: var(--text-lg); }
  .footer-tagline { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .cta-glass { padding: var(--sp-6); }
  .cta-trust { grid-template-columns: 1fr 1fr; }
  .copy-toast { bottom: calc(2rem + 70px); }
}

@media (max-width: 480px) {
  .flip-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.1rem; }
  #heroTitle { font-size: 1.4rem; }
  h2 { font-size: 1.5rem; }
  .stats-row { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .footer-brand-top { gap: 1rem; }
  .footer-logo-img-link img { width: 200px; height: auto; }
  .footer-logo-text { font-size: var(--text-base); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hours-pills { gap: 0.2rem; }
  .hours-pill { min-width: 40px; padding: 0.75rem 0.3rem; }
  .contact-quick-grid { grid-template-columns: 1fr; }
  .about-certs { flex-direction: column; }
  .about-content h2 { overflow-wrap: break-word; }
  .flip-card { min-height: 300px; }

  /* ── Text wrapping for all buttons on mobile ── */
  .btn,
  .mobile-cta-bar a,
  .btn-google,
  .hero-ctas .btn,
  .cta-section .btn {
    white-space: normal;
    text-align: center;
    padding: 0.75rem 1.25rem;
  }

  /* ── Fixed logo width overflow fix ── */
  .logo-divider-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 320/210;
  }

  /* ── Service detail cards (stacking cards) ── */
  .svc-detail-card {
    flex-direction: column;
    height: 630px;
    min-height: unset;
    border-radius: var(--radius-lg);
  }
  .svc-detail-body {
    padding: 1.25rem;
    flex: 1;
    order: 2;
  }
  .svc-detail-body h3 { font-size: var(--text-lg); }
  .svc-detail-img { height: 200px; order: 1; }
  .svc-detail-img img { object-fit: cover; }
  .svc-detail-body .btn {
    padding: 0.85rem 1.25rem;
    font-size: var(--text-sm) !important;
  }
  .service-detail-list li { font-size: var(--text-xs); }

  /* Services accordion content – stack vertically on phones */
  .services-content-wrap { grid-template-columns: 1fr; overflow: visible; }

  /* ── Flip cards – prevent content overflow ── */
  .flip-card { min-height: 320px; }
  .flip-card-back {
    overflow-y: auto;
    padding: 1.5rem 1.25rem;
  }
  .flip-card-back h3 { font-size: var(--text-lg); }
  .flip-card-back ul li { font-size: var(--text-sm); }
  .flip-card-back > p { font-size: var(--text-sm); }
  .flip-card-icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .flip-card-front { padding: 1.5rem 1rem; }
  .flip-card-front h3 { font-size: var(--text-lg); }

  /* ── Hero section adjustments ── */
  .hero-layout { padding-block: 7rem 2.5rem; }
  .hero-sub { font-size: var(--text-lg); }

  .hero-content { max-width: 100%; }

  /* ── CTA section – reduce massive whitespace ── */
  .cta-section { margin-top: 3rem; padding-top: 2rem; }
  .cta-glass { margin-top: 2rem; }
  .cta-glass h2 { font-size: 1.8rem; }
  .cta-trust { gap: 0.5rem; }
  .trust-badge { font-size: var(--text-xs); padding: 0.4rem 0.8rem; }

  /* ── Team split ── */
  .team-split-image-wrap { width: 140px; height: 180px; }
  .team-split-text { font-size: var(--text-sm); }
  .team-split-quote { font-size: var(--text-sm); }

  /* ── Project accordion labels ── */
  .proj-acc-label { white-space: normal; font-size: 0.8rem; }
  .proj-acc-item.active .proj-acc-label { font-size: 0.85rem; }

  /* ── Carousel touch targets ── */
  .nav-arrow { width: 44px; height: 44px; }
  .nav-arrow.prev { left: 0.5rem; }
  .nav-arrow.next { right: 0.5rem; }

  /* ── Hours pills – no stray outlines on mobile ── */
  .hours-pill { border: none; outline: none; box-shadow: none; }
  .hours-pill.today { box-shadow: none; }
  .hours-pill.today-closed { box-shadow: none; border: none; }

  /* ── Fix inline padding overrides (ueber-uns team + certs) ── */
  .team { padding-top: 4rem !important; }
  #certificates { padding-top: 4rem !important; }
  .legal-hero { padding: 6rem var(--container-pad) 3rem !important; }
  .partner-showcase { padding-top: 4rem !important; }

  /* ── CTA button – override inline padding with important ── */
  .cta-section .btn.btn-white { padding: 0.75rem 1.25rem !important; font-size: var(--text-sm) !important; }

  /* ── Trust badges – allow wrapping on narrow screens ── */
  .trust-badge { white-space: normal; }
  .wizard-nav .btn { font-size: 0.85rem; white-space: nowrap; }

  /* ── Contact info panel – match .form-card padding for consistency ── */
  .contact-info-panel { padding: 1.25rem !important; }

  /* ── Reviews-summary – reduce padding ── */
  .reviews-summary { padding: 1.25rem; }

  /* ── Team split image smaller ── */
  .team-split-image-wrap { width: 110px; height: 150px; }

  /* ── Contact form – compact on small screens ── */
  .form-card { padding: 1.25rem; }
  .field-wrap input,
  .field-wrap textarea,
  .field-wrap select { font-size: 0.9rem; padding: 1.25rem 0.8rem 0.5rem; }
  .field-wrap label { font-size: 0.65rem; letter-spacing: 0.04em; }
  .form-row { gap: var(--sp-3); }
  .btn-submit { padding: 0.85rem 1.25rem; font-size: 0.9rem; }
  .checkbox-wrapper .label-text { font-size: var(--text-xs); }

  /* ── Certificates / Zertifikate cards ── */
  .cert-detail-card { min-height: 250px; }
  .cert-front { padding: 1.5rem 1rem; }
  .cert-front h3 { font-size: var(--text-sm); }
  .cert-hover-content { padding: 1.25rem; }
  .cert-hover-content h3 { font-size: var(--text-base); }
  .cert-hover-content p { font-size: var(--text-xs); }
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE – Section Wrappers
══════════════════════════════════════════════════════════ */
.contact-info-wrapper {
  background: transparent;
}

.contact-form-wrapper {
  background: transparent;
  scroll-margin-top: 10px;
  margin-top: 3rem;
}

.footer-section {
  background: #333 !important;
}

footer {
  background: #333 !important;
}

/* ═══════════════════════════════════════════════════════
   WHY US / ACCORDION SECTION
══════════════════════════════════════════════════════════ */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
}

.why-us-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 350px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.why-us-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us-right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.why-us-content {
  max-width: 560px;
}

.why-us-content .overline {
  color: var(--clr-primary);
  margin-bottom: var(--sp-2);
  display: block;
}

.why-us-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--weight-bold);
  color: var(--clr-900);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.why-us-content > p {
  color: var(--clr-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-6);
}

/* Accordion Container */
.accordion-container {
  width: 100%;
}

.accordion-item {
  gap: 0.5rem;
}

.accordion-item:first-child {
  /* Removed border-top */
}

/* Accordion Button */
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  position: relative;
  transition: background 0.3s ease;
  overflow: visible;
}

/* Number Circle */
.accordion-number-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.accordion-number-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--clr-primary);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease-out;
}

.accordion-item[data-state="open"] .accordion-number-bg {
  transform: scale(1);
  opacity: 1;
}

@media (hover: hover) {
.accordion-btn:hover .accordion-number-bg {
  transform: scale(0.85);
  opacity: 0.1;
}
}
.accordion-item[data-state="open"] .accordion-btn:hover .accordion-number-bg {
  transform: scale(1) !important;
  opacity: 1 !important;
}

.accordion-number {
  position: relative;
  z-index: 10;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--clr-900);
  transition: color 0.2s ease;
}

@media (hover: hover) {
.accordion-btn:hover .accordion-number {
  color: var(--clr-500);
}
}

.accordion-item[data-state="open"] .accordion-number {
  color: var(--clr-white);
}

/* Title */
.accordion-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: var(--weight-medium);
  color: var(--clr-500);
  letter-spacing: var(--tracking-tight);
  transition: color 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateX(0);
}

@media (hover: hover) {
.accordion-btn:hover .accordion-title {
  color: var(--clr-900);
  transform: translateX(4px);
}
}
.accordion-item[data-state="open"] .accordion-title {
  color: var(--clr-900);
  transform: translateX(4px);
}

/* Plus/Minus Icon */
.accordion-icon-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
}

.accordion-icon-wrap svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-icon {
  position: relative;
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}



.accordion-icon.has-img {
  background: transparent !important;
  border: none !important;
}

.accordion-icon.has-img::before,
.accordion-icon.has-img::after {
  display: none !important;
}

.accordion-icon img.cert-icon {
  width: 32px;
  height: 32px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--clr-900);
  transition: opacity 0.2s ease;
}

.accordion-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

@media (hover: hover) {
.accordion-btn:hover .accordion-icon::before,
.accordion-btn:hover .accordion-icon::after {
  opacity: 0.4;
}
}

.accordion-item[data-state="open"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item[data-state="open"] .accordion-icon.has-img,
.accordion-item[data-state="open"] .accordion-icon.has-img * {
  transform: none !important;
}

.accordion-icon.has-img,
.accordion-icon.has-img * {
  transform: none !important;
}

.accordion-item[data-state="open"] .accordion-icon-wrap svg {
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated Underline */
.accordion-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: transparent;
}

.accordion-underline-active {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) {
.accordion-btn:hover .accordion-underline-active {
  transform: scaleX(0.3);
}
}

.accordion-item[data-state="open"] .accordion-underline-active {
  transform: scaleX(1);
}

/* ─────────────────────────────────────────────────────────
ACCORDION – Content Animation (Modern Grid Method)
───────────────────────────────────────────────────────── */

/* Content - hidden by default using grid-template-rows */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Open state via data-state attribute */
.accordion-item[data-state="open"] .accordion-content {
  grid-template-rows: 1fr;
}

/* Content wrapper for opacity animation */
.accordion-content-wrapper {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 200ms ease-out 50ms, transform 300ms ease-out;
}

.accordion-item[data-state="open"] .accordion-content-wrapper {
  opacity: 1;
  transform: translateY(0);
}

/* Arrow rotation when open (for .accordion-arrow class) */
.accordion-item[data-state="open"] .accordion-btn .accordion-arrow,
.accordion-item[data-state="open"] .accordion-trigger .accordion-arrow {
  transform: rotate(180deg);
}

/* Content inner spacing */
.accordion-content-inner {
  padding: 0 0 1.5rem 5.5rem;
  color: var(--clr-500);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

/* Responsive */
@media (max-width: 1024px) {
  .why-us-right {
    display: contents;
  }
  .accordion-container {
    grid-column: 1 / -1;
  }
  .accordion-content-inner { padding-left: 0; text-align: left; }
}

@media (max-width: 640px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-us-image-wrap {
    order: 2;
    max-width: 280px;
    max-height: 210px;
  }

  .why-us-right {
    display: contents;
  }

  .why-us-content {
    display: contents;
  }
  .why-us-content h2 { order: 1; }
  .why-us-content > p { order: 3; }
  .accordion-container { order: 4; grid-column: 1; }

  .accordion-btn {
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .accordion-number-wrap {
    width: 36px;
  height: 33px;
  }
  
  .accordion-icon-wrap {
    width: 28px;
    height: 28px;
  }
}

/* ═══════════════════════════════════════════════════════════
     PARTNER SECTION
══════════════════════════════════════════════════════════ */
.partner-showcase {
  padding-top: 4rem;
}

@media (min-width: 769px) {
  .partner-showcase {
    padding-top: 3rem;
  }
}

.partner-showcase .overline {
  text-align: center;
  color: #000000;
}

.partner-showcase h2 {
  text-align: center;
  color: #000000;
}

.partner-intro-text {
  text-align: center;
  color: #666666;
  font-size: var(--text-base);
  margin-bottom: 2rem;
}

.partner-list {
  display: flex;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.partner-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.partner-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.partner-info h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: #000000;
  margin-bottom: 0.25rem;
}

.partner-info p {
  font-size: var(--text-sm);
  color: #666666;
  line-height: var(--leading-relaxed);
}

.partner-cta {
  margin-top: 2rem;
  padding: 2rem;
  text-align: center;
}

.partner-cta h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: #000000;
  margin-bottom: 0.5rem;
}

.partner-cta p {
  font-size: var(--text-base);
  color: #666666;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* Responsive */
@media (max-width: 640px) {
  .partner-list {
    flex-direction: column;
  }

  .partner-item {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }

  .partner-logo {
    width: 56px;
    height: 56px;
  }

  .partner-cta {
    margin-top: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ACCORDION – Clean & Classic
══════════════════════════════════════════════════════════ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.cert-section {
  margin-bottom: 2.5rem;
}

.cert-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #386641;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #386641;
}

.accordion-item {
  border: 1px solid #d1d5db;
  border-radius: var(--radius-lg);
  background: var(--clr-white);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
.accordion-item:hover {
  border-color: #9ca3af;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.accordion-trigger:hover {
  background: #f3f4f6;
}
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
  background: #f3f4f6;
}

.accordion-trigger[aria-expanded="true"] + .accordion-content {
  border-top: 1px solid #e5e7eb;
}

.accordion-header-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.accordion-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 177, 44, 0.1);
  border: 1px solid rgba(38, 177, 44, 0.2);
  color: var(--clr-accent);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.accordion-titles {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.accordion-titles h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--th-heading);
  line-height: 1.3;
}

.accordion-arrow {
  flex-shrink: 0;
  color: var(--clr-400);
  font-size: 0.875rem;
  transition: transform 200ms ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-trigger:not([aria-expanded="true"]) .accordion-arrow {
  transform: rotate(0deg);
}
.accordion-trigger[aria-expanded="true"] + .accordion-content {
  max-height: 500px;
  border-top: 1px solid #e5e7eb;
}



/* Accordion trigger variant closed state */
.accordion-trigger + .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 200ms ease, border-top 200ms ease;
}

.accordion-inner {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-inner p {
  color: var(--th-body);
  line-height: 1.6;
  font-size: 0.95rem;
}

.accordion-inner h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #386641;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.accordion-inner ul {
  margin: 0.5rem 0 0.5rem 1.5rem;
  list-style: disc;
}

.accordion-inner li {
  color: var(--th-body);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.accordion-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 20px;
  border: 0;
  border-radius: 100px;
  background-color: var(--clr-accent);
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  cursor: pointer;
  width: fit-content;
}

@media (hover: hover) {
.accordion-link:hover {
  background-color: var(--clr-accent);
  filter: brightness(1.1);
  box-shadow: 0 0 10px rgba(42, 168, 251, 0.4);
  transform: scale(1.02);
}
}

.accordion-link:active {
  background-color: var(--clr-accent);
  filter: brightness(0.9);
  transition: all 0.25s;
  -webkit-transition: all 0.25s;
  box-shadow: none;
  transform: scale(0.98);
}

/* Mobile */
@media (max-width: 640px) {
  .accordion-trigger {
    padding: 1rem;
  }

  .accordion-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .accordion-titles h3 {
    font-size: 0.9rem;
  }

  .accordion-inner {
    padding: 0.75rem 1rem 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   WIZARD – 3-Step Contact Form
   ═══════════════════════════════════════════════════════════ */

.wizard-progress {
  margin-bottom: 2rem;
}

.wizard-step-indicator {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-300);
  margin-bottom: 0.5rem;
  text-align: center;
}

.wizard-progress-bar {
  height: 6px;
  background: var(--clr-800);
  border-radius: 100px;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--clr-accent);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}

.wizard-step-desc {
  font-size: 0.95rem;
  color: var(--clr-300);
  margin-bottom: 1.5rem;
}

/* ── Step 4 Overview ──────────────────────────────────────── */
#wizardStep4Overview {
  max-width: 100%;
  overflow-x: hidden;
}

.overview-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  max-width: 100%;
  box-sizing: border-box;
}

.overview-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.overview-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  gap: 0.25rem;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
}

.overview-row:last-child {
  border-bottom: none;
}

.overview-label {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  flex: 1 1 40%;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.overview-value {
  font-size: 0.9rem;
  color: var(--clr-white);
  font-weight: 600;
  text-align: left;
  flex: 1 1 55%;
  min-width: 0;
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Tiles Grid */
.wizard-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .wizard-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wizard-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  -webkit-user-select: none;
  user-select: none;
  background: linear-gradient(180deg, #eff1ed 45%, #1b4332 45%);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  min-height: 120px;
}

.tile-icon-wrap {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  background: #eff1ed;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.wizard-tile img.tile-icon {
  width: 45px;
  height: 45px;
  display: block;
}

.wizard-tile span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-white);
  text-align: center;
}

@media (hover: hover) {
.wizard-tile:hover {
  background: linear-gradient(180deg, #eff1ed 45%, #1b4332 45%);
  transform: scale(1.03);
}
}


/* Tile Icon - explizit sichtbar */
.wizard-tile .tile-icon {
  display: block !important;
  width: 45px !important;
  height: 45px !important;
  object-fit: contain;
}

.wizard-tile.selected {
  background: linear-gradient(180deg, #eff1ed 45%, #1b4332 45%);
  box-shadow: 0 0 20px rgba(38, 177, 44, 0.7), 0 0 60px rgba(38, 177, 44, 0.3);
}

.wizard-tile .tile-check {
  display: none;
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  max-width: 100%;
  gap: 0.5rem;
}

.wizard-nav .btn {
  min-width: auto;
  white-space: normal;
  word-break: break-word;
}

/* Wizard Form Groups */
.wizard-step {
  max-width: 100%;
}

.wizard-step .form-group {
  margin-bottom: 1.25rem;
}

.wizard-step textarea {
  min-height: 100px;
  resize: vertical;
}

/* Wizard Buttons */
.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-secondary {
  background: var(--clr-700);
  color: var(--clr-white);
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
}

@media (hover: hover) {
.btn-secondary:hover {
  background: var(--clr-500);
}
}

.btn-secondary i {
  margin-right: 0.5rem;
}

#wizardSubmit {
}

#wizardSubmit .btn-text i {
  margin-right: 0.5rem;
}

/* Form Error */
.wizard-step .form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

.wizard-step .form-group.error .form-error {
  display: block;
}

.wizard-step .form-group.error .field-wrap input,
.wizard-step .form-group.error .field-wrap textarea {
  border-color: #ef4444;
}

/* Privacy Error */
#error-privacy {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Success Message */
.wizard-success {
  text-align: center;
  padding: 2rem;
}

.wizard-success i {
  font-size: 3rem;
  color: var(--clr-accent);
  margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .wizard-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .wizard-tile {
    padding: 1rem 0.5rem;
    min-height: 100px;
  }

  .wizard-tile i,
  .wizard-tile img.tile-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
  }

  .wizard-tile span {
    font-size: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .wizard-nav {
    flex-direction: row;
    gap: 1rem;
  }

  .wizard-nav .btn {
    width: auto;
  }

  .wizard-step-title {
    font-size: 1.1rem;
  }

  .wizard-step-desc {
    font-size: 0.875rem;
  }

  .overview-row {
    flex-direction: column;
    gap: 0.15rem;
  }
  .overview-label,
  .overview-value {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE – Very Small Screens (≤ 400px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .container { padding-inline: var(--container-pad-mobile); }
  .btn { min-height: 44px; }
  .stats-row .stat-box-num { font-size: 2rem; }
  .reviews-score-number { font-size: 1.75rem; }
  .calc-title { font-size: 1rem; }

  /* ── Section spacing ── */
  .section { padding-block: 2.5rem; }
  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 { margin-bottom: 0.75rem; }
  .section-header p { font-size: var(--text-sm); }

  /* ── Footer on smallest screens ── */
  .footer-logo-img-link img { width: 170px; height: auto; }
  .footer-contact-item span,
  .footer-contact-item a { font-size: var(--text-xs); }

  /* ── Wizard tiles ── */
  .wizard-tile { min-height: 80px; padding: 0.75rem 0.4rem; }
  .wizard-tile span { font-size: 0.85rem; word-break: break-word; overflow-wrap: break-word; hyphens: auto; }
  .wizard-tile i,
  .wizard-tile img.tile-icon { width: 28px; height: 28px; }
  .wizard-nav .btn { font-size: 0.8rem; white-space: nowrap; }

  /* ── Review cards ── */
  .review-card { padding: 1.25rem; }
  .review-text { font-size: var(--text-xs); }

  /* ── Hide fixed mobile CTA bar on tiny screens ── */
  .mobile-cta-bar { display: none !important; }

  /* ── Condense opening hours into a single pill ── */
  .hours-pill { display: none; }
  .hours-pills--weekend { display: none !important; }
  .hours-pills:not(.hours-pills--weekend) {
    display: flex !important;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
  }
  .hours-pills:not(.hours-pills--weekend)::before {
    content: "MO–SA";
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: #1b4332;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .hours-pills:not(.hours-pills--weekend)::after {
    content: "08–18";
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    color: #1a2e1a;
    background: #eff1ed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  /* ── Legal pages: match container padding ── */
  .legal-content { padding-inline: var(--container-pad-mobile); }
  .legal-hero { padding-inline: var(--container-pad-mobile) !important; }

  /* ── Carousel: restore peek effect on tiny screens ── */
  .carousel-outer {
    padding: 0 calc((100vw - 85vw - 12px) / 2);
  }
  .slide { width: 85vw; margin-right: 12px; }
  .nav-arrow { width: 36px; height: 36px; }
  .nav-arrow.prev { left: 0.25rem; }
  .nav-arrow.next { right: 0.25rem; }

  /* ── Modern accordion inner padding ── */
  .modern-accordion-inner { padding: 0 14px 12px 14px; }

  /* ── Service detail cards – equal height on tiny screens ── */
  .svc-detail-card { height: 590px; }
  .svc-detail-img { height: 160px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE – Tiny Screens (≤ 360px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-layout { padding-block: 5.5rem 2rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero-sub { font-size: 1rem; }
  .hero-overline { font-size: 0.6rem; }

  /* ── Google button – prevent overflow ── */
  .btn-google { padding: 0.6rem 1rem; gap: 0.4rem; font-size: 0.8rem; }
}


