:root {
  --bg-dark: #060608;
  --bg-light: #11131a;
  --accent: #ff9d2e;
  --accent-soft: rgba(255, 157, 46, 0.15);
  --text-primary: #f7f7f9;
  --text-muted: #c7cad1;
  --card-bg: rgba(21, 24, 33, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: ease;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-primary);
  /* Subtle base gradient with safe fallback */
  background: radial-gradient(circle at 75% -10%, rgba(255, 157, 46, 0.08), rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, #12151c 0%, #090a0f 65%);
  min-height: 100vh;
}

/* Prevent horizontal scroll caused by peeking carousels */
html,
body {
  overflow-x: clip;
}

/* Smooth in-page anchor scrolling */
html { scroll-behavior: smooth; }

/* Keep anchored sections clear of sticky header */
:where(section, #about, #events, #trending, #zero-proof, #menu, #rechner, #faq, #kontakt) {
  scroll-margin-top: 90px;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  /* Softer at page start; darkens on scroll via .is-scrolled */
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.55), rgba(8, 9, 12, 0.35));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

header.is-scrolled {
  background: rgba(5, 6, 8, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  border-radius: 25px;
  animation: floaty 6s ease-in-out infinite;
}

.cta-button {
  border: 1px solid var(--accent);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, transform 0.25s ease, border-color 0.35s ease;
  background: linear-gradient(120deg, rgba(255, 157, 46, 0.1), rgba(255, 157, 46, 0));
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: linear-gradient(120deg, rgba(255, 157, 46, 0.18), rgba(255, 157, 46, 0.06));
  color: var(--text-primary);
  box-shadow: 0 10px 22px rgba(255, 157, 46, 0.18);
  border-color: rgba(255, 157, 46, 0.55);
  transform: translateY(-1px);
  outline: none;
}

.cta-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 47%, rgba(255, 255, 255, 0.24) 50%, transparent 53%, transparent 100%);
  background-size: 220% 100%;
  animation: shimmer 9s ease-in-out infinite;
  pointer-events: none;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 5.5rem;
}

section {
  margin: 4rem 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  padding-top: 4rem;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  /* Make the glow full-bleed across the viewport to avoid a visible edge on the right */
  top: -30%;
  left: 50%;
  width: 150vw;
  height: 160vh;
  transform: translate(-50%, calc(var(--parallax, 0) * 0.6px));
  background: radial-gradient(circle at 80% 12%, rgba(255, 157, 46, 0.32), transparent 62%);
  opacity: 0.35;
  transition: transform 0.15s ease-out;
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  /* Aurora accent extended to viewport width to remove any right-side gap */
  top: -25%;
  left: 50%;
  width: min(1200px, 95vw);
  height: min(1200px, 95vw);
  transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(255, 157, 46, 0.6), transparent 56%);
  filter: blur(30px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: aurora 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -2;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 157, 46, 0.35), transparent 60%);
  mix-blend-mode: screen;
  transition: ease;
  pointer-events: none;
}

.hero-card:hover {
  transform: translateY(-6px);
  transition: ease;
  border-color: rgba(255, 157, 46, 0.35);
  box-shadow: 0 18px 45px rgba(255, 157, 46, 0.15);
}

.scroll-hint {
  position: absolute;
  bottom: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.75;
  pointer-events: none;
}

.scroll-hint__icon {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 157, 46, 0.65));
  position: relative;
  border-radius: 999px;
  overflow: hidden;
}

.scroll-hint__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 11px;
  height: 11px;
  border-left: 2px solid rgba(255, 157, 46, 0.85);
  border-bottom: 2px solid rgba(255, 157, 46, 0.85);
  transform: translate(-50%, -8px) rotate(-45deg);
  animation: scroll-cue 2.6s ease-in-out infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.badge span {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 157, 46, 0.15);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.highlight-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--accent);
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 157, 46, 0.4);
  box-shadow: 0 12px 28px rgba(255, 157, 46, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}

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

.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.media {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  object-fit: cover;
  display: block;
  transition: transform 200ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
  cursor: zoom-in;
}

.media:hover,
.media:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 157, 46, 0.6);
  box-shadow: 0 14px 28px rgba(255, 157, 46, 0.16);
  outline: none;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 157, 46, 0.35);
  box-shadow: 0 14px 26px rgba(255, 157, 46, 0.12);
}

.gallery-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.events-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.carousel {
  --peek: clamp(2rem, 8vw, 4rem);
  position: relative;
  margin-inline: calc(-1 * var(--peek));
  padding-inline: var(--peek);
}

.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3rem;
  pointer-events: none;
  z-index: 1;
}

.carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), rgba(6, 6, 8, 0));
}

.carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark), rgba(6, 6, 8, 0));
}

/* FAQ styling */
.faq details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 0.25rem 0.85rem;
  margin: 0.75rem 0;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.faq details[open] {
  border-color: rgba(255, 157, 46, 0.4);
  box-shadow: 0 12px 28px rgba(255, 157, 46, 0.12);
  background: linear-gradient(135deg, rgba(255, 157, 46, 0.06), rgba(255, 255, 255, 0.02));
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 0.25rem;
  position: relative;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: '';
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 157, 46, 0.12);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.faq summary::after {
  content: '';
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 220ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 0.35rem;
  transition:
    max-height 420ms cubic-bezier(0.28, 0.84, 0.32, 1),
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.28, 0.84, 0.32, 1),
    padding 280ms ease;
}

.faq details[open] .answer {
  max-height: none;
  opacity: 1;
  transform: translateY(0);
  padding: 0.65rem 0.35rem 0.95rem;
}

.faq details[open] summary::before {
  transform: scale(1.08);
  box-shadow: 0 0 0 9px rgba(255, 157, 46, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .faq .answer {
    transition: none;
  }

  .faq details[open] .answer {
    max-height: none;
  }
}

/* Lightbox */
.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 200ms ease;
}

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

.lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 85vh;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 9, 12, 0.6);
  color: var(--text-primary);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 28vw, 320px);
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 1.25rem 0.5rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  perspective: 1200px;
  scroll-padding: calc(var(--peek) + 0.75rem);
  scroll-behavior: smooth;
}

.carousel-track:focus-visible {
  outline: 2px solid rgba(255, 157, 46, 0.5);
  outline-offset: 6px;
}

.carousel-track::-webkit-scrollbar {
  height: 0.45rem;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 6, 8, 0.72);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-nav:hover,
.carousel-nav:focus-visible {
  background: rgba(255, 157, 46, 0.2);
  border-color: rgba(255, 157, 46, 0.55);
  outline: none;
}

.carousel-nav--prev {
  left: -1.25rem;
}

.carousel-nav--next {
  right: -1.25rem;
}

.carousel-nav[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

.carousel.no-nav::before,
.carousel.no-nav::after,
.carousel.no-nav .carousel-nav {
  display: none;
}

.carousel--grid .carousel-track {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-columns: clamp(260px, 28vw, 320px);
  padding-bottom: 1.5rem;
}

.cocktail-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  transform: translateY(var(--lift, 0)) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
}

.cocktail-card.is-open {
  border-color: rgba(255, 157, 46, 0.6);
  box-shadow: 0 18px 35px rgba(255, 157, 46, 0.18);
  --lift: -4px;
}

.cocktail-card:hover {
  --lift: -6px;
  border: 1px solid rgba(255, 157, 46, 0.6);
  box-shadow: 0 18px 35px rgba(255, 157, 46, 0.18);
}

.cocktail-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.cocktail-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ingredient-toggle {
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease;
}

.ingredient-toggle:hover,
.ingredient-toggle:focus-visible {
  background: rgba(255, 157, 46, 0.15);
  border-color: rgba(255, 157, 46, 0.6);
  outline: none;
}

.ingredients {
  list-style: none;
  margin-top: 0.35rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.35rem;
  padding-left: 0;
}

.ingredients li {
  position: relative;
  padding-left: 1rem;
}

.ingredients li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.ingredients[hidden] {
  display: none;
}

.menu-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.menu-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}

.menu-item span {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.calculator {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.calculator form {
  display: grid;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

select,
input,
button {
  font-family: inherit;
}

select,
input {
  background: rgba(7, 9, 13, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
}

input:focus,
select:focus {
  outline: 2px solid rgba(255, 157, 46, 0.4);
}

.results {
  background: rgba(7, 9, 13, 0.7);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  min-height: 220px;
}

.results h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.results ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.results li {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact {
  background: linear-gradient(135deg, rgba(255, 157, 46, 0.08), rgba(255, 157, 46, 0));
  border-radius: 2rem;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 1.5rem;
}

.contact h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
}

.contact p {
  color: var(--text-muted);
  line-height: 1.5;
}

.contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 6, 8, 0.92);
  padding: 3rem 1.5rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}

footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
}

footer .footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

footer .footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

footer .footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer .footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-weight: 600;
}

footer .footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

footer .footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

@media (min-width: 720px) {
  footer .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  footer .footer-brand {
    align-items: flex-start;
  }

  footer .footer-brand-copy {
    text-align: left;
  }

  footer .footer-meta {
    align-items: flex-end;
    text-align: right;
  }
}

.legal-page main {
  padding: 6rem 0 4.5rem;
}

.legal-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent);
}

.legal-heading h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
}

.legal-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-card {
  background: rgba(9, 10, 15, 0.85);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.legal-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.legal-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-card ul {
  list-style: disc;
  margin-left: 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-card li + li {
  margin-top: 0.35rem;
}

.legal-card a {
  color: var(--accent);
  text-decoration: none;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.legal-card strong {
  color: var(--text-primary);
}

@media (max-width: 640px) {
  .legal-card {
    padding: 1.5rem 1.35rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 220% 0;
  }

  100% {
    background-position: -220% 0;
  }
}

@keyframes scroll-cue {
  0% {
    transform: translate(-50%, -8px) rotate(-45deg);
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 18px) rotate(-45deg);
    opacity: 0;
  }
}

@keyframes aurora {
  0% {
    transform: rotate(0deg) scale(1);
    filter: blur(28px);
  }

  50% {
    transform: rotate(18deg) scale(1.03);
    filter: blur(22px);
  }

  100% {
    transform: rotate(-12deg) scale(1.08);
    filter: blur(24px);
  }
}

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

  .carousel::before,
  .carousel::after {
    display: none;
  }

  .carousel-track {
    scrollbar-width: none;
  }

  .carousel-track::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 720px) {
  nav {
    padding: 1.2rem;
  }

  main {
    padding: 0 1.25rem 4rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-track {
    grid-auto-columns: minmax(230px, 80%);
  }

  .carousel--grid .carousel-track {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .scroll-hint {
    display: none;
  }
}

/* Visually hidden (for a11y-only headings/labels) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Feedback Marquee */
.feedback-marquee {
  --marquee-speed: 50s;
  background: var(--accent-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2.25rem 0 3rem;
  padding: 0.25rem 0; /* dünn halten */
  overflow: hidden;
}

/* Container holds two identical rows (second is cloned via JS) */
.feedback-marquee .marquee__content {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  min-width: 100%;
  flex-shrink: 0;
  padding: 0.35rem 1rem;
  animation: marquee-scroll var(--marquee-speed) linear infinite;
  /* Start paused to avoid out-of-sync clone on load; JS adds .is-ready */
  animation-play-state: paused;
}

/* Enable animation only after JS cloning marks container ready */
.feedback-marquee.is-ready .marquee__content {
  animation-play-state: running;
}

.feedback-marquee .marquee__item {
  color: var(--text-muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.feedback-marquee:hover .marquee__content {
  animation-play-state: paused; /* Pause on hover */
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-marquee .marquee__content { animation: none; }
}

/* --- Marquee adjustments: full-bleed, single-item view, black/orange theme --- */
.feedback-marquee {
  /* full-bleed breakout */
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  position: relative;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap; /* place the cloned list next to the original, not below */
  /* look & feel */
  background: #000;
  border-top: 1px solid rgba(255, 157, 46, 0.55);
  border-bottom: 1px solid rgba(255, 157, 46, 0.55);
  /* size */
  height: clamp(72px, 9vw, 128px);
  padding: 0; /* content items will center themselves */
  overflow: hidden; /* hide overflow for edge fades */
  /* slower scroll */
  --marquee-speed: 140s;
  /* subtle vertical sheen similar to carousels */
  background-image: linear-gradient(180deg, rgba(255, 157, 46, 0.06), rgba(0,0,0,0) 30%), linear-gradient(0deg, rgba(255, 157, 46, 0.05), rgba(0,0,0,0) 35%);
}

.feedback-marquee .marquee__content {
  align-items: center;
  gap: 4rem; /* multiple quotes visible at once */
  padding: 0 1rem;
  flex: 0 0 auto; /* keep each list's width intrinsic */
}

.feedback-marquee .marquee__item {
  /* each quote block */
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  color: var(--text-primary);
  text-align: center;
  white-space: normal; /* allow line breaks within a single quote */
  font-size: clamp(1rem, 2.3vw, 1.4rem);
  line-height: 1.3;
  min-width: clamp(32ch, 36vw, 48ch); /* encourage ~2 Zeilen pro Zitat */
  max-width: 60ch;
}

/* edge fades like horizontal scroll carousels */
.feedback-marquee::before,
.feedback-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3rem;
  pointer-events: none;
  z-index: 2;
}

.feedback-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), rgba(6, 6, 8, 0));
}

.feedback-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark), rgba(6, 6, 8, 0));
}
