/* =============================================================
   HSK-Kömür · Haustechnik Nordstemmen
   Stylesheet
   ============================================================= */

/* --- Schriften (lokal gehostet, kein Google-Aufruf) --------- */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- Design-Tokens ----------------------------------------- */
:root {
  /* Markenfarben laut Farbpalette */
  --red: #ed1c24;
  --red-dark: #c6151c;
  --red-soft: #fdecec;
  --blue: #0089d0;
  --blue-dark: #00679e;
  --blue-soft: #e8f4fb;

  /* Neutrale Töne */
  --ink: #1a1a1a;
  --ink-70: #4d4d4d;
  --ink-50: #767676;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --surface-dark: #1a1a1a;

  /* Radien */
  --r-sm: 0.5rem;
  --r: 1rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;
  --r-pill: 999px;

  /* Schatten */
  --shadow-sm: 0 1px 2px rgb(16 18 24 / 6%), 0 2px 6px rgb(16 18 24 / 5%);
  --shadow: 0 4px 12px rgb(16 18 24 / 7%), 0 12px 32px rgb(16 18 24 / 7%);
  --shadow-lg: 0 8px 24px rgb(16 18 24 / 9%), 0 24px 60px rgb(16 18 24 / 10%);

  /* Maße */
  --wrap: 75rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 4.5rem;
  --stripe-h: 0.375rem;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* --- Reset & Basis ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; /* respektiert die Browser-Schriftgröße */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-70);
  background: var(--surface);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;

  /* hält den Fußbereich auch auf kurzen Seiten unten */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.4rem + 2.9vw, 3.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.1875rem, 1.08rem + 0.5vw, 1.5rem);
}

h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--red);
}

ul {
  list-style: none;
}

strong,
b {
  font-weight: 600;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Hilfsklassen ------------------------------------------ */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + var(--stripe-h) + 1rem);
}

.section--tint {
  background: var(--surface-2);
}

.section--dark {
  background: var(--surface-dark);
  color: #c9cbd1;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head p {
  margin-top: 1rem;
  font-size: 1.0625rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%);
}

.section__head--center .eyebrow {
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Markenstreifen rot/blau — das Signaturelement der Marke */
.stripe {
  display: flex;
  height: var(--stripe-h);
}

.stripe span {
  flex: 1;
}

.stripe span:first-child {
  background: var(--red);
}

.stripe span:last-child {
  background: var(--blue);
}

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgb(237 28 36 / 28%);
}

.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 8px 22px rgb(237 28 36 / 34%);
}

.btn--outline {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn--ghost {
  border-color: rgb(255 255 255 / 30%);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.btn--sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.9375rem;
}

/* =============================================================
   Kopfbereich
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name b {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand__name span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* :not(.btn), damit der Telefon-Button seine eigene Farbe behält */
.nav a:not(.btn) {
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-70);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.nav a:not(.btn):hover,
.nav a[aria-current="true"] {
  background: var(--surface-2);
  color: var(--red);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

/* Mobiles Menü */
@media (max-width: 72rem) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--stripe-h)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .nav a:not(.btn) {
    padding: 0.875rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.0625rem;
  }

  .nav .btn {
    margin-top: 1rem;
    border-bottom: 0;
  }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  min-height: min(44rem, 82vh);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 35rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--red);
}

.hero__lead {
  max-width: 30rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.hero__badges svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--blue);
}

.hero__media {
  position: relative;
  align-self: stretch;
  margin-left: -14%;
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2));
  clip-path: url(#heroCurve);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Akzentpunkt in Markenfarben über dem Foto */
.hero__sticker {
  position: absolute;
  z-index: 3;
  right: clamp(0.75rem, 2.5vw, 2rem);
  top: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero__sticker b {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.hero__sticker span {
  font-size: 0.75rem;
  color: var(--ink-50);
}

.hero__sticker i {
  width: 3px;
  height: 1.75rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red) 50%, var(--blue) 50%);
}

@media (max-width: 72rem) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    padding-block: 0 clamp(2.5rem, 7vw, 4rem);
  }

  .hero__media {
    order: -1;
    margin: 0 calc(-1 * var(--gutter)) clamp(2rem, 6vw, 3rem);
    clip-path: none;
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    overflow: hidden;
  }

  .hero__media img {
    aspect-ratio: 3 / 2;
    /* damit das Bild auf breiten Fenstern nicht den ganzen Schirm füllt */
    max-height: min(60vh, 30rem);
    object-fit: cover;
    object-position: center 22%;
  }

  /* verdeckt auf dem Handy die Gesichter — Adresse steht unter „Kontakt“ */
  .hero__sticker {
    display: none;
  }

  .hero__content {
    max-width: none;
  }
}

/* =============================================================
   Fakten-Leiste
   ============================================================= */
.facts {
  background: var(--surface-dark);
  color: #fff;
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: rgb(255 255 255 / 12%);
}

.facts__item {
  padding: clamp(1.75rem, 4vw, 2.5rem) 1.5rem;
  background: var(--surface-dark);
  text-align: center;
}

.facts__item b {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.facts__item span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: #a9adb6;
}

/* =============================================================
   Leistungen
   ============================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1.5rem;
  border-radius: var(--r);
  color: #fff;
}

.service__icon svg {
  width: 1.875rem;
  height: 1.875rem;
}

.service--heat .service__icon {
  background: linear-gradient(135deg, var(--red), #ff5a60);
}

.service--water .service__icon {
  background: linear-gradient(135deg, var(--blue), #4ab8ef);
}

.service h3 {
  margin-bottom: 0.5rem;
}

.service > p {
  margin-bottom: 1.5rem;
}

.service__list {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.service__list li {
  position: relative;
  padding-left: 1.875rem;
  font-size: 0.9875rem;
  color: var(--ink-70);
}

.service__list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--blue-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230089d0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.75rem no-repeat;
}

.service--heat .service__list li::before {
  background-color: var(--red-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed1c24' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Hinweiskarte unter den Leistungen */
.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--ink) 0%, #2b2f36 100%);
  color: #c9cbd1;
}

.note__text {
  flex: 1 1 22rem;
}

.note h3 {
  margin-bottom: 0.375rem;
  color: #fff;
}

.note p {
  font-size: 0.9875rem;
}

/* =============================================================
   Team
   ============================================================= */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.member {
  text-align: center;
}

.member__photo {
  position: relative;
  width: min(100%, 15rem);
  margin: 0 auto 1.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface-2);
}

.member__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* dünner Markenring um das Porträt */
.member__photo::after {
  content: "";
  position: absolute;
  inset: -0.5rem;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    var(--red) 0deg 140deg,
    var(--blue) 140deg 280deg,
    var(--red) 280deg 360deg
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 3px)
  );
  opacity: 0.9;
  pointer-events: none;
}

.member h3 {
  margin-bottom: 0.25rem;
}

.member__role {
  display: inline-block;
  margin-bottom: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--red-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red-dark);
}

.member__facts {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.member__facts li {
  color: var(--ink-70);
}

/* =============================================================
   Einblicke (Galerie)
   ============================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: var(--surface-2);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.875rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 72%));
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 2px rgb(0 0 0 / 40%);
}

/* Lightbox */
.lightbox {
  width: min(100% - 2rem, 68rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto; /* der globale Reset setzt margin:0 — hier wieder zentrieren */
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: #101114;
  color: #fff;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(10 11 13 / 82%);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100dvh - 8rem);
  object-fit: contain;
  background: #101114;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.9375rem;
}

.lightbox__caption {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox__btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s var(--ease);
}

.lightbox__btn:hover {
  background: rgb(255 255 255 / 12%);
}

.lightbox__btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* =============================================================
   Einzugsgebiet
   ============================================================= */
.area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.area__places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.chip::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--blue);
}

.chip:nth-child(even)::before {
  background: var(--red);
}

/* =============================================================
   FAQ
   ============================================================= */
.faq {
  max-width: 50rem;
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq details[open] {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin-left: auto;
  background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / 0.75rem no-repeat;
  border-radius: 50%;
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.faq details[open] summary::after {
  background-color: var(--red-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed1c24' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.faq summary:hover {
  color: var(--red);
}

.faq__answer {
  padding: 0 1.375rem 1.375rem;
  font-size: 0.9875rem;
}

.faq__answer p + p {
  margin-top: 0.75rem;
}

/* =============================================================
   Kontakt
   ============================================================= */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.contact__cards {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1.125rem;
  padding: 1.375rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

a.contact-card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: var(--shadow);
  color: inherit;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.contact-card:nth-child(odd) .contact-card__icon {
  background: var(--red-soft);
  color: var(--red-dark);
}

.contact-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.contact-card h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.contact-card p {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-card p small {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-70);
}

/* Karte mit Klick-Freigabe (DSGVO) */
.map {
  position: relative;
  min-height: 24rem;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border: 0;
}

.map__consent {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 24rem;
  padding: 2rem;
  text-align: center;
  background-image: repeating-linear-gradient(
      45deg,
      rgb(0 137 208 / 4%) 0 10px,
      transparent 10px 20px
    ),
    linear-gradient(var(--surface-2), var(--surface-2));
}

.map__consent svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--red);
}

.map__consent p {
  max-width: 24rem;
  font-size: 0.9375rem;
}

/* =============================================================
   Fußbereich
   ============================================================= */
.site-footer {
  background: var(--surface-dark);
  color: #a9adb6;
}

.site-footer a {
  color: #d4d7dd;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.site-footer h4 {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.site-footer .brand {
  margin: 0 0 1rem;
}

.site-footer .brand__name b {
  color: #fff;
}

.site-footer .brand__name span {
  color: #767b85;
}

.site-footer__about p {
  max-width: 22rem;
  font-size: 0.9375rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.875rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* =============================================================
   Rechtstexte (Impressum / Datenschutz)
   ============================================================= */
.legal {
  max-width: 48rem;
  margin-inline: auto;
}

.legal h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.legal > p:first-of-type {
  margin-bottom: 2.5rem;
  color: var(--ink-50);
}

.legal h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
}

.legal h3 {
  margin-top: 2rem;
  margin-bottom: 0.625rem;
  font-size: 1.1875rem;
}

.legal h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal p {
  margin-bottom: 1rem;
  font-size: 0.9875rem;
}

.legal ul {
  display: grid;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
  font-size: 0.9875rem;
}

.legal address {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--surface-2);
  font-style: normal;
  line-height: 1.8;
}

.legal a {
  word-break: break-word;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.legal__back svg {
  width: 1rem;
  height: 1rem;
}

/* =============================================================
   Einblend-Animation beim Scrollen
   ============================================================= */
/* Nur wenn JavaScript läuft — ohne JS bleibt alles sichtbar. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================
   Druck
   ============================================================= */
@media print {
  .site-header,
  .site-footer,
  .hero__media,
  .map,
  .gallery,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .section {
    padding-block: 1rem;
  }
}
