/* MUKIVA – Mütterzentrum und Kinderkultur Verein Frankfurt */

:root {
  --orange: #ff9800;
  --orange-dark: #e65100;
  --orange-light: #fff3e0;
  --dark: #2c2c2c;
  --text: #3d3d3d;
  --text-light: #666;
  --white: #fff;
  --bg: #fafafa;
  --bg-section: #f5f5f5;
  --border: #e0e0e0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 6px 24px rgba(255,152,0,.2);
  --font: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 70px;
  --transition: .2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; display: block; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.15rem; color: var(--text-light); font-weight: 400; }

/* ── LAYOUT ─────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 96px 0; }
.section--orange { background: var(--orange); color: var(--white); }
.section--orange h2, .section--orange h3, .section--orange p { color: var(--white); }
.section--light { background: var(--bg-section); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark p { color: var(--white); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 580px; margin: 0 auto; }

/* ── GRID ───────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ── NAVIGATION ─────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo:hover { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--dark);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active { background: var(--orange-light); color: var(--orange-dark); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item.has-drop > a::after { content: ' ▾'; font-size: .7rem; }

.nav-drop {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--border);
}
.nav-item.has-drop:hover .nav-drop { display: block; }
.nav-drop a {
  padding: 10px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
}
.nav-drop a:hover { background: var(--orange-light); color: var(--orange-dark); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .45;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ── CARDS ──────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { font-size: .9rem; color: var(--text-light); }
.card-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-date { font-size: .82rem; color: var(--text-light); font-weight: 600; }

/* ── INFO BOXES ─────────────────────────────────── */
.info-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}

/* ── ICON FEATURES ──────────────────────────────── */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.feature-body h4 { margin-bottom: 4px; }
.feature-body p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ── IMAGE STRIP ────────────────────────────────── */
.img-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.img-strip img { height: 220px; width: 100%; object-fit: cover; }
.img-strip img:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.img-strip img:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

/* ── NEWS TICKER / BADGE ────────────────────────── */
.news-bar {
  background: var(--orange);
  color: var(--white);
  padding: 10px 0;
  font-size: .9rem;
  font-weight: 700;
}
.news-bar .container { display: flex; align-items: center; gap: 16px; }
.news-label { background: rgba(0,0,0,.2); padding: 3px 10px; border-radius: 20px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ── PAGE HEADER ────────────────────────────────── */
.page-header {
  background: var(--dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 100%;
  background: var(--orange);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .15;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header .breadcrumb { color: rgba(255,255,255,.6); font-size: .88rem; }
.page-header .breadcrumb a { color: var(--orange); }

/* ── QUOTE / HIGHLIGHT ──────────────────────────── */
.quote {
  border-left: 4px solid var(--orange);
  padding: 16px 24px;
  background: var(--orange-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
  margin: 24px 0;
}

/* ── ACCORDION ──────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.accordion-trigger::after { content: '+'; font-size: 1.4rem; color: var(--orange); flex-shrink: 0; }
.accordion-trigger.open::after { content: '−'; }
.accordion-body { display: none; padding-bottom: 18px; color: var(--text-light); }
.accordion-body.open { display: block; }

/* ── CONTACT FORM ───────────────────────────────── */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--dark); }
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--orange);
}
textarea { resize: vertical; min-height: 140px; }

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--orange);
  color: rgba(255,255,255,.92);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--white); }

/* ── SOCIAL ICONS ───────────────────────────────── */
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--orange); color: var(--white); }

/* ── ALERT ──────────────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .92rem;
}
.alert-info { background: var(--orange-light); border-left: 4px solid var(--orange); }
.alert-success { background: #e8f5e9; border-left: 4px solid #43a047; }

/* ── MAP EMBED ──────────────────────────────────── */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: none; }

/* ── OPENING HOURS TABLE ────────────────────────── */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 10px 4px; font-size: .9rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--dark); }

/* ── PWA INSTALL BANNER ─────────────────────────── */
#pwa-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: 18px 20px;
  display: none;
  align-items: center;
  gap: 14px;
  z-index: 9999;
  border: 2px solid var(--orange-light);
  max-width: 480px;
  margin: 0 auto;
}
#pwa-banner.visible { display: flex; }
#pwa-banner img { width: 44px; height: 44px; border-radius: 10px; }
#pwa-banner p { flex: 1; font-size: .9rem; margin: 0; font-weight: 600; }
#pwa-banner small { display: block; font-weight: 400; color: var(--text-light); }
.pwa-close { background: none; border: none; cursor: pointer; color: var(--text-light); font-size: 1.2rem; padding: 4px; }

/* ── UTILS ──────────────────────────────────────── */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .img-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 16px; border-radius: 8px; }
  .nav-item.has-drop > a::after { float: right; }
  .nav-drop { display: block; position: static; box-shadow: none; border: none; background: var(--bg-section); margin-top: 4px; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .hero p { display: none; }
  .section { padding: 48px 0; }
  .img-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .img-strip { grid-template-columns: 1fr 1fr; }
  .img-strip img { height: 140px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
