/* Dautinger GmbH — Baumeister · Stylesheet */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-600.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben = Logo */
  --ink: #2c323e;          /* Logo-Anthrazit: dunkle Flächen, Überschriften */
  --ink-deep: #1d2129;     /* Footer, Fließtext, Schrift auf Orange */
  --ink-2: #363d4b;        /* Karten auf dunklen Flächen */
  --ink-3: #4a5262;        /* Hover-Rahmen */
  --shade: 29, 33, 41;     /* --ink-deep als RGB für Verläufe/Schatten */
  --orange: #f46904;       /* Logo-Orange: Buttons, Akzente */
  --orange-hover: #e05d00;
  --orange-text: #b84d00;  /* Orange für Text auf hell (Kontrast) */
  --orange-light: #ff8a3d; /* Orange für kleinen Text auf dunkel (Kontrast) */
  --orange-soft: #fef0e6;
  --warm: #fff5ee;         /* warmer Hintergrund statt großer Orange-Flächen */

  /* Beton-Grau, abgeleitet vom Anthrazit */
  --sand: #f3f4f6;         /* helle Abschnitte */
  --stone: #e6e8ec;
  --line: #d9dce2;
  --text: #1d2129;
  --text-soft: #3d4350;
  --muted: #5a6170;
  --white: #ffffff;

  /* Text & Linien auf dunklen Flächen */
  --on-dark: rgba(255, 255, 255, 0.82);
  --on-dark-muted: rgba(255, 255, 255, 0.66);
  --line-dark: rgba(255, 255, 255, 0.12);

  --wa: #1b7d45;
  --wa-hover: #166b3b;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(var(--shade), 0.04), 0 12px 32px rgba(var(--shade), 0.07);
  --header-h: 76px;
}

/* ---------------------------------------------------------------- Base */

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(36px, 5.4vw, 64px);
}

h2 {
  font-size: clamp(30px, 3.8vw, 46px);
}

h3 {
  font-size: 21px;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

/* Label über Überschriften */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--orange);
}

.label-light {
  color: var(--orange-light);
}

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--ink-deep);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  border-color: var(--orange-hover);
  background: var(--orange-hover);
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-ghost {
  border-color: var(--on-dark-muted);
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-line {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn-quiet {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-quiet:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn-wa {
  border-color: var(--wa);
  background: var(--wa);
  color: var(--white);
}

.btn-wa:hover {
  border-color: var(--wa-hover);
  background: var(--wa-hover);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-text);
  font-weight: 800;
  white-space: nowrap;
}

.more::after {
  content: "→";
  transition: transform 0.15s ease;
}

.more:hover {
  text-decoration: none;
}

.more:hover::after {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand img {
  width: auto;
  height: 46px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange-text);
  text-decoration: none;
}

.nav .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) {
  :root {
    --header-h: 66px;
  }

  .brand img {
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
  }

  .nav .btn {
    margin-top: 18px;
    min-height: 52px;
  }
}

/* ---------------------------------------------------------------- Hero (Start) */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 820px);
  padding: 140px 0 72px;
  background: var(--ink-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--shade), 0.78) 0%, rgba(var(--shade), 0.5) 42%, rgba(var(--shade), 0.05) 75%),
    linear-gradient(0deg, rgba(var(--shade), 0.45) 0%, rgba(var(--shade), 0) 40%);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 660px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lead {
  margin-top: 22px;
  max-width: 540px;
  color: var(--on-dark);
  font-size: clamp(18px, 1.6vw, 20px);
}

.hero .btn-row {
  margin-top: 32px;
}

@media (max-width: 780px) {
  .hero {
    min-height: 0;
    padding: 220px 0 48px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(var(--shade), 0.95) 0%, rgba(var(--shade), 0.75) 45%, rgba(var(--shade), 0.15) 80%);
  }

  .hero .btn-row .btn {
    flex: 1 1 100%;
  }
}

/* Vertrauensleiste */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-left: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.35;
}

.trust li:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust svg {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--orange-text);
}

.trust strong {
  display: block;
  font-weight: 800;
}

.trust span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust li {
    padding: 18px 12px;
    border-left: 0;
  }

  .trust li:first-child {
    padding-left: 12px;
  }
}

@media (max-width: 480px) {
  .trust ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .trust li:first-child {
    padding-left: 0;
  }
}

/* ---------------------------------------------------------------- Sections */

.section {
  padding: 104px 0;
}

.section-sand {
  background: var(--sand);
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--ink);
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
}

.section-dark .section-head p {
  color: var(--muted);
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 52px;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

@media (max-width: 780px) {
  .section {
    padding: 72px 0;
  }

  .section-head,
  .section-head-row {
    margin-bottom: 36px;
  }
}

/* ---------------------------------------------------------------- Leistungs-Karten */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service:hover {
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(-2px);
}

.service-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.service h3 {
  font-size: 24px;
}

.service p {
  margin: 10px 0 22px;
  color: var(--muted);
}

.service .more {
  margin-top: auto;
}

@media (max-width: 900px) {
  .services {
    grid-template-columns: minmax(0, 1fr);
  }

  .service {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .service-img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (max-width: 560px) {
  .service {
    display: flex;
  }

  .service-img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ---------------------------------------------------------------- Sorgen / Antworten (dunkel) */

.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.answer-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.answer-card .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--warm);
  color: var(--orange-text);
  font-size: 15px;
  font-weight: 800;
}

.answer-card h3 {
  font-size: 23px;
}

.answer-card p {
  margin-top: 12px;
  color: var(--muted);
}

.answer-card .more {
  margin-top: 18px;
  color: var(--orange-text);
}

@media (max-width: 780px) {
  .answers {
    grid-template-columns: minmax(0, 1fr);
  }

  .answer-card {
    padding: 32px 24px;
  }
}

/* ---------------------------------------------------------------- Projekt */

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.project p {
  margin-top: 16px;
  color: var(--muted);
}

.project .btn-row {
  margin-top: 28px;
}

.checks {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding: 8px 0 8px 34px;
  color: var(--text);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--warm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d00' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px #f9d3b5;
}

.section-dark .checks li {
  color: var(--text);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--stone);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(180deg, rgba(var(--shade), 0) 0%, rgba(var(--shade), 0.8) 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .project {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- Ablauf (Zeitleiste) */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 26px;
  height: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  counter-increment: step;
}

.timeline li::before {
  content: counter(step);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border: 3px solid var(--sand);
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-text);
  box-shadow: inset 0 0 0 2px var(--orange);
  font-size: 20px;
  font-weight: 800;
}

.section:not(.section-sand) .timeline li::before {
  border-color: var(--white);
}

.timeline h3 {
  font-size: 19px;
}

.timeline p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .timeline::before {
    left: 26px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .timeline li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 20px;
    padding-bottom: 28px;
  }

  .timeline li::before {
    grid-row: span 2;
    margin: 0;
  }

  .timeline h3 {
    align-self: end;
  }
}

/* ---------------------------------------------------------------- Regionen */

.regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.region {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--text);
}

.region:hover {
  text-decoration: none;
}

.region .label {
  margin-bottom: 10px;
}

.region h3 {
  font-size: 24px;
}

.region p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.region .more {
  margin-top: auto;
}

@media (max-width: 900px) {
  .regions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- FAQ */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.faq-wrap .section-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-text);
  font-size: 22px;
  font-weight: 700;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 40px 24px 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .faq-wrap .section-head {
    position: static;
  }
}

/* ---------------------------------------------------------------- CTA-Band */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--warm);
  color: var(--ink);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border: 48px solid rgba(244, 105, 4, 0.08);
  transform: rotate(45deg);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  max-width: 640px;
  color: var(--ink);
}

.cta-band p {
  margin-top: 12px;
  max-width: 560px;
  font-size: 19px;
}

.cta-band .btn-line {
  border-color: var(--line);
  background: var(--white);
}

.cta-band .btn-line:hover {
  border-color: var(--ink);
  background: var(--white);
}

/* ---------------------------------------------------------------- Footer */

.site-footer {
  padding: 72px 0 0;
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
}

.footer-logo {
  width: auto;
  height: 64px;
  margin-bottom: 18px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer a:hover {
  color: var(--orange-light);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
}

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- Unterseiten */

.page-hero {
  position: relative;
  padding: 120px 0 72px;
  background: var(--ink-deep);
  color: var(--white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--shade), 0.92) 0%, rgba(var(--shade), 0.72) 55%, rgba(var(--shade), 0.45) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--on-dark-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--on-dark);
}

.page-hero h1 {
  max-width: 820px;
  color: var(--white);
}

.page-hero p {
  margin-top: 18px;
  max-width: 640px;
  color: var(--on-dark);
  font-size: 20px;
}

.page-hero-plain {
  padding: 96px 0 56px;
}

@media (max-width: 780px) {
  .page-hero {
    padding: 72px 0 48px;
  }

  .page-hero p {
    font-size: 18px;
  }
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 104px;
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 30px 28px;
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--sand);
}

.aside-card h2 {
  font-size: 24px;
}

.aside-card p {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.aside-card .btn {
  width: 100%;
}

.aside-card .btn + .btn {
  margin-top: 10px;
}

.aside-card ul {
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15px;
}

.aside-card li {
  margin-bottom: 6px;
}

@media (max-width: 1020px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .aside-card {
    position: static;
  }
}

/* Kurz gesagt */
.answer {
  margin-bottom: 56px;
  padding: 26px 28px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--orange-soft);
}

.answer-label {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.answer p {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.5;
}

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

/* Fließtext */
.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 64px 0 16px;
  font-size: clamp(26px, 3vw, 34px);
}

.prose h3 {
  margin: 32px 0 8px;
  font-size: 21px;
}

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

.prose p,
.prose li {
  color: var(--text-soft);
}

.prose p + p {
  margin-top: 14px;
}

.prose strong {
  color: var(--ink);
}

.prose ul,
.prose ol {
  margin: 14px 0;
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--orange);
}

.photo {
  margin: 48px 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone);
}

.photo img {
  width: 100%;
  height: auto;
}

.rows {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.prose .rows {
  padding-left: 0;
}

.rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.rows li:first-child {
  border-top: 1px solid var(--line);
}

.rows li::marker {
  content: none;
}

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

@media (max-width: 480px) {
  .rows li {
    flex-direction: column;
    gap: 2px;
  }
}

.sources {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.sources ul {
  margin: 8px 0 0;
  padding-left: 1.1rem;
}

.sources li {
  margin-bottom: 4px;
  color: var(--muted);
}

.prose .faq {
  margin-top: 8px;
}

.portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  margin-bottom: 32px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--sand);
  color: var(--muted);
  font-size: 15px;
}

.map {
  margin: 40px 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone);
}

.map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* Ablauf-Seite: Wir / Sie */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 22px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.steps > li:first-child {
  padding-top: 0;
}

.steps > li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink-deep);
  font-size: 20px;
  font-weight: 800;
}

.steps h3 {
  font-size: 24px;
}

.steps p {
  margin-top: 8px;
  color: var(--text-soft);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.split div {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--sand);
  font-size: 15px;
}

.split b {
  display: block;
  margin-bottom: 2px;
  color: var(--orange-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .steps > li {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps > li::before {
    margin-bottom: 14px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Buchung */
.booking {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.booking iframe {
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
}

.booking-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 320px;
  padding: 48px 24px;
  text-align: center;
}

.booking-empty p {
  max-width: 40ch;
  color: var(--muted);
}

.page-body {
  padding-top: 72px;
  padding-bottom: 104px;
}

.narrow {
  max-width: 760px;
}

/* Rechtstexte */
.legal h2 {
  margin: 48px 0 12px;
  font-size: 24px;
}

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

.legal p {
  color: var(--text-soft);
}

/* ---------------------------------------------------------------- Anfrage-Assistent */

.page-hero-compact {
  padding: 96px 0 44px;
}

.wizard-section {
  padding: 0 0 96px;
  background: var(--sand);
}

.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.wizard {
  position: relative;
  margin-top: -24px;
  padding: 32px 36px 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.wizard-top {
  margin-bottom: 26px;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.prog-dot {
  height: 5px;
  border-radius: 3px;
  background: var(--stone);
  transition: background-color 0.2s ease;
}

.prog-dot.done,
.prog-dot.active {
  background: var(--orange);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: wizard-in 0.25s ease;
}

@keyframes wizard-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wizard-step.active {
    animation: none;
  }
}

.wizard-step-label {
  margin-bottom: 10px;
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard-step-title {
  font-size: clamp(26px, 3vw, 34px);
}

.wizard-step-sub {
  margin: 6px 0 24px;
  color: var(--muted);
}

.grid-cat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card-cat,
.card-item,
.addon-btn,
.chip {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card-cat:hover,
.card-item:hover,
.addon-btn:hover,
.chip:hover {
  border-color: var(--orange);
}

.card-cat:hover,
.card-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.card-cat.selected,
.card-item.selected,
.addon-btn.selected {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.card-cat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.cat-icon-wrap {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--orange-soft);
  color: var(--orange-text);
}

.card-cat.selected .cat-icon-wrap {
  background: var(--orange);
  color: var(--ink-deep);
}

.cat-icon {
  width: 26px;
  height: 26px;
}

.cat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-label {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.cat-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.grid-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 700;
}

.item-chevron {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--orange-text);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-text);
  font-size: 14px;
  font-weight: 700;
}

.category-badge svg {
  width: 16px;
  height: 16px;
}

.chip-label {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.chip.selected {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink-deep);
}

.optional {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.addon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.addon-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
}

.addon-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--muted);
}

.addon-btn.selected .addon-icon {
  color: var(--orange-text);
}

.addon-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.addon-title {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
}

.addon-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.addon-check {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--orange-text);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.addon-btn.selected .addon-check {
  opacity: 1;
}

.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.wizard-nav .btn-next {
  flex: 1;
}

.summary-box {
  margin-bottom: 22px;
  padding: 4px 20px;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.sum-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.sum-row:last-child {
  border-bottom: 0;
}

.sum-key {
  color: var(--muted);
}

.sum-val {
  color: var(--ink);
  font-weight: 800;
}

.sum-edit {
  padding: 0;
  border: 0;
  background: none;
  color: var(--orange-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sum-edit:hover {
  text-decoration: underline;
}

.form-row {
  margin-bottom: 18px;
}

.form-row-inline {
  max-width: 360px;
  margin-bottom: 24px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--orange);
  outline: none;
}

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

.send-btns {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.send-btns .btn {
  width: 100%;
}

.send-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.wizard-aside {
  margin-top: 24px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--warm);
  color: var(--text);
}

.wizard-aside h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 20px;
}

.wizard-aside ul {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.wizard-aside li {
  display: flex;
  gap: 10px;
}

.wizard-aside li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--orange-text);
}

.wizard-aside strong {
  color: var(--ink);
}

.wizard-aside p {
  margin-bottom: 10px;
  font-size: 15px;
}

.wizard-aside .btn {
  width: 100%;
}

@media (max-width: 980px) {
  .wizard-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wizard-aside {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .page-hero-compact {
    padding: 84px 0 40px;
  }

  .wizard-section {
    padding-bottom: 64px;
  }

  .wizard {
    margin-top: -20px;
    padding: 22px 18px 24px;
  }

  .grid-cat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-cat {
    gap: 12px;
    padding: 16px 14px;
  }

  .cat-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .cat-label {
    font-size: 16px;
    line-height: 1.3;
  }

  .cat-desc {
    font-size: 13.5px;
  }

  .grid-item,
  .addon-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .addon-desc {
    display: none;
  }

  .sum-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sum-key {
    grid-column: 1 / -1;
    font-size: 13px;
  }

  .wizard-nav .btn-back {
    padding: 0 18px;
  }
}

/* ---------------------------------------------------------------- Feste Leiste am Handy */

.sticky-cta {
  display: none;
}

@media (max-width: 780px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(var(--shade), 0.08);
  }

  .sticky-cta .btn {
    min-height: 46px;
    padding: 0 10px;
    font-size: 15px;
  }

  .sticky-cta .btn-wa {
    border-color: var(--line);
    background: var(--white);
    color: var(--wa);
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
}

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.page-cta {
  margin: 32px 0;
}

@media (max-width: 480px) {
  .label {
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .label::before {
    flex: none;
    width: 20px;
  }
}

/* ---------------------------------------------------------------- Angebot: Belagsfertig */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 56px;
  align-items: center;
}

.offer-lead {
  margin-top: 16px;
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.checks-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-bottom: 8px;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px;
  border-top: 6px solid var(--orange);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  text-align: center;
  box-shadow: var(--shadow);
}

.price-label {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--line);
  color: var(--orange-text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  font-size: clamp(52px, 6vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-card p {
  margin: 18px 0 22px;
  padding-top: 16px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.price-card .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .offer {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .checks-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- Vorher / Nachher Slider */

.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--stone);
  user-select: none;
  touch-action: pan-y;
}

.prose .ba {
  margin: 24px 0 8px;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(var(--shade), 0.35);
  pointer-events: none;
}

.ba-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink-deep);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 14px rgba(var(--shade), 0.3);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.ba-range:focus-visible + .ba-handle,
.ba:focus-within .ba-handle::after {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.ba-tag {
  position: absolute;
  top: 16px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.ba-tag-b {
  left: 16px;
  background: var(--ink);
  color: var(--white);
}

.ba-tag-a {
  right: 16px;
  background: var(--orange);
  color: var(--ink-deep);
}

.gallery-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.price-text {
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.1;
}

.price-text + .price-text {
  margin-top: 4px;
}

.prose .btn-row {
  margin-top: 22px;
}

/* ---------------------------------------------------------------- Musterhaus (Startseite) */

.mh-section {
  background: var(--warm);
}

.mh-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.mh-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--stone);
}

.mh-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.mh-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.mh-badge svg {
  width: 18px;
  height: 18px;
  color: var(--orange-text);
}

.mh-text h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.mh-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
}

.mh-points {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.mh-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mh-points svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-text);
  box-shadow: inset 0 0 0 1px #f9d3b5;
}

.mh-points span {
  padding-top: 8px;
}

.mh-points strong {
  color: var(--ink);
}

.mh-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.mh-story a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--stone);
}

.mh-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mh-story span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.mh-info {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  color: var(--text);
  font-size: 16px;
}

.mh-info svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--orange-text);
}

.mh-partner {
  margin-top: 6px;
  padding-left: 30px;
  font-size: 15px;
}

.mh-partner a {
  color: var(--orange-text);
  font-weight: 700;
}

.mh-text .btn-row {
  margin-top: 22px;
}

@media (prefers-reduced-motion: no-preference) {
  .mh-story img {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .mh-story a:hover img {
    transform: scale(1.06);
  }
}

@media (max-width: 900px) {
  .mh-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .mh-photo {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .mh-lead {
    font-size: 17px;
  }

  .mh-story span {
    font-size: 12px;
  }
}

/* ---------------------------------------------------------------- Weiterlesen-Links */

.prose .link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.prose .link-list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.prose .link-list li::before {
  display: none;
}

.prose .link-list a {
  display: block;
  padding: 14px 0;
  color: var(--orange-text);
  font-weight: 700;
  text-decoration: none;
}

.prose .link-list a:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------------- Animationen */
/* Alles nur, wenn keine reduzierte Bewegung eingestellt ist. Ohne JavaScript bleibt alles sichtbar. */

@media (prefers-reduced-motion: no-preference) {
  /* Hero: Text erscheint nacheinander, Foto zoomt langsam heran */
  .hero-content > *,
  .page-hero .container > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-content > :nth-child(2),
  .page-hero .container > :nth-child(2) {
    animation-delay: 0.15s;
  }

  .hero-content > :nth-child(3),
  .page-hero .container > :nth-child(3) {
    animation-delay: 0.3s;
  }

  .hero-content > :nth-child(4) {
    animation-delay: 0.45s;
  }

  .hero-bg img,
  .page-hero-bg img {
    animation: settle 20s ease-out both;
  }

  /* Einblenden beim Scrollen */
  .anim .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--delay, 0s);
  }

  .anim .reveal.in {
    opacity: 1;
    transform: none;
  }

  /* Ablauf: Linie zeichnet sich, Nummern leuchten nacheinander auf */
  .anim .timeline::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 26px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  }

  .anim .timeline.in::after {
    transform: scaleX(1);
  }

  .anim .timeline li::before {
    z-index: 1;
    color: var(--muted);
    box-shadow: inset 0 0 0 2px var(--line);
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  }

  .anim .timeline.in li::before {
    color: var(--orange-text);
    box-shadow: inset 0 0 0 2px var(--orange);
    animation: pop 0.5s ease both;
  }

  .anim .timeline li:nth-child(1)::before { transition-delay: 0.2s; animation-delay: 0.2s; }
  .anim .timeline li:nth-child(2)::before { transition-delay: 0.55s; animation-delay: 0.55s; }
  .anim .timeline li:nth-child(3)::before { transition-delay: 0.9s; animation-delay: 0.9s; }
  .anim .timeline li:nth-child(4)::before { transition-delay: 1.25s; animation-delay: 1.25s; }
  .anim .timeline li:nth-child(5)::before { transition-delay: 1.6s; animation-delay: 1.6s; }

  /* Fotos zoomen bei Hover leicht heran */
  .service-img img,
  .photo img {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .service:hover .service-img img,
  .photo:hover img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  .anim .timeline::after {
    left: 26px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: center top;
  }

  .anim .timeline.in::after {
    transform: scaleY(1);
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes pop {
  50% { transform: scale(1.12); }
}

.partner-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin: 0 0 28px;
  padding: 16px 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.partner-box:hover { border-color: var(--orange); }
.partner-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
  width: 100%;
}
.partner-box strong { font-size: 18px; }
.partner-link {
  margin-left: auto;
  font-weight: 700;
  color: var(--orange-text);
}

.regions-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.regions-4 .region { padding: 28px 22px; }
.regions-4 .region h3 { font-size: 21px; }
@media (max-width: 1100px) { .regions-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .regions-4 { grid-template-columns: minmax(0, 1fr); } }
.regions-4 .region .more { font-size: 15px; }

.regions-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .regions-2 { grid-template-columns: minmax(0, 1fr); } }
.gallery-p figure { aspect-ratio: 3 / 4; }
.gallery-1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.person { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 28px; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.person h2 { margin: 6px 0 10px; }
.person p { margin: 0; }
.career .muted { text-align: left; }
@media (max-width: 640px) { .person { grid-template-columns: minmax(0, 1fr); } .person img { max-width: 260px; } }

/* Werdegang */
.career-list { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.career-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.career-item::marker { content: none; }
.career-year { color: var(--orange-text); font-weight: 800; white-space: nowrap; }
.career-item strong { display: block; color: var(--ink); }
.career-item ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.career-item ul li { margin: 2px 0; }
@media (max-width: 560px) { .career-item { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Abstand nach Galerien im Fließtext */
.prose .gallery { margin-bottom: 36px; }
.prose .gallery + h2 { margin-top: 8px; }

/* Kontaktkarte läuft beim Scrollen mit: Spalte muss so hoch sein wie der Inhalt */
.layout > aside { align-self: stretch; }
.career-item strong { text-transform: uppercase; letter-spacing: 0.02em; }
