/* ============ Tokens ============ */
:root {
  --paper: #fff;
  --paper-alt: #f1f6ef;
  --paper-deep: #e3ede0;
  --ink: #1e231f;
  --ink-soft: #565c4e;
  --ink-faint: #8a8d7c;
  --pine: #1e6b45;
  --pine-deep: #123d28;
  --pine-bright: #2e9160;
  --navy: #2b3654;
  --navy-soft: #485174;
  --line: #d7e0d2;
  --whatsapp: #25d366;
  --whatsapp-deep: #128c4a;
  --amber: #a9791f;
  --shadow: rgb(30 35 31 / 16%);
  --focus: #b8892b;
  --header-bg: var(--paper);
  --header-ink: var(--ink);
  --header-ink-muted: var(--ink-soft);
  --brand-badge-bg: var(--paper-alt);
  --footer-bg: var(--pine-deep);
  --footer-ink: #f0ead6;
  --footer-ink-muted: #9fc5ae;
  --font-display: 'Segoe UI', 'Helvetica Neue', arial, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, arial, sans-serif;
  --font-mono: 'Consolas', 'SFMono-Regular', 'Roboto Mono', menlo, monospace;

  /* Fallback for the one frame before script.js measures the real <header>
     height via ResizeObserver; kept close to today's desktop header size. */
  --navbar-height: 92px;
}

/* Bewusst ein einziges, festes Farbschema (Grün/Weiß) unabhängig vom System-Farbmodus. */

/* Smooth cross-document transitions between pages (Chromium; a no-op progressive
   enhancement elsewhere - other browsers just keep today's plain navigation). */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

main {
  background: var(--paper);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

@media (width <= 720px) {
  section {
    padding: 3.25rem 0;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.2rem;
  text-transform: none;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 1.6rem;
  height: 2px;
  background: var(--pine);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.btn-primary {
  background: var(--pine);
  color: #f7f4e9;
  box-shadow: 0 3px 0 var(--pine-deep);
}

.btn-primary:hover {
  background: var(--pine-bright);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--pine-deep);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--pine-deep);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #0b2717;
  box-shadow: 0 3px 0 var(--whatsapp-deep);
}

.btn-whatsapp:hover {
  background: #33e074;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--whatsapp-deep);
}

.btn-whatsapp:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--whatsapp-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--pine);
  text-decoration: none;
}

.link-arrow svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.15s ease;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ============ Header ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px var(--shadow);
}

/* Wider than the site's normal 1180px content width: laptop-class screens
   (1280-1600px) should see the nav bar span most of the viewport, not sit
   in a narrow centered strip. Still caps out on large/ultra-wide monitors. */
header .container {
  max-width: 1600px;
  padding: 0 2rem;
}

.nav-row {
  display: flex;
  align-items: center;
  padding: 0.9rem 0;
  gap: 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 60px;
  height: 60px;
  flex: none;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--header-ink);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--header-ink-muted);
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

nav.primary-nav a {
  text-decoration: none;
  color: var(--header-ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

nav.primary-nav a:hover {
  background: color-mix(in srgb, var(--header-ink) 14%, transparent);
  color: var(--header-ink);
}

nav.primary-nav a.active {
  background: var(--header-ink);
  color: var(--header-bg);
}

nav.primary-nav a.active:hover {
  background: var(--header-ink);
  color: var(--header-bg);
  opacity: 0.92;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: color-mix(in srgb, var(--header-ink) 14%, transparent);
  border-radius: 999px;
  padding: 0.2rem;
}

.lang-switch button {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  background: transparent;
  color: var(--header-ink-muted);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.lang-switch button:hover {
  color: var(--header-ink);
}

.lang-switch button.is-active-lang {
  background: var(--header-ink);
  color: var(--header-bg);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.lang-switch-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
  margin-inline-start: auto;
}

.tel-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--header-ink);
  white-space: nowrap;
}

.tel-link svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--header-ink-muted);
  flex: none;
}

.tel-link .tel-text {
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

a[href^='tel:'] {
  direction: ltr;
  unicode-bidi: isolate;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  border-radius: 3px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--header-ink);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

@media (width <= 1150px) {
  .nav-row {
    direction: ltr;
  }

  :root[dir='rtl'] .brand-text {
    direction: rtl;
  }

  nav.primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    background: var(--header-bg);
    border-bottom: 1px solid color-mix(in srgb, var(--header-ink) 25%, transparent);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.5rem 1.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.32s ease,
      opacity 0.22s ease,
      visibility 0s linear 0.32s;
  }

  nav.primary-nav.open {
    opacity: 1;
    visibility: visible;
    transition:
      max-height 0.32s ease,
      opacity 0.22s ease;
  }

  nav.primary-nav a {
    padding: 0.75rem 0.5rem;
    border-radius: 6px;
  }

  .header-actions .lang-switch {
    display: none;
  }

  .lang-switch-mobile {
    display: flex;
    align-self: flex-start;
    margin-top: 0.85rem;
  }

  .header-actions .btn-whatsapp {
    display: none;
  }

  .tel-link {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions {
    gap: 0.5rem;
  }
}

@media (width <= 480px) {
  .nav-row {
    gap: 0.75rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .wa-float {
    width: 52px;
    height: 52px;
  }
}

/* ============ Hero Karussell ============ */

/* Shared by every image carousel on the site (the home hero and the
   service-details hero) - position/clipping/fallback colors and the
   hover/focus reveal for nav buttons are identical everywhere; each specific
   carousel (.hero-carousel, .details-hero) only adds its own height. */
.carousel {
  position: relative;
  overflow: hidden;
  color: #f5f1e4;
  background: var(--ink);
  touch-action: pan-y;
}

.carousel:hover .hero-nav-btn,
.carousel:focus-within .hero-nav-btn {
  opacity: 1;
}

.hero-carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* Override the generic `section { padding: 5rem 0 }` base rule: the hero
     already gets its own internal spacing from .hero-carousel-content's
     padding-block plus this flex centering, so the sitewide section padding
     was pure redundant height on top of that - stacking with it needlessly
     inflated the hero's natural content-driven height (irrelevant before,
     since min-height's old, navbar-unaware target always exceeded it anyway;
     relevant now that the target below is deliberately tighter). */
  padding: 0;

  /* Target = one viewport minus the sticky header above it, so header + hero
     together fill exactly 100dvh and scrolling one screenful lands on the
     next section instead of leaving a leftover sliver of hero on screen.
     Deliberately no explicit `height`: box height stays auto (content-driven),
     with min-height only as a floor, so content taller than the target still
     grows the box instead of clipping - see .plan/011/013. An explicit `height`
     here - even set to this same value - would remove that auto-grow behavior
     entirely, since a definite height no longer measures content to size itself. */
  min-height: calc(100vh - var(--navbar-height));
  min-height: clamp(480px, calc(100dvh - var(--navbar-height)), 960px);
}

.hero-skeleton {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  background: var(--ink);
  transition: opacity 0.4s ease;
}

.hero-skeleton.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-skeleton-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 640px;
  width: 100%;
}

.skeleton-bar {
  display: block;
  border-radius: 4px;
  background: linear-gradient(
    100deg,
    rgb(245 241 228 / 8%) 20%,
    rgb(245 241 228 / 18%) 50%,
    rgb(245 241 228 / 8%) 80%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-eyebrow {
  width: 220px;
  height: 14px;
}

.skeleton-heading-1 {
  width: 90%;
  height: 34px;
}

.skeleton-heading-2 {
  width: 60%;
  height: 34px;
  margin-bottom: 0.4rem;
}

.skeleton-lead-1 {
  width: 100%;
  height: 14px;
}

.skeleton-lead-2 {
  width: 75%;
  height: 14px;
  margin-bottom: 0.6rem;
}

.skeleton-cta-row {
  display: flex;
  gap: 0.9rem;
}

.skeleton-btn {
  width: 180px;
  height: 48px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-bar {
    animation: none;
  }
}

@media (width <= 760px) {
  .skeleton-heading-1,
  .skeleton-heading-2 {
    height: 28px;
  }

  .skeleton-btn {
    width: 150px;
    height: 44px;
  }
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img,
.hero-slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-scrim {
  position: absolute;
  height: 100vh;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgb(15 20 13 / 92%) 0%,
      rgb(15 20 13 / 72%) 38%,
      rgb(15 20 13 / 28%) 68%,
      rgb(15 20 13 / 5%) 100%
    ),
    linear-gradient(to top, rgb(15 20 13 / 65%) 0%, rgb(15 20 13 / 0%) 40%);
}

.hero-slide-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgb(245 241 228 / 14%);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(245 241 228 / 30%);
  color: #f5f1e4;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.hero-carousel-content {
  position: relative;
  z-index: 2;
  padding-block: 2rem 6rem;
}

.hero-text {
  width: 100%;
  max-width: 640px;
}

.hero-carousel-content .eyebrow {
  color: var(--pine-bright);
}

.hero-carousel-content .eyebrow::before {
  background: var(--pine-bright);
}

.hero-carousel-content h1 {
  color: #f5f1e4;
  text-shadow: 0 2px 18px rgb(0 0 0 / 35%);
}

.hero-carousel-content .lead {
  color: rgb(245 241 228 / 88%);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-top: 1.1rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgb(245 241 228 / 85%);
}

.trust-item svg {
  width: 1.15em;
  height: 1.15em;
  color: var(--pine-bright);
  flex: none;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgb(255 255 255 / 14%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    background 0.15s ease,
    opacity 0.2s ease;
}

@media (hover: none) {
  .hero-nav-btn {
    opacity: 1;
  }
}

.hero-nav-btn:hover {
  background: rgb(255 255 255 / 26%);
}

.hero-nav-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.hero-nav-btn svg {
  width: 22px;
  height: 22px;
}

.hero-nav-prev {
  left: 1rem;
}

.hero-nav-next {
  right: 1rem;
}

:root[dir='rtl'] .hero-nav-prev {
  left: auto;
  right: 1rem;
}

:root[dir='rtl'] .hero-nav-next {
  right: auto;
  left: 1rem;
}

@media (width <= 640px) {
  .hero-nav-btn {
    display: none;
  }
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(245 241 228 / 40%);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-dot:hover {
  background: rgb(245 241 228 / 70%);
}

.hero-dot.is-active {
  background: #f5f1e4;
  transform: scale(1.35);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (width <= 760px) {
  .hero-scrim {
    background: linear-gradient(
      to top,
      rgb(15 20 13 / 90%) 0%,
      rgb(15 20 13 / 50%) 45%,
      rgb(15 20 13 / 72%) 100%
    );
  }

  .hero-carousel-content {
    max-width: 100%;
    padding-bottom: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* ============ Page header (Unterseiten) ============ */
.page-header {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.75rem;
}

.page-header .section-head {
  margin-bottom: 0;
}

/* ============ Leistung details ============ */
.details-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  min-height: clamp(420px, 60vh, 640px); /* no-dvh fallback */
  min-height: clamp(420px, 60dvh, 640px);
}

.details-hero-text h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

.details-back-row {
  padding-top: 1.75rem;
}

.link-arrow-back:hover svg {
  transform: translateX(-3px);
}

:root[dir='rtl'] .link-arrow-back:hover svg {
  transform: translateX(3px);
}

.details-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

@media (width <= 860px) {
  .details-content-grid {
    grid-template-columns: 1fr;
  }
}

.details-description p {
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}

.details-description ul,
.details-description ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.details-description li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.details-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--pine);
}

.details-description ol {
  counter-reset: details-steps;
}

.details-description ol li {
  counter-increment: details-steps;
  padding-left: 1.9rem;
}

.details-description ol li::before {
  content: counter(details-steps) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pine);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

:root[dir='rtl'] .details-description li {
  padding-left: 0;
  padding-right: 1.6rem;
}

:root[dir='rtl'] .details-description ol li {
  padding-right: 1.9rem;
}

:root[dir='rtl'] .details-description ul li::before,
:root[dir='rtl'] .details-description ol li::before {
  left: auto;
  right: 0;
}

.details-notes {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine);
  border-radius: 4px;
  padding: 1.5rem;
}

.details-notes-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 0.6rem;
}

.details-notes p {
  font-size: 0.92rem;
}

:root[dir='rtl'] .details-notes {
  border-left: 1px solid var(--line);
  border-right: 4px solid var(--pine);
}

/* ============ Details images section ============ */

/* A smaller, framed cousin of the hero carousel (same .hero-slide/.hero-dot/
   .hero-nav-btn internals via DP_CAROUSEL) for this service's own photos,
   rounded and bordered like a content card rather than full-bleed. */
.details-gallery-viewer {
  aspect-ratio: 16 / 9;
  max-width: 640px;
  max-height: 360px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px var(--shadow);
  cursor: zoom-in;
}

.details-gallery-zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgb(255 255 255 / 14%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    background 0.15s ease,
    opacity 0.2s ease;
}

.carousel:hover .details-gallery-zoom,
.carousel:focus-within .details-gallery-zoom {
  opacity: 1;
}

@media (hover: none) {
  .details-gallery-zoom {
    opacity: 1;
  }
}

.details-gallery-zoom:hover {
  background: rgb(255 255 255 / 26%);
}

.details-gallery-zoom:focus-visible {
  opacity: 1;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.details-gallery-zoom svg {
  width: 18px;
  height: 18px;
}

:root[dir='rtl'] .details-gallery-zoom {
  right: auto;
  left: 1rem;
}

@media (width <= 640px) {
  .details-gallery-viewer {
    max-height: 300px;
  }
}

/* ============ Section headers ============ */
.section-head {
  max-width: 60ch;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  margin-top: 0.6rem;
}

.section-head p {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============ Leistungen ============ */
.services-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px var(--shadow);
  border-color: var(--pine);
}

.service-media {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pine), var(--pine-deep));
}

.service-media img,
.service-media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.service-card:hover .service-media img,
.service-card:hover .service-media > svg {
  transform: scale(1.06);
}

.service-media.icon-only {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-media.icon-only svg {
  width: 30%;
  height: 30%;
  color: #f7f4e9;
  opacity: 0.92;
}

.service-body {
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

.service-card p {
  font-size: 0.92rem;
}

.section-cta {
  margin-top: 2.75rem;
  text-align: center;
}

.service-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.4rem;

  /* Spreads "Details ansehen" and "Anfragen" to opposite ends of the row -
     needs .service-request-btn's `order` below too, since it's the first
     child in markup and space-between alone would put it at the row's
     *start*, not its end. */
  justify-content: space-between;
}

.service-request-btn {
  font-size: 0.85rem;
  padding: 0.65rem 1.1rem;

  /* Visually moves it after "Details ansehen" so space-between above lands
     it at the row's trailing edge - flush right in LTR, flush left in RTL,
     since flex start/end are logical, not physical. */
  order: 1;
}

.service-view-btn {
  font-size: 0.85rem;
}

/* ============ Process ============ */
.process-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-alt);
}

.process-step {
  flex: 1;
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.process-step + .process-step {
  border-left: 1px dashed var(--line);
}

.process-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--pine);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-step h3 {
  font-size: 1.05rem;
}

.process-step p {
  font-size: 0.9rem;
}

@media (width <= 760px) {
  .process-strip {
    flex-direction: column;
  }

  .process-step + .process-step {
    border-left: none;
    border-top: 1px dashed var(--line);
  }
}

/* ============ USP / Warum wir ============ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.usp-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.usp-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pine);
  color: #f7f4e9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.usp-icon svg {
  width: 24px;
  height: 24px;
}

.usp-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.usp-card p {
  font-size: 0.92rem;
}

/* ============ Home Galerie-Vorschau ============ */
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.home-gallery-item {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-gallery-item:hover img {
  transform: scale(1.08);
}

.home-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--ink) 45%, transparent),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.home-gallery-item:hover::after,
.home-gallery-item:focus-visible::after {
  opacity: 1;
}

/* ============ CTA banner ============ */
.cta-banner {
  background: var(--pine);
  color: #f7f4e9;
  border-radius: 8px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.cta-banner h2 {
  color: #f7f4e9;
  text-align: left;
}

.cta-banner p {
  color: color-mix(in srgb, #f7f4e9 80%, transparent);
  margin-top: 0.5rem;
  max-width: 44ch;
}

.cta-banner .hero-ctas {
  margin-top: 0;
}

.cta-banner .btn-primary {
  background: #f7f4e9;
  color: var(--pine-deep);
  box-shadow: 0 3px 0 rgb(0 0 0 / 15%);
}

.cta-banner .btn-primary:hover {
  background: #fff;
}

/* ============ Bewertungen ============ */
.review-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

@media (width <= 900px) {
  .review-wrap {
    grid-template-columns: 1fr;
  }
}

.review-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--line);
}

.stars svg {
  width: 1.3rem;
  height: 1.3rem;
}

.stars svg.is-filled {
  color: var(--amber);
}

.review-card p {
  font-size: 1rem;
}

.review-entry-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.review-entry-meta strong {
  font-size: 0.92rem;
}

.review-entry-meta span {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.star-rating {
  display: flex;
  gap: 0.3rem;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.star-rating label {
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--line);
  transition:
    color 0.15s ease,
    transform 0.1s ease;
}

.star-rating label svg {
  width: 26px;
  height: 26px;
}

.star-rating label:hover {
  transform: scale(1.08);
}

.star-rating label.is-filled {
  color: var(--amber);
}

.star-rating input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ Order popup ============ */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgb(10 12 9 / 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}

/* The overlay itself never scrolls - it's always exactly the viewport, so
   the dialog it centers never drifts off-screen. Only the dialog's own
   content scrolls (see .modal-dialog) when it's taller than the available
   space, so the popup's on-screen position stays fixed regardless of
   content length or viewport height. */
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

/* A non-scrolling frame (fixed on screen) around a scrolling inner region
   (.modal-dialog-scroll) - not one scrolling box - so .modal-close can be
   pinned to the frame's corner without scrolling away with the form content
   on short viewports. */
.modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1020px;
  max-height: calc(100vh - 4rem); /* no-dvh fallback */
  max-height: calc(100dvh - 4rem);
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgb(0 0 0 / 40%);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-dialog-scroll {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--paper-deep) transparent;
}

.modal-dialog-scroll::-webkit-scrollbar {
  width: 8px;
}

.modal-dialog-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.modal-dialog-scroll::-webkit-scrollbar-thumb {
  background: var(--paper-deep);
  border-radius: 99px;
}

.modal-dialog-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--pine);
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal-dialog {
    transition: none;
  }
}

.order-modal-dialog .modal-dialog-scroll {
  padding: 2.75rem clamp(1.25rem, 4vw, 3rem);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--paper-alt);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.modal-close:hover {
  background: var(--paper-deep);
}

.modal-close:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

:root[dir='rtl'] .modal-close {
  right: auto;
  left: 1rem;
}

@media (width <= 640px) {
  .order-modal-dialog .modal-dialog-scroll {
    padding: 3.5rem 1.25rem 2rem;
  }
}

/* ============ Order form ============ */
.order-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

@media (width <= 900px) {
  .order-wrap {
    grid-template-columns: 1fr;
  }
}

.order-info-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-info-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.order-info-list svg {
  width: 1.3em;
  height: 1.3em;
  color: var(--pine);
  flex: none;
  margin-top: 0.1em;
}

.ticket {
  position: relative;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.2rem;
}

.ticket::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background-image: radial-gradient(circle, var(--paper) 2.5px, transparent 2.6px);
  background-size: 100% 16px;
  background-position: center;
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
}

.ticket-head span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

@media (width <= 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.field label .opt {
  font-weight: 400;
  color: var(--ink-faint);
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 18%, transparent);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: var(--font-body);
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-align: center;
}

.form-note a {
  color: var(--pine);
  font-weight: 700;
  text-decoration: underline;
}

.form-status {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  min-height: 1.2em;
}

.form-status.ok {
  color: var(--pine);
}

.form-status.err {
  color: #b23b2e;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b23b2e;
}

.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, #b23b2e 18%, transparent);
}

.field-error {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b23b2e;
  min-height: 1em;
}

/* ============ Galerie – großer Bildschirm (TV-Look) ============ */
.gallery-screen-section {
  padding: 2.5rem 0 1rem;
}

.gallery-screen-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 22px 34px;
  border-radius: 18px;
  background: linear-gradient(160deg, #333833, #0a0c09 65%);
  box-shadow:
    0 30px 70px rgb(0 0 0 / 40%),
    0 1px 0 rgb(255 255 255 / 7%) inset,
    0 0 0 1px rgb(0 0 0 / 40%);
}

.gallery-screen {
  position: relative;
  width: 100%;

  /* Tracks the home hero's own navbar-aware height formula
     (.hero-carousel, see .plan/014), scaled to 80% - 384/768 are the hero's
     480/960 min/max bounds x0.8. The screen's children (#screenSlides) are
     absolutely positioned, so a hard `height` is safe here without the
     content-clipping risk that formula avoids for the hero via `min-height`. */
  height: calc((100vh - var(--navbar-height)) * 0.8); /* no-dvh fallback */
  height: clamp(384px, calc((100dvh - var(--navbar-height)) * 0.8), 768px);
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  cursor: zoom-in;
  border: none;
  padding: 0;
  display: block;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 60%) inset;
  touch-action: pan-y;
}

.screen-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  overflow: hidden;
}

.screen-slide.is-active {
  opacity: 1;
}

.screen-slide-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(28px) brightness(0.55) saturate(1.15);
  transform: scale(1.15);
}

.screen-slide-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-screen-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(120deg, rgb(255 255 255 / 7%) 0%, transparent 26%);
}

.screen-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgb(255 255 255 / 14%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    background 0.15s ease,
    opacity 0.2s ease;
}

.gallery-screen:hover .screen-nav-btn,
.gallery-screen:focus-within .screen-nav-btn {
  opacity: 1;
}

@media (hover: none) {
  .screen-nav-btn {
    opacity: 1;
  }
}

.screen-nav-btn:hover {
  background: rgb(255 255 255 / 26%);
}

.screen-nav-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.screen-nav-btn svg {
  width: 22px;
  height: 22px;
}

.screen-nav-prev {
  left: 0.75rem;
}

.screen-nav-next {
  right: 0.75rem;
}

:root[dir='rtl'] .screen-nav-prev {
  left: auto;
  right: 0.75rem;
}

:root[dir='rtl'] .screen-nav-next {
  right: auto;
  left: 0.75rem;
}

@media (width <= 640px) {
  .screen-nav-btn {
    display: none;
  }
}

.screen-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: 70%;
}

.screen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(255 255 255 / 35%);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.screen-dot:hover {
  background: rgb(255 255 255 / 60%);
}

.screen-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

.screen-dot:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.gallery-screen-led {
  position: absolute;
  bottom: 11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pine-bright);
  box-shadow: 0 0 6px 1px color-mix(in srgb, var(--pine-bright) 70%, transparent);
}

.gallery-screen-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-screen-neck {
  width: 16px;
  height: 22px;
  background: linear-gradient(180deg, #2e2e2e, #0a0a0a);
}

.gallery-screen-base {
  width: min(220px, 45%);
  height: 12px;
  background: linear-gradient(180deg, #2e2e2e, #0a0a0a);
  clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 10px 18px rgb(0 0 0 / 30%);
}

@media (prefers-reduced-motion: reduce) {
  .screen-slide {
    transition: none;
  }
}

/* ============ Galerie ============ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.gallery-filter {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.gallery-filter:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.gallery-filter.is-active {
  background: var(--pine);
  border-color: var(--pine);
  color: #f7f4e9;
}

.gallery-filter:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.gallery-item.is-hidden {
  display: none;
}

@keyframes gallery-item-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item-in {
  animation: gallery-item-in 0.4s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item-in {
    animation: none;
  }
}

.gallery-load-more {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
}

.gallery-load-more.is-hidden {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4/3;
  background: var(--paper-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--ink) 55%, transparent),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item .zoom-icon {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.gallery-item .zoom-icon svg {
  width: 16px;
  height: 16px;
}

.gallery-item:hover .zoom-icon,
.gallery-item:focus-visible .zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(10 12 9 / 92%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-figure {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 50%);
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #d8d3c2;
}

.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    background 0.15s ease,
    opacity 0.2s ease;
}

.lightbox:hover .lightbox-btn,
.lightbox-btn:focus-visible {
  opacity: 1;
}

@media (hover: none) {
  .lightbox-btn {
    opacity: 1;
  }
}

.lightbox-btn:hover {
  background: rgb(255 255 255 / 22%);
}

.lightbox-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.lightbox-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgb(255 255 255 / 22%);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

@media (width <= 640px) {
  .lightbox-btn {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 0.4rem;
  }

  .lightbox-next {
    right: 0.4rem;
  }
}

:root[dir='rtl'] .lightbox-prev {
  left: auto;
  right: 1rem;
}

:root[dir='rtl'] .lightbox-next {
  right: auto;
  left: 1rem;
}

:root[dir='rtl'] .lightbox-close {
  right: auto;
  left: 1rem;
}

:root[dir='rtl'] .gallery-item .zoom-icon {
  right: auto;
  left: 0.6rem;
}

:root[dir='rtl'] .hero-slide-badge {
  right: auto;
  left: 1.5rem;
}

/* ============ Kontakt ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (width <= 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-card .cicon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #f7f4e9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-card .cicon svg {
  width: 20px;
  height: 20px;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--pine);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

@media (width <= 760px) {
  .map-embed {
    aspect-ratio: 4 / 5;
  }
}

/* ============ Footer ============ */
footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 4rem 0 2rem;
}

footer h2 {
  color: var(--footer-ink);
}

footer .eyebrow {
  color: var(--footer-ink-muted);
}

footer .eyebrow::before {
  background: var(--footer-ink-muted);
}

footer p {
  color: color-mix(in srgb, var(--footer-ink) 78%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (width <= 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.25rem;
  }
}

@media (width <= 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  grid-column: 1 / span 1;
}

@media (width <= 900px) {
  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: none;
}

.footer-brand-mark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--footer-ink);
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-col-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--footer-ink);
  margin: 0 0 1.1rem;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-list a {
  font-size: 0.92rem;
  text-decoration: none;
  color: color-mix(in srgb, var(--footer-ink) 80%, transparent);
  transition: color 0.15s ease;
}

.footer-nav-list a:hover {
  color: var(--pine-bright);
}

footer .order-info-list {
  margin-top: 0;
}

footer .order-info-list li {
  color: color-mix(in srgb, var(--footer-ink) 82%, transparent);
}

footer .order-info-list svg {
  color: var(--footer-ink-muted);
}

footer .order-info-list a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

footer .order-info-list a:hover {
  color: var(--pine-bright);
}

.impressum-block {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--footer-ink) 78%, transparent);
  line-height: 1.8;
}

.impressum-block strong {
  color: var(--footer-ink);
}

.impressum-block h3 {
  color: var(--footer-ink);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--footer-ink) 22%, transparent);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--footer-ink) 65%, transparent);
}

.footer-bottom nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom a {
  text-decoration: underline;
  color: inherit;
}

.footer-bottom a:hover {
  color: var(--pine-bright);
}

/* ============ Floating WhatsApp ============ */

/* .wa-dock is a zero-height sticky anchor so the button follows scrolling
   like position:fixed, but naturally stops at the end of <main> instead of
   floating over the footer. */
.wa-dock {
  position: sticky;
  bottom: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 60;
}

.wa-float {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #0b2717;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgb(0 0 0 / 28%);
  text-decoration: none;
  pointer-events: auto;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 2.2s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::after {
    animation: none;
    display: none;
  }
}

/* Set for the duration of a DP_SWIPE drag so dragging across text (e.g. the
   hero heading) doesn't select it - not a permanent user-select:none, which
   would block legitimately selecting/copying that text otherwise. */
body.dp-swiping {
  user-select: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ============ RTL (Arabisch) ============ */
:root[dir='rtl'] body {
  font-family: var(--font-body), Tahoma, Arial, sans-serif;
}

:root[dir='rtl'] .skip-link {
  left: auto;
  right: -999px;
}

:root[dir='rtl'] .skip-link:focus {
  left: auto;
  right: 1rem;
}

:root[dir='rtl'] .ticket::before {
  left: auto;
  right: 0;
}

:root[dir='rtl'] .wa-float {
  right: auto;
  left: 1.4rem;
}

:root[dir='rtl'] .link-arrow svg {
  transform: scaleX(-1);
}

:root[dir='rtl'] .link-arrow:hover svg {
  transform: scaleX(-1) translateX(3px);
}
