/* =========================================================
   MiLe-Café — Miteinander Leben e.V.
   Hell, freundlich, einladend. Vereinsfarben als Akzente.
   ========================================================= */

:root {
  --teal: #2BA9A0;
  --teal-soft: #D9F0EE;
  --mustard: #E0A82E;
  --mustard-soft: #FBEFCB;
  --blue: #2C6FB7;
  --blue-soft: #DCE7F4;
  --coral: #E26B3A;
  --coral-soft: #FBE0D2;

  --bg: #FFFCF7;
  --bg-cream: #FFF5E6;
  --surface: #FFFFFF;
  --ink: #1F2A33;
  --ink-soft: #5B6873;
  --ink-mute: #8A95A0;
  --line: #ECE4D5;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(31, 42, 51, 0.06);
  --shadow-md: 0 12px 30px rgba(31, 42, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 42, 51, 0.12);

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

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

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.brand-logo { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 0.7rem; color: var(--ink-mute); font-weight: 500; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ========== HERO ========== */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--teal-soft) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--coral-soft) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  background: var(--ink);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero-cta svg { width: 18px; height: 18px; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: white;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-badge-dot {
  width: 10px; height: 10px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.hero-badge-text { font-size: 0.9rem; font-weight: 600; }
.hero-badge-text small { display: block; color: var(--ink-mute); font-weight: 400; font-size: 0.75rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { aspect-ratio: 4/3; order: -1; }
}

/* ========== SECTIONS ========== */
section { padding: 5rem 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-head h2 em { font-style: italic; color: var(--coral); }
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ========== ÜBER ========== */
.about { background: var(--bg-cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
  content: '';
  position: absolute;
  inset: auto -20px -20px auto;
  width: 60%; height: 60%;
  background: var(--mustard-soft);
  border-radius: 50%;
  z-index: -1;
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.about-text p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.05rem; }
.about-text p strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { aspect-ratio: 4/3; }
}

/* ========== KALENDER / VERANSTALTUNGEN ========== */
.calendar { background: var(--bg); }
.calendar-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.calendar-tab {
  padding: 0.6rem 1.4rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.calendar-tab:hover { border-color: var(--teal); color: var(--teal); }
.calendar-tab.active { background: var(--teal); color: white; border-color: var(--teal); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.calendar-grid-single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}
.event-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--teal);
}
.event-card.coral::before { background: var(--coral); }
.event-card.mustard::before { background: var(--mustard); }
.event-card.blue::before { background: var(--blue); }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.event-date {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 500;
}
.event-date-day {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.event-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  align-self: flex-start;
}
.event-card.coral .event-tag { background: var(--coral-soft); color: var(--coral); }
.event-card.mustard .event-tag { background: var(--mustard-soft); color: #a07a1f; }
.event-card.blue .event-tag { background: var(--blue-soft); color: var(--blue); }

.event-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.event-card p { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }
.event-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-mute);
}

@media (max-width: 860px) {
  .calendar-grid { grid-template-columns: 1fr; }
}

/* ========== TEAM ========== */
.team { background: var(--bg-cream); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  aspect-ratio: 1;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 600;
  color: var(--teal);
  position: relative;
  overflow: hidden;
}
.team-card:nth-child(2) .team-avatar { background: var(--mustard-soft); color: #a07a1f; }
.team-card:nth-child(3) .team-avatar { background: var(--blue-soft); color: var(--blue); }
.team-card:nth-child(4) .team-avatar { background: var(--coral-soft); color: var(--coral); }
.team-body { padding: 1.3rem; }
.team-body h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.2rem; }
.team-body span { color: var(--teal); font-size: 0.85rem; font-weight: 500; }
.team-body p { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.6rem; }

@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ========== RÄUME MIETEN ========== */
.rooms { background: var(--bg); }
.rooms-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.rooms-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.rooms-image img { width: 100%; height: 100%; object-fit: cover; }
.rooms-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.rooms-text h2 em { font-style: italic; color: var(--mustard); }
.rooms-text p { color: var(--ink-soft); margin-bottom: 1.2rem; font-size: 1.05rem; }
.rooms-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.room-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.room-feature-icon {
  width: 36px; height: 36px;
  background: var(--mustard-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a07a1f;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.rooms-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  background: var(--mustard);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rooms-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

@media (max-width: 860px) {
  .rooms-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ========== KONTAKT ========== */
.contact { background: var(--ink); color: white; }
.contact .section-eyebrow { color: var(--mustard); }
.contact .section-head h2 { color: white; }
.contact .section-head h2 em { color: var(--coral); }
.contact .section-head p { color: rgba(255,255,255,0.7); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
}
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--mustard);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--ink);
  font-size: 1.4rem;
}
.contact-card:nth-child(2) .contact-card-icon { background: var(--teal); }
.contact-card:nth-child(3) .contact-card-icon { background: var(--coral); }
.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-card a { color: white; font-weight: 500; border-bottom: 1px dotted rgba(255,255,255,0.3); }
.contact-card a:hover { border-bottom-color: var(--mustard); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ========== FOOTER ========== */
footer {
  background: #16202A;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: white; font-weight: 600; }
.footer-brand img { width: 36px; height: 36px; border-radius: 6px; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--mustard); }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
