/* Gemeinsame Basis der Konzeptentwürfe: Reset und Hinweisleiste von Rüger Solutions. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.concept-bar {
  position: relative;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 14px;
  padding: 9px 16px;
  background: #0b0a09;
  color: #f0ebe1;
  font: 500 12px/1.4 "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-align: center;
}
.concept-bar a { color: #f0ebe1; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.concept-bar a:hover { opacity: 0.8; }
.concept-back {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #0b0a09;
  color: #f0ebe1;
  font: 500 12px/1 "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}
.concept-back:hover { transform: translateY(-2px); }
.concept-back b { color: #f0ebe1; font-weight: 500; }

.reviews-placeholder { display: grid; gap: 6px; justify-items: start; }
.reviews-placeholder .stars { letter-spacing: 0.15em; font-size: 1.3rem; }

.fade-up { animation: fade-up 0.9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Mobil steht der Rückweg am Seitenende: keine Überlagerung von Formularen oder CTAs. */
@media (max-width: 760px) {
  .concept-back { position: relative; inset: auto !important; width: fit-content; min-height: 44px; margin: 24px auto calc(100px + env(safe-area-inset-bottom)); }
}
@media (hover: none) { .concept-back:hover { transform: none; } }

/* Reale Navigation und Kontakte bleiben auf dem Handy sicher antippbar. */
@media (max-width: 640px) {
  body .concept-bar a, body .site-nav a, body .nav a, body .top__nav a,
  body .foot a, body .site-foot a, body a[href^="tel:"], body a[href^="mailto:"],
  body .wordmark, body .logo, body .route, body .link, body #wood-anfrage,
  body h3 > a, body .skip, body address > span > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
  }
  body .field input, body .field select, body .field textarea { font-size: 16px; }
}
