:root {
  --ink: #1b1b1b;
  --ink-soft: #2f2f2f;
  --ink-on-light: #1b1b1b;
  --ink-soft-on-light: #555555;
  --accent: #c86b33;
  --accent-dark: #9f4d1f;
  --sand: #f6efe7;
  --sand-strong: #efe2d2;
  --sky: #f8f4ee;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(27, 27, 27, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

[data-theme="dark"] {
  --ink: #ece8e2;
  --ink-soft: #bfb8ae;
  --ink-on-light: #1b1b1b;
  --ink-soft-on-light: #555555;
  --accent: #db8854;
  --accent-dark: #f4a36f;
  --sand: #1d1a18;
  --sand-strong: #171513;
  --sky: #11100f;
  --white: #f7f3ed;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff7ed 0%, #f3e7d7 42%, #f2efe9 100%);
  line-height: 1.6;
}

[data-theme="dark"] body {
  background: radial-gradient(circle at top, #23201d 0%, #171412 45%, #100f0e 100%);
}

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

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

#bequemlichkeit.section {
  padding-bottom: 0;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.legal-content {
  max-width: 840px;
}

.legal-content h1 {
  margin-bottom: 24px;
}

.legal-content h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.legal-content p {
  margin: 0 0 14px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin: 0 0 12px;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 16px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(250, 245, 239, 0.86);
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transform: scale(2.5);
  transform-origin: left center;
}

.brand-name {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(27, 27, 27, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: #5a5a5a;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.theme-icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: opacity 0.15s ease;
}

.theme-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.theme-moon {
  opacity: 0;
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(26, 24, 22, 0.9);
  color: #f0ede8;
}

[data-theme="dark"] .theme-sun {
  opacity: 0;
}

[data-theme="dark"] .theme-moon {
  opacity: 1;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

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

.hero {
  background: linear-gradient(120deg, rgba(26, 19, 14, 0.45), rgba(66, 43, 24, 0.35)),
    url("images/banner hero.webp") center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 110px;
}

[data-theme="dark"] .site-header {
  background: rgba(16, 14, 12, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .site-footer {
  background: #0d0c0b;
}

[data-theme="dark"] .btn-outline {
  border-color: var(--accent);
  color: var(--accent-dark);
}

[data-theme="dark"] .section a.btn-ghost {
  border-color: var(--accent);
  color: var(--accent-dark);
}

[data-theme="dark"] .hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.62), rgba(33, 22, 13, 0.52)),
    url("images/banner hero.webp") center/cover no-repeat;
}

[data-theme="dark"] .trust-list span,
[data-theme="dark"] .icon-card,
[data-theme="dark"] .price-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .detail-card,
[data-theme="dark"] .step,
[data-theme="dark"] .contact-form {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .eyebrow {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 24px;
}

.hero-notes {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-card {
  background: rgba(248, 240, 229, 0.92);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card-title {
  font-weight: 600;
  margin: 0 0 12px;
}

.hero-card-metrics {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.metric {
  font-weight: 600;
}

.metric-caption {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.trust {
  background: var(--sand-strong);
  padding: 18px 0;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.trust-row p {
  color: #ffffff;
}

.trust-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-list span {
  background: var(--white);
  color: var(--ink-on-light);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(27, 27, 27, 0.08);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.icon-card {
  background: var(--white);
  color: var(--ink-on-light);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.icon-image {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.price-card {
  background: var(--white);
  color: var(--ink-on-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card ul {
  padding-left: 18px;
  margin: 16px 0 24px;
}

.price-card li {
  margin-bottom: 6px;
}

.price-card.featured {
  border: 2px solid var(--accent);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.small-note {
  margin-top: 24px;
  font-size: 0.9rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.detail-card {
  background: var(--sand);
  padding: 22px;
  border-radius: var(--radius-md);
}

.gallery-shell {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px 24px 24px;
  background: linear-gradient(140deg, #24160f 0%, #3a2418 48%, #6f3f27 100%);
  box-shadow: 0 24px 48px rgba(27, 27, 27, 0.28);
  overflow: hidden;
}

.gallery-shell::before,
.gallery-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.gallery-shell::before {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 196, 124, 0.25), rgba(255, 196, 124, 0));
  top: -180px;
  right: -80px;
}

.gallery-shell::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 233, 214, 0.18), rgba(255, 233, 214, 0));
  bottom: -180px;
  left: -60px;
}

.gallery-viewport {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 11, 8, 0.9);
  perspective: 1400px;
}

.gallery-track {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 22px);
  padding: 26px clamp(120px, 14vw, 220px) 34px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.gallery-slide {
  --offset: 0;
  --abs-offset: 0;
  flex: 0 0 clamp(275px, 30vw, 425px);
  margin: 0;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(16, 11, 8, 0.95));
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  transform-style: preserve-3d;
  transform:
    translateX(calc(var(--offset) * -16px))
    rotateY(calc(var(--offset) * -15deg))
    translateZ(calc((3 - var(--abs-offset)) * 42px))
    scale(calc(1 - (var(--abs-offset) * 0.12)));
  opacity: calc(1 - (var(--abs-offset) * 0.2));
  transition: transform 0.62s cubic-bezier(0.2, 0.75, 0.25, 1), opacity 0.4s ease;
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.03);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-slide.is-active {
  opacity: 1;
}

.gallery-slide.is-active::after {
  opacity: 0.35;
}

.gallery-slide.is-active .gallery-image {
  transform: scale(1);
  filter: saturate(1.12) contrast(1.06);
}

.gallery-nav {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(11, 8, 6, 0.62);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.04);
}

.gallery-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

.gallery-footer {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-caption {
  margin: 0;
  color: rgba(255, 244, 234, 0.95);
  max-width: 70ch;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.gallery-dot.is-active {
  width: 28px;
  background: var(--white);
}

.gallery-count {
  color: rgba(255, 244, 234, 0.9);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.media-placeholder {
  border-radius: var(--radius-md);
  border: 2px dashed rgba(27, 27, 27, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(240, 229, 214, 0.6));
  min-height: 200px;
  display: grid;
  place-items: center;
  color: rgba(27, 27, 27, 0.6);
  font-weight: 600;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.before-after span {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.ba-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  user-select: none;
}

.ba-slider img {
  display: block;
  width: 100%;
  height: auto;
}

.ba-after {
  position: relative;
  z-index: 1;
}

.ba-before {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 3;
  margin-left: -1px;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(27, 27, 27, 0.35);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
}

.ba-slider.is-dragging {
  cursor: grabbing;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.step {
  background: var(--white);
  color: var(--ink-on-light);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.step-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
  align-items: center;
}

.about-media {
  min-height: 320px;
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.review-section-inner {
  width: min(1700px, 98vw);
}

.review-row {
  position: relative;
  padding: 0 44px;
}

.review-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 6px 14px;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.review-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 clamp(280px, 30vw, 420px);
  background: var(--white);
  color: var(--ink-on-light);
  padding: 24px;
  border-radius: var(--radius-md);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 250px;
  scroll-snap-align: start;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.review-stars {
  color: #d28a39;
  letter-spacing: 0.08em;
  font-size: 1rem;
  line-height: 1;
}

.review-date {
  font-size: 0.84rem;
  color: var(--ink-soft-on-light);
  font-variant-numeric: tabular-nums;
}

.review-card p {
  margin: 0;
}

.review-author {
  color: var(--ink-soft-on-light);
  font-weight: 600;
  font-size: 0.93rem;
}

.review-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #7a7a7a;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.review-arrow-left {
  left: 2px;
}

.review-arrow-right {
  right: 2px;
}

.contact {
  background: var(--sand-strong);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  color: var(--ink-on-light);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(27, 27, 27, 0.2);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(200, 107, 51, 0.4);
  border-color: var(--accent);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 24px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(27, 27, 27, 0.12);
}

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

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

.btn-outline {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: inherit;
}

.section a.btn-ghost {
  border-color: var(--accent);
  color: var(--accent-dark);
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .review-row {
    padding: 0 34px;
  }

  .review-grid {
    gap: 14px;
    padding: 6px 4px 10px;
  }

  .review-card {
    flex-basis: 82vw;
    padding: 20px;
    min-height: 220px;
  }

  .review-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.6rem;
  }

  .gallery-shell {
    padding: 18px 12px 16px;
  }

  .gallery-track {
    gap: 10px;
    padding: 18px 72px 22px;
  }

  .gallery-slide {
    flex-basis: 80vw;
    aspect-ratio: 4 / 3;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: 39%;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-caption {
    font-size: 0.95rem;
  }

  .hero {
    padding: 90px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    margin-top: 12px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.85);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 50;
  padding: 24px;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #1b1b1b;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #fff;
}
