/* Landing page styles for templates/pretixpresale/index.html.
   Everything lives in this external file because pretix serves all pages
   with a Content-Security-Policy without 'unsafe-inline': browsers ignore
   inline <style> blocks and style="" attributes on this page.
   Relative url() references are rewritten to hashed names by Django's
   manifest static files storage at build time. */

@font-face { font-family: "Albert Sans"; src: url("fonts/AlbertSans-Regular.dce85df1a4e4.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("fonts/AlbertSans-Bold.b60bd349ec6c.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

body { margin: 0; background: var(--neutral-000); color: var(--text-body); font-family: var(--font-sans); }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ""; }

.page { font-family: var(--font-sans); font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-body); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.m0 { margin: 0; }

/* ---- Kickers (eyebrow lines) & section headings ---- */
.kicker { margin: 0 0 16px; font-size: var(--text-xs); letter-spacing: var(--tracking-caps-loose); text-transform: uppercase; color: var(--text-muted); font-weight: var(--weight-bold); }
.kicker--hero { margin-bottom: 20px; color: var(--blue-700); }
.kicker--blue { color: var(--blue-700); }
.kicker--inverse { color: #fff; opacity: .85; }
.section-h2 { margin: 0 0 40px; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(28px, 3.4vw, 44px); line-height: var(--leading-snug); color: var(--neutral-950); }
.section-h2--inverse { color: #fff; }
.split-h2 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(28px, 3.2vw, 40px); line-height: var(--leading-snug); color: var(--neutral-950); text-wrap: pretty; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; text-decoration: none; }
.btn--primary { background: var(--brand-blue); color: #fff; }
.btn--veil { background: var(--surface-card-veil); color: var(--neutral-950); box-shadow: inset 0 0 0 1px var(--border-hairline); }
.btn--inverse { background: #fff; color: var(--brand-blue); min-height: 44px; }

/* ---- Hero ---- */
.hero { position: relative; background-image: url("stuehle.68e1ba5486e4.jpg"); background-size: cover; background-position: center 35%; }
.hero-wash { position: absolute; inset: 0; background: rgba(255,255,255,.62); }
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 32px 24px 104px; }
.hero-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-logo-link { display: block; line-height: 0; }
.hero-logo { height: 72px; width: auto; display: block; }
.hero-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.login-chip { font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--neutral-800); padding: 8px 14px; background: var(--surface-card-veil); box-shadow: inset 0 0 0 1px var(--border-hairline); }
.hero-copy { max-width: 720px; }
.hero-h1 { margin: 0 0 24px; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(34px, 5.2vw, 56px); line-height: var(--leading-tight); color: var(--neutral-950); text-wrap: pretty; }
.hero-lead { margin: 0 0 32px; max-width: 62ch; font-size: var(--text-md); color: var(--neutral-800); }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---- Technische Basis bar ---- */
.basis { border-bottom: 1px solid var(--border-hairline); background: var(--neutral-050); }
.basis-inner { max-width: 1180px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; font-size: var(--text-sm); color: var(--text-muted); }
.basis-label { font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-strong); font-weight: var(--weight-bold); }
.basis-strong { color: var(--text-strong); font-weight: var(--weight-bold); }

/* ---- Anwendungsfälle (illustration with callouts) ---- */
#anwendung { padding: 56px 0 40px; }
.illu-pad { padding-top: 100px; }
.illu-stage { position: relative; container-type: inline-size; }
.illu { width: 100%; height: auto; display: block; }
.illu-note { position: absolute; box-sizing: border-box; background: rgba(255,255,255,.82); }
.illu-note--lead { top: 1%; left: calc(max(24px, (100% - 1132px) / 2)); width: max(52%, 640px); max-width: calc(100% - 48px); }
.illu-note--konzert { left: 23%; top: 33%; width: 15%; padding: .6cqw .8cqw .6cqw 0; }
.illu-note--beratung { left: 34%; top: 63%; width: 18%; padding: .6cqw .8cqw .6cqw 0; }
.illu-note--seminar { left: 52%; top: 50%; width: 20%; padding: .6cqw .8cqw .6cqw 0; }
.illu-note--turm { left: 63%; top: 30%; width: 15%; padding: .6cqw .8cqw .6cqw 0; }
.illu-kicker { margin: 0 0 1cqw; font-size: clamp(12px, 1.05cqw, 14px); letter-spacing: var(--tracking-caps-loose); text-transform: uppercase; color: var(--text-muted); font-weight: var(--weight-bold); }
.illu-h2 { margin: 0 0 1cqw; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(26px, 2.9cqw, 40px); line-height: var(--leading-snug); color: var(--neutral-950); }
.illu-lead { margin: 0; font-size: clamp(15px, 1.3cqw, 18px); line-height: var(--leading-normal); color: var(--text-body); }
.illu-note-h { margin: 0 0 6px; font-size: clamp(12px, 1.1cqw, 14px); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--blue-700); font-weight: var(--weight-bold); }
.illu-note-p { margin: 0; font-size: clamp(12.5px, 1.15cqw, 14px); line-height: var(--leading-normal); color: var(--text-muted); }
@media (max-width: 900px) {
  #anwendung [data-illu] { display: none !important; }
  #anwendung [data-illu-pad] { padding-top: 0 !important; }
  #anwendung [data-illu-stage] { display: grid; gap: 28px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  #anwendung [data-illu-stage] > div { position: static !important; width: auto !important; max-width: none !important; background: transparent !important; padding: 0 !important; }
}

/* ---- Leistungen (cards) ---- */
#leistungen { padding: 80px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--neutral-000); box-shadow: inset 0 0 0 1px var(--border-hairline); padding: 28px; }
.card--tinted { background: var(--neutral-050); }
.card-h { margin: 0 0 10px; font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--neutral-950); }
.card-h--roomy { margin-bottom: 14px; }
.card-p { margin: 0; font-size: var(--text-sm); color: var(--text-muted); }
.card-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--text-sm); color: var(--text-body); }

/* ---- Wann ist veranstaltung.app das Richtige? ---- */
.fit { background: var(--blue-100); }
.fit-inner { padding-top: 72px; padding-bottom: 72px; }
.fit-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.fit-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: start; }
.fit-bullet { width: 10px; height: 10px; margin-top: 9px; background: var(--brand-blue); }

/* ---- Ablauf (steps) ---- */
#ablauf { padding: 80px 0; background: var(--brand-blue); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { border-top: 2px solid rgba(255,255,255,.6); padding-top: 20px; }
.step-num { margin: 0 0 12px; font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; color: #fff; }
.step-p { margin: 0; color: #fff; }
.step-p--gap { margin-bottom: 20px; }

/* ---- FAQ ---- */
#faq { padding: 80px 0; }
.faq-list { display: grid; gap: 0; box-shadow: 0 0 0 1px var(--border-hairline); }
.faq-list details { border-bottom: 1px solid var(--border-hairline); }
.faq-list details:last-child { border-bottom: none; }
.faq-q { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: var(--weight-bold); color: var(--neutral-950); font-size: var(--text-sm); }
.faq-a { margin: 0; padding: 0 24px 20px; font-size: var(--text-sm); color: var(--text-muted); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border-hairline); background: var(--neutral-100); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 32px 24px; display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: var(--text-xs); color: var(--text-muted); }
.footer-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; max-width: 78ch; }
.footer-logo-link { display: flex; align-items: center; }
.footer-logo { height: 26px; width: auto; display: block; }
.footer-nav { display: flex; gap: 20px; align-items: center; }
.footer-login { color: var(--text-muted); }
.linklike { border: none; background: transparent; padding: 0; cursor: pointer; font-family: var(--font-sans); font-size: var(--text-xs); color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Impressum modal ---- */
.modal { display: none; position: fixed; inset: 0; z-index: 60; overflow: auto; background: rgba(31,31,31,.45); align-items: flex-start; justify-content: center; padding: 48px 24px; }
.modal.is-open { display: flex; }
body.modal-open { overflow: hidden; }
.modal-card { width: 100%; max-width: 620px; background: var(--neutral-000); box-shadow: 0 24px 48px rgba(0,0,0,.24); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--border-hairline); }
.modal-title { margin: 0; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--text-xl); color: var(--neutral-950); }
.modal-close { border: none; background: transparent; cursor: pointer; font-size: 24px; line-height: 1; color: var(--text-muted); padding: 4px 8px; }
.modal-body { padding: 24px; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-body); display: grid; gap: 16px; }
.modal-label { margin: 0 0 8px; font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); font-weight: var(--weight-bold); }
