/* ===== IMM – International Migrants of Munich =====
   Colours taken from the campaign posters */
:root {
  --navy: #16338a;
  --navy-dark: #0d2264;
  --navy-ink: #10266b;
  --yellow: #f7b500;
  --yellow-soft: #ffd24d;
  --sky: #dbe8f8;
  --sky-2: #eaf2fc;
  --white: #ffffff;
  --text: #1c2b55;
  --muted: #5a6788;
  --green: #2e9b48;
  --red: #e0352b;
  --orange: #f08a1c;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(13, 34, 100, .12);
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--sky-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy-ink); line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Bavarian diamond pattern, like the poster background */
.section-diamond, .hero {
  background-color: var(--sky-2);
  background-image:
    linear-gradient(60deg, var(--sky) 25%, transparent 25.5%, transparent 75%, var(--sky) 75.5%),
    linear-gradient(-60deg, var(--sky) 25%, transparent 25.5%, transparent 75%, var(--sky) 75.5%);
  background-size: 64px 110px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  box-shadow: 0 2px 14px rgba(13,34,100,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.brand img { height: 50px; width: auto; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--navy-ink); font-size: .95rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; background: var(--yellow); border-radius: 2px; transition: right .25s; }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  font: 700 .85rem "Poppins", sans-serif; color: var(--navy);
  background: var(--white); border: 2px solid var(--navy); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.lang-toggle:hover { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); border-radius: 2px; margin: 4px 0; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-text {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow);
}
.eyebrow { margin: 0 0 6px; }
.eyebrow span { display: inline-block; background: var(--yellow); color: var(--navy-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; padding: 6px 14px; border-radius: 999px; }
.hero-title { color: var(--white); margin: 14px 0 10px; }
.vote-label { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; letter-spacing: .28em; font-weight: 600; text-transform: uppercase; color: #cfdcf6; }
.vote-label svg { width: 34px; height: 34px; }
.liste { display: flex; align-items: center; gap: 14px; font-size: clamp(3rem, 12vw, 5.6rem); font-weight: 800; line-height: 1; }
.liste .num { color: var(--yellow); }
.xbox {
  display: inline-block; width: .55em; height: .55em; flex: none;
  border: .065em solid var(--yellow); border-radius: .1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.4 2.4l5.2 5.2M7.6 2.4L2.4 7.6' stroke='%23f7b500' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") center / 78% no-repeat;
}
.hero-sub { color: #dbe5fb; font-size: 1.02rem; margin: 18px 0 22px; max-width: 34em; }

.date-badge { display: inline-flex; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.date-month { background: var(--yellow); color: var(--navy-dark); font-weight: 800; padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; line-height: 1.05; font-size: 1.15rem; text-align: center; }
.date-month small { font-size: .72rem; letter-spacing: .08em; }
.date-day { background: var(--white); color: var(--navy-dark); font-weight: 800; font-size: 2.4rem; padding: 0 16px; display: flex; align-items: center; }
.date-badge.small .date-month { font-size: .85rem; padding: 5px 10px; }
.date-badge.small .date-day { font-size: 1.6rem; padding: 0 10px; }

.countdown { display: flex; gap: 10px; margin: 22px 0 26px; }
.countdown div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 8px 14px; text-align: center; min-width: 72px; }
.countdown b { display: block; font-size: 1.6rem; color: var(--yellow); line-height: 1.15; }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #cfdcf6; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-poster { margin: 0; }
.hero-poster img { border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(1.5deg); border: 6px solid var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 .98rem "Poppins", sans-serif; text-decoration: none; cursor: pointer;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(13,34,100,.2); }
.btn-yellow { background: var(--yellow); color: var(--navy-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #fff; }

/* ---------- Slogan bar ---------- */
.slogan-bar { background: var(--white); padding: 18px 0; box-shadow: 0 2px 10px rgba(13,34,100,.06); }
.slogan-bar .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; }
.slogan-bar em { font-weight: 800; font-size: clamp(1.05rem, 3.6vw, 1.6rem); color: var(--navy-ink); }
.slogan-bar i { color: var(--yellow); font-style: normal; font-size: 1.6rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.pill { display: inline-block; background: var(--yellow); color: var(--navy-dark); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; padding: 8px 18px; border-radius: 999px; margin-bottom: 14px; box-shadow: 0 4px 10px rgba(247,181,0,.3); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 40em; margin: -4px 0 30px; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-blue { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #dbe5fb; }
.card-blue h3 { color: var(--yellow); }
.card-blue .link-arrow { color: var(--white); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 10px; }
.about-grid p:first-child { margin-top: 0; }

/* ---------- Manifesto ---------- */
.manifesto-list { display: grid; gap: 14px; }
.m-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-left: 6px solid var(--yellow); }
.m-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; }
.m-item summary::-webkit-details-marker { display: none; }
.m-icon { flex: 0 0 52px; height: 52px; border-radius: 16px; background: var(--sky); display: grid; place-items: center; }
.m-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-title { flex: 1; font-weight: 800; font-size: clamp(1.05rem, 3.4vw, 1.3rem); color: var(--navy-ink); line-height: 1.25; }
.chev { width: 12px; height: 12px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); transition: transform .25s; margin-right: 4px; }
.m-item[open] .chev { transform: rotate(-135deg); }
.m-body { padding: 0 24px 22px 90px; }
.m-body p { margin-top: 0; color: var(--muted); }
.m-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.m-body li { position: relative; padding-left: 30px; font-weight: 500; }
.m-body li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--yellow); color: var(--navy-dark); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }

/* ---------- Team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.member { width: calc(25% - 16.5px); }
.member { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 10px 18px; text-align: center; transition: transform .2s; }
.member:hover { transform: translateY(-4px); }
.member .photo { border-radius: 16px; overflow: hidden; border: 3px solid var(--navy); aspect-ratio: 292 / 340; background: var(--sky); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.platz { display: inline-block; margin-top: -16px; position: relative; background: var(--navy); color: var(--white); font-weight: 700; font-size: .8rem; padding: 4px 14px; border-radius: 999px; border-bottom: 3px solid var(--yellow); }
.member h3 { margin: 10px 0 0; font-size: 1.02rem; }

/* ---------- Media ---------- */
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #dbe5fb; }
.section-navy h2 { color: var(--white); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 10px; }
.media-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.media-frame { position: relative; width: 100%; background: #000; }
.media-frame.reel { aspect-ratio: 9 / 16; }
.media-frame.wide { aspect-ratio: 16 / 9; }
.media-frame iframe, .media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.media-card h3 { color: var(--white); font-size: 1rem; padding: 14px 16px 16px; margin: 0; }
.media-empty { text-align: center; padding: 40px 16px; border: 2px dashed rgba(255,255,255,.3); border-radius: var(--radius); }
.play-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--yellow); color: var(--navy-dark); display: grid; place-items: center; font-size: 1.8rem; padding-left: 6px; }
.media-empty p { font-size: 1.1rem; font-weight: 600; color: var(--white); margin: 0; }

/* ---------- Vote ---------- */
.steps { list-style: none; padding: 0; margin: 10px 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps .card { position: relative; padding-top: 40px; }
.step-no { position: absolute; top: -18px; left: 24px; width: 46px; height: 46px; border-radius: 14px; background: var(--yellow); color: var(--navy-dark); font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(247,181,0,.4); }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.vote-links { display: flex; flex-wrap: wrap; gap: 12px; }
.small-note { color: var(--muted); font-size: .88rem; margin-top: 16px; }

/* ---------- Share ---------- */
.share-box { text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 24px; border-top: 6px solid var(--yellow); }
.share-box p { color: var(--muted); max-width: 36em; margin: 0 auto 22px; }
.share-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; }
.social a { font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c7ea; padding: 30px 0 100px; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-inner p { margin: 0; }
.footer-vote { display: flex; align-items: center; gap: 14px; color: var(--yellow); font-weight: 800; font-size: 1.2rem; }
.site-footer a { color: var(--white); }

/* Floating vote button (mobile) */
.vote-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 8px; text-decoration: none;
  background: var(--navy); color: var(--white); font-weight: 700; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13,34,100,.35); border: 2px solid var(--yellow);
}
.vote-fab b { color: var(--yellow); font-size: 1.25rem; }
.vote-fab .xbox { font-size: 2.2rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-poster { max-width: 420px; margin: 0 auto; padding: 0 8px; }
  .member { width: calc(33.333% - 14.7px); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .brand img { height: 42px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); box-shadow: 0 12px 20px rgba(13,34,100,.12);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 16px 20px; border-top: 1px solid var(--sky); }
  .main-nav a::after { display: none; }
  .hero { padding: 20px 0 40px; }
  .hero-text { padding: 28px 20px; }
  .section { padding: 54px 0; }
  .team-grid { gap: 14px; }
  .member { width: calc(50% - 7px); }
  .steps { grid-template-columns: 1fr; }
  .m-item summary { padding: 16px; gap: 12px; }
  .m-icon { flex-basis: 44px; height: 44px; }
  .m-body { padding: 0 18px 20px 18px; }
  .vote-fab { display: inline-flex; }
  .btn { width: 100%; }
  .hero-cta .btn, .vote-links .btn, .share-buttons .btn { flex: 1 1 100%; }
}
.legal{max-width:780px}.legal h2{font-size:1.2rem;margin-top:1.4em}
.step-link { display: inline-block; margin-top: 12px; font-size: .92rem; }
.register-note { margin-top: 24px; border-left: 6px solid var(--yellow); }
.register-note p { color: var(--muted); }
/* Instagram links – hidden until an href is filled in */
a[href=""] { display: none !important; }
.insta { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 8px; border-radius: 50%; background: var(--sky); }
.insta:hover { background: var(--yellow); }
.insta svg, .insta-link svg, .follow-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.insta svg { color: var(--navy); }
.insta-link { display: inline-flex; align-items: center; gap: 6px; }
.follow-btn { margin-top: 22px; }
/* IMM Instagram – highlighted everywhere */
.btn-ig, .ig-header, .ig-pill { background: linear-gradient(45deg, #f9b233 0%, #ee2a7b 45%, #8a3ab9 75%, #4c68d7 100%); color: #fff; }
.ig-header { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 4px 12px rgba(238,42,123,.35); }
.ig-header svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.ig-pill, .ig-big { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 10px 22px 10px 12px; box-shadow: 0 8px 20px rgba(238,42,123,.35); }
.ig-pill { margin-top: 18px; color: #fff; }
.ig-pill svg, .ig-big svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.22); fill: none; stroke: #fff; stroke-width: 2; }
.ig-pill span, .ig-big span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.ig-pill small, .ig-big small { font-weight: 500; font-size: .75rem; opacity: .9; }
.btn-ig svg { stroke: #fff; }
.ig-big { font-size: 1rem; }
.social { flex-direction: column; align-items: center; }
.footer-ig { display: inline-flex; align-items: center; gap: 4px; }
.footer-ig svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 760px) { .ig-pill, .ig-big { width: 100%; justify-content: center; padding-right: 14px; font-size: .86rem; } .ig-pill span, .ig-big span { min-width: 0; overflow-wrap: anywhere; } }
@media (max-width: 760px) { .ig-big { font-size: .8rem; gap: 8px; padding-left: 8px; } }
.btn-back { width: auto !important; }
