/* ==========================================================================
   The Marble — One-Pager Stylesheet
   Struktur: Custom Properties -> Reset -> Layout-Helper -> Komponenten
   ========================================================================== */

:root {
  /* Farbpalette */
  --color-bg: #0c0c0d;
  --color-bg-alt: #141416;
  --color-surface: #1b1b1e;
  --color-surface-raised: #212124;
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-strong: rgba(255, 255, 255, 0.16);

  --color-marble: #f1efe9;
  --color-marble-muted: #c9c5bd;
  --color-marble-dim: #8f8b84;

  --color-wood: #b98858;
  --color-wood-light: #d3ab7c;
  --color-wood-dark: #7a5738;

  --color-text: #f1efe9;
  --color-text-muted: #a9a6a0;
  --color-text-faint: #706d68;

  /* Typografie */
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Abstände */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --container-width: 1240px;
  --header-height: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---------- Layout-Helper ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  position: relative;
  padding-block: var(--space-2xl);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-wood-light);
  margin-bottom: 0.4em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-wood-light);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--color-marble);
  margin-bottom: var(--space-sm);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.placeholder-note {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--color-wood-light);
  background: rgba(185, 136, 88, 0.12);
  border: 1px solid rgba(185, 136, 88, 0.3);
  padding: 0.25em 0.7em;
  border-radius: 3px;
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.9em;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn-primary {
  background: var(--color-wood);
  color: #17130d;
}

.btn-primary:hover {
  background: var(--color-wood-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--color-border-strong);
  color: var(--color-marble);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  border-color: var(--color-marble);
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  padding: 0.6em 1.3em;
  font-size: 0.82rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}

/* Kein voller Balken mehr beim Scrollen — nur der runde Fond des
   Hamburger-Buttons (siehe .site-header.is-scrolled .nav-toggle) sorgt
   für Kontrast. */

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-header-bar {
  justify-content: space-between;
}

.legal-brand {
  display: flex;
  align-items: center;
  color: var(--color-marble);
}

.legal-brand svg {
  width: 150px;
  height: auto;
  fill: currentColor;
}

/* ---------- Hamburger-Toggle (immer sichtbar, alle Breakpoints) ----------
   Startet zentriert über dem Hero; sobald gescrollt wird, wandert er an
   den rechten Rand und bleibt von dort aus bedienbar. Nur `left` ändert
   sich (transform bleibt konstant), damit die Bewegung sauber animiert. */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  z-index: 101;
  position: fixed;
  top: calc(var(--header-height) / 2);
  right: var(--space-md);
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(12, 12, 13, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.4s var(--ease-out);
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--color-marble);
  transition: transform 0.35s var(--ease-out), opacity 0.2s var(--ease-out), width 0.3s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Nav-Overlay (Menü) ---------- */
.nav-primary {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  background: rgba(10, 10, 11, 0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.nav-primary.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s var(--ease-out);
}

.nav-overlay-brand {
  color: var(--color-marble);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.nav-primary.is-open .nav-overlay-brand {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.nav-overlay-brand svg {
  width: clamp(190px, 26vw, 280px);
  height: auto;
  fill: currentColor;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.nav-links li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: calc(0.15s + var(--i) * 0.06s);
}

.nav-primary.is-open .nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.nav-links a {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-marble-muted);
  position: relative;
  padding-block: 0.2em;
  transition: color 0.25s var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-wood-light);
  transition: width 0.25s var(--ease-out);
}

.nav-links a:hover {
  color: var(--color-marble);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-overlay-cta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: 0.45s;
}

.nav-primary.is-open .nav-overlay-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 20% 0%, #2a2622 0%, transparent 55%),
    linear-gradient(160deg, #1a1a1c 0%, #0c0c0d 60%);
}

.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.5) 0%, rgba(6, 6, 7, 0.62) 45%, rgba(6, 6, 7, 0.88) 78%, rgba(6, 6, 7, 0.96) 100%),
    radial-gradient(120% 70% at 50% 100%, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
}

.hero-wipe {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-bg);
  transform-origin: bottom;
  pointer-events: none;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-height);
  padding-bottom: calc(var(--header-height) + 3.5rem);
  transform: translateY(0);
}

.hero-logo {
  color: var(--color-marble);
  margin-bottom: clamp(2.5rem, 8vh, 5.5rem);
}

.hero-logo svg {
  width: clamp(228px, 33vw, 447px);
  height: auto;
  fill: currentColor;
}

.scroll-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-md);
  justify-content: center;
  display: flex;
  animation: fadeIn 0.9s var(--ease-out) 1.1s both;
  align-items: center;
  gap: 0.7em;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.scroll-indicator .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--color-wood-light), transparent);
  animation: scrollLine 2.2s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Fixer Buchungs-Button */
.fixed-cta {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Intro — kurze Erklärung, was The Marble ist
   ========================================================================== */
.intro-section {
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: calc(var(--space-xl) + 2rem);
  overflow: hidden;
}

.intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/img/marmor-textur.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.intro-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 20, 22, 0) 0%, rgba(20, 20, 22, 0) calc(100% - 64px), rgba(20, 20, 22, 0.5) calc(100% - 26px), var(--color-bg-alt) 100%),
    linear-gradient(180deg, rgba(255, 253, 250, 0.5) 0%, rgba(255, 253, 250, 0.62) 100%);
}

.intro-section .container {
  position: relative;
  z-index: 2;
}

.intro-lead {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #17140f;
  max-width: 30ch;
}

.intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(23, 20, 15, 0.18);
}

.intro-body p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: #3a342b;
}

@media (max-width: 760px) {
  .intro-body {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ==========================================================================
   Feature-Rows (Bild/Text im Euromobil-Stil)
   ========================================================================== */
.features-section {
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-border);
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.feature-row--reverse {
  grid-template-columns: 1fr 1.3fr;
}

.feature-row--reverse .feature-media {
  grid-column: 2;
  grid-row: 1;
}

.feature-row--reverse .feature-text {
  grid-column: 1;
  grid-row: 1;
}

.feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-surface);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.feature-media video,
.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  padding-inline: var(--space-sm);
}

.feature-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-wood-light);
  margin-bottom: var(--space-sm);
}

.feature-text h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--color-marble);
  margin-bottom: var(--space-sm);
}

.feature-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 42ch;
}

/* ==========================================================================
   Preise (eigenständige Sektion, ohne Bild)
   ========================================================================== */
.pricing-section {
  border-bottom: 1px solid var(--color-border);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.price-card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-strong);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
  align-items: center;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.price-card:hover {
  background: #2a2a2e;
  border-color: rgba(255, 255, 255, 0.26);
}

.price-card-label {
  color: var(--color-marble);
  font-size: 1.1rem;
}

.price-card-label small {
  display: block;
  color: var(--color-text-faint);
  font-size: 0.8rem;
  margin-top: 0.3em;
}

.price-card-value {
  color: var(--color-wood-light);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  font-weight: 700;
}

/* ==========================================================================
   Galerie
   ========================================================================== */
.gallery-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 9, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item span {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  font-size: 0.78rem;
  color: var(--color-marble-muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.gallery-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item--marmor {
  grid-column: span 4;
  grid-row: span 3;
  background-color: #201d19;
}

.gallery-item--lamellen {
  grid-column: span 2;
  grid-row: span 3;
  background-color: #171310;
}

.gallery-item--detail1,
.gallery-item--detail2 {
  grid-column: span 3;
  grid-row: span 2;
  background-color: #201d19;
}

.gallery-item--detail1 {
}

.gallery-item--detail2 {
}

/* ==========================================================================
   Kundenstimmen
   ========================================================================== */
.testimonials-section {
  position: relative;
  background-color: var(--color-bg-alt);
  border-block: 1px solid var(--color-border);
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/img/akustikpaneel-textur.jpg");
  background-position: center 65%;
  background-size: cover;
  background-repeat: no-repeat;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.6) 0%, rgba(8, 7, 6, 0.4) 35%, rgba(8, 7, 6, 0.72) 100%);
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: rgba(12, 11, 10, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial-card p.quote {
  color: var(--color-marble-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  margin-top: auto;
}

.testimonial-author strong {
  color: var(--color-marble);
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--color-text-faint);
  font-size: 0.82rem;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.form-field label {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 2px;
  padding: 0.85em 1em;
  color: var(--color-text);
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-wood-light);
  background: var(--color-surface-raised);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

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

.form-status {
  font-size: 0.85rem;
  color: var(--color-wood-light);
  min-height: 1.2em;
}

.contact-info {
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info h3 {
  font-size: 1.4rem;
  color: var(--color-marble);
  margin-bottom: var(--space-xs);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.contact-block .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-wood-light);
}

.contact-block a,
.contact-block p {
  color: var(--color-marble-muted);
  font-size: 0.98rem;
}

.contact-block a:hover {
  color: var(--color-marble);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.footer-brand {
  color: var(--color-marble);
}

.footer-brand svg {
  display: block;
  width: 170px;
  height: auto;
  fill: currentColor;
}

.footer-claim {
  margin-top: var(--space-md);
  max-width: 34ch;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-wood-light);
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.footer-links a:hover,
.footer-address a:hover {
  color: var(--color-marble);
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */
.legal-page main {
  padding-block: calc(var(--header-height) + var(--space-xl)) var(--space-2xl);
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-marble);
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  font-size: 1.3rem;
  color: var(--color-marble);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-page p,
.legal-page li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  max-width: 70ch;
}

.legal-page a {
  color: var(--color-wood-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .feature-row--reverse .feature-media {
    grid-column: 1;
    grid-row: 1;
  }

  .feature-row--reverse .feature-text {
    grid-column: 1;
    grid-row: 2;
  }

  .feature-text {
    padding-inline: 0;
  }

  .testimonials-grid,
  .price-cards {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-info {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
  }
}

@media (max-width: 860px) {
  .nav-links a {
    font-size: 1.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item--marmor,
  .gallery-item--lamellen {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item--detail1,
  .gallery-item--detail2 {
    grid-column: span 1;
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  :root {
    --space-2xl: 5rem;
    --space-xl: 3.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
  }
}

/* WhatsApp-Button (floating) */
.whatsapp-fab {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease-out);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

.fixed-cta {
  right: calc(var(--space-md) + 52px + 0.75rem);
}

/* Preise / Texte */
.price-card-value small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-faint);
}

.feature-text p + p {
  margin-top: var(--space-sm);
}

.more-toggle {
  margin-top: var(--space-sm);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--color-wood-light);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.more-text p {
  margin-top: var(--space-sm);
}

/* Bild-Collagen in Feature-Zeilen */
.feature-media--collage {
  display: grid;
  gap: var(--space-xs);
  background: none;
}

.feature-media--collage img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

.feature-media--3 {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.feature-media--3 img:first-child {
  grid-row: span 2;
}

.feature-media--4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

/* Zusätzliche Detailbilder in der Galerie */
.gallery-item--third {
  grid-column: span 2;
  grid-row: span 2;
  background-color: #201d19;
}

@media (max-width: 860px) {
  .gallery-item--third {
    grid-column: span 1;
  }

  .gallery-item--buch {
    grid-column: span 2;
  }
}



@media (max-width: 640px) {
  .scroll-indicator {
    bottom: 6.5rem;
  }
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-wood);
  box-shadow: 0 0 0 4px rgba(185, 136, 88, 0.15);
}

/* Einblenden + Hover-Übergänge zusammenführen (sonst überschreibt .btn/.price-card die Reveal-Transition) */
.price-card.reveal {
  transition:
    opacity 1.2s var(--ease-smooth),
    transform 1.2s var(--ease-smooth),
    background-color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
  transition-delay: 0s, 0s, 0s, 0s;
}

.price-card.reveal-delay-1 { transition-delay: 0.15s, 0.15s, 0s, 0s; }
.price-card.reveal-delay-2 { transition-delay: 0.3s, 0.3s, 0s, 0s; }

@media (prefers-reduced-motion: reduce) {
  .price-card.reveal {
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
  }
}

/* Galerie: Wisch-Einblendung aus wechselnden Richtungen, nacheinander */
.gallery-grid.wipe-ready .gallery-item {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1);
}

.gallery-grid.wipe-ready .gallery-item img {
  transform: scale(1.18);
  transition: transform 1.6s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.gallery-grid.wipe-ready .gallery-item:nth-child(4n + 2) { clip-path: inset(0 0 100% 0); }
.gallery-grid.wipe-ready .gallery-item:nth-child(4n + 3) { clip-path: inset(0 0 0 100%); }
.gallery-grid.wipe-ready .gallery-item:nth-child(4n) { clip-path: inset(100% 0 0 0); }

.gallery-grid.wipe-ready.is-wiped .gallery-item {
  clip-path: inset(0 0 0 0);
}

.gallery-grid.wipe-ready.is-wiped .gallery-item img {
  transform: scale(1);
}

.gallery-grid.wipe-ready .gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-grid.wipe-ready .gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-grid.wipe-ready .gallery-item:nth-child(3) { transition-delay: 0.4s; }
.gallery-grid.wipe-ready .gallery-item:nth-child(4) { transition-delay: 0.6s; }
.gallery-grid.wipe-ready .gallery-item:nth-child(5) { transition-delay: 0.8s; }
.gallery-grid.wipe-ready .gallery-item:nth-child(6) { transition-delay: 1s; }
.gallery-grid.wipe-ready .gallery-item:nth-child(7) { transition-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .gallery-grid.wipe-ready .gallery-item,
  .gallery-grid.wipe-ready .gallery-item img {
    clip-path: none;
    transform: none;
    transition: none;
  }
}

/* Hero-Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Floating-Buttons: erst nach dem Hero sichtbar */
.float-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth), visibility 0s linear 0.5s, background-color 0.25s, border-color 0.25s, color 0.25s;
}

body.show-float .float-cta {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth), visibility 0s, background-color 0.25s, border-color 0.25s, color 0.25s;
}

body.show-float .whatsapp-fab:hover {
  transform: scale(1.08);
}

/* Galerie-Bilder füllen die Kachel */
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item::before {
  z-index: 1;
}

.gallery-item span {
  z-index: 2;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-item--marmor img {
  object-position: center 65%;
}

/* Alle Bilder: Button + Vollbild-Dialog mit Blend-Effekt */
.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

body.modal-open {
  overflow: hidden;
}

.all-dialog {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: rgba(8, 8, 9, 0.96);
  color: var(--color-marble);
  overflow-y: auto;
}

.all-dialog[open] {
  animation: allBlend 0.6s var(--ease-smooth) both;
}

.all-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

@keyframes allBlend {
  from { opacity: 0; backdrop-filter: blur(0); }
  to { opacity: 1; }
}

.all-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(180deg, rgba(8, 8, 9, 0.95), rgba(8, 8, 9, 0));
}

.all-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.all-close {
  background: none;
  border: 0;
  color: var(--color-marble);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.3em;
}

.all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--space-xs);
  padding: 0 var(--space-md) var(--space-lg);
  max-width: 1500px;
  margin-inline: auto;
}

.all-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: var(--color-surface);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
}

.all-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth), filter 0.4s;
}

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

.all-dialog[open] .all-item {
  animation: allItemBlend 0.9s var(--ease-smooth) both;
  animation-delay: calc(min(var(--i), 12) * 70ms + 150ms);
}

@keyframes allItemBlend {
  from { opacity: 0; filter: blur(14px); transform: scale(0.96); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

.all-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 4, 5, 0.96);
}

.all-lightbox[hidden] {
  display: none;
}

.all-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  animation: allItemBlend 0.5s var(--ease-smooth) both;
}

.all-lb-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
}

.all-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--color-marble);
  font-size: 3.2rem;
  cursor: pointer;
  padding: 0.3em 0.5em;
  z-index: 2;
}

.all-lb-prev { left: var(--space-xs); }
.all-lb-next { right: var(--space-xs); }

@media (prefers-reduced-motion: reduce) {
  .all-dialog[open],
  .all-dialog[open] .all-item,
  .all-lightbox img {
    animation: none;
  }
}

body.show-float.in-contact .fixed-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth), visibility 0s linear 0.4s;
}

/* Alternative Kontaktmöglichkeit unter dem Formular */
.contact-alt {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-alt-or {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-wood-light);
}

.contact-alt-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-marble);
}

.contact-alt-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  gap: 0.6em;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: #fff;
}

.btn-whatsapp svg {
  width: 1.2em;
  height: 1.2em;
}

body.show-float.in-contact .whatsapp-fab {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth), visibility 0s linear 0.4s;
}

/* Schwebendes Logo oben links + Verlauf, sobald der Hero verlassen wurde */
.site-header::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 150%;
  background: linear-gradient(180deg, rgba(8, 8, 9, 0.88) 0%, rgba(8, 8, 9, 0.55) 55%, rgba(8, 8, 9, 0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-smooth);
}

body.show-float .site-header::before {
  opacity: 1;
}

.header-logo {
  position: fixed;
  top: 0;
  left: var(--space-md);
  height: var(--header-height);
  display: flex;
  align-items: center;
  color: var(--color-marble);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth), visibility 0s linear 0.5s;
}

.header-logo svg {
  display: block;
  width: 180px;
  height: auto;
  fill: currentColor;
}

body.show-float .header-logo {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth), visibility 0s;
}

body.nav-open .header-logo {
  opacity: 0;
}

@media (max-width: 640px) {
  .header-logo svg {
    width: 136px;
  }
}

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

/* Sprachumschalter DE | EN */
.lang-switch {
  position: fixed;
  top: calc(var(--header-height) / 2);
  right: calc(var(--space-md) + 56px + 0.75rem);
  transform: translateY(-50%);
  z-index: 101;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(12, 12, 13, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.lang-switch a {
  padding: 0.35rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-text-faint);
  transition: color 0.25s var(--ease-out);
}

.lang-switch a + a {
  border-left: 1px solid var(--color-border-strong);
}

.lang-switch a:hover {
  color: var(--color-marble-muted);
}

.lang-switch a[aria-current="true"] {
  color: var(--color-marble);
}
