/* =============================================================
   SWISSVIVO  ·  theme-events.css
   Die Farbwelt und die Formen von swissvivo.ch auf den Anlass-Seiten
   (events.swissvivo.ch) und dem Verwaltungsbereich. Eine Schicht nach
   event.css: nur Farben, Rahmen, Knöpfe und Kopf und Fuss. Inhalte,
   Rechner, Grafiken und Formulare bleiben, wie sie sind.
   ============================================================= */
/* Die Seite setzt je Anlass eine Akzentfarbe inline (<style>:root{--ev-accent:…}</style>);
   darum hier mit !important, sonst bleibt das Gold. */
:root, body.ev-body, html:root {
  --ev-accent: #2b52c2 !important;
  --navy: #2b52c2; --navy-deep: #1a3689; --navy-soft: #e9eefc; --navy-line: #c6d3f7;
  --coral: #f4694e; --coral-deep: #dc5840; --coral-light: #f7a08c;
  --cool: #f3f5fa; --rand: clamp(16px, 2.5vw, 44px);

  /* Was in event.css Gold war */
  --ev-tint: #f3f5fa;
  --ev-mint: #e9eefc;
  --ev-ink: #15192b;
  --ev-line: rgba(43, 82, 194, 0.12);
  --ev-line-soft: rgba(43, 82, 194, 0.07);
}

body.ev-body { background: var(--cool); color: #3a4259; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Kopf: Navy-Karte wie auf der Website, weisses Logo */
.ev-nav { position: relative !important; background: transparent !important; border: 0 !important; backdrop-filter: none !important; }
.ev-nav__in { background: #2b52c2; border-radius: 14px; height: 56px; margin: 12px var(--rand) 0; padding: 0 20px; max-width: none !important; width: auto !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ev-logo img { max-width: 170px !important; filter: brightness(0) invert(1); }
.ev-nav__right { display: flex; align-items: center; gap: 14px; }
.ev-lang a { color: rgba(255, 255, 255, 0.72) !important; text-decoration: none; font-weight: 600; font-size: 13px; padding: 4px 6px; }
.ev-lang a.on, .ev-lang a:hover { color: #ffffff !important; }

/* Knöpfe: Navy, 12 px Radius, kein Schein, keine Bewegung */
.ev-btn { border-radius: 12px !important; font-family: "Inter", system-ui, sans-serif; letter-spacing: 0.01em; }
.ev-btn--solid { background: var(--navy) !important; color: #ffffff !important; box-shadow: none !important; border-color: var(--navy) !important; }
.ev-btn--solid:hover { background: var(--navy-deep) !important; color: #ffffff !important; transform: none !important; filter: none !important; }
.ev-nav .ev-btn--solid { background: var(--coral) !important; border-color: var(--coral) !important; }
.ev-nav .ev-btn--solid:hover { background: var(--coral-deep) !important; border-color: var(--coral-deep) !important; }
.ev-btn--ghost, .ev-btn--line { color: var(--navy) !important; border-color: var(--navy-line) !important; background: transparent !important; }
.ev-btn--ghost:hover { background: var(--navy-soft) !important; }

/* Hero: Navy-Block mit 28 px Radius und Aussenrand, Foto darunter sichtbar */
.ev-hero { margin: 12px var(--rand) 0 !important; border-radius: 28px !important; overflow: hidden; min-height: min(56vh, 580px) !important; background: #1a3689 !important; box-shadow: none !important; padding: clamp(48px, 7vh, 96px) 0 clamp(44px, 6vw, 72px) !important; }
/* Das Foto bleibt sichtbar, der Navy-Schleier legt sich nur darueber. */
.ev-hero__scrim { background: linear-gradient(100deg, rgba(26, 54, 137, 0.94) 0%, rgba(26, 54, 137, 0.86) 40%, rgba(26, 54, 137, 0.5) 72%, rgba(26, 54, 137, 0.2) 100%), linear-gradient(0deg, rgba(26, 54, 137, 0.6) 0%, rgba(26, 54, 137, 0) 56%) !important; }
.ev-hero h1 { font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.ev-hero .ev-kicker, .ev-hero .ev-eyebrow, .ev-kicker { color: var(--coral-light) !important; font-family: "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }

/* Eckdaten im Hero: ruhige Kacheln statt Milchglas */
.ev-fact { background: rgba(255, 255, 255, 0.1) !important; border-color: rgba(255, 255, 255, 0.2) !important; border-radius: 14px !important; }
.ev-fact b, .ev-fact strong { color: #ffffff !important; }
.ev-fact span, .ev-fact small { color: rgba(255, 255, 255, 0.78) !important; }

/* Abschnitte, Karten, Formulare */
.ev-wrap { max-width: 1680px !important; padding-inline: var(--rand) !important; }
.ev-section, .ev-block, .ev-card, .ev-steps, .ev-form { border-radius: 20px; }
.ev-card, .ev-block, .ev-form { background: #ffffff; border: 1px solid var(--navy-line); box-shadow: none !important; }
.ev-field input, .ev-field select, .ev-field textarea { border-radius: 10px !important; border-color: #dfe3ee !important; font-size: 16px; }
.ev-field input:focus, .ev-field select:focus, .ev-field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy) !important; box-shadow: none !important; }
.ev-check input:checked + span, .ev-check .on { color: var(--navy) !important; }
.ev-ok { background: #e8f4ec !important; color: #1f6b3a !important; border-color: #bfe0cb !important; }
.ev-alert { background: #fbe7e5 !important; color: #a23a2a !important; border-color: #f3c9c2 !important; }
.ev-steps li::before, .ev-steps .n { background: var(--navy-soft) !important; color: var(--navy) !important; }

h1, h2, h3, .ev-h1, .ev-h2 { font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif; letter-spacing: -0.025em; color: var(--ev-ink); }
a { color: var(--navy); }

/* Fusszeile wie auf der Website: Navy-Block, weisses Logo, helle Schrift */
.ev-foot { background: linear-gradient(180deg, #2b52c2, #1a3689) !important; color: rgba(226, 232, 240, 0.8) !important; border-radius: 28px; margin: clamp(40px, 5vw, 72px) var(--rand) 28px !important; padding: clamp(32px, 4vw, 56px) 0 !important; border: 0 !important; }
.ev-foot__logo { filter: brightness(0) invert(1); max-width: 180px; height: auto; margin-bottom: 18px; }
.ev-foot p { color: rgba(226, 232, 240, 0.8) !important; margin: 6px 0; }
.ev-foot a { color: #ffffff !important; text-decoration: none; }
.ev-foot a:hover { color: var(--coral-light) !important; }
.ev-foot__legal { color: rgba(226, 232, 240, 0.6) !important; margin-top: 18px !important; font-size: 0.82rem; }

@media (max-width: 640px) {
  :root, body.ev-body { --rand: 12px; }
  .ev-nav__in { height: 50px; padding: 0 14px; }
  .ev-logo img { max-width: 140px !important; }
}

/* Übersicht der Anlässe: Kopfblock in Navy, Karten wie auf der Website */
.ev-sec { padding: clamp(40px, 5vw, 80px) 0 !important; }
.ev-sec:first-of-type .ev-head { background: linear-gradient(140deg, #2a4ea8 0%, #2b52c2 55%, #1a3689 100%); border-radius: 28px; margin: 0 0 clamp(24px, 3vw, 44px); padding: clamp(32px, 4.5vw, 64px) clamp(24px, 3vw, 56px); }
.ev-sec:first-of-type .ev-head h1, .ev-sec:first-of-type .ev-head h2 { color: #ffffff !important; font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 10px 0 12px; }
.ev-sec:first-of-type .ev-head .ev-lead { color: rgba(255, 255, 255, 0.86) !important; max-width: 56ch; }
.ev-eyebrow { color: var(--coral) !important; font-family: "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }
.ev-sec:first-of-type .ev-head .ev-eyebrow { color: var(--coral-light) !important; }

.ev-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.ev-item { background: #ffffff !important; border: 1px solid var(--navy-line) !important; border-radius: 20px !important; padding: clamp(22px, 2.4vw, 32px) !important; box-shadow: none !important; text-decoration: none; display: block; transition: border-color .25s ease, transform .25s ease; }
.ev-item:hover { border-color: var(--navy) !important; transform: translateY(-2px); }
.ev-item h2, .ev-item h3 { color: var(--ev-ink) !important; font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 10px 0 0; }
.ev-when { color: var(--coral) !important; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; margin: 0; }
.ev-item .ev-muted { color: var(--navy) !important; font-weight: 600; }
.ev-muted { color: var(--ev-soft, #566072); }

/* Kopfblock der Übersicht über die volle Breite, Sprachwahl als Paar */
.ev-sec:first-of-type .ev-head { width: auto; max-width: none; }
.ev-sec .ev-head { max-width: none !important; }
.ev-lang { display: inline-flex; gap: 4px; }
.ev-lang a { border-radius: 8px; }
.ev-lang a.on { background: rgba(255, 255, 255, 0.16); }

/* Anmeldekarte: weisser Kopf mit Navy-Schrift, Preis als Navy-Pille */
.ev-reg__card { background: #ffffff !important; border: 1px solid var(--navy-line) !important; border-radius: 20px !important; box-shadow: none !important; }
.ev-reg__card::before { background: var(--navy) !important; }
.ev-reg__cardhead { background: transparent !important; border-bottom: 1px solid var(--navy-line); }
.ev-reg__cardhead b { color: var(--ev-ink) !important; font-family: "Bricolage Grotesque", "Inter", sans-serif !important; }
.ev-reg__kicker { color: var(--coral) !important; }
.ev-reg__price { background: var(--navy-soft) !important; color: var(--navy) !important; }
.ev-field > span { color: var(--ev-soft, #566072); }
.ev-reg__facts li b, .ev-steps li b { color: var(--ev-ink); }
.ev-reg__facts li::before, .ev-steps li::before { background: var(--coral) !important; }

/* Formularfelder weiss statt creme; Hero-Foto: die Beraterin mit Tablet, auf allen Anlass-Seiten */
.ev-field input, .ev-field select, .ev-field textarea { background: #ffffff !important; color: var(--ev-ink) !important; }
.ev-hero::before { background-image: url(/assets/site/img/beratung-hero.jpg) !important; background-position: center 30% !important; }

/* 2026-10-11: Status »Anmeldung offen« in Fresh Green, Seitengrund Cool Mist */
body { background: #f4f6f9 !important; }
.ev-card .ev-open, .ev-card a.ev-more, .ev-list .ev-state, .ev-status--open { color: #2a9d5c !important; }
