/* ==========================================================================
   Novaburg – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/geist-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: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/geist-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;
}

:root {
  /* Farben */
  --ink: #ffffff; /* Seitenhintergrund */
  --ink-2: #f7f7f8; /* leicht abgesetzte Flächen */
  --raised: #ffffff;
  --raised-2: #f4f4f5;
  --dark: #111113; /* Text und schwarze Buttons */
  --dark-2: #1d1d20;
  --line: rgba(17, 17, 19, 0.08);
  --line-strong: rgba(17, 17, 19, 0.14);
  --text: #111113;
  --text-2: #3d3d42;
  --muted: #6b6b70;
  --gold: #b8924a;
  --gold-light: #94702f; /* Gold für Text und Icons auf Weiß */
  --gold-deep: #7d5d22;
  --gold-soft: #e8d39c; /* helles Gold auf schwarzen Flächen */
  --paper: #f4f4f5;
  --paper-line: rgba(17, 17, 19, 0.08);
  --paper-muted: #5e5e63;
  --ok: #38c97f;

  --gold-text: linear-gradient(100deg, #f1dfa8 0%, #c9a55c 55%, #a9843f 100%);

  /* Typografie */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.5rem;
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-btn: 0.625rem;

  /* Bewegung */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
}

/* ---------- Grundlagen ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typografie ---------- */

.display {
  font-size: clamp(2.5rem, 6.2vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
}

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}

.h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--muted);
  max-width: 38em;
}

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

.small {
  font-size: 0.9rem;
  letter-spacing: 0.006em;
}

.prose {
  max-width: 40em;
}
.prose p + p {
  margin-top: 1.1em;
}

/* ---------- Buttons & Anruf ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.55rem 1.3rem 0.55rem 0.7rem;
  border-radius: var(--radius-btn);
  font-weight: 550;
  font-size: 0.975rem;
  letter-spacing: -0.003em;
  white-space: nowrap;
  transition: transform 120ms var(--ease-out), background-color 200ms, border-color 200ms, box-shadow 200ms;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 60ms;
}

.btn-call {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)), var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px -12px rgba(17, 17, 19, 0.45);
}
.btn-call:hover {
  border-color: rgba(201, 165, 92, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)), var(--dark-2);
}

.btn-gold {
  padding-inline: 1.5rem;
  background: linear-gradient(180deg, #e3c88a, #c9a55c);
  color: var(--dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 30px -12px rgba(201, 165, 92, 0.6);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #ecd49b, #d2ae65);
}

.btn .avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.btn .phone-icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* Pulsierender grüner Punkt in den Anruf-Buttons */
.dot-pulse {
  background: var(--ok);
}
.dot-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Lichtreflex, der am Rand des Buttons entlangläuft */
@property --shine-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.shine {
  position: relative;
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px -14px rgba(17, 17, 19, 0.45), 0 10px 40px -16px rgba(184, 146, 74, 0.35);
}
.shine::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--shine-angle),
    transparent 0deg,
    transparent 250deg,
    rgba(232, 211, 156, 0.25) 290deg,
    rgba(241, 223, 168, 0.95) 330deg,
    rgba(232, 211, 156, 0.25) 350deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: shine 4.5s linear infinite;
  pointer-events: none;
}
.shine::after {
  /* weicher Schimmer im Inneren */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 140% at 0% 0%, rgba(201, 165, 92, 0.12), transparent 55%);
  pointer-events: none;
}
@keyframes shine {
  to {
    --shine-angle: 360deg;
  }
}

/* Status-Punkt (erreichbar / nicht erreichbar) */
.dot {
  position: relative;
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(56, 201, 127, 0.16);
}
.status.is-open .dot,
.dot.is-live {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(56, 201, 127, 0.16);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.status.is-open {
  color: var(--text);
}

/* Anruf-Button wie im Beispiel: Kasten + quadratischer Button */
.cta {
  display: flex;
  max-width: 100%;
}
.cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)), var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 30px -16px rgba(17, 17, 19, 0.5);
  transition: transform 120ms var(--ease-out), border-color 200ms, background-color 200ms;
  -webkit-tap-highlight-color: transparent;
}
.cta a:hover {
  border-color: rgba(201, 165, 92, 0.6);
}
.cta a:active {
  transform: scale(0.97);
  transition-duration: 60ms;
}
.cta .cta-main {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 40px -14px rgba(17, 17, 19, 0.45), 0 10px 40px -16px rgba(184, 146, 74, 0.35);
}
.cta-main {
  gap: 0.85rem;
  padding: 0 1.75rem 0 1.4rem;
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cta-main .avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.phone-hero {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.phone-note [data-bind] {
  white-space: nowrap;
}
.phone-note {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
}
.site-header::before {
  /* Glas-Material */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms, background-color 300ms;
}
.site-header.is-scrolled::before,
.site-header.is-mega::before {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}
.brand img {
  width: 1.9rem;
  height: auto;
}
.brand span {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 160ms, background-color 160ms;
}
.nav-link:hover,
.nav-link[aria-expanded="true"],
.nav-link[aria-current] {
  color: var(--text);
}
.nav-link[aria-expanded="true"] {
  background: rgba(17, 17, 19, 0.05);
}
.nav-link .chevron {
  width: 0.8rem;
  height: 0.8rem;
  transition: transform 300ms var(--ease-out);
}
.nav-link[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.header-call {
  min-height: 2.75rem;
  transition: opacity 250ms var(--ease-out), transform 350ms var(--ease-out), visibility 0s, border-color 200ms;
}
.site-header.cta-hidden .header-call {
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms var(--ease-in), transform 200ms var(--ease-in), visibility 0s linear 200ms;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  position: relative;
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease-out), background-color 150ms;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease-out);
}
.menu-toggle span::before {
  transform: translateY(-5px);
}
.menu-toggle span::after {
  transform: translateY(5px);
}
.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

/* ---------- Mega-Menü (Desktop) ---------- */

.mega {
  position: absolute;
  top: calc(var(--header-h) - 0.25rem);
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.985);
  transform-origin: var(--mega-origin, 50%) 0;
  transition: opacity 220ms var(--ease-in), transform 220ms var(--ease-in), visibility 0s linear 220ms;
  pointer-events: none;
}
.mega.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 280ms var(--ease-out), transform 380ms var(--ease-out), visibility 0s;
  pointer-events: auto;
}

.mega-panel {
  display: grid;
  grid-template-columns: 1fr 19rem;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04), 0 40px 80px -30px rgba(17, 17, 19, 0.28);
}

.mega-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.5rem;
}
.mega-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  transition: background-color 160ms;
}
.mega-item:hover,
.mega-item:focus-visible {
  background: rgba(17, 17, 19, 0.04);
}
.mega-item strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.mega-item span:not(.icon-tile) {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(201, 165, 92, 0.16), rgba(201, 165, 92, 0.05));
  border: 1px solid rgba(201, 165, 92, 0.25);
  color: var(--gold-light);
}
.icon-tile svg {
  width: 1.2rem;
  height: 1.2rem;
}

.mega-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.mega-aside p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}
.mega-aside .mega-call {
  width: 100%;
  justify-content: flex-start;
}
.mega-aside .mega-all {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--text);
}
.mega-aside .mega-all:hover {
  color: var(--gold-light);
}

/* ---------- Mobiles Menü ---------- */

.sheet {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 220ms var(--ease-in), transform 220ms var(--ease-in), visibility 0s linear 220ms;
}
.sheet.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 280ms var(--ease-out), transform 380ms var(--ease-out), visibility 0s;
}
.sheet-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 1.25rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}
.sheet-heading {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.75rem 0 0.5rem;
}
.sheet-services a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.sheet-services a:active {
  opacity: 0.7;
}
.sheet-services .icon-tile {
  width: 2.25rem;
  height: 2.25rem;
}
.sheet-services .sheet-all {
  color: var(--gold-light);
  font-size: 1rem;
}
.sheet-links {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.sheet-links a {
  display: block;
  padding: 0.7rem 0;
  font-size: 1.6rem;
  font-weight: 550;
  letter-spacing: -0.028em;
}
.sheet-foot {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.sheet-foot .btn {
  width: 100%;
  min-height: 3.5rem;
}

/* ---------- Abschnitte ---------- */

main {
  display: block;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section-light {
  background: var(--paper);
  color: var(--dark);
}
.section-light .lead,
.section-light .muted {
  color: var(--paper-muted);
}

.section-head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--split {
  grid-template-columns: 1fr;
}
@media (min-width: 60rem) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 3rem;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(148, 112, 47, 0.3);
  padding-bottom: 2px;
  transition: border-color 200ms;
}
.text-link:hover {
  border-color: var(--gold-light);
}
.section-light .text-link {
  color: var(--gold-deep);
  border-color: rgba(142, 107, 44, 0.3);
}

/* ---------- Hero (Startseite) ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  /* leichter goldener Lichtschein */
  content: "";
  position: absolute;
  z-index: -1;
  width: 70rem;
  height: 50rem;
  right: -25rem;
  top: -18rem;
  background: none;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 60rem) {
  .hero-grid {
    gap: 4.5rem;
  }
}

.hero-copy {
  display: grid;
  gap: 1.6rem;
}
.hero-copy .phone-hero {
  margin-top: 1.4rem;
}

/* Zwei "Unser Vorgehen"-Karten im Hero */
.method-pair {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .method-pair {
    grid-template-columns: 1fr 1fr;
  }
}
.method {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04), 0 40px 80px -50px rgba(17, 17, 19, 0.35);
}
.method-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.method-head img {
  width: 1.6rem;
  height: auto;
}
.method-head strong {
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.method-topic {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 550;
  text-align: right;
}
.method-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.method-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding-block: 0.8rem;
}
.method-steps li:not(:last-child)::after {
  /* goldene Verbindungslinie zwischen den Schritten */
  content: "";
  position: absolute;
  left: calc(1.25rem - 1px);
  top: calc(50% + 1.45rem);
  height: calc(100% - 2.9rem);
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--gold), rgba(184, 146, 74, 0.2));
}
.method-steps .icon-tile {
  background: #fff;
}
.method-steps strong {
  display: block;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.method-steps span:not(.icon-tile) {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.method-norms {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.method-norms li {
  padding: 0.3rem 0.65rem;
  border-radius: 0.375rem;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

/* Grundsätze im Bereich "Über uns" */
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.principles li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.principles strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}
.principles p {
  color: var(--muted);
  font-size: 0.97rem;
}
.principles--row {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 48rem) {
  .principles--row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Einmalige Einstiegs-Animation im Hero */
@media (prefers-reduced-motion: no-preference) {
  .intro {
    animation: intro 900ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 90ms + 80ms);
  }
  @keyframes intro {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
}

/* ---------- Fakten-Leiste ---------- */

.facts {
  border-block: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.fact {
  padding: 1.8rem 0;
}
.fact + .fact {
  border-top: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .fact + .fact {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 2rem;
  }
}
.fact strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.fact span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Leistungen-Liste ---------- */

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 1.6rem 0.25rem;
  border-bottom: 1px solid var(--line-strong);
  -webkit-tap-highlight-color: transparent;
}
.svc-row .svc-title {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 550;
  letter-spacing: -0.028em;
  line-height: 1.15;
  transition: transform 400ms var(--ease-out), color 200ms;
}
.svc-row .svc-desc {
  grid-column: 2 / 4;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34em;
}
.svc-row .svc-arrow {
  grid-row: 1;
  grid-column: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: background-color 250ms, border-color 250ms, color 250ms, transform 400ms var(--ease-out);
}
.svc-row .svc-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}
.svc-row:hover .svc-title {
  transform: translateX(0.4rem);
  color: var(--gold-light);
}
.svc-row:hover .svc-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: rotate(-45deg);
}
.svc-row:active {
  opacity: 0.8;
}

@media (min-width: 60rem) {
  .svc-row {
    grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 2rem;
    padding: 2rem 0.5rem;
  }
  .svc-row .svc-desc {
    grid-column: auto;
  }
  .svc-row .svc-arrow {
    grid-row: auto;
    grid-column: auto;
  }
}

/* ---------- Ablauf (nummerierte Schritte) ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding-bottom: 2.75rem;
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.step::after {
  content: "";
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3.6rem;
  bottom: 0.6rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--gold), rgba(201, 165, 92, 0.15));
}
.step:last-child::after {
  display: none;
}
.step-body {
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--paper-line);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 18px 40px -28px rgba(10, 10, 10, 0.3);
}
.step-body h3 {
  margin-bottom: 0.5rem;
}
.step-body p {
  color: var(--paper-muted);
}
.step-meta {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0.65rem;
  border-radius: 0.375rem;
  background: rgba(201, 165, 92, 0.14);
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-weight: 550;
}

.ablauf-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 60rem) {
  .ablauf-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: start;
  }
  .ablauf-grid .section-head {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    margin-bottom: 0;
  }
}

/* ---------- Über mich ---------- */

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 60rem) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
  }
}
.about-copy {
  display: grid;
  gap: 1.5rem;
}
.about-copy .prose {
  color: var(--muted);
}
.creds {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.creds li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}
.creds li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--gold);
  transform: translateY(-0.1em) rotate(45deg);
}

/* ---------- Einblicke (Satz + Fotos) ---------- */

.insight-quote {
  max-width: 18em;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  aspect-ratio: 3 / 2;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--wide,
.page-photo .photo {
  aspect-ratio: 16 / 9;
}
@media (min-width: 48rem) {
  .photo--wide,
  .page-photo .photo {
    aspect-ratio: 21 / 9;
  }
}
.ablauf-photo {
  margin-top: 1rem;
}
@media (min-width: 60rem) {
  .about-photo {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- Kontakt / Abschluss ---------- */

.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -30rem;
  width: 80rem;
  height: 50rem;
  transform: translateX(-50%);
  background: none;
  pointer-events: none;
}
.contact-card {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: calc(var(--radius-lg) + 0.5rem);
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
}
@media (min-width: 60rem) {
  .contact-card {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: end;
  }
}
.contact-main {
  display: grid;
  gap: 1.4rem;
}
.contact-main .phone-hero {
  margin-top: 1rem;
}
.contact-side {
  display: grid;
  gap: 1.25rem;
  font-size: 0.97rem;
}
.contact-side div {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.contact-side dt {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}
.contact-side dd {
  margin: 0;
}
.contact-side a:hover {
  color: var(--gold-light);
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60rem;
  height: 40rem;
  right: -20rem;
  top: -16rem;
  background: none;
  pointer-events: none;
}
.page-hero-inner {
  display: grid;
  gap: 1.5rem;
}
.page-hero .icon-tile {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
}
.page-hero .icon-tile svg {
  width: 1.6rem;
  height: 1.6rem;
}
.page-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  opacity: 0.5;
}
.breadcrumb a:hover {
  color: var(--text);
}
.breadcrumb [aria-current] {
  color: var(--text);
}

/* ---------- Leistungs-Detailseite ---------- */

.detail-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 60rem) {
  .detail-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}
.detail-grid .prose {
  color: var(--text-2);
}
.detail-grid .prose h2 {
  color: var(--text);
  margin-bottom: 1.25rem;
}

.glance {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
}
@media (min-width: 60rem) {
  .glance {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}
.glance div {
  padding-block: 1.2rem;
}
.glance div + div {
  border-top: 1px solid var(--line);
}
.glance dt {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.glance dd {
  margin: 0;
  font-weight: 500;
}
.glance .btn {
  width: 100%;
  margin-block: 0.75rem 0.5rem;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .benefits {
    grid-template-columns: 1fr 1fr;
  }
}
.benefits li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--paper-line);
}
.benefits li svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold-deep);
}
.benefits strong {
  display: block;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 0.3rem;
}
.benefits p {
  color: var(--paper-muted);
  font-size: 0.97rem;
}

/* Leistungsumfang */
.scope {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 40rem) {
  .scope {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 64rem) {
  .scope {
    grid-template-columns: repeat(3, 1fr);
  }
}
.scope li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--paper-line);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.35;
}
.scope li svg {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--gold-deep);
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line-strong);
  max-width: 50rem;
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-25%) rotate(45deg);
  transition: transform 300ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: translateY(25%) rotate(225deg);
}
.faq .faq-answer {
  padding: 0 0.25rem 1.6rem;
  color: var(--muted);
  max-width: 42em;
}

/* Weitere Leistungen */
.others {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 40rem) {
  .others {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 60rem) {
  .others {
    grid-template-columns: repeat(3, 1fr);
  }
}
.other {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: border-color 200ms, background-color 200ms;
}
.other:hover {
  border-color: rgba(201, 165, 92, 0.4);
  background: var(--raised);
}
.other strong {
  font-weight: 550;
  letter-spacing: -0.01em;
}

/* Rechtstexte */
.legal {
  max-width: 44rem;
}
.legal h2 {
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.75rem;
}
.legal p {
  color: var(--text-2);
}
.legal p + p {
  margin-top: 0.8rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: 1.6fr 1.2fr 0.8fr 1.1fr;
  }
}
.footer-brand p {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 22rem;
}
.footer-col h2 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-col a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom a:hover {
  color: var(--text);
}

/* ---------- Mobile Anrufleiste ---------- */

.callbar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -16px rgba(17, 17, 19, 0.3);
  opacity: 0;
  transform: translateY(1.25rem);
  pointer-events: none;
  transition: opacity 220ms var(--ease-in), transform 220ms var(--ease-in);
}
.callbar.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out);
}
.callbar .status {
  font-size: 0.88rem;
}
.callbar .btn {
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 63.99rem) {
  .nav,
  .header-call {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .callbar {
    display: flex;
  }
  .site-footer {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 64rem) {
  .sheet {
    display: none;
  }
}

@media (max-width: 40rem) {
  .hero-copy .phone-hero,
  .contact-main .phone-hero {
    margin-top: 0.5rem;
  }
  .step {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }
  .step::before {
    width: 2.5rem;
    height: 2.5rem;
  }
  .step::after {
    left: calc(1.25rem - 1px);
    top: 3rem;
  }
  .step-body {
    padding: 1.3rem 1.3rem;
  }
}

/* ==========================================================================
   Theme „Noir“: schwarzer Hintergrund, goldene Schrift.
   Aktiv, wenn <html class="theme-noir"> gesetzt ist.
   Zurück zum hellen Design: class="theme-noir" aus allen Seiten entfernen.
   ========================================================================== */

.theme-noir {
  --ink: #0a0a0a;
  --ink-2: #111111;
  --raised: #151515;
  --raised-2: #1b1b1b;
  --dark: #141414;
  --dark-2: #1c1c1c;
  --line: rgba(216, 181, 106, 0.13);
  --line-strong: rgba(216, 181, 106, 0.24);
  --text: #e6cf98;
  --text-2: #cdb98c;
  --muted: #9e8f6f;
  --gold: #c9a55c;
  --gold-light: #e2c47f;
  --gold-deep: #d2af69;
  --gold-soft: #e8d39c;
  --paper: #0f0f0f;
  --paper-line: rgba(216, 181, 106, 0.13);
  --paper-muted: #9e8f6f;
  --gold-text: linear-gradient(100deg, #f1dfa8 0%, #d8b56a 45%, #b48a3e 100%);
  color-scheme: dark;
}

/* Überschriften in metallischem Gold */
.theme-noir .display,
.theme-noir .h2 {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Glasflächen dunkel */
.theme-noir .site-header::before {
  background: rgba(10, 10, 10, 0.7);
}
.theme-noir .site-header.is-scrolled::before,
.theme-noir .site-header.is-mega::before {
  background: rgba(10, 10, 10, 0.85);
}
.theme-noir .mega-panel {
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.theme-noir .sheet {
  background: rgba(10, 10, 10, 0.97);
}
.theme-noir .callbar {
  background: rgba(20, 20, 20, 0.88);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
}
.theme-noir .nav-link[aria-expanded="true"],
.theme-noir .mega-item:hover,
.theme-noir .mega-item:focus-visible {
  background: rgba(216, 181, 106, 0.07);
}

/* Heller Abschnitt wird im Noir-Design dunkel */
.theme-noir .section-light {
  color: var(--text);
}

/* Karten, die im hellen Design weiß sind */
.theme-noir .step-body,
.theme-noir .scope li,
.theme-noir .method-steps .icon-tile,
.theme-noir .method-norms li {
  background: var(--raised);
  box-shadow: none;
}
.theme-noir .step::before {
  border: 1px solid var(--line-strong);
}

/* Anruf-Buttons: schwarz mit goldenem Rand und goldener Schrift */
.theme-noir .btn-call,
.theme-noir .cta a {
  background: linear-gradient(180deg, rgba(232, 211, 156, 0.08), rgba(232, 211, 156, 0)), var(--dark);
  color: var(--gold-soft);
  border-color: rgba(216, 181, 106, 0.35);
}
.theme-noir .btn-call:hover,
.theme-noir .cta a:hover {
  border-color: rgba(216, 181, 106, 0.7);
}
.theme-noir .shine,
.theme-noir .cta .cta-main {
  box-shadow: inset 0 1px 0 rgba(232, 211, 156, 0.1), 0 14px 44px -16px rgba(201, 165, 92, 0.35);
}

/* ---------- Barrierefreiheit ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation: none !important;
  }
  .mega,
  .sheet,
  .callbar {
    transform: none !important;
  }
  .shine::before,
  .dot-pulse::after {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header::before,
  .mega-panel,
  .sheet,
  .callbar,
  .method {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: var(--ink-2);
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(17, 17, 19, 0.35);
    --line-strong: rgba(17, 17, 19, 0.5);
    --muted: #3d3d42;
  }
}
