/* einfachair — base + shell + primitives */
* { box-sizing: border-box; }
/* Accessibility: Skip-Link (nur bei Tastatur-Fokus sichtbar) */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 1000; background: var(--petrol-900); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-weight: 800; font-size: 14px; text-decoration: none;
  box-shadow: var(--sh); transition: top .16s ease; }
.skip-link:focus { top: 12px; outline: 3px solid var(--teal-300); }
/* Druck: nur Inhalt (z. B. Bordkarte) drucken, Navigation/Footer ausblenden */
@media print {
  .nav, .footer, .tabbar, .mobile-appbar, .skip-link, .toast-wrap { display: none !important; }
  body { background: #fff !important; }
  .wrap.page > .btn, .wrap.page > .row > .btn { display: none !important; }
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink-900); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--primary-100); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.app-root { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 0 20px; height: 46px; border-radius: var(--pill);
  transition: transform .12s ease, box-shadow .2s ease, background .15s ease, color .15s ease;
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--sh-sky); }
.btn-primary:hover { background: var(--primary-600); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--sh-coral); }
.btn-accent:hover { background: var(--accent-600); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-ghost { background: var(--card); color: var(--ink-800); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-200); background: var(--bg); }
.btn-soft { background: var(--primary-50); color: var(--primary-700); }
.btn-soft:hover { background: var(--primary-100); }
.btn-lg { height: 54px; font-size: 16.5px; padding: 0 28px; }
.btn-sm { height: 38px; font-size: 13.5px; padding: 0 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--pill); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: var(--pill);
  font-weight: 600; font-size: 13.5px; color: var(--ink-700);
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: all .14s ease; cursor: pointer; white-space: nowrap;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink-200); }
.chip.is-active { background: var(--ink-900); color: #fff; box-shadow: none; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--pill);
  font-weight: 700; font-size: 12px; letter-spacing: .01em; white-space: nowrap;
}
.badge-deal { background: var(--accent); color: #fff; }
.badge-save { background: var(--mint-50); color: var(--mint-600); }
.badge-sun  { background: var(--sun-400); color: #5a3d00; }
.badge-soft { background: var(--primary-50); color: var(--primary-700); }
.badge-ghost{ background: rgba(255,255,255,.16); color:#fff; backdrop-filter: blur(4px); }

/* ---------- Cards & fields ---------- */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-weight: 700; font-size: 13px; color: var(--ink-600); }
.input {
  height: 50px; border-radius: var(--r); background: var(--card);
  box-shadow: inset 0 0 0 1.6px var(--line); padding: 0 16px;
  font-size: 15px; font-weight: 500; transition: box-shadow .15s ease; width: 100%;
}
.input::placeholder { color: var(--ink-300); font-weight: 500; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--primary); }
.input.has-error { box-shadow: inset 0 0 0 2px var(--coral-500); }
.field-error { color: var(--coral-600); font-size: 12.5px; font-weight: 600; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Top navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: var(--petrol-900); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  padding: 9px 14px; border-radius: var(--pill); font-weight: 650; font-size: 14.5px;
  color: rgba(255,255,255,.74); transition: all .14s ease; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.10); }
.nav-link.is-active { color: #fff; background: var(--teal-500); }
.nav-spacer { flex: 1; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav .logo, .nav .logo .ein { color: #fff; }
.nav .logo .air { color: var(--teal-300); }
.nav .btn-ghost { background: rgba(255,255,255,.10); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); }
.nav .btn-ghost:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--ink-900); }
.logo .mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  box-shadow: var(--sh-sky); color: #fff;
}
.logo .ein { color: var(--ink-900); }
.logo .air { color: var(--primary); }

/* ---------- Avatar / menu ---------- */
.avatar {
  width: 42px; height: 42px; border-radius: var(--pill); display: grid; place-items: center;
  font-weight: 800; color: #fff; font-family: var(--font-display); font-size: 16px;
  background: linear-gradient(135deg, var(--coral-400), var(--coral-600));
  box-shadow: var(--sh-sm); cursor: pointer;
}
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 230px;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 8px; z-index: 80; border: 1px solid var(--line-2);
}
.menu-item { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 14.5px; color: var(--ink-700); width: 100%; }
.menu-item:hover { background: var(--bg-2); color: var(--ink-900); }
.menu-item.danger { color: var(--coral-600); }

/* ---------- Mobile bottom tab bar ---------- */
.tabbar { display: none; }
.mobile-appbar { display: none; }

/* ---------- Section headers ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); white-space: nowrap; }
.eyebrow.coral { color: var(--accent); }
.sec-title { font-size: clamp(26px, 3.4vw, 38px); }
.sec-sub { color: var(--ink-500); font-size: 15.5px; margin-top: 6px; max-width: 60ch; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary-700); font-size: 14.5px; white-space: nowrap; flex-shrink: 0; }
.sec-head { align-items: center; }
.link-more:hover { gap: 9px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 11px; padding: 13px 18px; border-radius: var(--pill);
  background: var(--ink-900); color: #fff; font-weight: 650; font-size: 14.5px; box-shadow: var(--sh-lg);
  animation: toastIn .32s cubic-bezier(.2,.9,.3,1.2);
}
.toast .t-ico { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--mint-500); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 150; background: rgba(14,20,36,.5); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { width: 100%; max-width: 440px; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 26px; animation: pop .26s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- utility ---------- */
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.muted { color: var(--ink-500); }
.strike { text-decoration: line-through; color: var(--ink-400); font-weight: 600; }
.center { text-align: center; }
.fade-up { animation: fadeUp .5s cubic-bezier(.2,.7,.3,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
