/* Schlüsseldienst Bemerode – Design (vorherige Version) */

/* Lokal gehostete Schriften (Manrope + Space Grotesk) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  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: "Manrope";
  font-style: normal;
  font-weight: 400;
  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+0304, U+0308, U+0329, U+2000-206F, 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: 600;
  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: "Manrope";
  font-style: normal;
  font-weight: 600;
  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+0304, U+0308, U+0329, U+2000-206F, 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: 700;
  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: "Manrope";
  font-style: normal;
  font-weight: 700;
  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+0304, U+0308, U+0329, U+2000-206F, 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: 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: "Manrope";
  font-style: normal;
  font-weight: 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-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: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-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: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand-yellow: #f1c40f;
  --brand-yellow-dark: #d4a90a;
  --brand-green: #16aa74;
  --brand-green-dark: #119b6d;
  --ink: #1a1f24;
  --ink-soft: #3a424a;
  --muted: #5c6670;
  --paper: #f7f5f0;
  --paper-2: #fffefb;
  --line: #d9dde2;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(26, 31, 36, 0.12);
  --max: 1120px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Manrope", sans-serif;
  --header-h: 4.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(241, 196, 15, 0.18), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(22, 170, 116, 0.12), transparent 50%),
    linear-gradient(180deg, #eef2ef 0%, var(--paper) 28%, #ebe8e1 100%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-green-dark); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-yellow); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem;
  text-decoration: none; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem; top: 1rem;
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
}

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

/* Seite außer Hero: Content & Footer auf 80 % */
main .container:not(.hero__inner),
.site-footer .container {
  width: 80%;
  max-width: none;
}

.topbar {
  background: var(--ink);
  color: #f3f5f6;
  font-size: 0.92rem;
}
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.5rem 1.25rem; padding: 0.55rem 0;
}
.topbar__claim { font-weight: 700; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { color: var(--brand-yellow); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, var(--brand-yellow) 0%, #efbf0d 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h); padding: 0.55rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--ink);
}
.brand img {
  width: 52px; height: 52px; object-fit: contain;
  background: #fff; border-radius: 8px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.brand__sub { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; }

.nav-toggle {
  display: none; border: 0; background: var(--ink); color: #fff;
  width: 2.75rem; height: 2.75rem; border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 1.15rem; height: 2px; margin: 0.28rem auto; background: currentColor;
}

.site-nav { background: var(--brand-green); }
.site-nav__list {
  display: flex; flex-wrap: wrap; gap: 0.15rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block; color: #fff; text-decoration: none;
  font-weight: 650; font-size: 0.92rem; padding: 0.85rem 0.85rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--brand-green-dark); color: #fff;
}

.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: clamp(22rem, 52vh, 34rem);
  background:
    var(--hero-overlay, linear-gradient(115deg, rgba(17, 28, 24, 0.78) 0%, rgba(17, 28, 24, 0.48) 55%, rgba(17, 28, 24, 0.3) 100%)),
    var(--hero-image, url("../img/Schluesseldienst-Handwerk.webp")) center / cover no-repeat;
}
.hero__inner {
  display: grid; gap: 1.5rem; padding: 3.5rem 0 3.75rem; max-width: 42rem;
  position: relative; z-index: 1;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.12; margin: 0 0 0.85rem; letter-spacing: -0.02em;
}
.hero__lead {
  margin: 0 0 1.25rem; font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92); max-width: 36rem;
}
.hero a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.hero a:not(.btn):hover {
  color: var(--brand-yellow);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 3rem; padding: 0.7rem 1.2rem; border-radius: 999px;
  border: 2px solid transparent; font-weight: 750; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand-yellow); color: var(--ink); }
.btn--primary:hover { background: #ffd84d; color: var(--ink); }
.btn--ghost {
  background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--solid { background: var(--brand-green); color: #fff; }
.btn--solid:hover { background: var(--brand-green-dark); color: #fff; }

.price-board { margin: -2.25rem auto 0; position: relative; z-index: 2; }
.price-board__panel {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  padding: 1.35rem 1.25rem 1.5rem; display: grid; gap: 1rem;
}
.price-board__title {
  margin: 0; font-family: var(--display); font-size: 1.25rem; text-align: center;
}
.price-board__note {
  margin: 0; text-align: center; color: var(--muted); font-size: 0.92rem;
}
.price-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
.price-item {
  text-align: center; padding: 1rem 0.5rem;
  background: linear-gradient(180deg, #f4fbf7, #eef6f1);
  border: 1px solid #cfe5da; border-radius: var(--radius);
}
.price-item--total {
  background: linear-gradient(180deg, #fff8d6, #ffe9a8); border-color: #e8c84a;
}
.price-item__label {
  display: block; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 0.35rem;
}
.price-item__value {
  font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700; color: var(--ink);
}

.badge-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: #e8f6ef; color: var(--brand-green-dark);
  font-size: 0.82rem; font-weight: 700;
}

.section { padding: 3.25rem 0; }
.section--tight { padding: 2.25rem 0; }
.section__head { max-width: 40rem; margin-bottom: 1.5rem; }
.section__head h2 {
  font-family: var(--display); font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2; margin: 0 0 0.55rem; letter-spacing: -0.015em;
}
.section__head p { margin: 0; color: var(--muted); }

.panel {
  background: rgba(255, 254, 251, 0.92);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.25rem;
}

.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3 {
  font-family: var(--display); line-height: 1.25; letter-spacing: -0.015em;
}
.prose h2 { font-size: 1.45rem; margin: 2rem 0 0.7rem; }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.55rem; }
.prose p { margin: 0 0 0.95rem; color: var(--ink-soft); line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { color: var(--ink-soft); margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose .content-list {
  margin: 0.35rem 0 1.1rem;
  padding-left: 1.2rem;
}
.prose .content-list li { line-height: 1.55; }

.feature-grid, .service-grid {
  display: grid; gap: 0.85rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature {
  padding: 1.1rem 1rem; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.feature h3 {
  margin: 0 0 0.4rem; font-family: var(--display); font-size: 1.05rem;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.service:nth-child(-n + 3) { border-top: 1px solid var(--line); }
.service img {
  width: 72px; height: 72px; object-fit: contain; border-radius: 8px; flex-shrink: 0;
  background: transparent;
}
.service h3 {
  margin: 0 0 0.25rem; font-size: 1rem; font-family: var(--display);
}
.service p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service-card__media {
  margin: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 0.65rem;
}
.service-card__media img {
  width: 100%;
  height: auto;
  max-height: 11rem;
  object-fit: contain;
  object-position: center;
  display: block;
}
.service-card__body {
  padding: 0.85rem 1rem 1.1rem;
  flex: 1;
}
.service-card__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.service-card__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

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

.list-price {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; gap: 0.35rem 1rem;
  margin: 0; padding: 0; list-style: none;
}
.list-price li { display: contents; }
.list-price span:first-child {
  padding: 0.7rem 0; border-bottom: 1px dashed var(--line);
}
.list-price strong {
  padding: 0.7rem 0; border-bottom: 1px dashed var(--line);
  font-family: var(--display); font-size: 1.05rem; text-align: right; white-space: nowrap;
}

.accordion { display: grid; gap: 0.55rem; }
.accordion details {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.accordion summary {
  cursor: pointer; list-style: none; padding: 0.95rem 1.1rem;
  font-weight: 700; font-family: var(--display); background: #f2f2f2; color: var(--ink);
}
.accordion summary h2,
.accordion summary h3 {
  display: inline;
  margin: 0;
  font: inherit;
  color: inherit;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion details[open] summary { background: #f3690e; color: #fff; }
.accordion .accordion__body {
  padding: 1.1rem 1.15rem 1.35rem; color: var(--ink-soft); line-height: 1.7;
}
.accordion .accordion__body > *:first-child { margin-top: 0; }
.accordion .accordion__body > *:last-child { margin-bottom: 0; }
.accordion .accordion__body p { margin: 0 0 0.9rem; }
.accordion .accordion__body p:last-child { margin-bottom: 0; }
.accordion .accordion__body .content-list {
  margin: 0.25rem 0 1rem;
  padding-left: 1.2rem;
}
.accordion .accordion__body .content-list li + li { margin-top: 0.35rem; }

.area-list {
  display: none; /* Keyword-Listen entfernt – Fließtext statt Tags */
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps > li {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}
.steps > li strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.steps > li p { margin: 0; color: var(--ink-soft); }

.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #243029 55%, #1b4636 100%);
  color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.35rem;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.cta-band h2 {
  margin: 0 0 0.35rem; font-family: var(--display); font-size: 1.35rem;
}
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.cta-band a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.cta-band a:not(.btn):hover { color: var(--brand-yellow); }
.cta-band a.phone {
  color: var(--brand-yellow); font-family: var(--display);
  font-size: 1.45rem; font-weight: 700; text-decoration: none;
}
.cta-band a.phone:hover { color: #ffd84d; }

.site-footer { margin-top: 3rem; background: #1a1f24; color: #c9d0d6; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--brand-yellow); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
  padding: 2.25rem 0 1.75rem;
}
.site-footer .footer-heading {
  margin: 0 0 0.75rem; font-family: var(--display); font-size: 1rem; color: #fff;
  font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0 1.35rem; font-size: 0.88rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: space-between;
}

.notice {
  margin: 1rem 0 0; padding: 0.85rem 1rem;
  background: #fff6db; border: 1px solid #ecd580; border-radius: 8px;
  color: #5a4a12; font-size: 0.92rem;
}

.page-hero { padding: 2.25rem 0 1.25rem; }
.page-hero h1 {
  font-family: var(--display); font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem; letter-spacing: -0.02em;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }

/* Bild + Text: abwechselnd links/rechts, Bild füllt Rahmen exakt */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.15rem, 3vw, 2.35rem);
  align-items: start;
}
.media-split--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.media-split--reverse > .media-frame { order: 2; }
.media-split--reverse > .media-split__body { order: 1; }

.section-photo {
  margin: 0 0 1.35rem;
  width: 100%;
  background: transparent;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
}
.section-photo img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 36rem);
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
}
.media-row {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(1.15rem, 3vw, 2.35rem); align-items: start;
}


.media-frame {
  margin: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  background: transparent;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(26, 31, 36, 0.08);
  pointer-events: none; border-radius: inherit;
}
/* Aspect-Klassen nur als weiche Max-Höhe – kein Zuschneiden */
.media-frame--4x3,
.media-frame--3x2,
.media-frame--16x10,
.media-frame--1x1,
.media-frame--3x4 {
  aspect-ratio: unset;
}
.media-frame--banner {
  max-width: 42rem;
  margin-inline: auto;
  background: #fff;
}
.media-frame img,
.media-row > img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 36rem);
  object-fit: contain;
  object-position: center;
  display: block;
}
.media-row > img {
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  background: transparent;
}
.media-split__body { min-width: 0; }
.media-split__body > :first-child { margin-top: 0; }
.media-split + .media-split,
.media-split + .feature-grid,
.section__head + .media-split { margin-top: 1.35rem; }

.media-mosaic {
  display: none; /* entfernt – keine Bild-Collagen mehr */
}

.phone-stack { display: grid; gap: 0.45rem; }
.phone-stack a {
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
  text-decoration: none; color: var(--ink);
}
.phone-stack a:hover { color: var(--brand-green-dark); }

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

@media (max-width: 900px) {
  .feature-grid, .service-grid, .site-footer__grid, .media-row, .media-split, .contact-grid {
    grid-template-columns: 1fr;
  }
  .media-split--reverse > .media-frame,
  .media-row--reverse > .media-frame,
  .media-split--reverse > .media-split__body,
  .media-row--reverse > .prose,
  .media-row--reverse > .media-split__body { order: initial; }
  .media-mosaic { grid-template-columns: 1fr 1fr; }
  .media-mosaic .media-frame:first-child { grid-column: span 2; }
  .price-grid { grid-template-columns: 1fr; }
  .service:nth-child(-n + 3) { border-top: 0; }
  .service:first-child { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .media-mosaic { grid-template-columns: 1fr; }
  .media-mosaic .media-frame:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 820px) {
  main .container:not(.hero__inner),
  .site-footer .container {
    width: min(100% - 2rem, 100%);
  }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; }
  .site-nav a {
    padding: 0.95rem 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero__inner { padding: 2.5rem 0 2.75rem; }
  .brand__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .media-frame img { transition: none; }
  .media-frame:hover img { transform: none; }
  .media-split, .media-mosaic .media-frame { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}

.accordion summary {
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}
.accordion summary h3 {
  display: inline;
  font: inherit;
  font-weight: 700;
  font-family: var(--display);
  font-size: 1.05rem;
}


/* Homepage prose readability */
.panel.prose { max-width: 100%; }
.prose p { margin: 0 0 1rem; }
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.prose li + li { margin-top: 0.45rem; }
.accordion__body ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}
.accordion__body p + p { margin-top: 0.85rem; }
.section .container > .panel { margin: 0; }

.geo-nearby__title {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
}
.geo-nearby__lead {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 46rem;
  line-height: 1.65;
}
.geo-nearby__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.geo-nearby__card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.geo-nearby__card h3 a {
  color: inherit;
  text-decoration: none;
}
.geo-nearby__card h3 a:hover {
  color: var(--brand-green-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.related-links__title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
}
.related-links__lead {
  margin: 0 0 0.9rem;
  color: var(--muted);
  max-width: 42rem;
}
.related-links__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  max-width: 52rem;
}
.related-links__list a {
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-green-dark);
}
.related-links__list a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.related-links__list span { color: var(--muted); font-size: 0.95rem; }

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

.breadcrumbs {
  padding: 0.65rem 0 0;
}
.breadcrumbs__list {
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.35rem;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.88rem; color: var(--muted);
}
.breadcrumbs__list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--line);
}
.breadcrumbs__list a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumbs__list a:hover {
  color: var(--brand-green-dark);
  text-decoration: underline;
}
.breadcrumbs__list [aria-current="page"] span {
  color: var(--ink);
  font-weight: 600;
}

body.nav-open { overflow: hidden; }
.geo-nearby__card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.98rem;
}
.geo-nearby__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  max-width: 46rem;
}
.geo-nearby__list li + li { margin-top: 0.4rem; }
.geo-nearby__list strong { color: var(--ink); font-weight: 700; }

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

/* Shared helpers – Hannover & Tabellen */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.service-grid--2 { grid-template-columns: repeat(2, 1fr); }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0.85rem 0 0.75rem;
}
.price-table {
  width: 100%; border-collapse: collapse; min-width: 480px;
  font-size: 0.98rem;
}
.price-table th,
.price-table td {
  padding: 0.85rem 1rem; text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table thead th {
  background: var(--ink); color: #fff; font-weight: 700;
}
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table tbody tr:nth-child(even) { background: #f4f8f6; }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-note { margin: 0; color: var(--muted); font-size: 0.92rem; }
.hero-trust {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.45rem 1rem;
  color: rgba(255,255,255,0.92); font-weight: 650; font-size: 0.95rem;
}
.hero-trust li::before {
  content: "✓ "; color: var(--brand-yellow);
}
@media (max-width: 900px) {
  .feature-grid--2, .service-grid--2 { grid-template-columns: 1fr; }
}
