/* ==========================================================================
   Malerbetrieb Gül – Relaunch 2026
   main.css · Design-System, Layout & Komponenten
   --------------------------------------------------------------------------
   Inhalt:
   01 Design-Tokens & Reset
   02 Basis-Typografie & Utilities
   03 Buttons
   04 Header & Navigation
   05 Hero
   06 Stats
   07 About
   08 Services
   09 Advantages
   10 Process
   11 Gallery & Lightbox
   12 Before/After
   13 Reviews
   14 Area
   15 FAQ
   16 CTA-Banner
   17 Contact
   18 Footer
   19 Legal-Seiten
   20 Reveal-Animationen & Motion
   ========================================================================== */

/* ==== 01 Design-Tokens & Reset ========================================== */
:root {
  /* Farben */
  --bg-0: #0c0c10;
  --bg-1: #121218;
  --bg-2: #17171f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f1ec;
  --text-2: #b9b3aa;
  --text-3: #837e76;
  --copper: #d99a5b;
  --copper-deep: #b4713a;
  --gold: #ecc27e;
  --warm-red: #c8434b;
  --blue: #6f86ff;
  --grad-warm: linear-gradient(120deg, var(--gold), var(--copper) 45%, var(--warm-red) 110%);

  /* Typografie */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.6rem, 1.2rem + 6vw, 5.4rem);
  --fs-h2: clamp(1.9rem, 1.1rem + 3.2vw, 3.3rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-lead: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);

  /* Layout */
  --container: 74rem;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-pad: clamp(4.5rem, 4rem + 6vw, 9rem);
  --radius: 1.15rem;
  --radius-lg: 1.75rem;

  /* Effekte */
  --shadow-soft: 0 18px 50px -18px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 24px 70px -28px rgba(0, 0, 0, 0.8);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Anker landen unterhalb des Sticky-Headers */
[id] { scroll-margin-top: 5.5rem; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(90rem 50rem at 85% -10%, rgba(111, 134, 255, 0.07), transparent 60%),
    radial-gradient(80rem 46rem at -15% 30%, rgba(217, 154, 91, 0.06), transparent 55%),
    var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* Listenpunkte nur dort, wo sie inhaltlich gewollt sind (z. B. Legal-Seiten) */
ul[class],
nav ul,
.footer-col ul,
.service-card ul {
  list-style: none;
  padding: 0;
}

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

::selection { background: rgba(217, 154, 91, 0.35); color: #fff; }

/* ==== 02 Basis-Typografie & Utilities =================================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { text-wrap: pretty; }

em { font-style: normal; }

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic; /* Fraunces-Kursive als Akzent */
}

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

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

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.section-lead {
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  color: var(--text-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--grad-warm);
  box-shadow: 0 0 12px rgba(217, 154, 91, 0.8);
}

/* Glassmorphism-Grundfläche */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--copper);
  color: #17110a;
  font-weight: 700;
  border-radius: 0.6rem;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

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

/* ==== 03 Buttons ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s, border-color 0.25s, color 0.25s;
  will-change: transform;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-warm);
  color: #1c1208;
  box-shadow: 0 10px 30px -10px rgba(217, 154, 91, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(217, 154, 91, 0.7); }

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover { border-color: var(--copper); background: rgba(217, 154, 91, 0.08); }

.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); }

/* ==== 04 Header & Navigation ============================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(12, 12, 16, 0.78);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark { display: grid; place-items: center; }

.brand-text { display: grid; line-height: 1.25; }
.brand-text strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

.main-nav ul { display: flex; gap: 0.25rem; }

.main-nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--text); background: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 0.4rem; }

.header-phone { font-variant-numeric: tabular-nums; }

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 0.7rem;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(12, 12, 16, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem var(--gutter) 1.5rem;
}
.mobile-nav.is-open { display: block; }

.mobile-nav ul { display: grid; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav-footer { display: grid; gap: 0.6rem; margin-top: 1.25rem; }

@media (max-width: 62rem) {
  .main-nav, .header-phone, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ==== 05 Hero ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(4rem, 10vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55rem 32rem at 18% 18%, rgba(217, 154, 91, 0.14), transparent 60%),
    radial-gradient(45rem 30rem at 88% 78%, rgba(111, 134, 255, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(12, 12, 16, 0.25), rgba(12, 12, 16, 0.05) 40%, var(--bg-0) 96%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.hero-sub {
  max-width: 34rem;
  font-size: var(--fs-lead);
  color: var(--text-2);
  margin-bottom: 2.1rem;
}
.hero-sub strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-trust li::before {
  content: "";
  width: 0.95rem; height: 0.95rem;
  flex: none;
  background: var(--grad-warm);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
}

/* Schwebende Referenzkarten */
.hero-cards {
  position: relative;
  height: min(34rem, 62vh);
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  animation: float 7s ease-in-out infinite;
}

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

.hero-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(transparent, rgba(8, 8, 10, 0.85));
}

.hero-card-a { width: 62%; aspect-ratio: 16/10; top: 6%; right: 24%; z-index: 3; animation-delay: 0s; }
.hero-card-b { width: 52%; aspect-ratio: 4/3.4; top: 34%; right: 0; z-index: 2; animation-delay: -2.4s; }
.hero-card-c { width: 44%; aspect-ratio: 4/3.6; bottom: 0; left: 2%; z-index: 1; animation-delay: -4.8s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  translate: -50% 0;
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 7px;
}
.scroll-hint span {
  width: 4px; height: 8px;
  border-radius: 999px;
  background: var(--copper);
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 62rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards { height: 20rem; max-width: 30rem; }
  .scroll-hint { display: none; }
}

/* ==== 06 Stats =========================================================== */
.stats {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat { display: grid; gap: 0.35rem; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 500;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label { font-size: 0.88rem; color: var(--text-2); line-height: 1.45; }

@media (max-width: 48rem) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==== 07 About =========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-media { position: relative; padding-bottom: 3.5rem; }

.about-photo { overflow: hidden; box-shadow: var(--shadow-card); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-photo-small {
  position: absolute;
  right: -1rem;
  bottom: 0;
  width: 38%;
  aspect-ratio: 3/4.2;
  border: 4px solid var(--bg-0);
}

.about-badge {
  position: absolute;
  left: -0.75rem;
  bottom: 1.5rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.about-badge strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-badge span { font-size: 0.74rem; color: var(--text-2); line-height: 1.4; }

.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy p { color: var(--text-2); margin-bottom: 1.1rem; }
.about-copy p strong, .about-copy p em { color: var(--text); }

.check-list { display: grid; gap: 0.65rem; margin: 1.5rem 0 2rem; }
.check-list li { display: flex; align-items: baseline; gap: 0.7rem; font-weight: 600; }
.check-list li::before {
  content: "";
  width: 1rem; height: 1rem;
  flex: none;
  transform: translateY(2px);
  background: var(--grad-warm);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
}

.about-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

@media (max-width: 62rem) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 30rem; }
}

/* ==== 08 Services ======================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.service-card {
  grid-column: span 4;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background-color 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 154, 91, 0.45);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3.1rem; height: 3.1rem;
  margin-bottom: 1.2rem;
  border-radius: 0.9rem;
  color: var(--copper);
  background: rgba(217, 154, 91, 0.1);
  border: 1px solid rgba(217, 154, 91, 0.25);
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }

.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.94rem; color: var(--text-2); margin-bottom: 0.9rem; }

.service-card ul { display: grid; gap: 0.35rem; padding: 0; list-style: none; }
.service-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--grad-warm);
}

.services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.8rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.services-cta p { color: var(--text-2); }
.services-cta strong { color: var(--text); }

@media (max-width: 62rem) {
  .service-card { grid-column: span 6; }
}
@media (max-width: 40rem) {
  .service-card { grid-column: span 12; }
}

/* ==== 09 Advantages ====================================================== */
.advantages {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 20%, rgba(255, 255, 255, 0.02) 80%, transparent);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}

.advantage {
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.advantage-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--copper);
  margin-bottom: 0.9rem;
}

.advantage h3 { margin-bottom: 0.55rem; }
.advantage p { font-size: 0.94rem; color: var(--text-2); }

@media (max-width: 62rem) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .advantages-grid { grid-template-columns: 1fr; } }

/* ==== 10 Process ========================================================= */
.process-track {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem 1.7rem;
  border-radius: var(--radius);
}

.process-num {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #1c1208;
  background: var(--grad-warm);
  box-shadow: 0 8px 24px -8px rgba(217, 154, 91, 0.6);
}

.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; color: var(--text-2); }

/* Verbindungslinie zwischen den Schritten */
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.3rem;
  right: -1.35rem;
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

@media (max-width: 62rem) {
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
}
@media (max-width: 40rem) {
  .process-track { grid-template-columns: 1fr; }
  .process-step::after { display: none !important; }
}

/* ==== 11 Gallery & Lightbox ============================================= */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.filter-btn:hover { color: var(--text); border-color: var(--copper); }

.filter-btn.is-active {
  color: #1c1208;
  background: var(--grad-warm);
  border-color: transparent;
}

/* Masonry über CSS columns – ohne Layout-Shift dank width/height-Attributen */
.gallery-grid {
  columns: 3 16rem;
  column-gap: 1.1rem;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.gallery-item.is-hidden { display: none; }

.gallery-item img {
  width: 100%;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(transparent, rgba(8, 8, 10, 0.9));
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.35s, translate 0.35s var(--ease-out);
}

.gallery-item:hover figcaption,
.gallery-item:focus-visible figcaption { opacity: 1; translate: 0 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 8, 11, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox[hidden] { display: none; }

.lightbox-figure {
  max-width: min(72rem, 100%);
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.lightbox-figure img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.lightbox-figure figcaption { font-size: 0.9rem; color: var(--text-2); }

.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition: background-color 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.14); }

.lightbox-nav {
  flex: none;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition: background-color 0.2s, transform 0.2s var(--ease-out);
}
.lightbox-nav:hover { background: rgba(217, 154, 91, 0.25); transform: scale(1.06); }

@media (max-width: 40rem) {
  .lightbox { flex-wrap: wrap; }
  .lightbox-nav { position: absolute; bottom: 1.2rem; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

/* ==== 12 Before/After ==================================================== */
.ba-slider {
  max-width: 56rem;
  margin-inline: auto;
  padding: 0.9rem;
  border-radius: var(--radius-lg);
}

.ba-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  aspect-ratio: 16/9;
  touch-action: pan-y; /* vertikales Scrollen bleibt möglich */
}

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

.ba-before-wrap {
  position: absolute;
  inset: 0;
  /* Sichtbaren Bereich steuert JS über --ba-pos */
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  translate: -1px 0;
  pointer-events: none;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #1c1208;
  background: var(--grad-warm);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
}

.ba-tag {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(8, 8, 11, 0.72);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; }

/* Unsichtbarer, aber fokussierbarer Range für Tastatur & Touch */
.ba-range {
  width: 100%;
  margin-top: 0.7rem;
  accent-color: var(--copper);
}

/* ==== 13 Reviews ========================================================= */
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(26rem, 82%);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--copper-deep) transparent;
}

.review {
  scroll-snap-align: start;
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius);
  display: grid;
  align-content: start;
  gap: 1rem;
}

.review-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; }

.review p { font-size: 1.02rem; line-height: 1.6; }

.review footer { display: grid; gap: 0.1rem; }
.review cite { font-style: normal; font-weight: 800; }
.review footer span { font-size: 0.84rem; color: var(--text-3); }

.reviews-nav { display: flex; gap: 0.6rem; margin-top: 1.2rem; }

.reviews-btn {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  transition: background-color 0.2s, border-color 0.2s;
}
.reviews-btn:hover { background: rgba(217, 154, 91, 0.15); border-color: var(--copper); }

/* ==== 14 Area ============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.area-copy h2 { margin-bottom: 1.2rem; }
.area-copy > p { color: var(--text-2); margin-bottom: 1.5rem; }

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.5rem;
  margin-bottom: 2rem;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}
.area-list li::before {
  content: "";
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: var(--grad-warm);
}

/* Dekorative Radar-Grafik */
.area-visual { display: grid; place-items: center; }

.area-rings {
  position: relative;
  width: min(24rem, 90%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.area-rings > span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.area-rings > span:nth-child(1) { inset: 0; animation: pulse-ring 5s ease-in-out infinite; }
.area-rings > span:nth-child(2) { inset: 17%; animation: pulse-ring 5s ease-in-out infinite 0.6s; }
.area-rings > span:nth-child(3) { inset: 34%; animation: pulse-ring 5s ease-in-out infinite 1.2s; }

@keyframes pulse-ring {
  0%, 100% { border-color: var(--border); }
  50% { border-color: rgba(217, 154, 91, 0.4); }
}

.area-pin {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  color: var(--copper);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}
.area-pin span { color: var(--text); font-weight: 800; font-size: 0.95rem; line-height: 1.3; }
.area-pin small { color: var(--text-3); font-weight: 600; }

.area-city {
  position: absolute;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.area-city-1 { top: 12%; left: 6%; }
.area-city-2 { top: 4%; right: 12%; }
.area-city-3 { bottom: 10%; left: 14%; }
.area-city-4 { bottom: 20%; right: 4%; }

@media (max-width: 62rem) {
  .area-grid { grid-template-columns: 1fr; }
}

/* ==== 15 FAQ ============================================================= */
.faq-container { max-width: 52rem; }

.faq-list { display: grid; gap: 0.8rem; }

.faq-item { border-radius: var(--radius); overflow: hidden; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }

.faq-icon {
  position: relative;
  flex: none;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0.7rem; height: 1.6px;
  background: var(--copper);
  translate: -50% -50%;
  transition: rotate 0.3s var(--ease-out);
}
.faq-icon::after { rotate: 90deg; }
.faq-item[open] .faq-icon::after { rotate: 0deg; }

.faq-body { padding: 0 1.4rem 1.3rem; }
.faq-body p { color: var(--text-2); font-size: 0.96rem; }

/* ==== 16 CTA-Banner ====================================================== */
.cta-banner { padding-block: 0 var(--section-pad); }

.cta-banner-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 2.5rem + 4vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
}

.cta-banner-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(38rem 20rem at 30% 0%, rgba(217, 154, 91, 0.2), transparent 60%),
    radial-gradient(30rem 18rem at 75% 100%, rgba(200, 67, 75, 0.14), transparent 60%);
  pointer-events: none;
}

.cta-banner-inner h2 { position: relative; margin-bottom: 0.9rem; }
.cta-banner-inner p {
  position: relative;
  color: var(--text-2);
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: var(--fs-lead);
}

.cta-banner-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* ==== 17 Contact ========================================================= */
.contact { padding-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info > p { color: var(--text-2); margin-bottom: 2rem; }
.contact-info strong { color: var(--text); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  font-style: normal;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.contact-card strong { color: var(--text); font-size: 0.95rem; }
a.contact-card:hover { transform: translateY(-4px); border-color: rgba(217, 154, 91, 0.45); }

.contact-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.7rem; height: 2.7rem;
  border-radius: 0.8rem;
  color: var(--copper);
  background: rgba(217, 154, 91, 0.1);
  border: 1px solid rgba(217, 154, 91, 0.25);
}

/* Formular */
.contact-form {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1.1rem;
}

.contact-form h3 { font-size: 1.4rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field { display: grid; gap: 0.4rem; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--text);
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: 0.7rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field textarea { resize: vertical; min-height: 7rem; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(217, 154, 91, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: var(--warm-red); }

.form-note { min-height: 1.2em; font-size: 0.86rem; color: var(--gold); }

.form-privacy { font-size: 0.78rem; color: var(--text-3); }

@media (max-width: 62rem) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .form-row, .contact-cards { grid-template-columns: 1fr; }
}

/* ==== 18 Footer ========================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  padding-top: clamp(3rem, 2.5rem + 3vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 20rem;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.1rem;
}

.footer-col ul { display: grid; gap: 0.55rem; }

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-contact li { font-size: 0.92rem; color: var(--text-2); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: var(--text-2); text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 62rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ==== 19 Legal-Seiten ==================================================== */
.legal-main {
  padding-top: clamp(8rem, 18vh, 11rem);
  padding-bottom: var(--section-pad);
}

.legal-content {
  max-width: 46rem;
}

.legal-content h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 0.9rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.8rem 0 0.5rem; }
.legal-content p, .legal-content li { color: var(--text-2); margin-bottom: 0.8rem; font-size: 0.97rem; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--gold); }
.legal-content ul { padding-left: 1.2rem; }

/* ==== 20 Reveal-Animationen & Motion ==================================== */
/* Nur mit aktivem JS werden Elemente initial versteckt (Progressive Enhancement) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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