/* Gemarken Treff – Shared Styles */
:root {
  --bg: #0F172A;
  --bg-card: #1E293B;
  --bg-darker: #020617;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --border: #334155;
  --radius: 10px;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .logo, .btn { font-family: 'Outfit', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Top Bar */
.top-bar {
  background: var(--bg-darker);
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.top-bar span { display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: var(--accent); }

/* Header */
.header {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav a:hover, .nav a.active { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0F172A; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(248, 250, 252, 0.4);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 2000;
  padding: 80px 24px 40px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none; border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 48px 24px;
}
.hero-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 72px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
  font-size: 1.05rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--accent);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* Events */
.events-section {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.event-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.event-item {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color var(--transition);
}
.event-item:hover { border-color: var(--accent); }
.event-date {
  min-width: 62px;
  text-align: center;
  background: var(--accent);
  color: #0F172A;
  border-radius: 8px;
  padding: 10px 6px;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}
.event-date .day { font-size: 1.35rem; display: block; }
.event-date .rest { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }
.event-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.event-info p { font-size: 0.85rem; color: var(--text-muted); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  height: 340px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.cta-band {
  background: linear-gradient(90deg, #1e293b, #0f172a 50%, #1e293b);
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 1.85rem); margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.info-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card p { font-size: 14px; color: var(--text-muted); }

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.map-box {
  height: 260px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 20px;
  background: var(--bg-card);
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* Menu */
.menu-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.menu-section h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted var(--border);
  font-size: 0.95rem;
}
.menu-item:last-child { border-bottom: none; }
.menu-item span:last-child { color: var(--text-muted); font-weight: 500; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.value-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Footer */
.footer {
  background: var(--bg-darker);
  padding: 48px 24px 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 14px; display: inline-block; }
.footer-brand p { margin-bottom: 6px; }
.footer h4 {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .features-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { height: 260px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .top-bar { font-size: 12px; gap: 10px 18px; padding: 8px 14px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 58px; }
  .hero { min-height: 480px; }
  .hero-content { padding: 40px 20px; }
  .features-grid, .values-grid { grid-template-columns: 1fr; }
  .event-item { flex-direction: column; text-align: center; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .section { padding: 52px 20px; }
  .cta-band { padding: 48px 20px; }
  .page-hero { padding: 48px 20px; }
}
@media (max-width: 400px) {
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
  display: none;
  animation: slideUp 0.35s ease;
}
.cookie-banner.visible {
  display: block;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-text strong {
  color: var(--text);
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-actions .btn {
  padding: 10px 18px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-actions .btn {
    width: 100%;
  }
}
