/* Checkpoint Film & Event – Stylesheet */
:root {
  --bg: #2d2d30;
  --bg-deep: #222326;
  --surface: #323337;
  --line: #45464b;
  --text: #ffffff;
  --muted: #b4b6bb;
  --orange: #ed6b21;
  --orange-soft: rgba(237, 107, 33, .14);
  --radius: 6px;
  --wrap: 1080px;
  --font: "Segoe UI", "Myriad Pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--orange); color: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--orange); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 12px; cursor: pointer;
}

/* Page heads */
.page-head { padding: 72px 0 32px; }
.eyebrow { color: var(--orange); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 300; line-height: 1.15; margin: 0; letter-spacing: .01em; }
h2 { font-size: 22px; font-weight: 400; margin: 48px 0 14px; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.lead { color: var(--muted); max-width: 640px; margin: 16px 0 0; }
.section { padding-bottom: 96px; }

/* Home */
.hero .wrap { width: 100%; }
.hero {
  position: relative;
  min-height: calc(100vh - 76px - 74px);
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  isolation: isolate;
}
/* wandernder Lichtfleck: warmes Orange im Kern, weiches Weiß außen */
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 120vmax; height: 120vmax; left: 50%; top: 50%;
  margin: -60vmax 0 0 -60vmax;
  background:
    radial-gradient(circle at center, rgba(237,107,33,.30) 0%, rgba(237,107,33,.12) 18%, rgba(255,255,255,.05) 34%, transparent 55%);
  animation: licht 22s ease-in-out infinite alternate;
  will-change: transform;
}
/* Lichtkegel, der langsam durch das Bild streicht */
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: -40% -60%;
  background: linear-gradient(110deg, transparent 42%, rgba(255,255,255,.045) 48%, rgba(237,107,33,.10) 50%, rgba(255,255,255,.045) 52%, transparent 58%);
  animation: kegel 14s ease-in-out infinite;
  will-change: transform;
}
@keyframes licht {
  0%   { transform: translate(28%, -18%) scale(.85); opacity: .75; }
  35%  { transform: translate(-6%, 8%) scale(1.05); opacity: 1; }
  70%  { transform: translate(-30%, -10%) scale(.9); opacity: .8; }
  100% { transform: translate(14%, 20%) scale(1); opacity: .95; }
}
@keyframes kegel {
  0%   { transform: translateX(-30%); opacity: 0; }
  20%  { opacity: 1; }
  60%  { opacity: 1; }
  80%, 100% { transform: translateX(30%); opacity: 0; }
}
/* Lichtkante über die Schrift: Weiß mit orangem Highlight */
.quote .light, .quote .shadow {
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glanz 14s ease-in-out infinite;
}
.quote .light {
  background-image: linear-gradient(100deg, #fff 0%, #fff 42%, #ffd2b5 47%, var(--orange) 50%, #ffd2b5 53%, #fff 58%, #fff 100%);
  background-size: 300% 100%;
}
.quote .shadow {
  background-image: linear-gradient(100deg, #8d8f95 0%, #8d8f95 44%, #b98a6e 48%, #c8743f 50%, #b98a6e 52%, #8d8f95 56%, #8d8f95 100%);
  background-size: 300% 100%;
  animation-delay: .6s;
}
@keyframes glanz {
  0%, 15%   { background-position: 100% 0; }
  65%, 100% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .quote .light, .quote .shadow { animation: none; }
  .hero::before { transform: translate(15%, -10%); }
}
.quote { position: relative; z-index: 1; margin: 0; padding: 80px 0; max-width: 860px; }
.quote p {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 78px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.quote footer { margin-top: 34px; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 15px; }
.quote footer::before { content: ""; width: 42px; height: 2px; background: var(--orange); }
.quote cite { font-style: normal; display: block; color: #8d8f95; font-size: 14px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.card p { color: var(--muted); margin: 0; flex: 1; }
.card .meta { font-size: 13px; color: #8d8f95; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  align-self: flex-start;
  background: var(--orange); color: #fff;
  border: 1px solid var(--orange); border-radius: var(--radius);
  padding: 12px 22px; font: inherit; font-size: 15px; letter-spacing: .03em;
  cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { text-decoration: none; background: #d85d17; border-color: #d85d17; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--orange); color: var(--orange); background: transparent; }
.btn[aria-disabled="true"] { background: transparent; border-color: var(--line); color: #8d8f95; cursor: not-allowed; }

/* Check-in */
.soon { padding: 96px 0 40px; }
.soon .big {
  font-size: clamp(54px, 10vw, 128px); font-weight: 300; line-height: 1; margin: 0;
  letter-spacing: -.02em;
}
.soon .big span { color: var(--orange); }
.soon .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 18px; }
.form .btn { justify-self: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
input, textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px;
}
input:focus, textarea:focus { outline: none; border-color: var(--orange); }
textarea { min-height: 170px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--radius); padding: 14px 16px; font-size: 15px; display: none; }
.notice.show { display: block; }
.notice.ok { background: rgba(80, 170, 110, .15); border: 1px solid rgba(80,170,110,.5); }
.notice.err { background: var(--orange-soft); border: 1px solid var(--orange); }

.address { margin-bottom: 36px; }
.address h3 { color: var(--orange); font-weight: 400; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.address p { margin: 0 0 14px; }
.map {
  position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-deep); overflow: hidden;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }
.map .consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center; font-size: 13px; color: var(--muted);
}
.map .consent .btn { align-self: center; padding: 9px 16px; font-size: 14px; }

/* Textseiten */
.prose > * { max-width: 760px; }
.prose p, .prose li { color: #dcdde0; }
.prose h2 { color: var(--text); padding-top: 8px; border-top: 1px solid var(--line); padding-top: 30px; }
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.prose .sub { margin: -4px 0 16px 22px; padding-left: 16px; border-left: 2px solid var(--line); }
.prose .sub p { margin: 4px 0; }
.prose mark { background: var(--orange-soft); color: var(--orange); border: 1px dashed var(--orange); border-radius: 3px; padding: 0 4px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.toc a { display: inline-block; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.toc a:hover { color: var(--text); border-color: var(--orange); text-decoration: none; }
.draft { background: var(--orange-soft); border-left: 3px solid var(--orange); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; margin-bottom: 32px; }
dl.facts { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); color: #8d8f95; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; padding-bottom: 26px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Mobil */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg-deep); border-bottom: 1px solid var(--line); z-index: 5; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange); }
  .site-header { position: relative; }
  .contact-grid, .form .row { grid-template-columns: 1fr; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 10px; }
  .brand img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* App-Kacheln (Check-in, Downloads) – Optik wie die App-Icons */
.apps { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 48px; }
.app { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text); text-align: center; width: 150px; }
.app img {
  width: 112px; height: 112px; border-radius: 26px; margin-bottom: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.app:hover { text-decoration: none; }
.app:hover img { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 2px var(--orange); }
.app-name { font-size: 15px; font-weight: 600; }
.app-sub { font-size: 13px; color: var(--muted); }
.dl-card { align-items: flex-start; }
.dl-card .app { align-items: flex-start; width: auto; margin-bottom: 12px; }
.dl-card .app img { width: 96px; height: 96px; border-radius: 22px; }
.dl-card .app-name { color: var(--orange); font-weight: 500; font-size: 14px; }
.dl-card .app-name::before { content: "↓ "; }
.dl-card .app.off { cursor: not-allowed; }
.dl-card .app.off img { filter: grayscale(1); opacity: .45; box-shadow: none; }
.dl-card .app.off .app-name { color: #8d8f95; }
.dl-card .app.off .app-name::before { content: ""; }
.badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); border: 1px solid var(--orange); border-radius: 999px; padding: 1px 9px;
}
.site-footer .ver { margin-left: 10px; font-size: 12px; color: #6f7176; letter-spacing: .04em; }
