:root{
  --bg: #0b1220;
  --surface: #0f1724;
  --muted: #e6eef6;
  --muted-2: #cfdcec;
  --accent: #ff5a5f;
  --accent-strong: #e63946;
  --card-border: rgba(255,90,95,0.12);
}

/* Grund-Einstellungen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--muted);
  line-height: 1.6;
}

/* Header / Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 10%;
  background: var(--surface);
  border-bottom: 1px solid rgba(255,90,95,0.06);
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--muted);
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 12px;
}

nav ul li { list-style: none; }

nav ul li a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.12s ease, transform 0.12s ease;
}

nav ul li a:hover {
  background: rgba(255,90,95,0.06);
  color: #fff;
  transform: translateY(-2px);
}

.highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.nav-cta {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(230,238,246,0.2);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.12s ease, transform 0.12s ease;
}

.nav-cta:hover {
  background: rgba(230,238,246,0.1);
  color: #fff;
  transform: translateY(-2px);
}

.language-switch {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(230,238,246,0.2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.language-switch-track {
  width: 42px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,90,95,0.32);
}

.language-switch-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s ease;
}

/* Instagram / Share button */
.btn-instagram {
  padding: 8px 12px;
  background: linear-gradient(45deg, #E1306C 0%, #F77737 100%);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(225,48,108,0.12);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.btn-instagram:hover { transform: translateY(-3px); }
.btn-instagram:focus { outline: 2px solid rgba(255,255,255,0.08); }

/* Hero */
.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(180deg, rgba(11,18,32,0.35), rgba(11,18,32,0.35)), url('images/homepage-img.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255,90,95,0.12);
  transition: transform 0.14s ease;
}
.btn:hover { transform: translateY(-3px); }

/* Grid / Cards */
.categories { padding: 48px 10%; text-align: center; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.card-item {
  background: var(--surface);
  border-radius: 12px;
  padding: 18px;
  border-bottom: 4px solid var(--card-border);
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(2,6,23,0.6);
}
.card-image {
  height: 180px;
  background: #07101a;
  border-radius: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow: hidden;
}
.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.card-item:hover .card-image img { transform: scale(1.06); }
.card-content { padding: 12px 6px 0 6px; display:flex; flex-direction:column; gap:8px; }
.card-content h3 { color: var(--muted); }
.card-content p { color: var(--muted-2); font-size: 0.95rem; }

/* Info sections */
.info-section { display:flex; flex-wrap:wrap; gap:22px; padding:48px 10%; }
.info-box {
  background: var(--surface);
  padding: 36px;
  border-radius: 12px;
  min-width: 300px;
  color: var(--muted);
}
.buy-back { border: 1px dashed rgba(255,90,95,0.18); }
.btn-alt {
  display:inline-block; margin-top:12px; color:var(--accent); text-decoration:none; font-weight:700;
  padding:10px 16px; border-radius:8px; border:1px solid rgba(255,90,95,0.12);
}

/* Map */
#map, .map { padding:50px 10%; text-align:center; }
.map p { margin-top:8px; color:var(--muted-2); }
.map .btn { margin-top: 18px; }

/* Responsive iframe container */
.map-container { display:flex; justify-content:center; margin:24px 0; }
.map-container iframe {
  width:100%; max-width:1400px; height:80vh; border:0; border-radius:10px; background:#000;
}

/* Modal / Overlay */
.modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1200; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(2,6,23,0.6); backdrop-filter: blur(4px);
}
.modal-content {
  position: relative; z-index:2; width: min(720px, 92%); background: var(--surface);
  color: var(--muted); border-radius: 12px; padding: 22px; box-shadow: 0 20px 60px rgba(2,6,23,0.6); text-align:center;
}
.modal-close {
  position:absolute; top:12px; right:12px; background:transparent; border:0; color:var(--muted-2); font-size:18px; cursor:pointer;
}
.modal-content h2 { margin-bottom:6px; color:var(--muted); }
.modal-content .muted { color:var(--muted-2); margin-bottom:14px; }
.modal-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:12px; }
.choose-btn {
  display:inline-block; padding:12px 18px; background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  color:var(--muted); text-decoration:none; border-radius:10px; border:1px solid rgba(255,255,255,0.03);
  min-width:160px; font-weight:700; transition: transform 0.12s ease, background 0.12s ease;
}
.choose-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color:#fff;
  border-color: rgba(0,0,0,0.08);
}

/* Footer */
footer {
  text-align:center; padding:20px; background:var(--surface); color:var(--muted-2); font-size:0.95rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 20px;
}

.shop-highlights,
.faq-section,
.inquiry-section {
  padding: 48px 10% 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(2,6,23,0.25);
}

.product-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted-2);
  line-height: 1.5;
}

.inquiry-section {
  max-width: 1000px;
  margin: 0 auto;
}

.inquiry-section .section-heading > p:last-child {
  color: var(--muted-2);
}

.inquiry-form {
  display: grid;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
}

.inquiry-form label {
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-note {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.inquiry-form .btn {
  justify-self: start;
  cursor: pointer;
  border: 0;
  font-size: 1rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  list-style: none;
}

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

.faq-list p {
  margin-top: 10px;
  color: var(--muted-2);
  line-height: 1.6;
}

.calendar-page {
  padding: 42px 10% 60px;
}

.calendar-shell {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(2,6,23,0.28);
}

.calendar-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.calendar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-detail-item .calendar-download {
  margin-top: 12px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.calendar-button {
  border: 0;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.4rem;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(250px, 1fr);
  gap: 24px;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.weekday-row {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-weight: 700;
  text-align: center;
}

.calendar-day {
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  min-height: 110px;
  border-radius: 12px;
  padding: 8px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.calendar-day.empty {
  visibility: hidden;
  pointer-events: none;
}

.calendar-day.has-event {
  border-color: rgba(255,90,95,0.3);
}

.calendar-day.selected {
  box-shadow: inset 0 0 0 2px rgba(255,90,95,0.5);
}

.calendar-day.today {
  background: rgba(255,90,95,0.08);
}

.day-number {
  font-weight: 700;
}

.day-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}

.event-panel {
  background: rgba(10,16,28,0.85);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
}

.event-panel h3 {
  margin-bottom: 16px;
}

.event-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  color: var(--muted);
}

.event-item strong {
  font-size: 1rem;
}

.event-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-special {
  border-left-color: #ff5a5f;
}

.category-special .event-badge,
.event-badge.category-special {
  background: rgba(255,90,95,0.12);
  color: #ff8e94;
}

.category-turnier {
  border-left-color: #7c9cff;
}

.category-turnier .event-badge,
.event-badge.category-turnier {
  background: rgba(124,156,255,0.12);
  color: #b4c5ff;
}

.category-sale {
  border-left-color: #3ecf8e;
}

.category-sale .event-badge,
.event-badge.category-sale {
  background: rgba(62,207,142,0.12);
  color: #7ce0b3;
}

.event-time {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.event-item span {
  color: var(--muted-2);
  font-size: 0.92rem;
}

.event-empty {
  color: var(--muted-2);
  padding: 12px 0;
}

.event-detail-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
}

.event-detail-modal[hidden] {
  display: none;
}

.event-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.7);
}

.event-detail-content {
  position: relative;
  z-index: 1;
  width: min(560px, 90%);
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(2,6,23,0.6);
}

.event-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.event-detail-content h3 {
  margin-bottom: 18px;
}

.event-detail-item {
  background: rgba(255,255,255,0.02);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.event-detail-item h4 {
  margin: 10px 0 8px;
}

.event-detail-item p {
  margin-bottom: 8px;
  color: var(--muted-2);
}

.next-event-section {
  padding: 36px 10% 0;
}

.next-event-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 18px 36px rgba(2,6,23,0.28);
}

.next-event-card h2 {
  margin-bottom: 8px;
}

.next-event-card p {
  color: var(--muted-2);
}

.next-event-card .btn {
  margin-top: 18px;
}

/* Responsive tweaks */
@media (max-width: 800px) {
  html, body {
    overflow-x: hidden;
  }

  header {
    padding: 14px 6%;
    flex-wrap: wrap;
    gap: 12px;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  nav ul li a,
  .btn,
  .btn-instagram,
  .choose-btn,
  .calendar-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hero {
    height: 44vh;
    padding: 20px;
  }

  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }

  .grid,
  .product-grid,
  .calendar-layout {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .map-container iframe { height: 60vh; }
  .calendar-page { padding: 28px 6% 48px; }
  .calendar-topbar { flex-direction: column; align-items: flex-start; }
  .calendar-day { min-height: 90px; }
  .next-event-section { padding: 28px 6% 0; }
  .shop-highlights, .faq-section, .inquiry-section { padding-left: 6%; padding-right: 6%; }
  .product-card,
  .faq-list details,
  .next-event-card,
  .calendar-shell {
    border-radius: 12px;
  }
  .event-item-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-detail-content {
    width: min(92%, 560px);
    padding: 20px 18px;
  }
  .faq-list summary,
  .product-card h3,
  .next-event-card h2 {
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .language-switch {
    right: 12px;
    bottom: 12px;
  }
}