:root {
  --bg: #080b10;
  --panel: #11161e;
  --panel-2: #171d27;
  --text: #f4f6f8;
  --muted: #b4bcc8;
  --red: #f01835;
  --red-soft: #ff4c61;
  --line: rgba(255,255,255,.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.hero { min-height: 92svh; position: relative; overflow: hidden; display: grid; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: var(--red); z-index: 5; }
.hero-image { position: absolute; inset: 0 0 0 38%; background: url("assets/rennen-grenchen.jpg") 61% 50% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #080b10 0%, #080b10 36%, rgba(8,11,16,.9) 47%, rgba(8,11,16,.12) 78%), linear-gradient(0deg, rgba(8,11,16,.8), transparent 42%); }
.nav { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 92px; display: flex; justify-content: space-between; align-items: center; z-index: 6; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { width: 28px; height: 4px; background: var(--red); box-shadow: 8px 8px 0 var(--red-soft); transform: skewX(-25deg); }
.nav-link { text-decoration: none; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--red); padding: 10px 0 7px; }
.hero-content { position: relative; z-index: 2; padding-top: 95px; }
.eyebrow { margin: 0 0 18px; color: var(--red-soft); font-weight: 800; font-size: 13px; letter-spacing: .14em; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; max-width: 720px; font-size: clamp(52px, 7.2vw, 100px); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
h1 span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.intro { max-width: 620px; margin: 32px 0 35px; color: #dde2e8; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; }
.primary, .card-action { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 0 24px; color: white; background: var(--red); text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.primary:hover, .card-action:hover { transform: translateY(-2px); background: #ff2944; }
.hero-stat { position: absolute; z-index: 3; right: 0; bottom: 0; width: min(460px, 45vw); padding: 26px 36px 28px; background: rgba(8,11,16,.93); border-top: 4px solid var(--red); }
.hero-stat strong { display: block; color: var(--red-soft); font-size: clamp(38px, 5vw, 68px); line-height: 1; }
.hero-stat span { display: block; margin-top: 9px; color: var(--muted); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .07em; }

.choice-section { padding: 120px 0; }
.choice-section h2, .project-section h2, .trust-section h2, .contact-section h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.02; letter-spacing: -.045em; }
.section-lead { margin: 22px 0 48px; max-width: 660px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.support-card { position: relative; overflow: hidden; min-height: 570px; padding: 48px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.support-card::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -130px; top: -130px; }
.small-card { border-top: 5px solid var(--red); }
.bank-card { background: linear-gradient(145deg, #f3f4f6, #dfe3e8); color: #090c11; border-top: 5px solid #fff; }
.card-number { position: absolute; right: 34px; top: 28px; font-weight: 900; font-size: 56px; color: rgba(255,255,255,.07); }
.bank-card .card-number { color: rgba(9,12,17,.08); }
.card-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--red); font-size: 30px; font-weight: 800; margin-bottom: 38px; }
.card-kicker { margin: 0 0 13px; color: var(--red-soft); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.bank-card .card-kicker { color: #b20d23; }
.support-card h3 { margin: 0 0 20px; font-size: clamp(29px, 3vw, 42px); line-height: 1.05; letter-spacing: -.03em; }
.support-card > p:not(.card-kicker) { color: var(--muted); font-size: 17px; line-height: 1.55; }
.bank-card > p:not(.card-kicker) { color: #4c535d; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.amounts button { min-height: 58px; border: 1px solid var(--line); color: white; background: #090d13; font: inherit; font-weight: 800; cursor: pointer; }
.amounts button:hover, .amounts button.active { border-color: var(--red); background: var(--red); }
.support-card .card-action { margin-top: auto; width: 100%; }
.card-action.light { color: white; background: #0b0f15; }
.support-card small { display: block; margin-top: 13px; color: #7d8793; line-height: 1.4; }
.benefits { list-style: none; padding: 0; margin: 22px 0 34px; display: grid; gap: 13px; }
.benefits li { position: relative; padding-left: 28px; font-weight: 700; }
.benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.project-section { padding: 120px 0; background: var(--panel); overflow: hidden; }
.project-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.project-copy > p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.costs { margin-top: 42px; border-top: 1px solid var(--line); }
.costs div { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.costs strong { color: var(--red-soft); font-size: 28px; }
.costs span { color: var(--muted); font-weight: 700; }
.team-visual { min-height: 560px; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.team-visual img { position: relative; z-index: 2; width: min(100%, 560px); max-height: 540px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 25px 28px rgba(0,0,0,.48)); }
.team-glow { position: absolute; width: 410px; height: 410px; border-radius: 50%; background: radial-gradient(circle, rgba(240,24,53,.35), transparent 68%); }
.team-visual p { position: absolute; z-index: 3; bottom: 8px; left: 0; margin: 0; padding: 13px 18px; background: var(--red); font-weight: 700; }

.trust-section { padding: 95px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: end; }
.trust-grid > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.contact-section { padding: 0 0 100px; }
.contact-invite { padding: 54px; background: linear-gradient(115deg, var(--panel-2), #10151c); border-left: 5px solid var(--red); display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.contact-invite > div { max-width: 740px; }
.contact-invite h2 { max-width: 700px; }
.contact-invite p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.contact-invite .primary { flex: 0 0 auto; white-space: nowrap; }
.contact-open { border: 0; cursor: pointer; font: inherit; }
.contact-modal[hidden] { display: none; }
.contact-modal { position: fixed; z-index: 1000; inset: 0; padding: 17px; display: grid; place-items: center; overflow-y: auto; background: rgba(3,5,9,.84); backdrop-filter: blur(7px); }
.contact-modal.is-open { animation: backdrop-in .18s ease-out; }
.modal-card { width: min(940px, 100%); max-height: calc(100svh - 34px); overflow-y: auto; padding: 42px 48px 46px; border: 1px solid var(--line); background: #10151c; color: white; box-shadow: 0 28px 90px rgba(0,0,0,.7); animation: modal-in .2s ease-out; }
body.modal-open { overflow: hidden; }
.modal-head { margin-bottom: 30px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.modal-head h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); }
.modal-close { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: white; font: 300 32px/1 Arial, sans-serif; cursor: pointer; }
.modal-close:hover, .modal-close:focus-visible { border-color: var(--red); background: rgba(240,24,53,.12); }
.contact-form { display: grid; gap: 18px; }
.contact-form { max-width: 900px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label:not(.consent) { display: grid; gap: 8px; }
.contact-form label > span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-form em { color: var(--muted); font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 15px 16px; color: white; background: #090d13; font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red-soft); box-shadow: 0 0 0 3px rgba(240,24,53,.14); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; color: var(--muted); font-size: 12px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.consent a, .footer-links a { color: white; text-underline-offset: 3px; }
.form-submit { border: 0; cursor: pointer; width: fit-content; font: inherit; }
.form-note { margin: -7px 0 0; color: #7f8996; font-size: 11px; }
.form-honey { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.social-section { padding: 100px 0 34px; }
.social-panel { padding: 42px 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.social-panel h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); }
.social-panel > div:first-child > p:last-child { margin: 14px 0 0; color: var(--muted); line-height: 1.6; }
.social-handles { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.social-handles span { padding: 13px 17px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); color: white; font-weight: 800; }
.social-handles span:first-child { border-color: rgba(240,24,53,.65); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
footer { padding: 28px 0; border-top: 1px solid var(--line); color: #7f8996; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #aeb6c1; }

.legal-page { min-height: 100svh; padding: 45px 0 90px; background: var(--bg); }
.legal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 90px; }
.legal-back { color: white; text-decoration: none; font-weight: 800; border-bottom: 2px solid var(--red); padding-bottom: 6px; }
.legal-content { max-width: 780px; }
.legal-content h1 { font-size: clamp(48px, 7vw, 84px); margin-bottom: 48px; }
.legal-content h2 { margin: 44px 0 14px; font-size: 25px; }
.legal-content p, .legal-content li, .legal-content address { color: var(--muted); font-size: 17px; line-height: 1.75; font-style: normal; }
.legal-content a { color: white; }
.legal-note { margin-top: 50px; padding: 22px; border-left: 4px solid var(--red); background: var(--panel); }
.thanks-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 30px; }
.thanks-card { max-width: 720px; }
.thanks-mark { width: 72px; height: 72px; margin: 0 auto 30px; display: grid; place-items: center; background: var(--red); font-size: 38px; font-weight: 900; }
.thanks-card h1 { font-size: clamp(44px, 8vw, 82px); }
.thanks-card p { color: var(--muted); font-size: 19px; line-height: 1.6; margin: 25px auto 35px; }

@media (max-width: 820px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 830px; align-items: end; padding-bottom: 155px; }
  .nav { height: 74px; }
  .nav-link { display: none; }
  .hero-image { inset: 0; background-position: 68% center; }
  .hero-shade { background: linear-gradient(0deg, #080b10 4%, rgba(8,11,16,.98) 36%, rgba(8,11,16,.1) 78%); }
  .hero-content { padding-top: 280px; }
  h1 { font-size: clamp(44px, 14vw, 70px); }
  .intro { font-size: 17px; }
  .hero-stat { width: calc(100% - 28px); right: 0; padding: 20px 22px 22px; }
  .choice-section, .project-section { padding: 82px 0; }
  .choice-grid, .project-grid, .trust-grid { grid-template-columns: 1fr; }
  .support-card { min-height: auto; padding: 32px 24px; }
  .support-card .card-action { margin-top: 24px; }
  .project-grid { gap: 20px; }
  .team-visual { min-height: 430px; }
  .trust-grid { gap: 28px; }
  .contact-invite { padding: 38px 26px; flex-direction: column; align-items: flex-start; gap: 30px; }
  .contact-modal { padding: 10px; }
  .modal-card { max-height: calc(100svh - 20px); padding: 28px 20px 30px; }
  .modal-head { margin-bottom: 24px; }
  .social-panel { padding: 36px 10px; grid-template-columns: 1fr; gap: 28px; }
  .social-handles { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
  .footer-inner { flex-direction: column; }
  .legal-nav { margin-bottom: 65px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
