/* design.css - Design-Feinschliff: Lesbarkeit, Materialien, Interaktion, Barrierefreiheit.
   Wird NACH dem Inline-CSS jeder Seite geladen und ueberschreibt gezielt.
   Abschnitt "Startseite" gilt nur mit <body class="home">. */

:root {
  color-scheme: dark;
  --gold: #D8B871;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-padding-top: 84px; }
::selection { background: rgba(216, 184, 113, 0.38); color: #fff; }

/* ---------- Fokus & Tastatur ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 10001;
  padding: 0.65rem 1rem; border-radius: 10px;
  background: #F2EDE6; color: #1a0a02;
  font: 700 0.85rem 'Lato', sans-serif; text-decoration: none;
  transform: translateY(-220%); transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; left: 0.75rem !important; top: 0.75rem !important; }

/* ---------- Press-Feedback: sofort beim Druecken ---------- */
.about-link, .single-btn, .consent-btn, .nl-form button, .venues-cta-btn, .venue-submit, .btn { -webkit-tap-highlight-color: transparent; }
.about-link { transition: background 0.3s, color 0.3s, border-color 0.3s, letter-spacing 0.45s var(--ease-out), transform 0.12s var(--ease-out); }
.single-btn { transition: opacity 0.15s, transform 0.12s var(--ease-out); }
.about-link:active, .single-btn:active, .consent-btn:active, .nl-form button:active,
.venues-cta-btn:active, .venue-submit:active, .social-link-btn:active { transform: scale(0.97); }

/* ---------- Reduzierte Bewegung / Transparenz / Kontrast ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .bg-veil { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(5, 2, 0, 0.88) !important; }
  nav.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #130A04 !important; }
  .home .hero-content-glass, .consent-card { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(14, 7, 3, 0.92) !important; }
}
@media (prefers-contrast: more) {
  .section-label, .section-label-light, .nl-label, .nl-consent { color: #fff !important; opacity: 1 !important; }
  .about-text p, .ig-block-sub, .faq-a { color: #fff !important; }
}

/* ---------- Gemeinsame Komponenten: Einwilligungs-Karte & Hinweise ---------- */
.consent-card {
  max-width: 560px; margin: 1.5rem 0 2rem; padding: 1.4rem 1.5rem;
  border: 1px solid rgba(242, 237, 230, 0.16); border-top-color: rgba(242, 237, 230, 0.3);
  border-radius: 16px; background: rgba(14, 7, 3, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.consent-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: #F2EDE6; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.consent-text { font-size: 0.92rem; line-height: 1.65; color: rgba(236, 229, 219, 0.88); margin-bottom: 1.1rem; font-weight: 400; }
.consent-text a, .consent-note a { color: inherit; text-underline-offset: 3px; }
.consent-btn {
  appearance: none; -webkit-appearance: none; cursor: pointer; min-height: 44px;
  padding: 0.7rem 1.3rem; border: 1px solid rgba(242, 237, 230, 0.5); border-radius: 10px;
  background: #F2EDE6; color: #1a0a02;
  font: 700 0.82rem 'Lato', sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.12s var(--ease-out), opacity 0.15s;
}
.consent-btn:hover { opacity: 0.9; }
.consent-note { max-width: 760px; margin-top: 0.8rem; font-size: 0.75rem; line-height: 1.55; color: rgba(242, 237, 230, 0.75); font-weight: 400; }

.cookie-settings-link { color: inherit; cursor: pointer; text-underline-offset: 3px; }

/* ============================ STARTSEITE ============================ */
.home { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-weight: 400; }

/* Typografie: Gewicht, Zeilenhoehe, Zeilenlaenge, Laufweite nach Groesse */
.home h2 { letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
.home #musik h2 { white-space: normal; letter-spacing: -0.005em; }
.home .about-text p, .home .ig-block-sub, .home .faq-a, .home .booking-intro p {
  font-weight: 400; font-size: 1.04rem; line-height: 1.75; color: rgba(238, 231, 221, 0.9); max-width: 62ch;
}
.home .section-label, .home .section-label-light { color: rgba(242, 237, 230, 0.82); font-weight: 700; font-size: 0.72rem; }
.home .single-block-live-label { opacity: 0.8; }
.home .musik-ig-link, .home .shows-ig-link { color: rgba(242, 237, 230, 0.85); opacity: 1; }

/* Navigation: Milchglas, sobald gescrollt wird */
.home nav.scrolled {
  background: rgba(14, 7, 3, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(242, 237, 230, 0.1);
}

/* Hero: Glas-Panel fuer Single + Newsletter, bessere Lesbarkeit auf dem Bild */
.home .hero-content-glass {
  max-width: 100%;
  padding: 1.5rem 1.6rem 1.3rem;
  background: rgba(14, 7, 3, 0.36);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(242, 237, 230, 0.14); border-top-color: rgba(242, 237, 230, 0.26);
  border-radius: 18px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.home .single-cover { border-radius: 10px; }
@media (max-width: 540px) { .home .hero-content-glass { padding: 1.15rem 1.1rem 1rem; border-radius: 16px; } }

/* Einheitliche Radien: Bedienelemente 10px, Karten 14px */
.home .about-link, .home .single-btn, .home .venues-cta-btn, .home .nav-link-venues,
.home .nl-form button, .home .nl-form input[type="email"] { border-radius: 10px; }
.home .nl-form input[type="email"], .home .venue-form input, .home .venue-form select, .home .venue-form textarea { font-size: 1rem; min-height: 44px; }
.home .nl-form button { min-height: 44px; }
.home .about-link, .home .venues-cta-btn { min-height: 44px; display: inline-flex; align-items: center; }

/* Video: Karte mit weichem Schatten */
.home .video-embed { border-radius: 14px; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 237, 230, 0.08); }
.home .yt-facade img { transition: transform 0.7s var(--ease-out); }
.home .yt-facade:hover img { transform: scale(1.025); }
.home .yt-facade:active .yt-play { transform: translate(-50%, -50%) scale(0.95); }

/* Social-Icons: Kontrast + Touch-Flaeche */
.home .social-link-btn { color: rgba(242, 237, 230, 0.78); padding: 0.65rem; min-width: 44px; min-height: 44px; }
.home .social-link-btn:hover { color: #F2EDE6; }
.home .social-links-row { gap: 0.25rem; }

/* FAQ */
.home .faq-q { min-height: 44px; }
.home .faq-q::after { opacity: 0.9; }

/* Footer */
.home footer .social-links a, .home footer p { opacity: 0.9; }
.home footer p { color: rgba(242, 237, 230, 0.8); }

[hidden] { display: none !important; }

/* Feinschliff */
.home p { text-wrap: pretty; }
.home .hero-content { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.home .single-btn, .home .nl-form button { text-shadow: none; }
.home .venues-cta-label { color: rgba(242, 237, 230, 0.78); }

/* Footer-Newsletter: nicht ueber die volle Breite */
footer .nl-wrap {
  max-width: 520px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1.25rem;
}
footer .nl-wrap .nl-form { justify-content: center; }
footer .nl-wrap .nl-form input[type="email"] { min-width: 0; }
