/* ==========================================================================
   Aufbereitung Mobil – Stylesheet
   Aufbau: Fonts · Tokens (hell/dunkel) · Basis · Layout · Komponenten · Sektionen
   ========================================================================== */

/* ---------- Fonts (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design-Tokens: Dunkel (Standard) ---------- */
:root {
  --bg: #0e0f0f;
  --bg-alt: #141616;
  --surface: #191b1b;
  --text: #f2efe8;
  --text-2: #a9a59d;
  --text-3: #7b7870;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #e0bb68;
  --accent-hover: #ebc97c;
  --accent-text: #e0bb68;
  --accent-soft: rgba(224, 187, 104, 0.12);
  --on-accent: #161615;
  --danger: #f2b8b5;
  --success: #7fd3a6;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.7);

  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 7vw, 96px);
  --header-h: 64px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* ---------- Design-Tokens: Hell (per Umschalter) ---------- */
:root[data-theme="light"] {
  --bg: #f7f5f1;
  --bg-alt: #efebe4;
  --surface: #ffffff;
  --text: #161615;
  --text-2: #5a5751;
  --text-3: #85817a;
  --line: rgba(22, 22, 21, 0.1);
  --line-strong: rgba(22, 22, 21, 0.2);
  --accent: #d4ad59;
  --accent-hover: #c79e45;
  --accent-text: #87621a;
  --accent-soft: rgba(212, 173, 89, 0.16);
  --danger: #b3261e;
  --success: #1f7a4d;
  --shadow: 0 1px 2px rgba(22, 22, 21, 0.04), 0 12px 32px -18px rgba(22, 22, 21, 0.22);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Scrollen sperren, solange das Menü offen ist. Nur auf <html>: Würde auch <body>
   gesperrt, verliert der Sticky-Header seinen Halt und verschwindet nach oben. */
html.menu-open {
  overflow: hidden;
}

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

img,
video {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: none;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.section {
  padding-block: var(--section);
}

.section--alt {
  background: var(--bg-alt);
}

/* Dunkles Band (Ergebnisse) – bleibt in beiden Modi dunkel */
.section--ink {
  --bg: #121414;
  --surface: #1b1d1d;
  --text: #f2efe8;
  --text-2: #a9a59d;
  --text-3: #7b7870;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent-text: #e0bb68;
  --accent-soft: rgba(224, 187, 104, 0.12);
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
}

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.display,
.h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.display {
  display: block;
  font-size: clamp(2.75rem, 1.55rem + 4.6vw, 5.1rem);
  line-height: 1;
}

.h2 {
  font-size: clamp(2.2rem, 1.55rem + 2.6vw, 3.5rem);
  line-height: 1.04;
}

.display em,
.h2 em {
  font-style: italic;
  color: var(--accent-text);
}

.lead {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.18rem);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 64px;
  }
  .section-head--split .eyebrow {
    grid-column: 1 / -1;
  }
  .section-head--split .lead {
    justify-self: end;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--text);
}

.btn--sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover {
  border-color: var(--line-strong);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.text-link:hover {
  border-color: currentColor;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
/* Blur liegt auf einem Pseudo-Element, damit das mobile Menü (position: fixed)
   sich am Viewport und nicht am Header ausrichtet. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  margin-right: auto;
  line-height: 1;
  text-decoration: none;
}
/* Logo-Schriftzug: Gold im dunklen, Bronze im hellen Design */
.brand__logo {
  display: block;
  width: auto;
  height: 26px;
}
.brand__logo--bronze {
  display: none;
}
:root[data-theme="light"] .brand__logo--gold {
  display: none;
}
:root[data-theme="light"] .brand__logo--bronze {
  display: block;
}
.brand__tag {
  margin-top: 5px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent-text);
  opacity: 0.85;
}
@media (max-width: 420px) {
  .brand__logo {
    height: 21px;
  }
  .brand__tag {
    margin-top: 4px;
    font-size: 0.5rem;
    letter-spacing: 0.22em;
  }
}

.footer-logo {
  display: inline-block;
}
/* Original-Logo ohne Rahmen: "lighten" lässt das Schwarz des Logos
   exakt in die (dunkle) Footer-Farbe übergehen – kein sichtbarer Kasten. */
.footer-logo img {
  width: 230px;
  height: auto;
  mix-blend-mode: lighten;
}

.nav__list {
  display: flex;
  gap: 30px;
}
.nav__link {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__num,
.nav__meta,
.nav__extra {
  display: none;
}

/* ---------- Putz-Effekt: Tuch wischt über das Wort ---------- */
.wipe {
  --wipe-dur: 780ms;
  --wipe-delay: 0ms;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.wipe__clean,
.wipe__cloth,
.wipe__spark {
  pointer-events: none;
}
.wipe__clean {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.wipe__cloth {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 1.55em;
  height: 1.55em;
  opacity: 0;
  filter: drop-shadow(0 0.12em 0.18em rgba(0, 0, 0, 0.35));
}
.wipe__cloth svg,
.wipe__spark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wipe__spark {
  position: absolute;
  top: -0.18em;
  right: -0.42em;
  width: 0.5em;
  height: 0.5em;
  color: var(--accent);
  opacity: 0;
}

/* Während des Wischens: noch nicht geputzter Teil wirkt verschmutzt */
.wipe.is-wiping .wipe__base {
  color: transparent;
  background:
    radial-gradient(circle at 12% 62%, rgba(110, 86, 48, 0.95) 0 9%, transparent 10%),
    radial-gradient(circle at 38% 28%, rgba(92, 74, 46, 0.9) 0 7%, transparent 8%),
    radial-gradient(circle at 63% 70%, rgba(110, 86, 48, 0.95) 0 8%, transparent 9%),
    radial-gradient(circle at 86% 34%, rgba(92, 74, 46, 0.9) 0 6%, transparent 7%),
    linear-gradient(color-mix(in srgb, var(--text-3) 85%, #6e5630), color-mix(in srgb, var(--text-3) 85%, #6e5630));
  -webkit-background-clip: text;
  background-clip: text;
  filter: blur(0.5px);
}
.wipe.is-wiping .wipe__clean {
  visibility: visible;
  animation: wipe-clean var(--wipe-dur) linear var(--wipe-delay) both;
}
.wipe.is-wiping .wipe__cloth {
  animation: wipe-cloth var(--wipe-dur) linear var(--wipe-delay) both;
}
.wipe.is-wiping .wipe__spark {
  animation: wipe-spark 0.55s var(--ease) calc(var(--wipe-delay) + var(--wipe-dur) * 0.82) both;
}

@keyframes wipe-clean {
  from {
    clip-path: inset(-20% 100% -20% 0);
  }
  to {
    clip-path: inset(-20% 0 -20% 0);
  }
}
@keyframes wipe-cloth {
  0% {
    left: 0%;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-16deg) scale(0.7);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -58%) rotate(8deg) scale(1);
  }
  28% {
    transform: translate(-50%, -42%) rotate(-10deg) scale(1);
  }
  46% {
    transform: translate(-50%, -58%) rotate(9deg) scale(1);
  }
  64% {
    transform: translate(-50%, -42%) rotate(-9deg) scale(1);
  }
  82% {
    opacity: 1;
    transform: translate(-50%, -56%) rotate(8deg) scale(1);
  }
  100% {
    left: 100%;
    opacity: 0;
    transform: translate(-40%, -50%) rotate(14deg) scale(0.7);
  }
}
@keyframes wipe-spark {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  45% {
    opacity: 1;
    transform: scale(1.15) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.6) rotate(90deg);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle .i-moon {
  display: none;
}
:root[data-theme="light"] .theme-toggle .i-moon {
  display: block;
}
:root[data-theme="light"] .theme-toggle .i-sun {
  display: none;
}

.menu-toggle {
  display: none;
}
.menu-toggle .i-close {
  display: none;
}
.menu-toggle[aria-expanded="true"] .i-close {
  display: block;
}
.menu-toggle[aria-expanded="true"] .i-menu {
  display: none;
}

/* ---------- Mobiles Menü ---------- */
@media (max-width: 899px) {
  .menu-toggle {
    display: inline-grid;
  }
  .header-cta {
    display: none;
  }
  html.menu-open .site-header {
    border-bottom-color: var(--line);
  }
  /* Offenes Menü: Header komplett deckend, damit die Seite oben nicht durchscheint */
  html.menu-open .site-header::before {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: 8px var(--gutter) calc(64px + env(safe-area-inset-bottom) + 28px);
    background: var(--bg);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav.is-open .nav__list li {
    animation: menu-item 0.55s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 70ms + 60ms);
  }

  .nav__link {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .nav__link::after {
    display: none;
  }
  .nav__link.is-active .nav__text {
    color: var(--accent-text);
  }
  .nav__num {
    display: block;
    align-self: start;
    padding-top: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent-text);
    font-variant-numeric: tabular-nums;
  }
  .nav__text {
    justify-self: start;
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 9.5vw, 2.7rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.01em;
  }
  .nav__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-3);
    white-space: nowrap;
  }
  .nav__meta::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
  }

  .nav__extra {
    display: grid;
    gap: 12px;
    animation: none;
  }
  .nav.is-open .nav__extra {
    animation: menu-item 0.55s var(--ease) 0.42s both;
  }
  .nav__note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-3);
  }
}

@keyframes menu-item {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(24px, 4vw, 56px) clamp(40px, 5vw, 72px);
}

.hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero__title {
  display: grid;
  gap: 18px;
  font-weight: 400;
}

.hero__copy .lead {
  margin-top: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__facts .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  stroke-width: 2.4;
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.price-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.price-badge__value {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1;
}
.price-badge__text {
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--text-2);
}
.price-badge__text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 479px) {
  .hero__actions .btn {
    flex: 1 1 auto;
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(40px, 6vw, 88px);
  }
  .hero__media {
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 64px);
    min-height: 420px;
  }
}

/* ---------- Leistungen ---------- */
.services-layout {
  display: grid;
  gap: 16px;
}

.services-media {
  display: none;
}

.services {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.service {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}
.service:first-child {
  border-top: 0;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.service__icon .icon {
  width: 22px;
  height: 22px;
}

.service__title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}
.service__text {
  margin-top: 3px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-2);
}

@media (min-width: 700px) {
  .services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border: 0;
    background: none;
    overflow: visible;
  }
  .service {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.2s, transform 0.3s var(--ease);
  }
  .service:first-child {
    border-top: 1px solid var(--line);
  }
  .service:hover {
    border-color: var(--line-strong);
  }
}

@media (min-width: 1000px) {
  .services-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 12px;
  }
  .services-media {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
  }
  .services-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .services-media figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(18, 20, 20, 0.62);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #f2efe8;
    font-size: 0.86rem;
    line-height: 1.45;
  }
}

/* ---------- Ergebnisse / Showcase ---------- */
.showcase {
  display: grid;
  gap: 24px;
}

.showcase__intro {
  display: grid;
  gap: 14px;
}

.case-tabs {
  display: flex;
  gap: 8px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 2px var(--gutter) 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  position: relative;
}
.case-tabs::-webkit-scrollbar {
  display: none;
}

.case-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.case-tab:hover {
  border-color: var(--line-strong);
  color: var(--text);
}
.case-tab[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--text);
}

.case-tab__thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.case-tab__text {
  display: grid;
  line-height: 1.2;
}
.case-tab__title {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.case-tab__meta {
  font-size: 0.76rem;
  color: var(--text-3);
  white-space: nowrap;
}
.case-tab__type,
.case-tab__num {
  display: none;
}

.case {
  animation: case-in 0.4s var(--ease);
}
.case[hidden] {
  display: none;
}
@keyframes case-in {
  from {
    opacity: 0;
  }
}

.case__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.case__caption {
  margin-top: 14px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-2);
}
.case__caption strong {
  color: var(--text);
  font-weight: 600;
}

.media-tag {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.2s;
}
.media-tag--left {
  left: 12px;
}
.media-tag--right {
  right: 12px;
}

.showcase__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.showcase__counter {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* Vorher/Nachher-Regler */
.compare {
  --pos: 50%;
  position: absolute;
  inset: 0;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.compare__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease);
}
.compare__knob .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
.compare.is-dragging .compare__knob {
  transform: translate(-50%, -50%) scale(1.08);
}
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.compare:has(.compare__range:focus-visible) .compare__knob {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.compare.hide-before .media-tag--left,
.compare.hide-after .media-tag--right {
  opacity: 0;
}

/* Video */
.case-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
}
.video-btn .icon {
  width: 20px;
  height: 20px;
}
.video-btn .i-pause,
.case-video.is-playing .video-btn .i-play {
  display: none;
}
.case-video.is-playing .video-btn .i-pause {
  display: block;
}

@media (max-width: 899px) {
  .showcase__cta .btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
    grid-template-areas:
      "intro stage"
      "tabs  stage"
      "cta   stage";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(40px, 7vw, 96px);
    row-gap: 28px;
    align-items: start;
  }
  .showcase__intro {
    grid-area: intro;
  }
  .case-tabs {
    grid-area: tabs;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .showcase__stage {
    grid-area: stage;
  }
  .showcase__cta {
    grid-area: cta;
  }
  .showcase__controls {
    display: none;
  }
  .case-tab {
    gap: 14px;
    padding: 8px 18px 8px 8px;
    border-radius: 14px;
  }
  .case-tab__thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
  .case-tab__title {
    font-size: 1rem;
  }
  .case-tab__meta {
    font-size: 0.84rem;
  }
  .case-tab__type {
    display: inline;
  }
  .case-tab__num {
    display: block;
    margin-left: auto;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-3);
  }
  .case-tab[aria-selected="true"] .case-tab__num {
    color: var(--accent-text);
  }
}

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  padding-bottom: 28px;
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: "";
  position: absolute;
  left: 21.5px;
  top: 48px;
  bottom: 4px;
  width: 1px;
  background: var(--line-strong);
}
.step:last-child::before {
  display: none;
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent-text);
}
.step__title {
  grid-column: 2;
  margin-top: 8px;
  font-size: 1.12rem;
  font-weight: 600;
}
.step__text {
  grid-column: 2;
  margin-top: 6px;
  color: var(--text-2);
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
  .step {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .step::before {
    left: 60px;
    right: -20px;
    top: 22px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .step__title,
  .step__text {
    grid-column: 1;
  }
  .step__title {
    margin-top: 22px;
  }
}

/* ---------- Preise ---------- */
.pricing {
  display: grid;
  gap: 14px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.plan__badge {
  position: absolute;
  top: 24px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan__name {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.plan--featured .plan__name {
  color: var(--accent-text);
}
/* Stufen-Balken: Basis 1 · Deluxe 2 · Premium 3 */
.plan__tier {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
}
.plan__tier i {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--line-strong);
}
.plan__tier i:nth-child(2) {
  height: 11px;
}
.plan__tier i:nth-child(3) {
  height: 14px;
}
.plan__tier[data-level="1"] i:nth-child(1),
.plan__tier[data-level="2"] i:nth-child(-n + 2),
.plan__tier[data-level="3"] i {
  background: var(--accent);
}
.plan__tagline {
  margin-top: 8px;
  font-size: 0.94rem;
  color: var(--text-2);
}

.plan__price {
  margin-top: 22px;
}
.plan__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.plan__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.plan__value {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.plan__regular {
  font-size: 1.02rem;
  color: var(--text-2);
}
.plan__regular s {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
}

/* Ersparnis deutlich sichtbar */
.plan__save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
}
.plan__save .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.plan__cta {
  margin-top: 20px;
}

.plan__list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.45;
}
.plan__list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}
.plan__list .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent-text);
  stroke-width: 2.2;
}
.plan__list .plan__includes {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.pricing__note {
  display: flex;
  gap: 10px;
  max-width: 820px;
  margin-top: 22px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-2);
}
.pricing__note .icon {
  margin-top: 2px;
  color: var(--accent-text);
}

@media (min-width: 900px) {
  .pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
  .plan {
    padding: 30px 28px;
    min-height: 100%;
  }
  /* Empfehlung in der Mitte leicht hervorheben */
  .plan--featured {
    margin-top: -12px;
    padding-top: 42px;
  }
  .plan--featured .plan__badge {
    top: 36px;
  }
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  gap: 8px;
}
.faq-layout .section-head {
  margin-bottom: 20px;
}

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

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: var(--accent-text);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
}
.faq__item[open]::details-content {
  block-size: auto;
}

.faq__answer {
  max-width: 64ch;
  padding: 0 44px 20px 0;
  color: var(--text-2);
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 64px;
  }
  .faq-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}

/* ---------- Kontakt ---------- */
.contact-layout {
  display: grid;
  gap: 32px;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s;
}
.contact-item:hover {
  border-color: var(--line-strong);
}
.contact-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.contact-item__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-3);
}
.contact-item__value {
  display: block;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-item > .icon {
  color: var(--text-3);
}

.contact-address {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.contact-address .icon {
  margin-top: 2px;
  color: var(--accent-text);
}

.form-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field--half {
  grid-column: span 1;
}
@media (max-width: 559px) {
  .field--half {
    grid-column: 1 / -1;
  }
}

.field__label,
.field legend {
  padding: 0;
  font-size: 0.86rem;
  font-weight: 600;
}
.field__label .req {
  color: var(--accent-text);
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.input::placeholder {
  color: var(--text-3);
}
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea.input {
  min-height: 110px;
  resize: vertical;
}
select.input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2385817a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}
select.input.is-highlight {
  animation: highlight 1.4s var(--ease);
}
@keyframes highlight {
  0%,
  40% {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
}

.field.is-invalid .input {
  border-color: var(--danger);
}
.field__error {
  display: none;
  font-size: 0.82rem;
  color: var(--danger);
}
.field.is-invalid .field__error {
  display: block;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.chip input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.upload {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.upload:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
input:focus-visible + .upload {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.upload__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.upload__text {
  display: grid;
  font-size: 0.92rem;
  line-height: 1.35;
}
.upload__text small {
  font-size: 0.8rem;
  color: var(--text-3);
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.file-list:empty {
  display: none;
}
.file-list li {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
}
.file-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

/* Hinweis: Fotos gehen nur per E-Mail mit, bei WhatsApp separat im Chat */
.form__photo-note {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text);
}
.form__photo-note .icon {
  margin-top: 1px;
  color: var(--accent-text);
}
.form__photo-note strong {
  font-weight: 600;
}

.form__hint {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-3);
}
.form__hint a {
  color: var(--text-2);
}

.form__status {
  margin-top: 14px;
  font-size: 0.9rem;
}
.form__status:empty {
  display: none;
}
.form__status.is-error {
  color: var(--danger);
}

.form__success {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 12px 0;
}
.form__success[hidden] {
  display: none;
}
.form__success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.form__success-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}
.form__success h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}
.form__success p {
  color: var(--text-2);
}

.btn.is-loading {
  position: relative;
  color: transparent;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--on-accent);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
  }
}

/* ---------- Footer ---------- */
/* Footer bleibt in beiden Modi dunkel, damit das Logo nahtlos sitzt */
.site-footer {
  --bg: #0e0f0f;
  --surface: #191b1b;
  --text: #f2efe8;
  --text-2: #a9a59d;
  --text-3: #7b7870;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent-text: #e0bb68;
  color-scheme: dark;
  padding-block: clamp(40px, 5vw, 64px) 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--text-2);
}

.footer-title {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-links {
  display: grid;
  gap: 6px;
}
.footer-links a {
  color: var(--text-2);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-links address {
  font-style: normal;
  color: var(--text-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-3);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ---------- Mobile App-Leiste (E-Mail · Anrufen · WhatsApp) ---------- */
.appbar {
  --appbar-bg: #161615;
  --appbar-h: 64px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60; /* über Header und offenem Menü */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: calc(var(--appbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--appbar-bg);
  box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease);
}

.appbar__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #c4bfb6;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}
.appbar__item .icon {
  width: 22px;
  height: 22px;
}
.appbar__item:hover,
.appbar__item:active {
  color: #fff;
}
.appbar__item:focus-visible {
  outline-offset: -4px;
}

.appbar__item--call {
  justify-content: flex-end;
  padding-bottom: 12px;
  color: #f2efe8;
}
.appbar__call {
  position: absolute;
  top: -24px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 4px solid var(--appbar-bg);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 12px 24px -10px rgba(212, 173, 89, 0.75);
  transform: translateX(-50%);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.appbar__call .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}
.appbar__item--call:active .appbar__call {
  transform: translateX(-50%) scale(0.94);
}

/* Platz schaffen, damit die Leiste keinen Inhalt verdeckt */
@media (max-width: 899px) {
  body:has(.appbar) {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}
@media (min-width: 900px) {
  .appbar {
    display: none;
  }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal {
  max-width: 760px;
}
.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 2rem + 2.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.02;
  margin-top: 14px;
}
.legal h2 {
  margin-top: 36px;
  font-size: 1.15rem;
  font-weight: 600;
}
.legal p,
.legal ul {
  margin-top: 10px;
  color: var(--text-2);
}
.legal ul {
  padding-left: 1.2em;
  list-style: disc;
}
.legal address {
  font-style: normal;
}
.legal a {
  color: var(--text);
}
.legal-note {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-size: 0.92rem;
}

/* ---------- Scroll-Einblendung (nur mit JS aktiv) ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
