/* einfachair — styles for added screens (alerts, help, manage, ticket, legal) */

/* ============ PREISWECKER (user) ============ */
.alerts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.alert-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .18s, transform .18s; }
.alert-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.ac-top { display: flex; align-items: center; gap: 14px; }
.ac-bar { background: var(--bg); border-radius: var(--r-sm); padding: 13px 14px; }
.ac-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ac-fill { height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(.2,.7,.3,1); }
.ac-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ============ HILFECENTER ============ */
.help-hero { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 40px 36px 34px; color: #fff; background: linear-gradient(135deg, var(--sky-500), var(--sky-700)); text-align: center; }
.help-hero::after { content: ""; position: absolute; right: -60px; top: -70px; width: 280px; height: 280px; border-radius: 999px; background: rgba(255,255,255,.10); }
.help-hero::before { content: ""; position: absolute; left: -50px; bottom: -90px; width: 240px; height: 240px; border-radius: 999px; background: rgba(255,209,60,.16); }
.help-hero > * { position: relative; z-index: 1; }
.help-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 22px; }
.help-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--pill); padding: 8px 8px 8px 18px; max-width: 560px; margin: 0 auto; box-shadow: var(--sh-lg); }
.help-search input { flex: 1; border: none; outline: none; background: none; font-size: 15.5px; font-weight: 500; color: var(--ink-900); }
.help-search input::placeholder { color: var(--ink-300); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 20px; display: flex; gap: 15px; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.help-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.hc-ic { width: 48px; height: 48px; border-radius: 14px; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-band { background: linear-gradient(135deg, var(--ink-900), var(--ink-700)); border-radius: var(--r-xl); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.contact-band::after { content: ""; position: absolute; right: -30px; top: -50px; width: 220px; height: 220px; border-radius: 999px; background: radial-gradient(circle, rgba(44,107,255,.4), transparent 70%); }
.contact-band > * { position: relative; z-index: 1; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ BUCHUNG VERWALTEN ============ */
.manage-wrap { max-width: 680px; margin: 0 auto; }
.manage-help { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 16px 18px; background: var(--primary-50); border-radius: var(--r); font-size: 13.5px; font-weight: 600; color: var(--ink-700); line-height: 1.5; }

/* ============ BORDKARTE / TICKET ============ */
.boarding { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr; box-shadow: var(--sh-lg); border-radius: var(--r-xl); overflow: hidden; }
.bp-main { background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; padding: 26px 28px; position: relative; }
.bp-main::after { content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 999px; background: rgba(255,255,255,.08); }
.bp-main > * { position: relative; z-index: 1; }
.bp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.bp-route { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.bp-end { flex-shrink: 0; }
.bp-code { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.bp-city { font-size: 13px; opacity: .85; font-weight: 600; margin-top: 3px; }
.bp-mid { flex: 1; text-align: center; }
.bp-line { position: relative; height: 2px; background: rgba(255,255,255,.4); margin: 0 6px; }
.bp-plane { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--primary); width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; }
.bp-dur { font-size: 12px; opacity: .8; font-weight: 700; margin-top: 10px; }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
.bp-k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; opacity: .65; }
.bp-v { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-top: 2px; }
.bp-stub { background: #fff; padding: 22px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.bp-stub::before { content: ""; position: absolute; left: -11px; top: 0; bottom: 0; width: 22px; background: radial-gradient(circle at left, transparent 0, transparent 10px, var(--bg) 10px); }
.bp-stub .bp-k { color: var(--ink-400); opacity: 1; }
.bp-stub .bp-v { color: var(--ink-900); }
.bp-stub-row { display: flex; justify-content: space-between; gap: 14px; }
.bp-barcode { margin-top: auto; }
.bp-code-no { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--ink-500); text-align: center; margin-top: 8px; }

/* ============ RECHTLICHES ============ */
.legal-wrap { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--nav-h) + 18px); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 18px; }
.legal-link { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; border-radius: var(--r-sm); font-weight: 650; font-size: 14.5px; color: var(--ink-600); transition: all .14s; }
.legal-link:hover { background: var(--bg-2); color: var(--ink-900); }
.legal-link.on { background: var(--primary-50); color: var(--primary-700); }
.legal-doc { padding: 30px 34px; }
.legal-doc h4 { color: var(--ink-900); }

@media (max-width: 720px) {
  .alerts-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .help-hero { padding: 28px 20px; border-radius: var(--r-lg); }
  .contact-band { padding: 24px; }
  .boarding { grid-template-columns: 1fr; }
  .bp-stub::before { display: none; }
  .bp-stub { border-top: 2px dashed var(--line); }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; gap: 6px; overflow-x: auto; }
  .legal-nav h3, .legal-nav .divider { display: none; }
  .legal-link { white-space: nowrap; }
  .legal-doc { padding: 22px; }
}
