/* Bull Sommerfest 2027 – Modernes Design */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #004AAD;
  --navy-dark: #003380;
  --navy-light: #1a5fc4;
  --beige: #D8CCBC;
  --beige-light: #F5F1EC;
  --beige-mid: #EDE6DC;
  --accent: #F4A030;
  --white: #ffffff;
  --text: #1e2d3d;
  --text-muted: #6b7a8d;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,74,173,0.10);
  --shadow-hover: 0 8px 32px rgba(0,74,173,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--beige-light);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

/* ── NAVIGATION ─────────────────────────────────── */
nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(0,74,173,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  height: 62px;
  gap: 0.25rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.1rem;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--navy); background: rgba(0,74,173,0.07); }
.nav-links a.active { color: var(--navy); background: rgba(0,74,173,0.10); font-weight: 600; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--navy);
}
.nav-toggle svg { display: block; }

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(0,74,173,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.75rem; font-size: 1rem; }
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,51,128,0.45) 0%,
    rgba(0,74,173,0.65) 60%,
    rgba(0,30,80,0.80) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 3rem 2rem 3rem;
  width: 100%;
  text-align: center;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.hero-text .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.88;
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-date {
  color: var(--accent);
  font-weight: 700;
}

/* ── COUNTDOWN ──────────────────────────────────── */
.countdown-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  min-width: 80px;
}

.countdown-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  display: block;
}

.countdown-box .unit {
  font-size: 0.72rem;
  color: var(--beige);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  display: block;
}

.countdown-done {
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
}

/* ── CARD GRID (Startseite) ─────────────────────── */
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 3rem 0 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.card-grid {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 110px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,74,173,0.06);
}

.card .icon {
  font-size: 1.8rem;
  line-height: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card.highlight {
  background: var(--navy);
  color: var(--white);
}

/* ── PAGE HEADER ────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin: 0;
}

/* ── MAIN CONTENT ───────────────────────────────── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin: 2rem 0 0.75rem;
}

h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

p { margin-bottom: 1rem; }

/* ── HINWEIS BOX ────────────────────────────────── */
.hinweis {
  background: var(--beige-mid);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.93rem;
  color: var(--text);
}

/* ── ZIMMER GRID ────────────────────────────────── */
.zimmer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.zimmer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
  transition: transform 0.2s, box-shadow 0.2s;
}

.zimmer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.zimmer-card h3 { margin-top: 0; }

.zimmer-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.zimmer-card h3 a:hover { text-decoration: underline; }

.zimmer-card ul { list-style: none; padding: 0; margin-top: 0.5rem; }

.zimmer-card ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--beige-mid);
  font-size: 0.92rem;
  color: var(--text);
}

.zimmer-card ul li:last-child { border-bottom: none; }

/* ── GALLERY ────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.22s, opacity 0.22s;
}

.gallery img:hover { transform: scale(1.03); opacity: 0.92; }

/* ── LAGEPLAN ───────────────────────────────────── */
.lageplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.lageplan-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* ── TIMELINE ───────────────────────────────────── */
.timeline { margin-top: 1.5rem; }

.timeline-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.timeline-time {
  background: var(--navy);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  min-width: 88px;
  text-align: center;
  letter-spacing: 0.02em;
}

.timeline-content h3 { margin-top: 0.15rem; font-size: 1rem; }
.timeline-content p { margin-bottom: 0; font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 500px) {
  .timeline-item { flex-direction: column; gap: 0.4rem; }
}

/* ── PHOTO GROUPS ───────────────────────────────── */
.photo-group { margin-top: 2rem; }

.photo-group-label {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* ── ROOM PAGES ─────────────────────────────────── */
.room-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.room-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.room-images img:hover { transform: scale(1.02); }

.room-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.room-info ul { list-style: none; padding: 0; }
.room-info ul li { padding: 0.35rem 0; border-bottom: 1px solid var(--beige-mid); font-size: 0.95rem; }
.room-info ul li:last-child { border-bottom: none; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.back-link:hover { opacity: 1; }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.5); text-decoration: none; }

/* ── LIGHTBOX ───────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ── LAGEPLAN MIT BESCHRIFTUNG ──────────────────── */
.lageplan-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.lageplan-figure img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: opacity 0.2s;
}

.lageplan-figure img:hover { opacity: 0.9; }

.lageplan-figure figcaption {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
}

/* ── ANFAHRT ────────────────────────────────────── */
.anfahrt-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 700px) {
  .anfahrt-info-grid { grid-template-columns: 1fr; }
}

.anfahrt-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-fallback {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.map-fallback a { color: var(--navy); }

/* ── ANFAHRT (alt) ──────────────────────────────── */
.anfahrt-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}

.anfahrt-map-link:hover { background: var(--navy-dark); transform: translateY(-2px); }
.anfahrt-map-link.secondary { background: var(--text-muted); }
.anfahrt-map-link.secondary:hover { background: var(--text); }

.map-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
