/* =============================================================
   Zimmermann Bau – Stylesheet
   Erd-, Tief- & Kanalbau · Außenanlagen · Poolbau · Abbruch
   Vanilla CSS · Mobile-first · DSGVO: lokale Schriften
   ============================================================= */

/* ---------- 1. Lokale Schriften (DSGVO-konform) ------------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- 2. Design-Tokens ------------------------------- */
:root {
  /* Farben */
  --bg: #f4f1ea;
  --bg-alt: #f7f5ef;
  --white: #ffffff;
  --dark: #1a1a1a;
  --dark-2: #1a1a1a;
  --footer: #161a1d;
  --text: #111111;
  --text-2: #5f6467;
  --line: #e3ddd0;
  --line-dark: #333333;
  --orange: #f2a01f;
  --orange-hover: #f5a623;
  --orange-soft: rgba(242, 160, 31, 0.12);
  --red: #c82020;
  --red-hover: #a81818;
  --green: #5f7358;
  --green-dark: #4d5f47;

  /* Typografie */
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(20, 26, 29, 0.06);
  --shadow: 0 14px 40px rgba(20, 26, 29, 0.1);
  --shadow-lg: 0 26px 60px rgba(20, 26, 29, 0.16);

  /* Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* ---------- 3. Reset / Basis ------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--text);
  text-wrap: balance;
}
p {
  margin: 0 0 1.1em;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. Layout-Helfer ------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.bg-white {
  background: var(--white);
}
.bg-alt {
  background: var(--bg-alt);
}
.bg-dark {
  background: var(--dark-2);
  color: #e9ecee;
}
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: #fff;
}
.bg-green {
  background: #1a1a1a;
  color: #fff;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1100;
  background: var(--text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* ---------- 5. Typo-Bausteine ------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}
.bg-dark .eyebrow,
.bg-green .eyebrow {
  color: var(--orange);
}
.bg-green .eyebrow {
  color: #ffe2b0;
}
.bg-green .eyebrow::before {
  background: #ffe2b0;
}
h1,
.h1 {
  font-size: clamp(2.3rem, 6vw, 4.1rem);
}
h2,
.h2 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 60ch;
}
.bg-dark .lead {
  color: #b9c0c4;
}
.section-head {
  max-width: 64ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- 6. Buttons ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 32, 32, 0.28);
}
.btn--primary:hover {
  background: var(--red-hover);
  box-shadow: 0 14px 30px rgba(200, 32, 32, 0.34);
}
.btn--accent {
  background: var(--orange);
  color: #1a1a1a;
}
.btn--accent:hover {
  background: var(--orange-hover);
}
.btn--dark {
  background: var(--dark-2);
  color: #fff;
}
.btn--dark:hover {
  background: #1c252a;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--text);
}
.btn--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--on-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--block {
  width: 100%;
}

/* ---------- 7. Header / Navigation ------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Kein backdrop-filter/transform hier: würde den Container für die
     position:fixed Mobil-Navigation verschieben. */
  background: #f7f5ef;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.header.scrolled {
  background: #f7f5ef;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.topbar {
  background: var(--dark-2);
  color: #cdd4d7;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}
.topbar a:hover {
  color: var(--orange);
}
.topbar svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
}
.topbar__group {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.header.scrolled .nav {
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 52px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.header.scrolled .brand img {
  height: 44px;
}
.nav__menu {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  color: var(--text);
  position: relative;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.42rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__menu a:hover {
  color: var(--text);
}
.nav__menu a:hover::after,
.nav__menu a.active::after {
  transform: scaleX(1);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
/* CTA im Menü nur in der mobilen Navigation zeigen */
.nav__cta-mobile {
  display: none;
}
.nav__cta {
  padding: 0.8rem 1.4rem;
}
.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span {
  top: 50%;
  margin-top: -1px;
}
.nav__toggle span::before {
  top: -7px;
}
.nav__toggle span::after {
  top: 7px;
}
body.nav-open .nav__toggle span {
  background: transparent;
}
body.nav-open .nav__toggle span::before {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}
body.nav-open .nav__toggle span::after {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* ---------- 8. Hero ---------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      105deg,
      rgba(20, 26, 29, 0.86) 0%,
      rgba(20, 26, 29, 0.62) 45%,
      rgba(20, 26, 29, 0.32) 100%
    ),
    linear-gradient(to top, rgba(20, 26, 29, 0.85) 0%, rgba(20, 26, 29, 0) 55%);
}
.hero__inner {
  padding-block: clamp(3rem, 9vw, 6rem);
  width: 100%;
}
.hero__tag {
  color: #ffd28a;
}
.hero__tag::before {
  background: var(--orange);
}
.hero h1 {
  color: #fff;
  max-width: 18ch;
  margin-bottom: 1.2rem;
}
.hero h1 .accent {
  color: var(--orange);
}
.hero__text {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #dfe4e6;
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Vertrauensleiste */
.trustbar {
  background: var(--dark-2);
  color: #d7dde0;
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.4rem 1.5rem;
  border-right: 1px solid var(--line-dark);
}
.trustbar__item:last-child {
  border-right: none;
}
.trustbar__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
}
.trustbar__icon svg {
  width: 22px;
  height: 22px;
}
.trustbar__t {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.2;
}
.trustbar__s {
  display: block;
  font-size: 0.82rem;
  color: #99a3a8;
  margin-top: 0.15rem;
}

/* ---------- 9. Intro / Positionierung ---------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--text-img {
  align-items: center;
}
.intro__headline {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
.intro__headline .accent {
  color: var(--orange);
}
.intro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text);
  line-height: 1;
}
.stat__num .u {
  color: var(--orange);
}
.stat__label {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 0.35rem;
}

/* ---------- 10. Tradition (Bild + Text) -------------------- */
.framed {
  position: relative;
}
.framed img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}
.framed::before {
  content: "";
  position: absolute;
  inset: -18px -18px 30px 30px;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  z-index: 0;
}
.framed__badge {
  position: absolute;
  z-index: 2;
  right: -14px;
  bottom: 26px;
  background: var(--dark-2);
  color: #fff;
  padding: 1.1rem 1.4rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.framed__badge strong {
  font-family: var(--font-head);
  display: block;
  font-size: 1.6rem;
  color: var(--orange);
  line-height: 1;
}
.framed__badge span {
  font-size: 0.82rem;
  color: #c2cace;
}

/* ---------- 11. Leistungen (Karten) ------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dark);
}
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__img {
  transform: scale(1.06);
}
.card__icon {
  position: absolute;
  left: 18px;
  bottom: -26px;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.card__icon svg {
  width: 28px;
  height: 28px;
}
.card__body {
  padding: 2.4rem 1.6rem 1.7rem;
}
.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
}
.card p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin: 0;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.card__link svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  transition: transform 0.25s var(--ease);
}
.card:hover .card__link svg {
  transform: translateX(4px);
}

/* ---------- 12. Ablauf (dunkel) ---------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  margin-top: 1rem;
}
.step {
  position: relative;
  padding-top: 2.6rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 0.9rem;
}
.step::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 3.4rem;
  right: -0.75rem;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--orange) 0 8px,
    transparent 8px 16px
  );
  background-size: 16px 2px;
  opacity: 0.6;
}
.step:last-child::after {
  display: none;
}
.step h3 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}
.step p {
  color: #aab2b6;
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- 13. Galerien ----------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  min-height: 220px;
  grid-column: span 4;
}
.tile--wide {
  grid-column: span 6;
}
.tile--tall {
  grid-row: span 2;
}
.tile img,
.tile .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tile:hover img {
  transform: scale(1.06);
}
.tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  background: linear-gradient(
    to top,
    rgba(20, 26, 29, 0.82) 0%,
    rgba(20, 26, 29, 0) 55%
  );
  color: #fff;
  z-index: 1;
}
.tile__cat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.3rem;
}
.tile__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Platzhalter-Kacheln (bis echte Projektfotos vorliegen) */
.placeholder {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
      135deg,
      #1a1a1a,
      #1a1a1a 14px,
      #242424 14px,
      #242424 28px
    );
  color: #5a5a5a;
}
.placeholder svg {
  width: 46px;
  height: 46px;
  opacity: 0.6;
}
.tile--ph .tile__overlay {
  background: linear-gradient(
    to top,
    rgba(20, 26, 29, 0.6) 0%,
    rgba(20, 26, 29, 0.1) 60%
  );
}

/* ---------- 14. Vergleich / Vorher-Nachher ----------------- */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.compare__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  position: relative;
}
.compare__half {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.compare__half img,
.compare__half .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(20, 26, 29, 0.78);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}
.compare__label.after {
  background: var(--orange);
  color: #1a1a1a;
}
.compare__body {
  padding: 1.3rem 1.4rem 1.5rem;
}
.compare__body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.compare__body p {
  color: var(--text-2);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- 15. Keramik-Fokus ------------------------------ */
.focus__media {
  position: relative;
}
.focus__media img,
.focus__media .placeholder {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.focus__price {
  position: absolute;
  left: -14px;
  top: 26px;
  background: var(--orange);
  color: #1a1a1a;
  font-family: var(--font-head);
  font-weight: 800;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.checklist {
  list-style: none;
  margin: 1.4rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1rem;
}
.checklist svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--orange);
  margin-top: 2px;
}
.focus__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- 16. Kundenstimmen ------------------------------ */
.reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.gbadge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.gbadge__score {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
}
.gbadge__meta {
  font-size: 0.85rem;
  color: var(--text-2);
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--orange);
}
.stars svg {
  width: 16px;
  height: 16px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.review__stars {
  margin-bottom: 0.9rem;
}
.review__text {
  font-size: 1rem;
  color: #2a2f31;
  margin-bottom: 1.4rem;
}
.review__foot {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}
.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.review__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.review__date {
  font-size: 0.8rem;
  color: var(--text-2);
}

/* ---------- 17. Kontakt ------------------------------------ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact h2 {
  color: #fff;
}
.contact__lead {
  color: #e4ebe2;
  font-size: 1.1rem;
}
.contact__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
}
.contact__list a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: #fff;
}
.contact__ico-l,
.contact__ico-v {
  display: block;
}
.contact__ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.contact__ico svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.contact__ico-l {
  font-size: 0.8rem;
  color: #cfe0c9;
}
.contact__ico-v {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.field .req {
  color: var(--red);
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 1.3rem;
}
.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--green);
}
.consent a {
  color: var(--green-dark);
  text-decoration: underline;
}
.form__note {
  font-size: 0.82rem;
  color: var(--text-2);
  margin: 1rem 0 0;
  text-align: center;
}
.form__status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.form__status.ok {
  display: block;
  background: #e8f0e4;
  color: #3a5132;
  border: 1px solid #c4d6bb;
}
.form__status.err {
  display: block;
  background: #fbe7e7;
  color: #8a1c1c;
  border: 1px solid #f0c4c4;
}

/* ---------- 18. Footer ------------------------------------- */
.footer {
  background: var(--footer);
  color: #aeb6ba;
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand img {
  height: 46px;
  margin-bottom: 1.2rem;
}
.footer__brand p {
  max-width: 34ch;
  color: #97a0a4;
}
.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.footer a {
  color: #aeb6ba;
  transition: color 0.2s var(--ease);
}
.footer a:hover {
  color: var(--orange);
}
.footer__contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.footer__contact svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}
.footer__bottom {
  border-top: 1px solid #262c30;
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #7f888c;
}
.footer__bottom a:hover {
  color: var(--orange);
}

/* ---------- 19. Rechtstexte (Unterseiten) ------------------ */
.page-hero {
  background: var(--dark-2);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero .crumb {
  font-size: 0.85rem;
  color: #9aa3a8;
  margin-bottom: 0.8rem;
}
.page-hero .crumb a:hover {
  color: var(--orange);
}
.page-hero h1 {
  color: #fff;
  margin: 0;
}
.legal {
  max-width: 860px;
}
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-top: 2.4rem;
}
.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
}
.legal p,
.legal li {
  color: #33393b;
  font-size: 1rem;
}
.legal a {
  color: var(--green-dark);
  text-decoration: underline;
  word-break: break-word;
}
.legal ul {
  padding-left: 1.2rem;
}
.legal li {
  margin-bottom: 0.4rem;
}
.legal .muted {
  color: var(--text-2);
  font-size: 0.92rem;
}
.legal address {
  font-style: normal;
  line-height: 1.8;
}

/* ---------- 20. Scroll-Reveal ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- 21. Responsive --------------------------------- */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .step::after {
    display: none;
  }
  .trustbar__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trustbar__item:nth-child(3) {
    border-right: none;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 70px;
  }
  .nav__menu,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  /* Mobile-Menü */
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 1050;
    overflow-y: auto;
  }
  body.nav-open .nav__menu {
    display: flex;
    transform: translateX(0);
  }
  .nav__menu a {
    font-size: 1.15rem;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__menu a::after {
    display: none;
  }
  .nav__menu .nav__cta-mobile {
    display: inline-flex;
    margin-top: 1.4rem;
    border-bottom: none;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 26, 29, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 1040;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .split--reverse .framed,
  .split--reverse .focus__media {
    order: -1;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .compare {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    gap: 0.8rem;
  }
  .tile,
  .tile--wide {
    grid-column: span 6;
  }
  .tile--tall {
    grid-row: span 1;
  }
  .framed__badge {
    right: 10px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }
  .topbar__group--meta {
    display: none;
  }
  .trustbar__grid {
    grid-template-columns: 1fr;
  }
  .trustbar__item {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }
  .trustbar__item:last-child {
    border-bottom: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .hero__cta .btn,
  .focus__cta .btn {
    width: 100%;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .tile,
  .tile--wide {
    grid-column: span 12;
  }
  .framed::before {
    inset: -10px -10px 20px 16px;
  }
}

/* ---------- 22. Bewegung reduzieren ------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 23. Zahlen-Band (Rebuild / Entwurf) ------------ */
.statsband {
  background: var(--dark);
  color: #fff;
}
.statsband .container {
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
}
.statsband__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.statsband__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.statsband__label {
  color: #c4cacd;
  font-size: 0.98rem;
  margin-top: 0.5rem;
}
.statsband__divider {
  position: relative;
}
.statsband__divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 720px) {
  .statsband__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 1.2rem;
  }
  .statsband__divider::before {
    display: none;
  }
}

/* ---------- 24. Unterseiten-Hero Lead + Service-Detail ------ */
.page-hero .sub {
  color: #c3ccd0;
  max-width: 660px;
  margin: 0.9rem 0 0;
  font-size: 1.06rem;
  line-height: 1.65;
}
.page-hero--img {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero--img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.72));
}
.svc-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.related-title {
  margin-bottom: 1.4rem;
}

/* =============================================================
   25. Entwurf-Feinschliff (Layout stärker am Entwurf)
   ============================================================= */

/* --- Topbar: orange --- */
.topbar {
  background: var(--orange);
  color: #161a1d;
}
.topbar a,
.topbar__note {
  color: #161a1d;
}
.topbar a:hover {
  color: #3a2a05;
}

/* --- Navigation: Dropdown "Leistungen" --- */
.nav__item {
  position: relative;
}
.nav__caret {
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.2rem;
  vertical-align: -1px;
  transition: transform 0.2s var(--ease);
}
.nav__item--sub:hover .nav__caret {
  transform: rotate(180deg);
}
.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 288px;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 1100;
}
.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__sub li {
  margin: 0;
}
.nav__sub a {
  display: block;
  padding: 0.62rem 0.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav__sub a::after {
  display: none !important;
}
.nav__sub a:hover {
  background: var(--bg-alt);
  color: var(--orange);
}

/* --- Hero: Badge + Anpassungen --- */
.hero__badge {
  display: inline-block;
  background: var(--orange);
  color: #161a1d;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1.1rem;
}

/* --- Feature-Leiste: dunkles Panel, über den Hero geschoben --- */
.trustbar {
  background: transparent;
  margin-top: -3.75rem;
  position: relative;
  z-index: 6;
}
.trustbar__grid {
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trustbar__item {
  padding: 1.5rem 1.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.trustbar__icon {
  color: var(--orange);
  display: inline-flex;
}
.trustbar__icon svg {
  width: 30px;
  height: 30px;
}
.trustbar__t {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 0.98rem;
}
.trustbar__s {
  display: block;
  color: #9aa2a6;
  font-size: 0.82rem;
}

/* --- Leistungskarten: Nummern-Badge --- */
.card__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  background: var(--orange);
  color: #161a1d;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 0.42rem 0.7rem;
  border-bottom-right-radius: 12px;
}

/* --- Stats-Band: Icons + Aufbau --- */
.statsband__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: center;
  text-align: left;
}
.statsband__ico {
  color: var(--orange);
  display: inline-flex;
  flex: none;
}
.statsband__ico svg {
  width: 38px;
  height: 38px;
}

/* --- Referenz-Karten (Startseite) --- */
.refgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.refcard {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.7;
  box-shadow: var(--shadow-sm);
}
.refcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.refcard:hover img {
  transform: scale(1.05);
}
.refcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 20, 0.9) 12%, rgba(15, 18, 20, 0.05) 58%);
}
.refcard__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--orange);
  color: #161a1d;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.3rem 0.62rem;
  border-radius: 6px;
}
.refcard__body {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  z-index: 2;
  color: #fff;
}
.refcard__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.2;
}
.refcard__loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: #d7dde0;
  margin-top: 0.28rem;
}
.refcard__loc svg {
  width: 14px;
  height: 14px;
  color: var(--orange);
  flex: none;
}

/* --- Maschinenpark --- */
.maschinen__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 0.5rem;
}
.maschine {
  padding: 1.2rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.maschine:last-child {
  border-right: none;
}
.maschine__ico {
  color: var(--orange);
  display: inline-flex;
}
.maschine__ico svg {
  width: 48px;
  height: 48px;
}
.maschine__name {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.7rem;
}
.maschine__spec {
  color: #9aa2a6;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

/* --- Bewertungen: Rating-Box --- */
.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 1.4rem;
  align-items: stretch;
}
.rating-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.rating-box__g svg {
  width: 40px;
  height: 40px;
}
.rating-box__score {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.7rem;
  color: var(--text);
  line-height: 1;
}
.rating-box .stars svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}
.rating-box__note {
  color: var(--text-2);
  font-size: 0.86rem;
}

/* --- Responsive Feinschliff --- */
@media (max-width: 980px) {
  .refgrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .maschinen__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .maschine:nth-child(3n) {
    border-right: none;
  }
  .reviews-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .trustbar {
    margin-top: -1.75rem;
  }
  .trustbar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav__caret {
    display: none;
  }
  .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.1rem 0 0.4rem 0.9rem;
  }
  .nav__sub a {
    font-size: 1rem;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
}
@media (max-width: 620px) {
  .refgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trustbar__grid {
    grid-template-columns: 1fr;
  }
  .maschinen__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .maschine {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Bewertungen: zwei Reviews neben der Rating-Box */
.reviews-layout .review-grid {
  grid-template-columns: repeat(2, 1fr);
}
.trustbar {
  margin-bottom: 0.5rem;
}
@media (max-width: 620px) {
  .reviews-layout .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Leistungskarten ohne Icon-Kachel: Innenabstand oben normalisieren */
.card__body {
  padding-top: 1.6rem;
}

/* Ablauf-Schritte: Schrift je nach Hintergrund lesbar
   (dunkel auf hellen Sektionen, weiß nur auf dunklem Hintergrund) */
.step h3 {
  color: var(--text);
}
.step p {
  color: var(--text-2);
}
.bg-dark .step h3 {
  color: #fff;
}
.bg-dark .step p {
  color: #aab2b6;
}

/* =============================================================
   26. Referenzen mit Filter (Bereiche umschaltbar)
   ============================================================= */
.reftabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
}
.reftab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.62rem 1.1rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.reftab:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.reftab.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #161a1d;
}
.refpanel {
  display: none;
}
.refpanel.is-active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 188px;
  gap: 1rem;
}
.projcard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--dark);
}
.projcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.projcard:hover img {
  transform: scale(1.05);
}
.projcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 20, 0.9) 12%, rgba(15, 18, 20, 0.04) 60%);
}
.projcard--big {
  grid-column: span 2;
  grid-row: span 2;
}
.projcard figcaption {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 14px;
  z-index: 2;
}
.projcard__cat {
  display: inline-block;
  background: var(--orange);
  color: #161a1d;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  margin-bottom: 0.45rem;
}
.projcard__title {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}
.projcard--big .projcard__title {
  font-size: 1.5rem;
}
@media (max-width: 860px) {
  .refpanel.is-active {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 165px;
  }
  .projcard--big {
    grid-column: span 2;
    grid-row: span 1;
  }
  .projcard--big .projcard__title {
    font-size: 1.2rem;
  }
  .reftabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
  }
  .reftab {
    flex: 0 0 auto;
  }
}
@media (max-width: 520px) {
  .refpanel.is-active {
    grid-template-columns: 1fr;
    grid-auto-rows: 190px;
  }
  .projcard--big {
    grid-column: span 1;
  }
}

/* =============================================================
   27. Referenz-Bilder größer + Lightbox
   ============================================================= */
.refpanel.is-active {
  grid-auto-rows: 250px;
  gap: 1.1rem;
}
.projcard {
  cursor: zoom-in;
}
@media (max-width: 860px) {
  .refpanel.is-active {
    grid-auto-rows: 220px;
  }
}
@media (max-width: 520px) {
  .refpanel.is-active {
    grid-auto-rows: 240px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 12, 14, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__fig {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__fig img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__fig figcaption {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-top: 0.9rem;
  text-align: center;
  font-size: 1rem;
}
.lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 1.1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox__nav:hover {
  background: var(--orange);
  color: #161a1d;
}
.lightbox__prev {
  left: 1rem;
}
.lightbox__next {
  right: 1rem;
}
@media (max-width: 560px) {
  .lightbox {
    padding: 1rem;
  }
  .lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .lightbox__prev {
    left: 0.4rem;
  }
  .lightbox__next {
    right: 0.4rem;
  }
  .lightbox__close {
    font-size: 2.2rem;
    top: 0.4rem;
    right: 0.6rem;
  }
}

/* Zoom-Cursor für alle per Lightbox vergrößerbaren Bilder */
.gallery .tile img,
.refcard img,
.framed img {
  cursor: zoom-in;
}

/* =============================================================
   28. Referenzen: engere Abstände + größere Bilder
   ============================================================= */
.refpanel.is-active {
  grid-auto-rows: 288px;
  gap: 0.6rem;
}
/* Verlaufs-Overlay darf Klicks nicht abfangen (Lightbox) */
.projcard::after,
.refcard::after {
  pointer-events: none;
}
@media (max-width: 860px) {
  .refpanel.is-active {
    grid-auto-rows: 232px;
    gap: 0.55rem;
  }
}
@media (max-width: 520px) {
  .refpanel.is-active {
    grid-auto-rows: 244px;
  }
}

/* =============================================================
   29. Referenzen final: gleichmäßiges Raster (wie Leistungen),
       größere Bilder
   ============================================================= */
.refpanel.is-active {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 320px;
  gap: 1.4rem;
}
.projcard--big {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 860px) {
  .refpanel.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 1.2rem;
  }
  .projcard--big {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 520px) {
  .refpanel.is-active {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .projcard--big {
    grid-column: span 1;
  }
}

/* =============================================================
   30. Hero 100vh + asymmetrische Referenz-Galerie (wie Entwurf)
   ============================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
}

/* Asymmetrisches Raster: große Karte links, oben 3, unten 2 */
.refpanel.is-active {
  display: grid;
  grid-template-columns: 4fr 6fr;
  grid-template-rows: 540px;
  grid-auto-rows: auto;
  gap: 1.2rem;
  height: auto;
}
.projcard--big {
  grid-column: auto;
  grid-row: auto;
}
.ref-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  min-height: 0;
}
.ref-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  min-height: 0;
}
.ref-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  min-height: 0;
}
.projcard {
  height: 100%;
  min-height: 0;
  border-radius: 14px;
}
.projcard__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.projcard__link svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
  transition: transform 0.25s var(--ease);
}
.projcard:hover .projcard__link svg {
  transform: translateX(4px);
}

/* Tablet: großes Bild oben, Rest darunter */
@media (max-width: 900px) {
  .refpanel.is-active {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .ref-right {
    grid-template-rows: auto auto;
  }
  .projcard--big {
    height: 340px;
  }
  .ref-top,
  .ref-bottom {
    grid-auto-rows: 200px;
  }
}
/* Smartphone: alles einspaltig, Hauptreferenz zuerst */
@media (max-width: 620px) {
  .refpanel.is-active,
  .ref-right,
  .ref-top,
  .ref-bottom {
    display: block;
  }
  .projcard {
    height: 240px;
    margin-bottom: 1rem;
  }
  .projcard--big {
    height: 280px;
  }
}

/* =============================================================
   31. Hero: Headerhöhe von 100vh abziehen + Inhalt höher
   ============================================================= */
:root {
  --head: 125px;
}
.hero {
  min-height: calc(100vh - var(--head));
  min-height: calc(100svh - var(--head));
  align-items: center;
}
.hero__inner {
  padding-block: 2rem;
}
@media (max-width: 860px) {
  :root {
    --head: 110px;
  }
}

/* =============================================================
   32. Vorteilsleiste direkt unter den Hero (keine Überlappung)
   ============================================================= */
.trustbar {
  margin-top: 2rem;
}
@media (max-width: 860px) {
  .trustbar {
    margin-top: 1.5rem;
  }
}

/* =============================================================
   33. Vorteilsleiste volle Breite + Referenz-Galerie harmonischer
   ============================================================= */
/* Schwarze Leiste über volle Breite, bündig unter dem Hero */
.trustbar {
  background: var(--dark);
  margin-top: 0;
}
.trustbar__grid {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Referenz-Galerie: engere, gleichmäßige Abstände */
.refpanel.is-active {
  grid-template-rows: 460px;
  gap: 0.7rem;
}
.ref-right,
.ref-top,
.ref-bottom {
  gap: 0.7rem;
}
/* Lange Titel auf schmalen Karten umbrechen statt abschneiden */
.projcard__title {
  overflow-wrap: anywhere;
}
.ref-top .projcard__title,
.ref-bottom .projcard__title {
  font-size: 0.92rem;
}

/* =============================================================
   34. Referenz-Galerie: nahtlos, ohne Abstände, bündig zum Rand
   ============================================================= */
.projcard {
  margin: 0;              /* Browser-Standardrand von <figure> entfernen */
  border-radius: 0;
}
.refpanel.is-active {
  gap: 0;
  border-radius: 14px;    /* nur der Gesamtblock ist außen abgerundet */
  overflow: hidden;
}
.ref-right,
.ref-top,
.ref-bottom {
  gap: 0;
}

/* =============================================================
   35. Vorteilsleiste: erste Kachel bündig mit der Hero-Schrift
   ============================================================= */
.trustbar__item:first-child {
  padding-left: 0;
}

/* =============================================================
   36. Vorteilsleiste-Icons: ohne Box/Umrandung, größer
   ============================================================= */
.trustbar__icon {
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
}
.trustbar__icon svg {
  width: 46px;
  height: 46px;
}

/* =============================================================
   37. Badge-Schrift weiß · Anfrage-Buttons orange · Bild bündig
   ============================================================= */
.hero__badge {
  color: #fff;
}
.btn--primary {
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(242, 160, 31, 0.28);
}
.btn--primary:hover {
  background: var(--orange-hover);
}
/* <figure>-Standardrand entfernen, damit Bilder linksbündig sitzen */
.framed {
  margin: 0;
}

/* =============================================================
   38. Logos: Header größer, Footer größer (weißes Logo)
   ============================================================= */
.brand img {
  height: 68px;
}
.header.scrolled .brand img {
  height: 54px;
}
.footer__brand img {
  height: 62px;
}
@media (max-width: 560px) {
  .brand img {
    height: 50px;
  }
  .header.scrolled .brand img {
    height: 46px;
  }
}

/* =============================================================
   39. Mobile-Menü, Logo, Telefon, Vorteilsicons, Dropdown-Brücke
   ============================================================= */
/* Telefonnummer & Topbar-Links nicht umbrechen */
.topbar a {
  white-space: nowrap;
}

/* Desktop-Dropdown: unsichtbare Brücke gegen Zuklappen beim Übergang */
.nav__sub {
  top: 100%;
  margin-top: 12px;
}
.nav__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

@media (max-width: 860px) {
  /* Logo größer & mittig, Burger absolut rechts */
  .nav {
    justify-content: center;
    position: relative;
  }
  .brand {
    margin: 0 auto;
  }
  .nav__right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .brand img {
    height: 60px;
  }
  .header.scrolled .brand img {
    height: 52px;
  }

  /* Vorteilsleiste: Inhalte zentriert */
  .trustbar__item {
    justify-content: center;
  }
  .trustbar__item:first-child {
    padding-left: 1.6rem;
  }

  /* Leistungen-Untermenü als Akkordeon (Standard eingeklappt) */
  .nav__sub::before {
    display: none;
  }
  .nav__item--sub .nav__sub {
    display: none;
    margin-top: 0;
  }
  .nav__item--sub.is-expanded .nav__sub {
    display: block;
  }
  .nav__caret {
    display: inline-block;
    transition: transform 0.2s var(--ease);
  }
  .nav__item--sub.is-expanded .nav__caret {
    transform: rotate(180deg);
  }
}

/* =============================================================
   40. Footer-Logo-Fix, größere Logos, mobiles Vollbild-Menü + X
   ============================================================= */
/* Footer-Logo: nicht mehr verzerrt (proportional) */
.footer__brand img {
  width: auto;
}
/* Header-Logo min. 30 px breiter */
.brand img {
  height: 88px;
}
.header.scrolled .brand img {
  height: 72px;
}
:root {
  --head: 129px;
}
/* Close-Button standardmäßig aus (nur mobil sichtbar) */
.nav__closeli {
  display: none;
}

@media (max-width: 860px) {
  :root {
    --head: 116px;
  }
  /* Menü über den Backdrop heben (Header ist Stacking-Kontext) */
  body.nav-open .header {
    z-index: 1300;
  }
  /* Vollbild, solide, klickbar */
  .nav__menu {
    width: 100%;
    background: var(--white);
    padding: 5rem 1.5rem 2.5rem;
    z-index: 1310;
    box-shadow: none;
  }
  /* Close-Button (X) oben rechts */
  .nav__closeli {
    display: block;
    border-bottom: none !important;
    padding: 0;
  }
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-family: var(--font-head);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    padding: 0 0.5rem;
  }
  /* Mobiles Logo deutlich größer */
  .brand img {
    height: 70px;
  }
  .header.scrolled .brand img {
    height: 60px;
  }
}

/* =============================================================
   41. Topbar-Symmetrie (mobil), Bild-Badge nach unten, lange Wörter
   ============================================================= */
/* Lange Überschriften umbrechen (z. B. "Barrierefreiheitserklärung") */
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 560px) {
  /* Telefon links, E-Mail rechts – gleicher Abstand zum Rand */
  .topbar__group {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
}

/* Bild-Badge auf Mobil nach unten schieben, damit das Bild sichtbar bleibt */
@media (max-width: 620px) {
  .framed__badge {
    right: 8px;
    bottom: 6px;
    padding: 0.55rem 0.9rem;
    max-width: 200px;
  }
}

/* =============================================================
   42. Mobiles Menü: Logo-Padding, keine Linien, Untermenü umbrechen
   ============================================================= */
@media (max-width: 860px) {
  :root {
    --head: 135px;
  }
  /* Mehr Luft über und unter dem Logo */
  .nav {
    padding-block: 0.85rem;
  }
  .brand img {
    height: 66px;
  }
  .header.scrolled .brand img {
    height: 58px;
  }
  /* Keine Linien an/unter/durch den Menüpunkten */
  .nav__menu a {
    border-bottom: none;
  }
  .nav__menu a::after {
    display: none !important;
  }
  /* Leistungen-Untermenü: Namen umbrechen statt aus dem Rahmen zu laufen */
  .nav__sub {
    min-width: 0;
    max-width: 100%;
  }
  .nav__sub a {
    white-space: normal;
    border-bottom: none;
  }
}

/* =============================================================
   43. Footer-Logo größer (mind. doppelt) + Badge weiter nach unten
   ============================================================= */
.footer__brand img {
  height: 130px;
}
@media (max-width: 620px) {
  .framed__badge {
    right: 8px;
    bottom: -14px;
    padding: 0.55rem 0.9rem;
    max-width: 200px;
  }
}

/* =============================================================
   44. Bild-Badge noch tiefer (Desktop + Mobil)
   ============================================================= */
.framed__badge {
  bottom: -18px;
}
@media (max-width: 620px) {
  .framed__badge {
    bottom: -22px;
    right: 6px;
    padding: 0.55rem 0.9rem;
    max-width: 200px;
  }
}

/* =============================================================
   45. Visuell versteckter Text (für eindeutige Linktexte / SEO/A11y)
   ============================================================= */
.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;
}

/* =============================================================
   46. Mobiles Menü: mehr Abstand + Untermenü bruchsicher
   ============================================================= */
@media (max-width: 860px) {
  /* Sicherheitsnetz gegen horizontales Überlaufen */
  .nav__menu {
    overflow-x: hidden;
  }
  /* Deutlich mehr Abstand zwischen den Menüpunkten (weniger Vertipper) */
  .nav__menu a {
    padding: 1.25rem 0.6rem;
  }
  /* Untermenü: umbricht immer, läuft nie aus dem Rahmen, mehr Luft */
  .nav__sub {
    padding: 0.2rem 0 0.6rem 1.2rem;
    max-width: 100%;
  }
  .nav__sub a {
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 0.9rem 0.5rem;
  }
}

/* =============================================================
   47. Topbar mobil: Telefon weiter nach links (weniger Rand)
   ============================================================= */
@media (max-width: 560px) {
  .topbar__inner {
    padding-inline: 0.75rem;
  }
  .topbar__group {
    padding: 0;
  }
}

/* =============================================================
   48. Mobiles Untermenü: statisch, volle Breite, linksbündig
       (höchste Priorität – überschreibt jede ältere Regel)
   ============================================================= */
@media (max-width: 860px) {
  .nav__item--sub .nav__sub {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.1rem 0 0.5rem 0 !important;   /* kein linker Einzug */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .nav__item--sub .nav__sub a {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    padding: 0.9rem 0.6rem !important;        /* gleicher linker Abstand wie Hauptpunkte */
  }
}

/* =============================================================
   49. Mobiles Menü – moderner, aufgeräumter Look
   ============================================================= */
@media (max-width: 860px) {
  .nav__menu {
    padding: 4.75rem 1.4rem 2.5rem;
    justify-content: flex-start;
    gap: 0.15rem;
  }
  /* Hauptpunkte: groß, fett, mit Tap-Highlight */
  .nav__menu > li > a:not(.btn) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
    padding: 0.85rem 0.7rem;
    border: none;
    border-radius: 12px;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
  }
  .nav__menu > li > a:not(.btn):hover,
  .nav__menu > li > a:not(.btn):active {
    background: var(--bg-alt);
  }
  .nav__menu a.active {
    color: var(--orange);
  }
  .nav__caret {
    color: var(--orange);
    width: 1em;
    height: 1em;
  }
  /* Untermenü: orange Akzentlinie links, gedämpfte Schrift, Tap-Highlight */
  .nav__item--sub .nav__sub {
    border-left: 2px solid rgba(242, 160, 31, 0.4) !important;
    margin: 0.1rem 0 0.6rem 1rem !important;
    padding: 0.15rem 0 0.3rem 0.8rem !important;
  }
  .nav__item--sub .nav__sub a {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--text-2) !important;
    padding: 0.6rem 0.6rem !important;
    border-radius: 8px !important;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
  }
  .nav__item--sub .nav__sub a:hover,
  .nav__item--sub .nav__sub a:active {
    background: var(--bg-alt) !important;
    color: var(--orange) !important;
  }
  /* CTA prominent */
  .nav__menu .nav__cta-mobile {
    margin-top: 1.8rem;
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding-block: 1rem;
    border-radius: 12px;
  }
  /* Schließen-Button als Kreis */
  .nav__close {
    top: 1.1rem;
    right: 1.2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--text);
    padding: 0;
    transition: background 0.15s var(--ease);
  }
  .nav__close:hover {
    background: var(--line);
  }
}

/* ============================================================
   50) SEO-Ausbau: schmaler Container + FAQ-Accordion
   ============================================================ */
.container--narrow { max-width: 860px; }
.faq { display: grid; gap: .75rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq__item[open] { box-shadow: 0 8px 24px rgba(31, 42, 51, .08); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 700;
  color: var(--dark, #1f2a33);
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem; top: 50%;
  width: .65rem; height: .65rem;
  border-right: 2px solid var(--orange, #e86a12);
  border-bottom: 2px solid var(--orange, #e86a12);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item > p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--grey, #555);
  line-height: 1.65;
}
.bg-alt .faq__item { background: #fff; }

/* ============================================================
   51. Mobil: Bild-Badge (Tradition) ca. 30px weiter nach unten
   ============================================================ */
@media (max-width: 620px) {
  .framed__badge {
    bottom: -52px;
  }
  /* Platz unter dem Bild schaffen, nur wenn ein Badge vorhanden ist */
  .framed:has(.framed__badge) {
    margin-bottom: 56px;
  }
}

/* ============================================================
   52) Kontaktformular: Honeypot verstecken + Fehlerstatus
   ============================================================ */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status.error {
  display: block;
  background: #fbe7e7;
  color: #8a2b2b;
  border: 1px solid #eec2c2;
}

/* ============================================================
   53) Bewertungsbox: zweite Quelle (MyHammer)
   ============================================================ */
.rating-box__extra {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
  text-align: center;
}
.rating-box__extra .stars {
  display: inline-flex;
  gap: .12rem;
  color: #f5a623;
}
.rating-box__extra .stars svg { width: 16px; height: 16px; }
.rating-box__extra p {
  margin: .35rem 0 0;
  font-size: .85rem;
  color: var(--grey, #555);
}
.rating-box__extra a { color: inherit; text-decoration: underline; }
.rating-box__extra a:hover { color: var(--orange, #e86a12); }
