/* =========================================================
   Jan Dimov — Fliesenleger-Meisterbetrieb Erlangen — Design System
   ========================================================= */

:root {
  --color-bg: #55514D;          /* greige — header, footer, dark frame */
  --color-bg-section: #F4F3F1;  /* light gray */
  --color-bg-white: #ffffff;
  --color-text: #211F1C;        /* ink */
  --color-text-muted: #6B655F;
  --color-text-light: #EDEAE5;
  --color-text-light-muted: #C2BCB4;
  --color-yellow: #efa93e;        /* orange accent (token name kept for cascade) */
  --color-yellow-hover: #F4BB63;
  --color-tuev-blue: #efa93e;     /* repurposed: brand badge accent */
  --color-greige: #55514D;
  --color-orange: #efa93e;
  --color-concrete: #CFCCC5;
  --color-google-blue: #4285f4;
  --color-google-red: #ea4335;
  --color-google-yellow: #fbbc04;
  --color-google-green: #34a853;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-light: rgba(0, 0, 0, 0.08);
  --color-card-dark: rgba(255, 255, 255, 0.04);

  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-pill: 0 6px 20px rgba(0, 0, 0, 0.25);

  --font-sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;

  --container-max: 1240px;
  --container-pad: clamp(20px, 4vw, 48px);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* `clip` prevents horizontal overflow WITHOUT creating a scroll context
     so position: sticky descendants keep working. */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

img, svg, video, iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

* {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =========================================================
   Layout
   ========================================================= */

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

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

section {
  position: relative;
}

.section-dark {
  background: var(--color-bg);
  color: var(--color-text-light);
}

.section-light {
  background: var(--color-bg-section);
  color: var(--color-text);
}

.section-white {
  background: var(--color-bg-white);
  color: var(--color-text);
}

.section-pad {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.section-pad-sm {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
}

h2, .h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
}

h3, .h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4, .h4 {
  font-size: 1.15rem;
}

p {
  font-size: 1rem;
  line-height: 1.65;
  color: inherit;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 18px;
}

.eyebrow-dark {
  color: var(--color-yellow);
}

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

.muted-light {
  color: var(--color-text-light-muted);
}

.text-center {
  text-align: center;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #3F3B37;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 13px 0;
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.site-header .container {
  position: relative;
}

/* Body background matches header so the area between header and content
   never flashes white during scroll on mobile (where header is fixed). */
body {
  background: var(--color-bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

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

.tuev-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-text-light-muted);
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
  box-shadow: none;
  transition: transform var(--transition);
  line-height: 1;
}

.tuev-pill:hover {
  transform: translateY(-1px);
}

.tuev-pill img {
  height: 13px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

/* Marken-Schriftzug nur im ausgeklappten Mobile-Menü sichtbar (per JS eingefügt) */
.nav-brand { display: none; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Desktop layout: menu links absolutely centered in the container;
   button + language toggle flow naturally to the far right. */
@media (min-width: 769px) {
  .main-nav ul {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  /* Der per JS eingefügte Menü-Schriftzug darf im Desktop-Menü NIE erscheinen */
  .main-nav .nav-brand { display: none !important; }
}

.main-nav a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover {
  color: var(--color-yellow);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-yellow);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

/* =========================================================
   "Termin buchen" Nav Pill — clean rebuild
   ========================================================= */

a.btn-nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  padding: 0 28px;
  border: 1.5px solid var(--color-yellow);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

a.btn-nav:hover,
a.btn-nav:focus,
a.btn-nav:focus-visible {
  background: var(--color-yellow);
  color: #000000 !important;
  transform: translateY(-1px);
}

/* Disable the underline pseudo so the button doesn't get the nav-link underline */
a.btn-nav::after,
a.btn-nav:hover::after {
  display: none !important;
  content: none !important;
}

/* Mobile floating action cluster — menu centered, WhatsApp on the right */
.mobile-actions {
  /* wrapper is a no-op container; children are fixed-positioned */
}

/* Backdrop that dims the rest of the page when the mobile menu is open */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 104;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.menu-toggle,
.whatsapp-fab {
  display: none;
}

/* =========================================================
   Language toggle (DE / EN)
   ========================================================= */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.lang-btn {
  display: inline-block;
  width: 28px;
  height: 28px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
  position: relative;
}

/* Flag is painted as a background image so it always 100% covers the circle */
.lang-btn[lang="de"] {
  background-image: url("/assets/flag-de.svg");
  background-color: #DD0000;
}

.lang-btn[lang="en"] {
  background-image: url("/assets/flag-uk.svg");
  background-color: #012169;
}

/* Hide the original <img> child but keep it in DOM for screen readers */
.lang-btn img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lang-btn:hover {
  opacity: 0.85;
}

.lang-btn.active {
  opacity: 1;
}

/* Inline toggle inside .nav-left next to the TÜV pill — shown on mobile only */
.nav-left .lang-toggle.lang-toggle-inline {
  display: none;
}

.lang-toggle-fab {
  position: fixed;
  bottom: 28px;
  left: 22px;
  z-index: 110;
  display: none;
  padding: 6px 10px;
  gap: 8px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}

.lang-toggle-fab .lang-btn {
  width: 26px;
  height: 26px;
}

.menu-toggle {
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 36px;
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 110;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease;
}

.menu-toggle:hover {
  transform: translateX(-50%) translateY(-1px);
}

.menu-toggle:active {
  transform: translateX(-50%) scale(0.98);
}

.menu-label {
  line-height: 1;
}

.whatsapp-fab {
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  z-index: 110;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 20px rgba(37, 211, 102, 0.32);
}

.whatsapp-fab svg,
.whatsapp-fab img {
  width: 28px;
  height: 28px;
  display: block;
}

/* Hamburger lines */
.ham {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
}

.ham > span {
  display: block;
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.ham > span:nth-child(1) { top: 2px; }
.ham > span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.ham > span:nth-child(3) { bottom: 2px; }

/* Open state — morph into X */
.menu-toggle[aria-expanded="true"] .ham > span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .ham > span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}

.menu-toggle[aria-expanded="true"] .ham > span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-width: 220px;
  min-height: 52px;
  box-sizing: border-box;
}

.btn-primary {
  background: transparent;
  color: #fff;
  border-color: var(--color-yellow);
}

.btn-primary:hover {
  background: var(--color-yellow);
  color: #000;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-secondary:hover {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 1.1em;
}

.btn-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.btn-stack .btn {
  width: 100%;
}

.btn-stack .btn-caption {
  font-size: 0.78rem;
  color: var(--color-text-light-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  background: var(--color-bg);
  color: var(--color-text-light);
  padding: 0;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
}

.hero-copy h1 .accent {
  color: #fff;
  font-weight: 300;
  display: inline;
  white-space: nowrap;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin: 0 0 18px;
  color: var(--color-text-light);
  font-weight: 500;
}

.hero-copy p {
  color: var(--color-text-light-muted);
  margin-bottom: 18px;
  max-width: 480px;
}

.hero-copy strong {
  color: #fff;
  font-weight: 600;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 4px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: #FFB400;
  font-size: 1rem;
  letter-spacing: 1px;
}

.google-logo-text {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
}

.google-logo-text span:nth-child(1) { color: var(--color-google-blue); }
.google-logo-text span:nth-child(2) { color: var(--color-google-red); }
.google-logo-text span:nth-child(3) { color: var(--color-google-yellow); }
.google-logo-text span:nth-child(4) { color: var(--color-google-blue); }
.google-logo-text span:nth-child(5) { color: var(--color-google-green); }
.google-logo-text span:nth-child(6) { color: var(--color-google-red); }

/* Portrait with floating badges */
.hero-portrait-wrap {
  position: relative;
  max-width: 460px;
  margin-left: auto;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #5f5b56, #45413d);
  border-radius: var(--radius-lg);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  border-radius: var(--radius-lg);
}

/* Light overlay over the hero image */
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 31, 28, 0.55);
  z-index: 1;
  pointer-events: none;
}

.portrait-name {
  display: none;
}

/* Brand logo overlaid centered on the hero image */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 34vw, 480px);
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.35));
}
@media (max-width: 860px) {
  .hero-logo { width: clamp(200px, 58vw, 300px); }
}

.portrait-name h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.portrait-name .role {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--color-text-light-muted);
  text-transform: uppercase;
}

.badge {
  position: absolute;
  background: #55514D;
  color: #fff;
  border: 1.5px solid var(--color-yellow);
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-pill);
  z-index: 2;
}

.badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-yellow);
}

.badge-tuev {
  background: var(--color-tuev-blue);
  border-color: var(--color-tuev-blue);
  color: #fff;
  font-weight: 600;
}

.badge-tuev img {
  height: 11px;
  width: auto;
}

.badge-tl {
  top: 8%;
  left: -8%;
}

.badge-tr {
  top: 2%;
  right: -6%;
}

.badge-bl {
  bottom: 20%;
  left: -10%;
}

.badge-br {
  bottom: 8%;
  right: -8%;
}

/* =========================================================
   USP Bar (under hero)
   ========================================================= */

.usp-bar {
  background: var(--color-bg);
  color: var(--color-text-light);
  padding: 0;
  border: none;
}

.usp-bar > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.usp-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.usp-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px clamp(16px, 1.8vw, 28px);
  background: #2E2B27;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.usp-bar-item:last-child { border-right: none; }
.usp-bar-item .usp-bar-text { flex: 0 0 auto; width: clamp(150px, 42vw, 180px); }

@media (max-width: 760px) {
  .usp-bar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .usp-bar-grid { grid-template-columns: 1fr; }
}

.usp-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-yellow);
}

.usp-bar-icon svg,
.usp-bar-icon img {
  width: 44px;
  height: 44px;
  display: block;
}

.usp-bar-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.usp-bar-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.005em;
  line-height: 1.25;
}

.usp-bar-sub {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--color-text-light-muted);
  line-height: 1.4;
}

/* =========================================================
   Service Process Section
   ========================================================= */

.service-section {
  background: var(--color-bg-section);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.service-grid > :first-child {
  position: sticky;
  top: 90px;
  align-self: start;
}

@media (max-width: 1024px) {
  .service-grid > :first-child {
    position: static;
    top: auto;
  }
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.process-step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.process-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #55514D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-yellow);
}

.process-step-icon svg,
.process-step-icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.process-step h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* =========================================================
   Services / Leistungen Cards
   ========================================================= */

.leistungen-block h2 {
  margin-bottom: 38px;
}

.leistungen-list {
  display: grid;
  gap: 28px;
}

.leistungen-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.leistungen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.leistungen-card .card-content {
  padding: 32px 28px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.leistungen-card .eyebrow-small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.leistungen-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
}

.leistungen-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.leistungen-card .btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 12px 26px;
  background: #55514D;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1.5px solid #55514D;
  transition: all var(--transition);
  white-space: nowrap;
}

.leistungen-card .btn-card:hover {
  background: var(--color-yellow);
  color: #000;
  border-color: var(--color-yellow);
  transform: translateY(-1px);
}

.leistungen-card .card-img-wide {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f7f7f7;
  overflow: hidden;
}

.leistungen-card .card-img-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.leistungen-card:hover .card-img-wide img {
  transform: scale(1.04);
}

/* =========================================================
   Google Reviews
   ========================================================= */

.reviews-section {
  background: var(--color-bg-white);
}

.reviews-header {
  text-align: center;
  margin-bottom: 50px;
}

.reviews-header h2 {
  margin-bottom: 18px;
}

.reviews-summary {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-weight: 500;
}
.reviews-summary .reviews-count { color: var(--color-text-muted); font-weight: 600; }

.reviews-summary .rating-big {
  font-size: 1.05rem;
  font-weight: 600;
}

.reviews-summary .stars {
  font-size: 1.2rem;
}

.reviews-summary .google-logo-text {
  font-size: 1.4rem;
  font-weight: 500;
  margin-left: 4px;
}

/* ----- Reviews slider ----- */
.reviews-slider-wrap {
  position: relative;
}

.reviews-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 360px);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 16px;
  overscroll-behavior-x: contain;
  /* Let touch-vertical scrolling pass through to the page;
     only horizontal pan/zoom is captured by the slider. */
  touch-action: pan-x pinch-zoom;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.reviews-slider > .review-card {
  scroll-snap-align: start;
  height: auto;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all var(--transition);
}

.slider-nav:hover {
  background: var(--color-yellow);
  color: #000;
  border-color: var(--color-yellow);
  transform: translateY(-50%) scale(1.05);
}

.slider-nav svg {
  width: 20px;
  height: 20px;
}

.slider-nav[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-prev {
  left: -10px;
}

.slider-next {
  right: -10px;
}

@media (max-width: 768px) {
  .reviews-slider {
    grid-auto-columns: min(85%, 320px);
  }
  .slider-nav {
    display: none;
  }
}

.review-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.review-avatar.c-red    { background: #db4437; }
.review-avatar.c-blue   { background: #4285f4; }
.review-avatar.c-green  { background: #0f9d58; }
.review-avatar.c-amber  { background: #f4b400; color: #1a1a1a; }
.review-avatar.c-purple { background: #ab47bc; }
.review-avatar.c-pink   { background: #ec407a; }
.review-avatar.c-orange { background: #f97316; }
.review-avatar.c-indigo { background: #3f51b5; }
.review-avatar.c-teal   { background: #009688; }
.review-avatar.c-cyan   { background: #00acc1; }
.review-avatar.c-grey   { background: #6b7280; }

.review-meta .name {
  font-weight: 600;
  font-size: 0.98rem;
  margin: 0;
}

.review-meta .rating-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.review-meta .rating-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1;
}

.review-meta .stars {
  color: var(--color-yellow);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  line-height: 1;
}

.review-card .stars {
  color: var(--color-yellow);
  font-size: 1rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
  padding-top: 12px;
  margin-top: 4px;
}

.review-footer svg {
  width: 14px;
  height: 14px;
}

.reviews-cta {
  text-align: center;
  margin-top: 40px;
}

.reviews-cta a {
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-yellow);
  padding-bottom: 3px;
}

.reviews-cta a:hover {
  color: var(--color-tuev-blue);
}

/* =========================================================
   Why Varadinov — dark detailed USP section
   ========================================================= */

.why-section {
  background: var(--color-bg);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 212, 0, 0.06), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(0, 37, 193, 0.08), transparent 50%);
  pointer-events: none;
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.why-intro h2 {
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.why-intro .lead {
  color: var(--color-text-light-muted);
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}

.why-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 40px);
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 212, 0, 0.4);
  transform: translateY(-3px);
}

.why-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 212, 0, 0.12);
  color: var(--color-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-icon svg,
.why-card-icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.why-card h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--color-text-light-muted);
  margin: 0 0 12px;
}

.why-card p:last-child {
  margin-bottom: 0;
}

.why-conclusion {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
}

.why-conclusion p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}

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

  .why-card-head {
    gap: 14px;
  }

  .why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .why-card-icon svg,
  .why-card-icon img {
    width: 26px;
    height: 26px;
  }
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  background: var(--color-bg-section);
}

.faq-header {
  text-align: center;
  margin-bottom: 44px;
}

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

.faq-header h2 {
  font-family: var(--font-sans);
  font-weight: 700;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5a5a' stroke-width='2.4' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 14px 14px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  background-color: var(--color-yellow);
  border-color: var(--color-yellow);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.6' stroke-linecap='round'><path d='M5 12h14'/></svg>");
}

.faq-item summary:hover {
  color: var(--color-text);
}

.faq-item summary:hover::after {
  border-color: rgba(0, 0, 0, 0.45);
}

.faq-answer {
  padding: 0 4px 26px;
  color: var(--color-text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

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

/* =========================================================
   Contact Section
   ========================================================= */

.contact-section {
  background: var(--color-bg);
  color: var(--color-text-light);
}

.contact-section h2 {
  color: #fff;
  margin-bottom: 14px;
}

.contact-section .anfrage-intro p {
  color: var(--color-text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-yellow);
}

.contact-card .label {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
}

.contact-card .value {
  font-size: 0.92rem;
  color: var(--color-yellow);
  font-weight: 500;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--color-bg);
  color: var(--color-text-light-muted);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-brand .logo-link img {
  height: 28px;
  margin-bottom: 18px;
}

.footer-brand address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-brand .name {
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand a {
  color: var(--color-yellow);
}

.footer-brand a:hover {
  text-decoration: underline;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col a {
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--color-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 22px;
}

.footer-bottom a:hover {
  color: var(--color-yellow);
}

/* =========================================================
   Subpage / Article Layouts
   ========================================================= */

.page-hero {
  background: var(--color-bg);
  color: var(--color-text-light);
  padding: 80px 0 70px;
  text-align: left;
}

.page-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-light-muted);
  margin-bottom: 22px;
}

.page-hero .breadcrumbs a:hover {
  color: var(--color-yellow);
}

.page-hero .breadcrumbs .sep {
  opacity: 0.5;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero .lead {
  color: var(--color-text-light-muted);
  max-width: 720px;
}

.article {
  padding: clamp(60px, 8vw, 100px) 0;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 {
  margin: 48px 0 18px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 30px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
  color: var(--color-text);
  line-height: 1.75;
}

.article-body ul, .article-body ol {
  margin: 0 0 22px 22px;
  padding-left: 6px;
}

.article-body ul li, .article-body ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body ul li {
  list-style: disc;
}

.article-body ol li {
  list-style: decimal;
}

.article-body strong {
  font-weight: 600;
  color: var(--color-text);
}

.article-body .callout {
  background: #fff8d6;
  border-left: 4px solid var(--color-yellow);
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  margin: 28px 0;
}

.article-body .callout p:last-child {
  margin-bottom: 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 38px 0;
}

.usp-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: left;
}

.usp-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff8d6;
  color: var(--color-tuev-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.usp-card .ico svg {
  width: 22px;
  height: 22px;
}

.usp-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.usp-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.cta-band {
  background: var(--color-bg);
  color: var(--color-text-light);
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--color-text-light-muted);
  margin-bottom: 28px;
}

.cta-band .cta-row {
  justify-content: center;
  margin-top: 0;
}

/* =========================================================
   Ratgeber / Guide slider on homepage (compact card variant)
   ========================================================= */

.ratgeber-slider-section {
  background: var(--color-bg-section);
}

.ratgeber-slider {
  grid-auto-columns: minmax(300px, 360px);
}

.rg-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
  scroll-snap-align: start;
}

.rg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.rg-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}

.rg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rg-card:hover .rg-img img {
  transform: scale(1.04);
}

.rg-tag {
  display: inline-block;
  width: fit-content;
  background: #55514D;
  color: var(--color-yellow);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 18px 20px 8px;
}

.rg-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 20px 8px;
  color: var(--color-text);
}

.rg-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0 20px 20px;
}

/* =========================================================
   Ratgeber / Guide page — Google Posts style cards
   ========================================================= */

.guide-grid-section {
  background: var(--color-bg-section);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

@media (max-width: 820px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.guide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}

.guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-card:hover .guide-img img {
  transform: scale(1.04);
}

.guide-body {
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.guide-tag {
  display: inline-block;
  width: fit-content;
  background: #55514D;
  color: var(--color-yellow);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-card h2 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}

.guide-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

.guide-card .btn-card {
  align-self: flex-start;
  margin-top: 6px;
  padding: 11px 22px;
  background: #55514D;
  color: #fff;
  border: 1.5px solid #55514D;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all var(--transition);
}

.guide-card .btn-card:hover {
  background: var(--color-yellow);
  color: #000;
  border-color: var(--color-yellow);
  transform: translateY(-1px);
}

/* =========================================================
   Legal pages (Impressum / Datenschutz / Imprint / Privacy)
   — dark background, white text, left-aligned for readability
   ========================================================= */

body.legal-page {
  background: var(--color-bg);
}

body.legal-page .page-hero {
  background: var(--color-bg);
  text-align: center;
}
body.legal-page .page-hero .breadcrumbs { justify-content: center; }
body.legal-page .page-hero h1,
body.legal-page .page-hero .lead { margin-left: auto; margin-right: auto; }

body.legal-page .article {
  background: var(--color-bg);
  color: #fff;
}

body.legal-page .article-body h2,
body.legal-page .article-body h3 {
  color: #fff;
}

body.legal-page .article-body p,
body.legal-page .article-body li,
body.legal-page .article-body em {
  color: rgba(255, 255, 255, 0.85);
}

body.legal-page .article-body strong {
  color: #fff;
}

body.legal-page .article-body a {
  color: var(--color-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.legal-page .article-body a:hover {
  color: #fff;
}

/* =========================================================
   Service detail pages — centred layout, dark background, white text
   ========================================================= */

body.service-detail {
  background: var(--color-bg);
}

body.service-detail .page-hero {
  text-align: center;
  background: var(--color-bg);
  padding-bottom: 50px;
}

body.service-detail .page-hero .breadcrumbs {
  justify-content: center;
}

body.service-detail .page-hero h1,
body.service-detail .page-hero .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

body.service-detail .article {
  background: var(--color-bg);
  color: #fff;
}

body.service-detail .article-body {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

body.service-detail .article-body h2,
body.service-detail .article-body h3 {
  color: #fff;
  text-align: center;
}

body.service-detail .article-body p,
body.service-detail .article-body li {
  color: rgba(255, 255, 255, 0.82);
}

body.service-detail .article-body strong {
  color: #fff;
}

body.service-detail .article-body ul,
body.service-detail .article-body ol {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  display: inline-block;
  max-width: 620px;
}

body.service-detail .article-body .callout {
  background: rgba(255, 212, 0, 0.08);
  border-left-color: var(--color-yellow);
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

body.service-detail .article-body .callout p,
body.service-detail .article-body .callout strong {
  color: rgba(255, 255, 255, 0.9);
}

body.service-detail .usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

@media (max-width: 700px) {
  body.service-detail .usp-grid {
    grid-template-columns: 1fr;
  }
}

body.service-detail .usp-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  padding: 28px 26px;
}

body.service-detail .usp-card h3 {
  color: #fff;
  text-align: left;
}

body.service-detail .usp-card p {
  color: rgba(255, 255, 255, 0.75);
}

body.service-detail .usp-card .ico {
  background: rgba(255, 212, 0, 0.12);
  color: var(--color-yellow);
}

/* Services overview page (/leistungen/) */
.services-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.overview-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.overview-card:nth-child(even) {
  grid-template-columns: 1.4fr minmax(280px, 1fr);
}

.overview-card:nth-child(even) .overview-img {
  order: 2;
}

.overview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.overview-img {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #f4f4f4;
}

.overview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview-card:hover .overview-img img {
  transform: scale(1.04);
}

.overview-body {
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overview-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.overview-body h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin: 0;
}

.overview-body p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

.overview-list {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.overview-list {
  display: grid;
  gap: 10px;
}

.overview-list li {
  position: relative;
  padding-left: 36px;
  font-size: 0.94rem;
  color: var(--color-text);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  min-height: 24px;
}

/* Material Symbols `task_alt` — check inside a circle outline, here filled black */
.overview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #55514D;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23ffffff'><path d='m424-296 282-282-56-56-226 226-114-114-56 56 170 170Z'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

.btn-card-dark {
  align-self: flex-start;
  margin-top: 10px;
  padding: 13px 28px;
  background: #55514D;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1.5px solid #55514D;
  min-width: 0;
  min-height: 0;
  transition: all var(--transition);
}

.btn-card-dark:hover {
  background: var(--color-yellow);
  color: #000;
  border-color: var(--color-yellow);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .overview-card,
  .overview-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .overview-card:nth-child(even) .overview-img {
    order: 0;
  }
  .overview-img {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
}

/* City landing pages */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.geo-grid a {
  display: block;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  transition: all var(--transition);
}

.geo-grid a:hover {
  border-color: var(--color-yellow);
  background: #fff8d6;
  transform: translateY(-1px);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .usp-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* On 2-col layout: right border only on left col, bottom border on top row */
  .usp-bar-item {
    border-right: none;
    border-bottom: 1px solid #2a2a2a;
    padding: 18px clamp(10px, 2vw, 22px);
  }

  .usp-bar-item:nth-child(odd) {
    border-right: 1px solid #2a2a2a;
  }

  .usp-bar-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 700px) {
  .usp-bar-grid {
    grid-template-columns: 1fr;
  }

  .usp-bar-item,
  .usp-bar-item:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid #2a2a2a;
    padding: 18px 4px;
  }

  .usp-bar-item:last-child {
    border-bottom: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* Hero image full-bleed (no side/bottom spacing), no rounding — stacked layout.
     Avoid 100vw (causes horizontal overflow): drop the container padding instead. */
  .hero { padding-bottom: 0; }
  .hero > .container { padding-left: 0; padding-right: 0; }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .hero-portrait-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .hero-portrait { border-radius: 0; aspect-ratio: 4 / 3; }
  .hero-portrait img { border-radius: 0; }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .menu-toggle,
  .whatsapp-fab {
    display: inline-flex;
  }

  /* Mobile: header is fixed for reliable top-pinning on touch devices */
  .site-header {
    position: fixed;
  }

  .site-header .container {
    gap: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  body {
    padding-top: 66px;
  }

  /* Desktop language toggle hides on mobile, inline header toggle takes over */
  .main-nav .lang-toggle {
    display: none;
  }

  /* nav-left expands across the full mobile header so the toggle can push right */
  .nav-left {
    flex: 1 1 100%;
    width: 100%;
    gap: 12px;
    align-items: center;
  }

  /* Logo nudged minimally up so the V-checkmark sits optically centered */
  .nav-left .logo-link {
    margin-top: -2px;
  }

  /* Inline mobile toggle — pushed to the far right of the header */
  .nav-left .lang-toggle.lang-toggle-inline {
    display: inline-flex !important;
    margin-left: auto;
    padding: 5px 8px;
    gap: 6px;
  }

  .nav-left .lang-toggle.lang-toggle-inline .lang-btn {
    width: 26px;
    height: 26px;
  }

  .lang-toggle-fab {
    display: none !important;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    background: var(--color-bg);
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 88px 24px 48px;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 105;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
  }

  .main-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  /* „FLIESEN DIMOV" oben im Mobile-Menü (wie im Header) */
  .main-nav .nav-brand {
    display: block;
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: #fff;
    text-decoration: none;
    line-height: 1;
  }
  .main-nav .nav-brand strong { font-weight: 700; }

  /* Header-Inhalt (Logo/Kontakt) ausblenden, solange das Menü offen ist */
  .site-header:has(.main-nav.open) .nav-left { opacity: 0; pointer-events: none; }

  .main-nav::before { content: none; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 26px;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-nav li:last-child { border-bottom: none; }

  .main-nav a {
    font-size: 1.3rem;
    padding: 16px 4px;
    display: block;
    text-align: center;
    letter-spacing: 0.08em;
    font-weight: 500;
  }

  .main-nav .btn-nav {
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 16px 40px;
    font-size: 0.98rem;
    letter-spacing: 0.1em;
    margin: 12px auto 0;
    align-self: center;
    text-transform: uppercase;
  }

  /* Telefon/E-Mail-Icons im Menü: mehr Abstand zum oberen Menüpunkt + größere Buttons, weiter auseinander */
  .main-nav .nav-contact { margin-top: 34px; gap: 22px; }
  .main-nav .nav-contact a { width: 56px; height: 56px; }
  .main-nav .nav-contact svg { width: 26px; height: 26px; }

  .site-header {
    padding: 12px 0;
  }

  .logo-link img {
    height: 34px;
  }

  .nav-left {
    gap: 10px;
  }

  .nav-left .tuev-pill {
    padding: 8px 14px;
  }

  .nav-left .tuev-pill img {
    height: 12px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: 100%;
  }

  .btn-stack {
    width: 100%;
    min-width: 0;
  }

  .btn,
  .btn-nav {
    min-width: 0;
    width: 100%;
  }

  .menu-toggle {
    width: auto;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge {
    font-size: 0.7rem;
    padding: 6px 10px;
    gap: 6px;
  }

  .badge svg, .badge img {
    width: 11px;
    height: 11px;
  }

  .hero-portrait-wrap {
    max-width: min(380px, 92%);
  }

  /* On mobile, hide the long label text and show the short data-attribute version */
  .badge-label { font-size: 0; }
  .badge-label::after {
    content: attr(data-short);
    font-size: 0.7rem;
    display: inline-block;
  }

  .badge-tl { top: 2%; left: 0; }
  .badge-tr { top: -2%; right: 0; }
  .badge-bl { bottom: 18%; left: 0; }
  .badge-br { bottom: 4%; right: 0; }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 18px;
  }
}

/* =========================================================
   Utility / Misc
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Scroll-triggered animations (GPU-only: transform + opacity)
   Slow + graceful, "expo-out" easing for premium feel.
   Respects prefers-reduced-motion automatically via @media below.
   Hero / above-the-fold content is NOT animated so LCP stays measurable.
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Variants */
.reveal-fade { transform: none; }
.reveal-fade.visible { opacity: 1; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children inside a group — longer steps for a graceful cascade */
.stagger-group > .reveal {
  transition-delay: 0ms;
}
.stagger-group > .reveal:nth-child(2) { transition-delay: 140ms; }
.stagger-group > .reveal:nth-child(3) { transition-delay: 280ms; }
.stagger-group > .reveal:nth-child(4) { transition-delay: 420ms; }
.stagger-group > .reveal:nth-child(5) { transition-delay: 560ms; }
.stagger-group > .reveal:nth-child(6) { transition-delay: 700ms; }
.stagger-group > .reveal:nth-child(7) { transition-delay: 840ms; }
.stagger-group > .reveal:nth-child(8) { transition-delay: 980ms; }

/* Hero entry animation removed — was preventing Lighthouse LCP detection.
   Hero content (H1 + portrait) renders immediately so LCP can be measured.
   Subtle scroll-triggered reveals on below-the-fold sections are kept. */

/* Micro-interaction: pill buttons subtle press feedback */
.btn:active,
a.btn-nav:active,
.btn-card:active,
.btn-card-dark:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Jan Dimov — Reskin additions
   ========================================================= */

/* Text wordmark logo (header + footer sit on greige) */
.logo-link {
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}
.logo-word {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}
.logo-word strong { font-weight: 700; }

/* Minimalist phone + email icons in the header (top right), grouped in a darker chip */
.nav-contact { display: inline-flex; align-items: center; gap: 8px; }
.nav-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2B2824;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), background var(--transition);
}
.nav-contact a:hover { color: var(--color-orange); }
.nav-contact svg { width: 18px; height: 18px; display: block; }

/* Meisterbetrieb label beside the logo (desktop) */
.meister-badge {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light-muted);
  white-space: nowrap;
}
@media (max-width: 768px) { .meister-badge { display: none; } }

/* Nav hover: colour change only, no underline */
.main-nav a::after { display: none !important; }

/* Mobile: phone + email icons top-right in the header bar */
.header-contact { display: none; }
@media (max-width: 768px) {
  .header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .header-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2B2824;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
  }
  .header-contact a:hover { color: var(--color-orange); }
  .header-contact svg { width: 19px; height: 19px; display: block; }
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-orange);
  font-weight: 600;
}

/* "Meisterbetrieb" badge (repurposed .tuev-pill, now text instead of image) */
.tuev-pill {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* .img-ph — Hilfsklasse (ungenutzt) */
.img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 24px;
  text-align: center;
  border-radius: inherit;
  background-color: #ECE9E5;
  background-image: repeating-linear-gradient(45deg, rgba(85,81,77,0.05) 0 16px, rgba(85,81,77,0.10) 16px 32px);
  color: #8A847C;
  border: 1px dashed rgba(85,81,77,0.35);
}
.card-img-wide .img-ph { aspect-ratio: 1 / 1; min-height: 0; }
.hero-portrait .img-ph { aspect-ratio: 1 / 1; }
.img-ph-icon { width: 30px; height: 30px; opacity: 0.5; }
.img-ph-icon svg { width: 100%; height: 100%; fill: currentColor; }
.img-ph-label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6B655F;
}
.img-ph-desc { font-size: 0.8rem; color: #9A938A; max-width: 90%; line-height: 1.4; }

/* Hero rating count (Google reviews) */
.hero-rating .rating-count {
  color: var(--color-text-light-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Logo wordmark: FLIESE.DIMOV (uppercase, orange dot) */
.logo-word {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}
.logo-dot { color: var(--color-orange); }

/* Hero: full-bleed image panel (~40%), flush top/bottom/right — desktop */
@media (min-width: 861px) {
  .hero-portrait-wrap {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    max-width: none;
    margin: 0;
  }
  .hero-portrait {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    background: linear-gradient(135deg, #5f5b56, #45413d);
  }
  .hero-portrait .img-ph,
  .hero-portrait img {
    height: 100%;
    border-radius: 0;
    aspect-ratio: auto;
  }
  .hero-portrait-wrap .portrait-name {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0;
    text-align: left;
    padding: 48px 28px 22px;
    background: linear-gradient(to top, rgba(33,31,28,0.72), rgba(33,31,28,0));
    z-index: 2;
  }
  .hero-portrait-wrap .portrait-name .role { color: var(--color-concrete); }
}

/* =========================================================
   Subpages — alternating section backgrounds for clearer separation
   (greige hero  →  light/white content  →  greige CTA)
   ========================================================= */

/* Main article content on white so it separates from the greige hero/CTA */
body.service-detail .article,
body.legal-page .article {
  background: var(--color-bg-white);
  color: var(--color-text);
}
body.service-detail .article-body h2,
body.service-detail .article-body h3,
body.legal-page .article-body h2,
body.legal-page .article-body h3 {
  color: var(--color-text);
}
body.service-detail .article-body p,
body.service-detail .article-body li,
body.legal-page .article-body p,
body.legal-page .article-body li,
body.legal-page .article-body em {
  color: var(--color-text-muted);
}
body.service-detail .article-body strong,
body.legal-page .article-body strong {
  color: var(--color-text);
}
body.service-detail .article-body a,
body.legal-page .article-body a {
  color: var(--color-orange);
}
body.service-detail .article-body a:hover,
body.legal-page .article-body a:hover {
  color: var(--color-text);
}

/* Callout on light background */
body.service-detail .article-body .callout {
  background: rgba(229, 131, 28, 0.08);
  border-left-color: var(--color-orange);
  color: var(--color-text);
}
body.service-detail .article-body .callout p,
body.service-detail .article-body .callout strong {
  color: var(--color-text);
}

/* USP cards as light cards */
body.service-detail .usp-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
}
body.service-detail .usp-card h3 { color: var(--color-text); }
body.service-detail .usp-card p { color: var(--color-text-muted); }

/* Leistungsübersicht — services as a responsive card grid (not stacked) */
body.service-detail .leistungen-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
body.service-detail .leistungen-card {
  flex-direction: column-reverse;
  height: 100%;
}

/* =========================================================
   Barrierefrei feature section (flyer: „Funktional & ästhetisch")
   ========================================================= */
.barrierefrei-section {
  background: var(--color-bg-section);
  color: var(--color-text);
}
.bf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.bf-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
}
.bf-media .img-ph { border-radius: var(--radius-lg); height: 100%; }
.bf-media { align-items: center; justify-content: center; }
.bf-media img { width: 100%; height: 100%; object-fit: contain; }

/* Barrierefrei: figure (image + numbered legend under it) */
.bf-grid { align-items: start; }
.bf-figure { display: flex; flex-direction: column; gap: 22px; }
.bf-figure .bf-media { min-height: 300px; }
.bf-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.bf-legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.35;
}
.bf-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 520px) { .bf-legend { grid-template-columns: 1fr; } }

/* Buttons readable on the light barrierefrei section */
.barrierefrei-section .btn-primary {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}
.barrierefrei-section .btn-primary:hover {
  background: var(--color-yellow-hover);
  border-color: var(--color-yellow-hover);
  color: #fff;
}
.barrierefrei-section .btn-secondary {
  background: var(--color-greige);
  color: #fff;
  border-color: var(--color-greige);
}
.barrierefrei-section .btn-secondary:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}
.bf-copy .eyebrow { color: var(--color-orange); }
.bf-copy h2 { color: var(--color-text); margin: 12px 0 14px; }
.bf-copy h2 .accent { color: var(--color-orange); font-weight: 600; }
.bf-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 14px;
}
.bf-copy > p { color: var(--color-text-muted); margin-bottom: 20px; max-width: 540px; }
.bf-list { display: grid; gap: 10px; margin: 0 0 28px; }
.bf-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text);
}
.bf-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-weight: 700;
}
@media (max-width: 860px) {
  .bf-grid { grid-template-columns: 1fr; }
  .bf-media { min-height: 280px; }
  /* Mobile: text (right side) first, image/legend after */
  .bf-copy { order: -1; }
}

/* =========================================================
   Hero — rebuilt: 2-col split (desktop) / stacked (mobile),
   image flush to the USP bar (no margin/padding below)
   ========================================================= */
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 64px);
  max-width: 660px;
  width: 100%;
  margin-left: auto;
}
.hero-media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 31, 28, 0.45);
  pointer-events: none;
}
.hero-media .hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 24vw, 380px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.35));
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy {
    max-width: none;
    margin-left: 0;
    padding: clamp(36px, 8vw, 56px) 20px clamp(28px, 6vw, 40px);
  }
  .hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   Multistep-Anfrageformular
   ========================================================= */
/* 2-spaltiges Layout: Info/Vorteile links, Formular rechts */
.anfrage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  text-align: left;
}
.anfrage-layout > * { min-width: 0; }
.anfrage-layout .anfrage { max-width: none; margin: 0; }
.anfrage .btn { min-width: 0; }
.anfrage-intro { color: var(--color-text-light); }
.anfrage-intro h1, .anfrage-intro h2 { color: #fff; margin: 8px 0 16px; font-size: clamp(1.75rem, 3.5vw, 2.6rem); line-height: 1.15; font-weight: 700; }
.anfrage-intro .anfrage-lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 46ch;
}
.anfrage-benefits {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.anfrage-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-light);
  font-weight: 500;
  line-height: 1.4;
}
.anfrage-benefits svg {
  width: 22px;
  height: 22px;
  color: var(--color-orange);
  flex: 0 0 auto;
  margin-top: 1px;
}
.anfrage-intro .anfrage-direct { text-align: left; margin: 0; }
@media (max-width: 860px) {
  .anfrage-layout { grid-template-columns: 1fr; gap: 34px; }
}

.anfrage {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(33, 31, 28, 0.28);
  padding: clamp(24px, 4vw, 44px);
  text-align: left;
}
.anfrage-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.anfrage-top { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.anfrage-progress {
  flex: 1; height: 6px; border-radius: 999px;
  background: var(--color-border-light); overflow: hidden;
}
.anfrage-progress-bar {
  display: block; height: 100%; width: 14%;
  background: var(--color-orange); border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.anfrage-count { font-size: 0.82rem; color: var(--color-text-muted); white-space: nowrap; font-weight: 500; }

.anfrage-step { display: none; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
/* Flex container makes <legend> a normal in-flow item (no overlap with padding:0) */
.anfrage-step.is-active { display: flex; flex-direction: column; animation: anfrageIn 0.4s ease both; }
@keyframes anfrageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.anfrage-step legend,
.anfrage-step > h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.25;
  color: var(--color-text); text-align: center;
  width: 100%; margin: 0 auto 26px; padding: 0; max-width: 24ch;
}

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-list { display: flex; flex-direction: column; gap: 14px; }
.choice {
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; gap: 10px; min-height: 60px; padding: 14px 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.16); border-radius: var(--radius-md);
  font-weight: 500; color: var(--color-text); cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: var(--color-orange); background: rgba(239, 169, 62, 0.06); }
.choice:active { transform: scale(0.99); }
.choice:has(input:checked) {
  border-color: var(--color-orange);
  background: rgba(239, 169, 62, 0.12);
  box-shadow: inset 0 0 0 1px var(--color-orange);
}

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 20px 22px;
  border: 1.5px dashed rgba(0, 0, 0, 0.2); border-radius: var(--radius-md);
  color: var(--color-text-muted); cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--color-orange); background: rgba(239, 169, 62, 0.06); }
.dropzone-icon { color: var(--color-orange); }
.dropzone-icon svg { width: 26px; height: 26px; }
.dropzone-text { font-size: 0.98rem; color: var(--color-text); }
.dropzone-text strong { color: var(--color-orange); }
.dropzone-hint { font-size: 0.8rem; }
.file-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.file-thumb {
  position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--color-border-light);
}
.file-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-thumb button {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border: 0;
  border-radius: 50%; background: rgba(33, 31, 28, 0.75); color: #fff; cursor: pointer;
  font-size: 13px; line-height: 1; display: flex; align-items: center; justify-content: center;
}

.anfrage-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--color-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--color-text);
  background: #fff; border: 1.5px solid rgba(0, 0, 0, 0.16); border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-orange); box-shadow: 0 0 0 3px rgba(239, 169, 62, 0.18);
}
.anfrage-consent {
  display: block; position: relative; padding-left: 30px; margin: 18px 0 6px;
  font-size: 0.86rem; color: var(--color-text-muted); line-height: 1.5;
}
.anfrage-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  position: absolute; left: 0; top: 1px; margin: 0;
  width: 22px; height: 22px; flex: 0 0 auto; cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.3); border-radius: 50%;
  background: #fff center / 22px 22px no-repeat;
  transition: border-color 0.15s ease;
}
.anfrage-consent input[type="checkbox"]:hover { border-color: var(--color-orange); }
.anfrage-consent input[type="checkbox"]:checked {
  border-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23efa93e'%3E%3Cpath d='M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10L22 5.18zm-2.21 5.04c.13.57.21 1.17.21 1.78 0 4.42-3.58 8-8 8s-8-3.58-8-8 3.58-8 8-8c1.58 0 3.04.46 4.28 1.25l1.44-1.44C16.1 1.97 14.13 1.5 12 1.5 6.48 1.5 2 5.98 2 11.5s4.48 10 10 10 10-4.48 10-10c0-1.42-.31-2.77-.85-4l-1.36 1.22z'/%3E%3C/svg%3E");
}
.anfrage-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-orange); outline-offset: 2px;
}
.anfrage-consent a { color: var(--color-orange); text-decoration: underline; }

.anfrage-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.anfrage-nav .btn { cursor: pointer; }

/* Buttons sichtbar auf der weißen Formularkarte (Standard-Buttons sind für dunkle Sektionen gebaut) */
.anfrage .btn-primary {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}
.anfrage .btn-primary:hover {
  background: var(--color-yellow-hover);
  border-color: var(--color-yellow-hover);
  color: #fff;
}
.anfrage .btn-secondary {
  background: #fff;
  color: var(--color-text);
  border-color: rgba(0, 0, 0, 0.22);
}
.anfrage .btn-secondary:hover {
  background: var(--color-bg-section);
  border-color: rgba(0, 0, 0, 0.32);
  color: var(--color-text);
  transform: translateY(-1px);
}
.anfrage-back {
  display: block; margin: 16px auto 0; background: none; border: 0; cursor: pointer;
  color: var(--color-text-muted); font: inherit; font-size: 0.9rem;
}
.anfrage-back:hover { color: var(--color-orange); }
.anfrage-error { color: #c0392b; text-align: center; font-size: 0.9rem; margin: 14px 0 0; }
.anfrage.is-sending .btn[type="submit"] { opacity: 0.6; pointer-events: none; }

.anfrage-success { text-align: center; padding: 20px 0; align-items: center; }
.anfrage-success.is-active { display: block; animation: anfrageIn 0.4s ease both; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 18px;
  background: var(--color-orange); color: #fff; font-size: 2.2rem; font-weight: 700;
}
.anfrage-success h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--color-text); margin: 0 0 10px; }
.anfrage-success p { color: var(--color-text-muted); max-width: 40ch; margin: 0 auto; }

.anfrage-direct { text-align: center; margin-top: 26px; font-size: 0.92rem; color: var(--color-text-light-muted); }
.anfrage-direct a { color: #fff; font-weight: 600; }
.anfrage-direct a:hover { color: var(--color-orange); }

@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr; }
  .anfrage-fields { grid-template-columns: 1fr; }
}

/* =========================================================
   Jobs / Karriere
   ========================================================= */
.jobs-hero .accent { color: var(--color-orange); }
.jobs-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.job-perks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.job-perks li {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md); padding: 18px 20px;
  font-weight: 500; color: var(--color-text); line-height: 1.4;
}
.job-perks svg { width: 22px; height: 22px; color: var(--color-orange); flex: 0 0 auto; margin-top: 1px; }

.job-card {
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 14px 40px rgba(33, 31, 28, 0.06);
  margin-bottom: 28px;
}
.job-card:last-child { margin-bottom: 0; }
.job-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.job-head h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--color-text); margin: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta span {
  font-size: 0.8rem; font-weight: 600; color: var(--color-text-muted);
  background: var(--color-bg-section); border-radius: 999px; padding: 5px 12px;
}
.job-card > p { color: var(--color-text-muted); margin: 0 0 22px; max-width: 70ch; }
.job-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 28px; }
.job-cols h4 { font-family: var(--font-display); font-size: 1.02rem; color: var(--color-text); margin: 0 0 12px; }
.job-card .btn-primary { background: var(--color-orange); color: #fff; border-color: var(--color-orange); }
.job-card .btn-primary:hover { background: var(--color-yellow-hover); border-color: var(--color-yellow-hover); color: #fff; }

/* Stellen-Section ist greige (dunkel) -> Überschrift/Untertitel weiß */
#stellen { background: var(--color-bg); }
#stellen .section-head h2 { color: #fff; }
#stellen .section-head p { color: var(--color-text-light-muted); }

/* Frage-Zusatz + Datei-Vorschau für Nicht-Bilder (PDF/Word) */
.anfrage-step .q-hint { display: block; font-size: 0.86rem; font-weight: 400; color: var(--color-text-muted); margin-top: 8px; }
.file-doc { display: flex; align-items: center; justify-content: center; background: var(--color-bg-section); }
.file-doc-ext { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--color-text-muted); letter-spacing: 0.04em; }

@media (max-width: 760px) {
  .job-cols { grid-template-columns: 1fr; gap: 22px; }
  .job-perks { grid-template-columns: 1fr; }
}

/* =========================================================
   Section-Rhythmus: keine zwei gleichfarbigen Sections nebeneinander
   ========================================================= */
.reviews-section { background: var(--color-bg-section); }   /* war weiß -> hell (folgt auf Leistungen weiß) */
.faq-section { background: var(--color-bg-white); }          /* war hell -> weiß (folgt auf Barrierefrei hell) */

/* "Über uns"-Block von Greige auf Weiß — orangefarbene Kennzahlen wirken hier stärker,
   und er steht damit klar zwischen Bewertungen (hell) und Partner (greige) */
.why-section { background: var(--color-bg-white); color: var(--color-text); }
.why-section::before { display: none; }
.why-intro h2 { color: var(--color-text); }
.why-section .eyebrow { color: var(--color-orange); }
.about-advantages .adv h3 { color: var(--color-text); }
.about-advantages .adv p { color: var(--color-text-muted); }
.about-stats .stat-title { color: var(--color-text-muted); }

/* Project references (flyer style): greige box + client name beside it */
.ref-list { max-width: 1040px; margin: 6px auto 0; display: grid; gap: 16px; }

/* Standalone "Starke Partner" section header (flyer style, left-aligned) */
.partner-head { max-width: 1040px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: left; }
.partner-head .brand-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light-muted);
  margin-bottom: 8px;
}
.partner-head .brand-eyebrow strong { color: #fff; font-weight: 600; }
.partner-head h2 {
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0 0 20px;
}
.partner-head p { max-width: 680px; color: var(--color-text-light-muted); margin-bottom: 14px; }

/* About: compact additional advantages (replaces the big why-cards) */
.about-advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 44px;
  max-width: 1040px;
  margin: 4px auto 0;
}
.about-advantages .adv h3 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-advantages .adv h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.about-advantages .adv p {
  font-size: 0.9rem;
  color: var(--color-text-light-muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 760px) { .about-advantages { grid-template-columns: 1fr; } }
.ref-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.ref-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 26px 30px;
  color: var(--color-text-light);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
}
.ref-client { text-align: left; }
.ref-client .name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: #fff;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}
.ref-client .loc { display: block; color: var(--color-text-light-muted); margin-top: 4px; }
@media (max-width: 700px) {
  .ref-row { grid-template-columns: 1fr; gap: 10px; }
}

/* Partner-logo grid — large white logos in a bordered greige table (flyer style) */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  max-width: 1040px;
  margin: 28px auto 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  overflow: hidden;
}
.partner-logo {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 22px;
  min-height: 150px;
}
.partner-logo img {
  max-height: 108px;
  width: auto;
  max-width: 94%;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}
.partner-logo img:hover { opacity: 1; }
@media (max-width: 860px) {
  .partner-logos { grid-template-columns: repeat(3, 1fr); }
  .partner-logo { min-height: 120px; padding: 20px 14px; }
  .partner-logo img { max-height: 80px; }
}
@media (max-width: 520px) { .partner-logos { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Standalone section heads + split Ablauf / Leistungen (landing)
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.section-head .eyebrow { color: var(--color-orange); }
.section-head h2 { margin: 10px 0 0; }
.section-head p { margin-top: 14px; color: var(--color-text-muted); }

/* Ablauf as a 3-column process grid */
.process-section .process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.process-section .process-step {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 800px) {
  .process-section .process-list { grid-template-columns: 1fr; }
}

/* Leistungen as a responsive card grid on the landing page */
.leistungen-section .leistungen-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.leistungen-section .leistungen-card {
  flex-direction: column-reverse;
  height: 100%;
}

/* About / Über uns — stats bar + references (flyer data) */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
  max-width: 880px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: left;
}
.about-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-stats .stat-title {
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--color-text-light-muted);
}
.about-stats .stat-box {
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1;
  padding: 20px 24px;
  display: flex;
  align-items: center;
}
.about-stats .stat-val {
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-stats .stat-pre {
  font-size: 0.46em;
  font-weight: 300;
  align-self: center;
}
.about-stats .stat-note {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}
@media (max-width: 620px) { .about-stats { grid-template-columns: 1fr; } }

.about-refs { max-width: 820px; margin: 4px auto 0; text-align: center; }
.about-refs-head { color: var(--color-text-light); font-weight: 600; margin-bottom: 14px; }
.about-refs-list { display: grid; gap: 10px; margin: 0 0 28px; }
.about-refs-list li { color: var(--color-text-light-muted); }
.about-refs-list strong { color: #fff; }

/* =========================================================
   Subpages — landing-style zig-zag split sections
   ========================================================= */
.section-greige { background: var(--color-bg); color: var(--color-text-light); }
.section-greige h2, .section-greige h3 { color: #fff; }
.section-greige p { color: var(--color-text-light-muted); }
.section-greige .section-head .eyebrow { color: var(--color-orange); }

.split-section .split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex;
}
.split-media .img-ph { border-radius: var(--radius-lg); height: 100%; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

/* =========================================================
   Generalunternehmer — Planung / Koordination / Bau (Lottie)
   ========================================================= */
.gu-section { background: var(--color-bg-section); }
.gu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(34px, 5vw, 52px);
  align-items: stretch;
}
.gu-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
}
.gu-anim {
  width: 100%;
  aspect-ratio: 471 / 285;
  margin-bottom: 18px;
  background: var(--color-bg-section);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gu-anim lottie-player { width: 100%; height: 100%; }
.gu-card h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.gu-card > p { color: var(--color-text-muted); margin-bottom: 16px; }
.gu-qlist { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.gu-qlist li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.gu-qlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
}
@media (max-width: 900px) {
  .gu-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
}

/* Buttons readable on the light Generalunternehmer section */
.gu-section .btn-primary {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}
.gu-section .btn-primary:hover {
  background: var(--color-yellow-hover);
  border-color: var(--color-yellow-hover);
  color: #fff;
}
.gu-section .btn-secondary {
  background: var(--color-greige);
  color: #fff;
  border-color: var(--color-greige);
}
.gu-section .btn-secondary:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

/* Gewerke list (Generalunternehmer subpage) */
.gewerke-list {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 32px;
  max-width: 1000px;
}
.gewerke-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text);
  font-weight: 500;
}
.gewerke-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-weight: 700;
}
.section-greige .gewerke-list li { color: var(--color-text-light); }
@media (max-width: 760px) { .gewerke-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gewerke-list { grid-template-columns: 1fr; } }

/* Digitale Prozesse — orange highlight band */
.gu-highlight {
  background: var(--color-orange);
  color: #fff;
  text-align: center;
}
.gu-highlight .eyebrow { color: rgba(255, 255, 255, 0.85); }
.gu-highlight h2 { color: #fff; margin: 8px 0 12px; }
.gu-highlight p { color: rgba(255, 255, 255, 0.95); max-width: 720px; margin: 0 auto; }

/* "Der Unterschied?" — comparison Generalunternehmer vs Eigenregie */
.compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  max-width: 960px;
  margin: clamp(34px, 4vw, 52px) auto 0;
}
.compare-col {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 0;
  padding: clamp(24px, 3vw, 36px);
}
.compare-col.is-con { background: #faf9f8; }
.compare-col h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-col li {
  position: relative;
  padding-left: 32px;
  color: var(--color-text);
  line-height: 1.4;
}
.compare-col li::before {
  position: absolute;
  left: 0;
  top: -1px;
  font-weight: 700;
  font-size: 1.05rem;
}
.compare-col.is-pro li::before { content: "✓"; color: #3a8a4f; }
.compare-col.is-con li { color: var(--color-text-muted); }
.compare-col.is-con li::before { content: "✕"; color: #c0392b; }
.compare-vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-bg-section);
  z-index: 2;
}
@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .compare-vs { display: none; }
}
.split-copy .eyebrow { color: var(--color-orange); }
.split-copy h2 { margin: 10px 0 16px; }
.split-copy > p { margin-bottom: 14px; color: var(--color-text-muted); }
.split-section.section-greige .split-copy > p { color: var(--color-text-light-muted); }
.split-section--reverse .split-media { order: 2; }

.check-list { display: grid; gap: 10px; margin: 8px 0 0; }
.check-list li { position: relative; padding-left: 28px; color: var(--color-text-muted); }
.section-greige .check-list li { color: var(--color-text-light); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-weight: 700;
}

@media (max-width: 860px) {
  .split-section .split-grid { grid-template-columns: 1fr; }
  .split-section--reverse .split-media { order: 0; }
  .split-media { min-height: 260px; }
}
.split-copy a, .section-head a, .section-greige a { color: var(--color-orange); }
.split-copy a:hover, .section-head a:hover { text-decoration: underline; }
.split-copy ol { padding-left: 20px; display: grid; gap: 10px; margin-top: 10px; }
.split-copy ol li { color: var(--color-text-muted); padding-left: 4px; }
.section-greige .split-copy ol li { color: var(--color-text-light); }

/* =========================================================
   Uniform service cards — no rounding, equal image + text heights
   ========================================================= */
.leistungen-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}
/* card fills the grid row so all cards are equally tall */
.leistungen-list .leistungen-card { height: 100%; }
/* fixed, identical image height across all cards — ~15% flacher */
.leistungen-card .card-img-wide { aspect-ratio: 16 / 8.5; }
/* content fills remaining height; button stays bottom-aligned */
.leistungen-card .card-content {
  flex: 1 1 auto;
  justify-content: flex-start;
}
/* drop the inconsistent category label so every card starts at the title */
.leistungen-card .eyebrow-small { display: none; }
/* reserve uniform space for title (1–2 lines) and description (3 lines) */
.leistungen-card h3 {
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leistungen-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.4em;
}
/* Card CTA as a subtle text link (not a prominent filled button) */
.leistungen-card .btn-card {
  margin-top: auto;
  background: none;
  border: none;
  border-radius: 0;
  padding: 8px 0 0;
  color: var(--color-orange);
  font-weight: 600;
}
.leistungen-card .btn-card:hover {
  background: none;
  color: var(--color-text);
  transform: none;
}
/* Light overlay + service icon over the card image */
.leistungen-card .card-img-wide { position: relative; }
.leistungen-card .card-img-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 31, 28, 0.32);
  z-index: 1;
  pointer-events: none;
}
.leistungen-card .card-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 169, 62, 0.85);
  border-radius: 12px;
  color: #fff;
  pointer-events: none;
}
.leistungen-card .card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================================================
   Kontrast-Korrekturen (WCAG AA) — am Dateiende, gewinnen per Source-Order
   ========================================================= */
/* Bug: heller Text blieb auf hell umgefärbten Sektionen hell -> auf dunkel setzen */
.why-section .about-advantages .adv h3 { color: var(--color-text); }
.why-section .about-advantages .adv p { color: var(--color-text-muted); }
.why-section .why-intro p { color: var(--color-text-muted); }
.why-section .about-stats .stat-title,
.section-light .about-stats .stat-title { color: var(--color-text-muted); }

/* Heller Fließtext auf Greige war 4,17:1 -> minimal aufhellen auf >= 4,5:1 */
:root { --color-text-light-muted: #D4D0CA; }

/* Bug: btn-primary (transparent/weiß) war auf der weißen Über-uns-Section unsichtbar */
.why-section .btn-primary { background: var(--color-orange); color: #fff; border-color: var(--color-orange); }
.why-section .btn-primary:hover { background: var(--color-yellow-hover); border-color: var(--color-yellow-hover); color: #fff; }

/* Labels (Eyebrows) etwas kräftiger */
.eyebrow { font-weight: 700; }

/* ============================================================
   Unterseiten: Split-Bild links + sticky — nur die Textspalte scrollt
   ============================================================ */
@media (min-width: 861px) {
  .split-section--reverse .split-media { order: 0; }   /* alle Bilder nach links */
  .split-section .split-media {
    position: sticky;
    top: 90px;
    align-self: start;
  }
}

/* usp-card auf greige Sections: Kartentext dunkel (weiße Karte) — schlägt .section-greige h3/p */
.section-greige .usp-card h3 { color: var(--color-text); }
.section-greige .usp-card p { color: var(--color-text-muted); }

/* =========================================================
   Projektanfrage als fokussierte App-Seite (volle Höhe, ohne Footer)
   ========================================================= */
body.app-page { background: var(--color-bg); }
body.app-page main {
  min-height: 100vh;
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.app-page .contact-section { width: 100%; }
body.app-page .app-legal {
  text-align: center;
  font-size: 0.78rem;
  margin: 0;
  padding: 18px 16px 4px;
  color: var(--color-text-light-muted);
}
body.app-page .app-legal a { color: var(--color-text-light-muted); }
body.app-page .app-legal a:hover { color: var(--color-orange); }
@media (max-width: 768px) {
  body.app-page main { min-height: calc(100dvh - 66px); }
}

/* =========================================================
   Projektanfrage – Fullscreen-Funnel (wie Aroundhome)
   Vollbild, nicht scrollbar, fokussierte Einzelspalte.
   Greift NUR auf der Projektanfrage (body.app-page).
   ========================================================= */
body.app-page { height: 100dvh; overflow: hidden; }
body.app-page main {
  height: calc(100dvh - 60px);   /* abzüglich Header */
  min-height: 0;
}
@media (max-width: 768px) {
  body.app-page main { height: calc(100dvh - 66px); }
}

/* Marketing-Spalte ausblenden -> fokussierte Einzelspalte */
body.app-page .anfrage-intro { display: none; }
body.app-page .anfrage-layout {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Ablenkungen im Funnel entfernen (schwebender Menü-/WhatsApp-Button) */
body.app-page .mobile-actions { display: none; }

/* Sektion zentriert die Karte vertikal (Flex-Spalte, KEIN horizontales Flex) */
body.app-page .contact-section.section-pad {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 0;
}
body.app-page .contact-section .container { width: 100%; }

/* Formularkarte: max. Viewporthöhe, scrollt NUR intern bei Überlänge */
body.app-page .anfrage {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  max-height: calc(100dvh - 60px - 56px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: clamp(22px, 3.2vw, 36px);
}
@media (max-width: 768px) {
  body.app-page .anfrage { max-height: calc(100dvh - 66px - 44px); }
}
/* kompakter, damit auch der Kontakt-Schritt möglichst ohne Scrollen passt */
body.app-page .anfrage-top { margin-bottom: 18px; }
body.app-page .anfrage-step legend,
body.app-page .anfrage-step > h3 { margin-bottom: 18px; }
body.app-page .anfrage-fields { gap: 12px 16px; }
body.app-page .field textarea { min-height: 64px; }
body.app-page .anfrage-nav { margin-top: 18px; }
body.app-page .app-legal { padding: 8px 16px 4px; }
