:root {
  --green: #62ac47;
  --green-dark: #4f9338;
  --green-soft: #e8f4e7;
  --beige: #f5f7f4;
  --red: #d92828;
  --ink: #151515;
  --muted: #6b6f76;
  --line: #e6e6e6;
  --paper: #ffffff;
  --soft: #f5f7f4;
  --shadow: 0 24px 70px rgba(21, 21, 21, 0.12);
  --radius: 28px;
  --max-width: 1180px;
  --header-height: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

#leistungen,
#ueber-uns {
  scroll-margin-top: var(--header-height);
}

#referenzen {
  scroll-margin-top: calc(var(--header-height) - 28px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  /* Logo + Nav an der Content-Breite ausrichten (nicht am Viewport-Rand) */
  padding: 14px max(20px, calc((100% - var(--max-width)) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid var(--green);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 280px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.96rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-button {
  color: #fff;
  background: var(--green);
  border: 2px solid var(--green);
}

.nav-button:hover,
.nav-button:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.nav-button:active {
  color: var(--green-dark);
  background: #fff;
  border-color: #fff;
}

.button {
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  box-shadow: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.button.primary:active {
  color: var(--green-dark);
  background: #fff;
  border-color: #fff;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--green);
}

.button.secondary:active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button.secondary.light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
}

.button.secondary.light:hover,
.button.secondary.light:focus-visible {
  color: var(--green-dark);
  background: #fff;
  border-color: #fff;
}

.button.secondary.light:active {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.section,
.page-hero,
.contact-layout {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(520px, 82vh, 700px);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 4vw, 56px);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(21, 21, 21, 0.62) 0%, rgba(21, 21, 21, 0.45) 50%, rgba(46, 123, 42, 0.28) 100%),
    url("20210630_174853-scaled.jpg") center / cover no-repeat;
}

.hero-inner {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.page-hero p,
.about-copy p,
.cta-banner p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #b8e8b4;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 70px);
}

.section h2,
.cta-banner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-list article,
.contact-form,
.contact-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.service-list article {
  padding: 26px;
}

.service-list h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.about-band {
  background: var(--green-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding-block: 88px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-image {
  overflow: hidden;
  max-width: 380px;
  margin-inline: auto;
  border: 1px solid rgba(66, 165, 59, 0.25);
  border-radius: var(--radius);
  background: #fff;
  justify-self: center;
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

.about-copy .button {
  margin-top: 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  cursor: zoom-in;
  font: inherit;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(21, 21, 21, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cta-banner {
  width: 100%;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 4vw, 56px);
  color: #fff;
  background: var(--green);
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  width: min(var(--max-width), 100%);
  margin-inline: auto;
}

.cta-banner .eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}

.cta-banner p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  color: var(--green-dark);
  background: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}

.cta-button:hover,
.cta-button:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.cta-button:active {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.page-hero {
  padding: clamp(56px, 8vw, 104px) 0 42px;
}

.page-hero p {
  max-width: 720px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 92px;
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
}

.form-row {
  margin-bottom: 20px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d7d9dc;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(66, 165, 59, 0.22);
  border-color: var(--green);
}

.form-note,
.small-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-status--success {
  color: #1f5a1a;
  background: #e8f6e6;
  border: 1px solid #b7dfb1;
}

.form-status--error {
  color: #7a1f1f;
  background: #fdeeee;
  border: 1px solid #f0c0c0;
}

.form-status--error a {
  color: inherit;
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row--check {
  margin-top: 8px;
}

.check-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}

.check-label input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.check-label a {
  color: var(--green-dark);
  text-decoration: underline;
}

.contact-card {
  padding: 28px;
}

.contact-card h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
}

.contact-card ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.contact-card li + li {
  margin-top: 10px;
}

.site-footer {
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(48px, 6vw, 72px) 0 40px;
}

.footer-brand img {
  width: 240px;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-block h3 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-block ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-block li + li {
  margin-top: 8px;
}

.footer-block a {
  color: var(--ink);
  text-decoration: none;
}

.footer-block a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
  padding: 20px 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Rechtliche Seiten */
.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.legal-page .legal-lead {
  margin: 0 0 2rem;
  color: var(--muted);
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-page strong {
  color: var(--ink);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-page a {
  color: var(--green-dark);
}

/* Leistungen – Page Hero (grün) + Einsatzgebiete */
.leistungen-hero {
  width: 100%;
  margin: 0;
  padding: clamp(64px, 10vw, 112px) clamp(20px, 4vw, 56px);
  color: #fff;
  text-align: center;
  background: var(--green);
  border-top: 0;
}

.leistungen-hero__inner {
  width: min(760px, 100%);
  margin-inline: auto;
}

.leistungen-hero .eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}

.leistungen-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.leistungen-hero p {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.65;
}

.leistungen-hero p strong {
  color: #fff;
  font-weight: 800;
}

.leistungen-hero__note {
  margin-top: 14px !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  color: #dff5dc !important;
}

.leistungen-hero .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.leistungen-hero .button.cta-button {
  color: var(--green-dark);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.leistungen-hero .button.cta-button:hover,
.leistungen-hero .button.cta-button:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.leistungen-hero .button.cta-button:active {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.leistungen-teaser-cta {
  margin-top: 24px;
}

.leistungen-cases {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.leistungen-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.leistungen-split__copy .section-heading {
  max-width: 35rem;
  margin-bottom: 0;
  text-align: left;
}

.leistungen-split__copy .section-lead {
  margin-top: 16px;
}

.leistungen-split .leistungen-feature-labels {
  max-width: 35rem;
  margin: 28px 0 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leistungen-case-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

.leistungen-case {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.leistungen-case__media {
  overflow: hidden;
  background: #fff;
}

.leistungen-case__media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: center top;
}

.leistungen-case__media--contain {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 160px;
}

.leistungen-case__media--contain img {
  width: auto;
  max-width: 100%;
  height: 140px;
  object-fit: contain;
  object-position: center;
}

.leistungen-case__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leistungen-case__body h3 {
  margin: 0 0 8px;
}

.leistungen-case__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Leistungen – Individualisierungs-Tabs */
.leistungen-tabs {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.leistungen-tabs .opt-tabs {
  margin-top: 0;
}

.leistungen-split--tabs .opt-tabs__list {
  margin-top: 28px;
  margin-bottom: 20px;
}

.opt-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.leistungen-tabs .opt-tabs__list {
  justify-content: flex-start;
}

.leistungen-tabs .opt-tabs__panel--copy {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.leistungen-tabs .opt-tabs__panel--media {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.leistungen-tabs .opt-tabs__panel--media .opt-farben__visual {
  margin-bottom: 16px;
}

.leistungen-tabs .opt-farben__copy h3 {
  margin-top: 0;
}

.opt-tabs__tab {
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.opt-tabs__tab:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.opt-tabs__tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.opt-tabs__tab.is-active:hover,
.opt-tabs__tab.is-active:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.opt-tabs__panel {
  padding: 28px clamp(18px, 3vw, 32px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.opt-tabs__intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.leistungen-tabs .opt-tabs__intro {
  max-width: 35rem;
  margin: 0;
  text-align: left;
}

.leistungen-tabs .opt-farben__copy {
  max-width: 35rem;
}

.leistungen-tabs .opt-farben__copy p {
  color: var(--muted);
}

.opt-anschluss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.leistungen-tabs .opt-anschluss-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.leistungen-tabs .opt-anschluss {
  min-height: 180px;
  padding: 14px 10px;
}

.leistungen-tabs .opt-anschluss img {
  max-height: 150px;
}

.leistungen-tabs .opt-farben {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.leistungen-tabs .opt-farben-examples {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leistungen-tabs .opt-farben-examples img {
  max-height: 200px;
}

.opt-anschluss {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 18px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.opt-anschluss img {
  width: auto;
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.opt-farben {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  margin-bottom: 24px;
}

.opt-farben__copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.opt-farben__copy p {
  margin: 0 0 1em;
  color: var(--muted);
  line-height: 1.65;
}

.opt-farben__copy p:last-child {
  margin-bottom: 0;
}

.opt-farben__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.opt-farben__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.opt-farben-examples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 18px);
  align-items: center;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.opt-farben-examples img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.opt-betrieb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.opt-betrieb-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.opt-betrieb-card--accent {
  background: var(--green-soft);
  border-color: rgba(66, 165, 59, 0.28);
}

.opt-betrieb-card__badge {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opt-betrieb-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.opt-betrieb-card p {
  margin: 0 0 1em;
  color: var(--muted);
  line-height: 1.65;
}

.opt-betrieb-card p:last-child {
  margin-bottom: 0;
}

.opt-betrieb-card strong {
  color: var(--ink);
}

.leistungen-options {
  border-top: 1px solid var(--line);
}

.leistungen-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.leistungen-option {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.leistungen-option__media {
  overflow: hidden;
  border-radius: 18px;
  background: var(--soft);
}

.leistungen-option__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.leistungen-option__media--contain {
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.leistungen-option__media--contain img {
  height: 200px;
  object-fit: contain;
}

.leistungen-option h3 {
  margin: 0;
}

.leistungen-option p {
  margin: 0;
  color: var(--muted);
}

.leistungen-option--wide {
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 28px;
  padding: 22px;
  background: var(--green-soft);
  border-color: rgba(66, 165, 59, 0.25);
}

.leistungen-option--wide .leistungen-option__media img {
  height: 260px;
}

.leistungen-quality {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--green);
  border-top: 0;
  color: #fff;
}

.leistungen-referenzen {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.leistungen-quality__inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.leistungen-quality .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.leistungen-quality h2,
.leistungen-quality .section-lead {
  color: #fff;
}

.leistungen-quality .section-lead {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
}

.leistungen-feature-labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 28px);
  align-items: center;
  justify-items: center;
  max-width: 720px;
  margin: 32px auto 0;
  background: none;
  border: none;
  padding: 0;
}

.leistungen-feature-labels img {
  width: min(140px, 100%);
  height: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
}

.leistungen-quality-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  justify-items: center;
  margin-top: 40px;
}

.leistungen-quality-labels img {
  width: auto;
  max-width: 100%;
  max-height: 110px;
  height: auto;
  object-fit: contain;
  display: block;
}

.leistungen-example__media {
  overflow: hidden;
  background: #fff;
}

.leistungen-example__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.leistungen-example__media--contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px 4px;
  min-height: 240px;
}

.leistungen-example__media--contain img {
  height: 220px;
  object-fit: contain;
}

.leistungen-example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.leistungen-example {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.leistungen-example figcaption {
  padding: 12px 14px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .section-lead {
  margin-inline: auto;
  max-width: 680px;
}

/* Über uns – zweispaltig: Text | Einblicke */
.about-c {
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.about-c__inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.about-c__intro {
  max-width: none;
  margin: 0;
  text-align: left;
}

.about-c__intro .eyebrow {
  margin-bottom: 12px;
}

.about-c__title,
.about-c h2.about-c__gallery-title,
.about-c h2.about-c__why-title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.about-c__prose {
  max-width: 35rem;
  margin: 0;
}

.about-c__prose p {
  margin: 0 0 1.1em;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-c__prose p:last-child {
  margin-bottom: 0;
}

.about-c__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-c__why {
  max-width: 35rem;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-c__why .eyebrow {
  margin-bottom: 8px;
}

.about-c__why-title {
  margin: 0 0 20px;
}

.about-c__usps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.about-c__usp {
  margin: 0;
  padding: 16px;
  background: var(--soft);
  border-radius: 16px;
}

.about-c__usp-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  object-fit: contain;
}

.about-c__usp h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.about-c__usp p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.about-c__gallery-section {
  margin: 0;
  padding: clamp(20px, 3vw, 28px);
  border: none;
  background: var(--green-soft);
  border-radius: 24px;
}

.about-c h2.about-c__gallery-title {
  margin: 0 0 20px;
  text-align: left;
}

.about-c__gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-c__gallery .gallery-item {
  width: 100%;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ececec;
}

.about-c__gallery .gallery-item img {
  width: 100%;
  height: clamp(150px, 16vw, 190px);
  object-fit: cover;
  display: block;
}

@media (max-width: 920px) {
  .about-c__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-c__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .about-c__gallery .gallery-item img {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .about-c__usps {
    grid-template-columns: 1fr;
  }

  .about-c__gallery {
    grid-template-columns: 1fr;
  }

  .about-c__gallery .gallery-item img {
    height: 220px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 100px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .nav-toggle {
    display: flex;
    z-index: 60;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 55;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: calc(var(--header-height) + 12px) 28px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 40px rgba(21, 21, 21, 0.12);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    display: block;
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(21, 21, 21, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .split,
  .about,
  .cta-banner-inner,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .leistungen-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .leistungen-case {
    grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
  }

  .leistungen-example-grid,
  .opt-anschluss-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leistungen-quality-labels,
  .leistungen-feature-labels {
    grid-template-columns: repeat(2, 1fr);
  }

  .leistungen-quality-labels {
    gap: 20px;
  }

  .opt-farben,
  .opt-betrieb {
    grid-template-columns: 1fr;
  }

  .opt-farben-examples {
    grid-template-columns: repeat(2, 1fr);
  }

  .leistungen-option--wide {
    grid-template-columns: 1fr;
  }

  .cta-button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 108px;
  }

  .site-header {
    position: sticky;
  }

  .brand img {
    width: 220px;
  }

  .leistungen-case {
    grid-template-columns: 1fr;
  }

  .leistungen-case__media--contain {
    min-height: 180px;
  }

  .leistungen-case__media--contain img {
    height: 160px;
  }

  .leistungen-tabs .opt-anschluss-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-list,
  .gallery,
  .two-columns,
  .leistungen-case-grid,
  .leistungen-option-grid,
  .leistungen-example-grid,
  .opt-anschluss-grid,
  .opt-farben,
  .opt-betrieb,
  .leistungen-quality-labels {
    grid-template-columns: 1fr;
  }

  .opt-farben-examples {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item img,
  .leistungen-case__media img,
  .leistungen-example img {
    height: 260px;
    min-height: 260px;
  }

  .about-image img {
    height: auto;
    max-height: 320px;
    min-height: 0;
  }
}
