/* Fecher GmbH — mobile-first, 2026 | CI: logo-fecher-malerbetrieb.svg (#056A3F, #F7A600) */
/* Inter Variable Font (TTF) — lokal unter assets/fonts/, kein Google Fonts. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
}

@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
}

:root {
  /* Markenfarben (aus SVG-Logo) */
  --brand-green: #056a3f;
  --brand-green-dark: #04452a;
  --brand-green-soft: rgba(5, 106, 63, 0.09);
  --brand-orange: #f7a600;
  --brand-orange-dark: #c17a00;
  --brand-orange-soft: rgba(247, 166, 0, 0.14);

  --bg: #f6f9f7;
  --surface: #ffffff;
  --text: #1a1d21;
  --text-muted: #5c6370;
  --accent: var(--brand-green);
  --accent-hover: var(--brand-green-dark);
  --accent-soft: var(--brand-green-soft);
  --border: #dfe8e3;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(5, 106, 63, 0.05);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(5, 106, 63, 0.09);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --section-y: clamp(3.5rem, 7vw, 5.5rem);
  --header-h: 68px;
  --top-bar-h: 36px;
  --scroll-margin: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Barrierefreiheit: Sprungmarke (Tastatur / Screenreader) */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 200;
  padding: 0.65rem 1.15rem;
  background: var(--brand-green);
  color: var(--surface);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* Anker-Ziele: nicht unter sticky Header klemmen */
section[id] {
  scroll-margin-top: var(--scroll-margin);
}

main section {
  scroll-margin-top: var(--scroll-margin);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.15rem);
  margin: 0 0 1rem;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar (Kontakt-Schnellzugriff) */
.top-bar {
  background: var(--brand-green-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  min-height: var(--top-bar-h);
  padding: 0.35rem 0;
}

@media (min-width: 600px) {
  .top-bar-inner {
    justify-content: flex-end;
  }
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 249, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: min(300px, 56vw);
  text-decoration: none;
  line-height: 0;
}

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

.logo:hover img {
  opacity: 0.92;
}

@media (min-width: 880px) {
  .logo img {
    height: 42px;
  }
}

.nav-toggle {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  flex: 1 0 100%;
  order: 4;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.nav.is-open {
  display: block;
}

.nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav .nav-sub {
  list-style: none;
  margin: 0.35rem 0 0.15rem 0.5rem;
  padding: 0.35rem 0 0.35rem 0.85rem;
  border-left: 3px solid var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav .nav-sub a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.header-cta {
  display: none;
}

@media (min-width: 880px) {
  .site-header .inner {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    margin-left: 0;
  }

  .nav {
    display: block;
    position: static;
    flex: 1 1 auto;
    order: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .nav .nav-list {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
  }

  .nav-item--sub {
    position: relative;
    z-index: 120;
  }

  .nav-item--sub .nav-sub {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    margin: 0;
    padding: 0.4rem 0;
    min-width: 220px;
    border-left: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-item--sub:hover .nav-sub,
  .nav-item--sub:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-item--sub .nav-sub a {
    border-radius: 8px;
    margin: 0 0.35rem;
  }

  .header-cta {
    display: inline-flex;
    order: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: rgba(5, 106, 63, 0.2);
}

.btn-accent {
  background: var(--brand-orange);
  color: #1a1d21;
}

.btn-accent:hover {
  background: var(--brand-orange-dark);
  color: #1a1d21;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(3.25rem, 8vw, 5.25rem);
  background: linear-gradient(155deg, #ffffff 0%, #eef6f1 42%, #e3efe8 100%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 85%;
  background: radial-gradient(ellipse 55% 70% at 88% 12%, rgba(247, 166, 0, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 50% 55% at 8% 75%, rgba(5, 106, 63, 0.11) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 38%);
  pointer-events: none;
}

/* Startseite: Foto aus alter WP-Mediathek + Text + Kontaktkarte */
.hero.hero--rich {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero.hero--rich::before {
  opacity: 0.65;
}

.hero.hero--rich::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%);
}

.hero-rich {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.hero-rich__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5, 106, 63, 0.12);
  background: var(--surface);
}

.hero-rich__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1280 / 707;
}

.hero-rich__cap {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.65rem 0.85rem 0.85rem;
  margin: 0;
  line-height: 1.35;
  background: linear-gradient(180deg, rgba(246, 249, 247, 0.5) 0%, var(--surface) 100%);
}

.hero-rich__main {
  min-width: 0;
}

@media (min-width: 900px) {
  .hero-rich {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: auto auto;
    gap: 1.25rem 2.75rem;
    align-items: start;
  }

  .hero-rich__main {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
  }

  .hero-rich__figure {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-rich .hero-card {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (min-width: 900px) {
  .hero.hero--rich {
    /* Nicht über die volle Viewport-Breite strecken: .wrap behält --max (wie übrige Seite) */
    align-items: center;
    min-height: min(520px, 68vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-rich__main > * {
  animation: hero-in 0.65s ease-out both;
}

.hero-rich__main > *:nth-child(2) {
  animation-delay: 0.04s;
}

.hero-rich__main > *:nth-child(3) {
  animation-delay: 0.08s;
}

.hero-rich__main > *:nth-child(4) {
  animation-delay: 0.12s;
}

.hero-rich__main > *:nth-child(5) {
  animation-delay: 0.16s;
}

.hero-rich__main > *:nth-child(6) {
  animation-delay: 0.2s;
}

.hero-rich__figure {
  animation: hero-in 0.7s ease-out 0.05s both;
}

.hero-rich .hero-card {
  animation: hero-in 0.65s ease-out 0.12s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rich__main > *,
  .hero-rich__figure,
  .hero-rich .hero-card {
    animation: none;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange-dark);
  margin-bottom: 0.75rem;
}

.hero-rich__main h1 {
  font-size: clamp(2.05rem, 4.9vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  margin: 0 0 0.85rem;
  max-width: min(24ch, 100%);
}

.hero-rich__main h1 .hero-title__line {
  display: block;
}

.hero-rich__main h1 .hero-title__line + .hero-title__line {
  margin-top: 0.1em;
}

.hero-rich__main h1 .hero-title__accent {
  color: var(--brand-green);
  font-weight: 800;
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  max-width: 56ch;
  margin: 0 0 0.85rem;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-trust {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 232, 227, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  font-size: 1.0625rem;
  color: var(--text);
}

.hero-card__hint {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-card__hint strong {
  color: var(--text);
  font-weight: 700;
}

.hero-card .tel {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
}

.hero-card .tel:hover {
  text-decoration: underline;
}

.hero-card__email {
  margin-top: 1rem;
}

.hero-card__form {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(5, 106, 63, 0.12);
  font-size: 0.875rem;
}

.hero-card__form-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hero-card__form-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Sections */
section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.section-head--wide {
  max-width: 46rem;
}

.section-head p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
  margin-bottom: 0.5rem;
}

.prose--no-bottom {
  margin-bottom: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

.bg-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

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

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s ease;
}

.cards .card {
  border-left: 3px solid rgba(5, 106, 63, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cards .card:hover {
  border-left-color: var(--brand-green);
}

.card:has(.card__step) {
  padding-top: 2.35rem;
}

.card__step {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(5, 106, 63, 0.35);
  user-select: none;
}

.card:hover {
  border-color: rgba(5, 106, 63, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card h3 {
  color: var(--text);
}

.card a {
  font-weight: 600;
  text-decoration: none;
}

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

.link-arrow::after {
  content: " →";
  text-decoration: none;
  font-weight: 700;
}

/* List features */
.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.feature-icon__svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon__svg path,
.feature-icon__svg polyline,
.feature-icon__svg polygon {
  fill: none;
}

/* Stern-Icon: gefüllt statt nur Stroke */
.features .feature:nth-child(2) .feature-icon__svg polygon {
  fill: currentColor;
  stroke: none;
}

.features .feature:nth-child(even) .feature-icon {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-green) 0%, #034d2f 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
  border-top: 3px solid var(--brand-orange);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% -30%, rgba(247, 166, 0, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-band__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 166, 0, 0.95);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  margin: 0 auto 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.cta-band__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.15rem;
}

.cta-band__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

.cta-band__phone {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.cta-band__phone a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(247, 166, 0, 0.85);
  padding-bottom: 1px;
}

.cta-band__phone a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: #eef7f1;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f1f19 0%, #14181c 100%);
  color: #a8b0bc;
  padding: 3rem 0 2rem;
  font-size: 0.9375rem;
  border-top: 3px solid var(--brand-green);
}

.site-footer a {
  color: #e2e6eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

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

.footer-copyright {
  margin-top: 1rem;
  margin-bottom: 0;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1rem;
}

.footer-legal a {
  font-size: 0.8125rem;
}

.footer-legal a.footer-admin-link {
  color: rgba(247, 166, 0, 0.95);
  font-weight: 600;
}

.footer-legal a.footer-admin-link:hover {
  color: #ffc14d;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

/* Trust strip — 3 identische Cards (Grid, gleiche Hierarchie) */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  width: 100%;
  max-width: min(1040px, 100%);
  margin-inline: auto;
}

@media (max-width: 720px) {
  .trust-strip__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.trust-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0;
  min-height: 140px;
  height: 100%;
  min-width: 0;
  padding: 32px 24px;
  border-radius: 16px;
  box-sizing: border-box;
  background: #f8f9f8;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card > * {
  margin: 0;
}

.trust-card > * + * {
  margin-top: 8px;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

@media (prefers-reduced-motion: reduce) {
  .trust-card:hover {
    transform: none;
  }
}

.trust-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.trust-card__year {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-green-dark);
}

.trust-card__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 56px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.trust-card__logo-link:hover {
  opacity: 0.88;
}

.trust-card__logo-link:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Logos: breites Innungslogo vs. rundes Siegel (SVG mit 100%/100% sonst Breite 0 als <img>) */
.trust-card__logo-img {
  display: block;
  object-fit: contain;
}

.trust-card__logo-img--wide {
  max-height: 48px;
  width: auto;
  max-width: min(220px, 100%);
  height: auto;
}

.trust-card__logo-img--seal {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex-shrink: 0;
}

.trust-card__title {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}

.trust-card__sub {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  opacity: 0.7;
  max-width: 26ch;
}

/* Intro + portrait */
.section-intro {
  padding-top: calc(var(--section-y) * 0.92);
  padding-bottom: calc(var(--section-y) * 0.92);
}

.intro-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .intro-split {
    grid-template-columns: 1fr min(42%, 420px);
    gap: 3rem;
  }
}

.intro-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.intro-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-craft {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(5, 106, 63, 0.1);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.intro-craft img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.intro-craft__cap {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.6rem 0.85rem 0.75rem;
  margin: 0;
  line-height: 1.35;
  background: linear-gradient(180deg, rgba(246, 249, 247, 0.5) 0%, var(--surface) 100%);
}

.intro-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* News teaser */
.news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Visueller Anker ohne Stockfotos — Markengradient pro Karte */
.news-card__accent {
  flex-shrink: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-green) 0%, #0a8f5a 45%, var(--brand-orange) 100%);
}

.news-card__accent--2 {
  background: linear-gradient(90deg, var(--brand-orange) 0%, #e89400 40%, var(--brand-green) 100%);
}

.news-card__accent--3 {
  background: linear-gradient(90deg, #04452a 0%, var(--brand-green) 50%, var(--brand-orange) 100%);
}

.news-card:hover {
  border-color: rgba(5, 106, 63, 0.22);
  box-shadow: var(--shadow);
}

.news-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__meta {
  margin-bottom: 0.25rem;
}

.news-card time {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-green-dark);
  background: var(--accent-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.news-card h3 {
  font-size: 1rem;
  margin: 0.5rem 0 0.75rem;
  color: var(--text);
  line-height: 1.35;
}

.news-card p {
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: 1rem;
}

.news-card .btn-link {
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.news-card .btn-link:hover {
  text-decoration: underline;
}

.news-outro {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

/* Legal / long prose pages */
.prose.legal {
  max-width: 48rem;
}

.prose.legal h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
  color: var(--text);
}

.prose.legal > h2:first-of-type {
  margin-top: 0;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.download-list li:first-child {
  padding-top: 0;
}

.download-list .file-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Timeline / history portraits */
.history-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .history-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.history-card {
  text-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  margin: 0;
}

.history-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.history-card figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.75rem 0.5rem 1rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: linear-gradient(180deg, var(--surface) 0%, #f2f7f4 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero .hero-lead {
  max-width: 40rem;
}

/* Prose */
.prose {
  max-width: 42rem;
}

.prose.wide {
  max-width: 48rem;
}

.prose.prose--narrow {
  max-width: 40rem;
}

.prose h2.prose-subsection {
  margin-top: 2rem;
}

.prose h2 {
  margin-top: 2rem;
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.prose.wide > h2:first-child {
  margin-top: 0;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  color: var(--text);
  font-size: 1.0625rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.prose ol.gruende {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  counter-reset: grund;
}

.prose ol.gruende li {
  counter-increment: grund;
  position: relative;
  padding-left: 2.85rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.prose ol.gruende li::before {
  content: counter(grund);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prose ol.gruende li strong {
  color: var(--text);
  font-weight: 600;
}

.service-stack article {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.service-stack article:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.service-stack article:first-child h3 {
  margin-top: 0;
}

/* Contact grid */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  color: var(--text);
}

.contact-box__intro {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.contact-box dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 1rem;
}

.contact-box dt:first-of-type {
  margin-top: 0;
}

.contact-box dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

/* Form */
.form label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  margin-bottom: 1rem;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-checkbox-wrap {
  margin-bottom: 1rem;
}

.form-checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand-green);
  cursor: pointer;
}

.form-checkbox a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.form-checkbox a:hover {
  color: var(--accent-hover);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Sticky mobile CTA (App-Leiste: Anrufen + Leistungen) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(246, 249, 247, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--brand-green);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.sticky-cta .btn {
  flex: 1;
  min-height: 52px;
}

@media (min-width: 880px) {
  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 879px) {
  body {
    padding-bottom: 76px;
  }
}

/* Notice / placeholder */
.notice {
  background: var(--accent-soft);
  border: 1px solid rgba(5, 106, 63, 0.18);
  border-left: 4px solid var(--brand-orange);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--text);
}

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

.notice--spaced {
  margin-top: 2rem;
}

.prose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
}

.ref-footer-note {
  margin-top: 0.5rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.ref-footer-cta {
  margin-top: 1rem;
}

.downloads-footer {
  margin-top: 2rem;
}

/* Referenzen: Platzhalter bis echte Projektfotos lieferbar */
.refs-teaser {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.refs-teaser__title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
}

.refs-teaser__text {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.refs-teaser .btn {
  margin-top: 0.25rem;
}

/* Referenzen: Galerie & Startseiten-Teaser */
.ref-preview-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .ref-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .ref-preview-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ref-preview-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ref-preview-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.ref-preview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ref-preview-card__label {
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.ref-empty {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(5, 106, 63, 0.22);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ref-empty--callout {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(5, 106, 63, 0.16);
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg) 100%);
  box-shadow: var(--shadow);
  text-align: left;
}

.ref-empty__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.ref-empty__text {
  margin: 0 0 1rem;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.ref-empty__text strong {
  color: var(--text);
  font-weight: 600;
}

.ref-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0;
}

.refs-cta {
  margin: 1.5rem 0 0;
  text-align: center;
}

.ref-index {
  padding: 0 0 0.5rem;
}

.ref-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
}

.ref-toc a {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  text-decoration: none;
}

.ref-toc a:hover {
  background: var(--accent-soft);
}

.ref-block__title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0 0 1.25rem;
  color: var(--text);
}

.ref-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .ref-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ref-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ref-card__link {
  display: block;
  line-height: 0;
  background: #e8ece9;
}

.ref-card__link img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ref-card__cap {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ——— www/ Deploy: dynamisches Gefühl (Reveal, Header, Embeds) ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-flash {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.form-flash--success {
  background: var(--accent-soft);
  border: 1px solid rgba(5, 106, 63, 0.25);
  color: var(--text);
}

.form-flash--error {
  background: #fff5f5;
  border: 1px solid rgba(180, 40, 40, 0.25);
  color: #5c1a1a;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.embed-shell {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.embed-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    var(--bg) 0%,
    #eef4f0 45%,
    var(--bg) 90%
  );
  background-size: 200% 100%;
  animation: embed-shimmer 1.2s ease-in-out infinite;
}

[data-embed-loaded="true"] .embed-skeleton {
  display: none;
}

@keyframes embed-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.recruit-iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .embed-skeleton {
    animation: none;
    background: var(--bg);
  }
}

/* ——— Conversion-Homepage 2026 ——— */
.section--tint {
  background: linear-gradient(180deg, #f0f5f2 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.section--greenish {
  background: linear-gradient(165deg, #f6faf8 0%, #eef6f1 55%, #e8f2ec 100%);
}

.section-lead-narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero--conversion .hero-rich__main h1 {
  max-width: min(20ch, 100%);
}

.hero-phone-line {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.hero-phone-link {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--brand-green);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hero-phone-link:hover {
  color: var(--brand-green-dark);
  text-decoration: underline;
}

.hero-phone-line__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-trust-chips {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-trust-chips__mark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(5, 106, 63, 0.09);
  color: var(--brand-green-dark);
  border: 1px solid rgba(5, 106, 63, 0.14);
}

.section-social {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.social-proof {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .social-proof {
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
  }

  .social-proof__quote {
    grid-column: 1 / -1;
  }
}

.social-proof__stars {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
}

.social-proof__score {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
  color: var(--text);
}

.social-proof__rating-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 28ch;
}

.social-proof__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stat-pill {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-pill__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1.2;
}

.stat-pill__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.social-proof__quote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-orange);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.social-proof__quote p {
  margin: 0;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}

.social-proof__quote footer {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--text-muted);
}

.social-proof__rating-note--warn {
  color: #7a4a00;
}

.google-reviews-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.google-review-card {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.google-review-card__text {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}

.google-review-card__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.google-review-card__stars {
  color: var(--brand-orange);
  letter-spacing: 0.08em;
  margin-left: auto;
}

.google-reviews-attribution {
  margin: 1rem 0 0;
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 52rem;
}

.google-reviews-attribution a {
  font-weight: 600;
}

.card--service .card__benefit {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.card__bullets {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.card__bullets li {
  margin-bottom: 0.35rem;
}

.section-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.section-cta-inline--spaced {
  margin-top: 2rem;
}

.section-team {
  padding: calc(var(--section-y) * 0.95) 0;
}

.team-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .team-split {
    grid-template-columns: min(42%, 420px) 1fr;
    gap: 3rem;
  }
}

.team-split__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5, 106, 63, 0.12);
  background: var(--surface);
}

.team-split__img {
  width: 100%;
  height: auto;
  display: block;
}

.team-split__lead {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.about-teaser-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
}

.tips-card__h {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.cta-band--final .cta-band__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__btn-phone {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cta-band__btn-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.contact-topic-banner {
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  background: rgba(247, 166, 0, 0.15);
  border: 1px solid rgba(247, 166, 0, 0.35);
  color: var(--text);
  font-size: 0.9375rem;
}

/* Referenzen: Hover-Overlay */
.ref-preview-grid--rich .ref-preview-card--rich {
  padding: 0;
}

.ref-preview-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.ref-preview-card--rich .ref-preview-card__label {
  position: relative;
  z-index: 1;
}

.ref-preview-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  padding: 1rem;
  background: linear-gradient(transparent 25%, rgba(15, 31, 25, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ref-preview-card--rich:hover .ref-preview-card__overlay {
  opacity: 1;
}

.ref-preview-card__overlay-type {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.ref-preview-card__overlay-svc {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.ref-preview-card__overlay-loc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .ref-preview-card__overlay {
    transition: none;
    opacity: 1;
    background: linear-gradient(transparent 40%, rgba(15, 31, 25, 0.75) 100%);
  }
}

/* Scroll reveal (sanft) */
.reveal-section {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Lightbox (Referenzen) — sanftes „Aufgehen“ (iOS-artig), siehe prefers-reduced-motion */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(1.25rem, 4vw);
  background-color: rgba(12, 22, 18, 0);
  overflow: auto;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.36s cubic-bezier(0.32, 0.72, 0, 1),
    background-color 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}

.lightbox.is-open {
  background-color: rgba(12, 22, 18, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 1;
}

.lightbox[hidden] {
  display: none !important;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox__panel {
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: min(92vh, 900px);
  margin: auto;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: scale(0.94) translateY(14px);
  transform-origin: center center;
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.lightbox.is-open .lightbox__panel {
  transform: scale(1) translateY(0);
}

.lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox__close:hover {
  background: #fff;
  transform: scale(1.05);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  object-fit: contain;
  vertical-align: middle;
}

.lightbox__caption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.lightbox__caption:empty,
.lightbox__caption[hidden] {
  display: none;
}

.lightbox__panel:has(.lightbox__caption:not([hidden])) .lightbox__img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lightbox__panel:has(.lightbox__caption[hidden]) .lightbox__img {
  border-radius: var(--radius-lg);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox {
    transition: none;
    opacity: 1;
    background-color: rgba(12, 22, 18, 0.88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .lightbox__panel {
    transition: none;
    transform: none;
    will-change: auto;
  }

  .lightbox__close {
    transition: none;
  }
}

/* ——— Einwilligung Google Maps (DSGVO) + eingebettete Karte ——— */
html:not(.consent-resolved) body {
  padding-bottom: clamp(6.5rem, 22vw, 9rem);
}

html.consent-resolved body {
  padding-bottom: 0;
}

@media (max-width: 879px) {
  html.consent-resolved body {
    padding-bottom: max(76px, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
  }
}

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0));
  background: rgba(26, 29, 33, 0.97);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}

html.consent-resolved .consent-banner {
  display: none !important;
}

.consent-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.consent-banner__panel {
  width: 100%;
}

.consent-banner__detail {
  padding-top: 0.25rem;
}

.consent-banner__fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.consent-banner__fieldset-legend {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  padding: 0;
}

.consent-banner__check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.consent-banner__check:last-of-type {
  margin-bottom: 0;
}

.consent-banner__check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand-orange);
  cursor: pointer;
}

.consent-banner__actions--main {
  justify-content: flex-start;
}

.consent-banner__actions--detail {
  margin-top: 0.5rem;
}

@media (min-width: 720px) {
  .consent-banner__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .consent-banner__panel {
    flex: 1;
    min-width: 0;
  }

  .consent-banner__actions--main {
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
    min-width: 11rem;
  }
}

.consent-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 62rem;
}

.consent-banner__title {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: #fff;
}

.consent-banner__text a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-banner__text a:hover {
  color: #ffc14d;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.consent-banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.consent-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-consent-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.footer-consent-link:hover {
  color: #fff;
}

.google-embed-shell {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid var(--border);
}

.google-embed-shell__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--text);
}

.google-embed-shell__lead {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 52rem;
}

.google-embed-shell__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.google-embed-shell__placeholder {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
  min-height: 240px;
  box-sizing: border-box;
}

.google-embed-shell__hint {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 48rem;
}

.google-embed-shell__fallback {
  margin: 0;
}

.google-embed-shell__iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  min-height: 280px;
  border: 0;
}
