@font-face { font-family: 'Nimbus'; src: url('/caral/fonts/NimbusSans-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nimbus'; src: url('/caral/fonts/NimbusSans-Bold.otf') format('opentype'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Nimbus Narrow'; src: url('/caral/fonts/NimbusSansNarrow-Bold.otf') format('opentype'); font-weight: 600 900; font-display: swap; }

:root {
  --ink: #050913;
  --ink-2: #09111f;
  --panel: #0c1524;
  --panel-soft: #111d2e;
  --text: #f7f9fd;
  --muted: #9aa7b9;
  --line: rgba(255,255,255,.13);
  --blue: #23b8ff;
  --blue-2: #4367ff;
  --gold: #ffad3d;
  --gold-2: #ff7a24;
  --red: #f15b64;
  --font-display: 'Nimbus Narrow', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Nimbus', Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 200; padding: 12px 18px; background: white; color: #000; transition: top .2s; }
.skip-link:focus { top: 18px; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: min(calc(100% - 56px), var(--max));
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.5); font: 800 20px var(--font-display); letter-spacing: -1px; position: relative; }
.brand-mark::after { content: ''; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 2px; background: linear-gradient(90deg,var(--blue),var(--gold)); }
.brand strong { display: block; font: 700 24px/1 var(--font-display); }
.brand small { display: block; color: #bdc7d4; font-size: 11px; letter-spacing: 1.6px; margin-top: 4px; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { font-size: 14px; font-weight: 600; }
.nav-cta { border: 1px solid rgba(255,255,255,.5); padding: 12px 18px; transition: .2s ease; }
.nav-cta:hover { background: white; color: var(--ink); }

.hero { min-height: 880px; height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(2,6,14,.94) 0%,rgba(3,8,17,.7) 44%,rgba(3,8,17,.18) 72%), linear-gradient(0deg,rgba(3,7,14,.88),transparent 35%), url('/caral/assets/tankstelle-hero.webp') center 58%/cover no-repeat; transform: scale(1.015); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 75% 50%,transparent 0 22%,rgba(2,6,13,.45) 80%); }
.hero-light { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: .13; pointer-events: none; }
.hero-light-blue { left: -280px; top: 120px; background: var(--blue); }
.hero-light-gold { right: -280px; bottom: -120px; background: var(--gold); }
.hero-content { width: min(calc(100% - 56px), var(--max)); margin: 74px auto 0; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: #d7dfeb; text-transform: uppercase; letter-spacing: 5px; font-size: 12px; font-weight: 700; }
.eyebrow span { width: 44px; height: 2px; background: linear-gradient(90deg,var(--blue),var(--gold)); }
.hero h1 { margin: 0; max-width: 750px; font: 800 clamp(74px, 9vw, 136px)/.78 var(--font-display); letter-spacing: -3px; text-transform: uppercase; }
.hero h1 span { display: block; font-size: .42em; letter-spacing: 11px; color: #dce5f0; margin: 0 0 16px 6px; }
.hero h1 em { display: block; font-size: .66em; line-height: 1; color: var(--gold); font-weight: 600; text-transform: none; letter-spacing: 0; margin-top: 20px; }
.hero-copy { max-width: 650px; color: #c5cfdb; font-size: 19px; margin: 28px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 32px; border: 1px solid var(--line); background: transparent; color: white; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s ease; }
.button-primary { background: white; color: var(--ink); border-color: white; }
.button-primary:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.06); }
.hero-facts { display: flex; gap: 0; margin-top: 70px; border-top: 1px solid var(--line); width: min(720px,100%); }
.hero-facts div { display: flex; flex-direction: column; gap: 4px; padding: 20px 38px 0 0; margin-right: 38px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border: 0; }
.hero-facts span { color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.hero-facts strong { font-size: 15px; }
.scroll-cue { position: absolute; right: 34px; bottom: 38px; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: 4px; font-size: 10px; color: #9daabb; }
.scroll-cue span { height: 58px; width: 1px; background: linear-gradient(white,transparent); }

.section { width: min(calc(100% - 56px), var(--max)); margin: 0 auto; padding: 130px 0; }
.section-heading { max-width: 780px; margin-bottom: 58px; }
.section-heading h2, .application-intro h2 { margin: 0; font: 700 clamp(48px,6vw,82px)/.95 var(--font-display); text-transform: uppercase; letter-spacing: -1px; }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); font-size: 18px; margin-top: 24px; }
.concept { position: relative; }
.concept::before { content: '09/10'; position: absolute; right: -10px; top: 70px; font: 800 180px/1 var(--font-display); color: rgba(255,255,255,.025); pointer-events: none; }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.event-card { position: relative; min-height: 720px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.event-card:hover img { transform: scale(1.035); }
.event-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,rgba(3,8,16,.97) 0%,rgba(4,9,18,.84) 46%,rgba(4,9,18,.18) 100%); }
.event-card-blue::after, .event-card-gold::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; }
.event-card-blue::after { background: linear-gradient(90deg,var(--blue),var(--blue-2)); }
.event-card-gold::after { background: linear-gradient(90deg,var(--gold),var(--gold-2)); }
.event-index { position: absolute; right: 28px; top: 22px; font: 600 16px var(--font-display); color: rgba(255,255,255,.7); letter-spacing: 3px; }
.event-card-content { position: absolute; inset: auto 42px 44px; }
.event-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); margin-bottom: 28px; font-size: 25px; }
.event-card-blue .event-icon, .event-card-blue .card-kicker { color: #69d1ff; }
.event-card-gold .event-icon, .event-card-gold .card-kicker { color: #ffc46e; }
.card-kicker { margin: 0 0 7px; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }
.event-card h3 { margin: 0; font: 700 64px/1 var(--font-display); text-transform: uppercase; }
.event-card p { max-width: 520px; color: #c3cedb; }
.event-card ul { list-style: none; padding: 0; display: grid; gap: 7px; color: #e9edf3; }
.event-card li::before { content: '—'; margin-right: 9px; color: var(--gold); }
.text-button { border: 0; border-bottom: 1px solid rgba(255,255,255,.4); background: none; padding: 14px 0 9px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 28px; }
.text-button:hover { border-color: white; }

.application-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; padding-top: 150px; }
.application-intro { position: sticky; top: 40px; }
.application-intro h2 em { color: var(--gold); font-weight: 600; }
.application-intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 430px; }
.application-meta { display: grid; grid-template-columns: 1fr 1fr; margin: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.application-meta div { padding: 24px 10px 24px 0; display: flex; flex-direction: column; }
.application-meta div:first-child { border-right: 1px solid var(--line); }
.application-meta div:last-child { padding-left: 24px; }
.meta-number { font: 700 38px/1 var(--font-display); color: white; }
.application-meta div span:last-child { color: var(--muted); font-size: 12px; margin-top: 7px; }
.contact-card { background: linear-gradient(135deg,rgba(35,184,255,.11),rgba(255,173,61,.08)); border: 1px solid var(--line); padding: 20px; }
.contact-card > span { color: var(--muted); font-size: 12px; }
.contact-card div { margin-top: 5px; font-weight: 700; font-size: 14px; }
.form-shell { background: #080f1b; border: 1px solid var(--line); box-shadow: 0 32px 100px rgba(0,0,0,.28); }
.form-topline { min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.form-topline div { color: #dfe8f2; font-weight: 600; }
.live-dot, .closed-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #51df8d; box-shadow: 0 0 0 5px rgba(81,223,141,.12); }
.closed-dot { background: var(--red); box-shadow: 0 0 0 5px rgba(241,91,100,.12); }
.form-block { padding: 38px; border-bottom: 1px solid var(--line); }
.block-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.block-heading > span { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border: 1px solid var(--line); color: var(--gold); font: 600 14px var(--font-display); }
.block-heading h3 { margin: 0; font: 700 28px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .5px; }
.block-heading p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { margin-bottom: 20px; }
.field > span { color: #d7e0ec; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; background: #0d1726; color: white; border: 1px solid rgba(255,255,255,.13); border-radius: 0; outline: none; padding: 15px 16px; transition: .15s ease; }
.field input, .field select { min-height: 54px; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35,184,255,.09); }
.field ::placeholder { color: #69778a; }
.field small { color: #647286; text-align: right; font-size: 11px; }
.event-hint { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 20px; padding: 18px; margin-top: 16px; border-left: 3px solid; background: rgba(255,255,255,.035); }
.event-hint strong { font: 700 21px var(--font-display); text-transform: uppercase; }
.event-hint span { color: var(--muted); font-size: 13px; }
.hint-blue { border-color: var(--blue); }
.hint-gold { border-color: var(--gold); }
.upload-zone { min-height: 190px; border: 1px dashed rgba(255,255,255,.28); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 28px; text-align: center; cursor: pointer; transition: .2s; background: rgba(255,255,255,.018); }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--blue); background: rgba(35,184,255,.055); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); color: var(--blue); font-size: 25px; margin-bottom: 15px; }
.upload-zone strong { font-size: 15px; }
.upload-zone > span:last-child { color: var(--muted); font-size: 12px; margin-top: 5px; }
.image-previews { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 12px; }
.preview-item { position: relative; aspect-ratio: 1; background: #101a28; overflow: hidden; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(3,7,14,.88); cursor: pointer; font-size: 19px; line-height: 1; }
.preview-item > span { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; background: rgba(3,7,14,.85); font-size: 10px; letter-spacing: 1px; }
.form-confirm { border-bottom: 0; }
.check-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #aab6c5; font-size: 12px; margin: 14px 0; cursor: pointer; }
.check-row input { appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid rgba(255,255,255,.3); background: #0d1726; display: grid; place-items: center; }
.check-row input:checked { background: var(--blue); border-color: var(--blue); }
.check-row input:checked::after { content: '✓'; color: #00101a; font-weight: 800; font-size: 13px; }
.honeypot { position: absolute; left: -9999px; }
.submit-button { width: 100%; min-height: 66px; margin-top: 26px; border: 0; background: linear-gradient(90deg,var(--blue),#5f75ff); color: white; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-weight: 800; cursor: pointer; transition: .2s; }
.submit-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.submit-button:disabled { opacity: .65; cursor: wait; }
.submit-arrow { font-size: 24px; font-weight: 400; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: white; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 14px 0 0; font-size: 13px; }
.form-status.is-error { color: #ff8b92; }
.success-panel { padding: 70px 50px; text-align: center; }
.success-panel .eyebrow { justify-content: center; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(81,223,141,.12); border: 1px solid rgba(81,223,141,.4); color: #69e89b; font-size: 34px; margin: 0 auto 30px; }
.success-panel h3 { font: 700 46px/1 var(--font-display); text-transform: uppercase; margin: 0 0 18px; }
.success-panel > p:not(.eyebrow) { color: var(--muted); }
.reference-box { margin: 30px auto; padding: 20px; max-width: 400px; border: 1px solid var(--line); background: #0d1726; display: flex; flex-direction: column; }
.reference-box span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; }
.reference-box strong { color: var(--gold); font: 700 27px var(--font-display); letter-spacing: 2px; margin-top: 4px; }

.shop-strip { width: min(calc(100% - 56px),var(--max)); margin: 20px auto 0; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.shop-strip > div { display: flex; align-items: baseline; gap: 15px; }
.shop-small { color: var(--muted); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.shop-strip strong { font: 700 23px var(--font-display); }
.shop-strip div span:last-child { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.shop-strip a { font-size: 13px; font-weight: 700; display: flex; gap: 18px; }
footer { width: min(calc(100% - 56px),var(--max)); min-height: 96px; margin: auto; display: flex; align-items: center; justify-content: space-between; color: #667487; font-size: 11px; }
footer a:hover { color: white; }

@media (max-width: 980px) {
  .hero { min-height: 780px; }
  .hero h1 { font-size: 92px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 660px; }
  .application-section { grid-template-columns: 1fr; gap: 50px; }
  .application-intro { position: static; }
  .application-intro > p:not(.eyebrow) { max-width: 680px; }
  .contact-card { max-width: 500px; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 32px); height: 78px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand small { display: none; }
  .site-header nav a:first-child { display: none; }
  .nav-cta { padding: 9px 12px; font-size: 12px !important; }
  .hero { min-height: 780px; height: 100svh; align-items: flex-end; }
  .hero-photo { background: linear-gradient(0deg,rgba(3,7,14,.97) 0%,rgba(3,7,14,.42) 58%,rgba(3,7,14,.62) 100%), url('/caral/assets/tankstelle-hero.webp') 61% center/cover no-repeat; }
  .hero-content { width: calc(100% - 32px); margin: 0 auto 42px; }
  .hero h1 { font-size: clamp(62px,21vw,88px); letter-spacing: -2px; }
  .hero h1 span { letter-spacing: 7px; }
  .hero-copy { font-size: 16px; line-height: 1.5; margin: 23px 0 25px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-facts { margin-top: 30px; }
  .hero-facts div { padding: 16px 13px 0 0; margin-right: 13px; }
  .hero-facts strong { font-size: 12px; }
  .scroll-cue { display: none; }
  .section { width: calc(100% - 32px); padding: 90px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .application-intro h2 { font-size: 50px; }
  .section-heading > p:last-child { font-size: 16px; }
  .concept::before { display: none; }
  .event-grid { gap: 16px; }
  .event-card { min-height: 670px; }
  .event-card-content { inset: auto 24px 28px; }
  .event-card h3 { font-size: 52px; }
  .application-section { padding-top: 95px; }
  .form-topline { padding: 0 18px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; min-height: 70px; }
  .form-block { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .event-hint { grid-template-columns: 1fr; gap: 3px; }
  .image-previews { grid-template-columns: repeat(3,1fr); }
  .success-panel { padding: 55px 24px; }
  .shop-strip { width: calc(100% - 32px); align-items: flex-start; }
  .shop-strip > div { display: grid; gap: 1px; }
  .shop-strip div span:last-child { display: none; }
  footer { width: calc(100% - 32px); }
}

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