/*
  DESIGN-TOKENS PRO WEBSITE HIER ANPASSEN.
  Das ist die einzige Stelle, an der sich Farben/Schrift zwischen
  den Projekten (angeln.at, hochzeit.at, ...) unterscheiden sollten.
  Alles andere (Layout, Komponenten) bleibt gleich.
  Platzhalter-Farben — Entscheidung steht noch aus (siehe NOTES.md dieser Domain).
*/
:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-ink: #1f2937;
  --color-ink-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-brand: #2563eb;
  --color-brand-dark: #1d4ed8;

  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --max-width: 72rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

/* ============ Utilities ============ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: absolute; top: .5rem; left: .5rem; z-index: 50;
  width: auto; height: auto; margin: 0; overflow: visible; clip: auto;
  background: #fff; padding: .5rem 1rem; border-radius: 6px;
}
.hidden { display: none !important; }

/* ============ Header / Navigation ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: .75rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
  color: var(--color-ink); text-decoration: none;
}
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-ink); }

.main-nav { display: none; gap: 1.5rem; }
.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: 0 1rem 1rem; }
.mobile-nav.is-open { display: flex; }

.nav-link {
  font-size: .875rem; font-weight: 500; color: var(--color-ink);
  text-decoration: none; padding: .5rem 0; transition: color .15s;
}
.nav-link:hover { color: var(--color-brand); }

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  max-width: var(--max-width); margin: 0 auto; padding: 1rem 1rem 0;
  font-size: .875rem; color: var(--color-ink-muted);
}
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: .25rem; margin: 0; padding: 0;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--color-brand); }
.breadcrumb .current { color: var(--color-ink); font-weight: 500; }

/* ============ Content sections ============ */
.section { max-width: var(--max-width); margin: 0 auto; padding: 2.5rem 1rem; }
.hero-section { padding: 4rem 1rem; }

.hero-title, .legal-content h1 {
  font-family: var(--font-display); font-weight: 700; margin: 0 0 1rem;
  font-size: 1.875rem; line-height: 1.2;
}
@media (min-width: 768px) {
  .hero-title { font-size: 2.5rem; }
}
.hero-intro { color: var(--color-ink-muted); max-width: 40rem; margin: 0 0 1.5rem; }

.btn-primary {
  display: inline-block; border-radius: 6px; background: var(--color-brand);
  color: #fff; padding: .65rem 1.25rem; font-weight: 600; text-decoration: none;
  transition: background .15s;
}
.btn-primary:hover { background: var(--color-brand-dark); }
.btn-primary:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

.btn-secondary {
  padding: .5rem 1rem; border-radius: 6px; border: 1px solid #d1d5db;
  background: #fff; font-size: .875rem; cursor: pointer;
}
.btn-secondary:hover { background: #f9fafb; }

/* ============ Footer ============ */
.site-footer { background: var(--color-ink); color: #fff; }
.footer-grid {
  max-width: var(--max-width); margin: 0 auto; padding: 2.5rem 1rem;
  display: grid; gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-heading { font-weight: 600; margin: 0 0 .5rem; }
.footer-claim { font-size: .875rem; color: #d1d5db; margin: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .35rem; }
.footer-link { font-size: .875rem; color: #d1d5db; text-decoration: underline; text-underline-offset: 2px; }
.footer-link:hover { color: #fff; }
.footer-contact { font-size: .875rem; color: #d1d5db; margin: 0 0 .35rem; }
.cookie-settings-btn {
  background: none; border: 0; color: #d1d5db; text-decoration: underline;
  cursor: pointer; padding: 0; margin-top: .5rem; display: block; font-size: .875rem;
}
.footer-copy { text-align: center; font-size: .75rem; color: #9ca3af; padding: 0 1rem 1.5rem; margin: 0; }

/* ============ Cookie banner ============ */
.cookie-banner {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
@media (min-width: 768px) {
  .cookie-banner-inner { flex-direction: row; }
}
.cookie-text { font-size: .875rem; color: #374151; flex: 1; margin: 0; }
.cookie-text a { text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }

/* ============ Legal pages (Impressum/Datenschutz/Haftungsausschluss) ============ */
.legal-content { max-width: 48rem; margin: 0 auto; padding: 2.5rem 1rem; }
.legal-content h2 { font-weight: 600; margin: 1.75rem 0 .5rem; }
.legal-content p { line-height: 1.65; }
.legal-hint { font-size: .875rem; color: var(--color-ink-muted); margin-bottom: 1.5rem; }
.legal-content a { color: var(--color-brand); text-decoration: underline; }
