:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --faint: #9a9a9a;
  --line: #e4e2dd;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 2px 8px rgba(17, 17, 17, 0.04);
  --shadow-hover: 0 4px 12px rgba(17, 17, 17, 0.06), 0 12px 32px rgba(17, 17, 17, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 2px 8px rgba(17, 17, 17, 0.03);
}
.header__inner {
  max-width: 1160px; margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px 8px; margin-left: -8px;
  border-radius: var(--radius-sm); cursor: pointer;
}
.brand:hover { background: var(--bg); }
.logo { width: 30px; height: 30px; display: block; flex-shrink: 0; filter: drop-shadow(0 3px 8px rgba(91, 76, 240, .28)); }
.logo__spin { transform-origin: 16px 16px; transition: transform .9s cubic-bezier(.3, .7, .2, 1); }
.brand:hover .logo__spin, .dialog[open] .logo__spin { transform: rotate(360deg); }
@media (prefers-reduced-motion: reduce) { .logo__spin { transition: none; } }
.brand__word { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.brand__caret { width: 16px; height: 16px; color: var(--muted); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--muted);
}
.icon-btn:hover { background: var(--bg); color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; }
.btn-outline {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px;
  transition: border-color .15s, background .15s;
}
.btn-outline:hover { border-color: var(--text); }

/* ---------- Layout ---------- */
.page { max-width: 1160px; margin: 0 auto; padding: 0 24px 64px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 0 32px; }
.hero__title {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.08; font-weight: 800; letter-spacing: -0.035em;
}
.hero__sub { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.hero__sub a { color: var(--accent); font-weight: 500; }
.hero__sub a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------- Search ---------- */
.search {
  position: relative; display: block;
  max-width: 680px; margin: 32px auto 0;
}
.search__icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--faint); pointer-events: none;
}
.search input {
  width: 100%; height: 56px;
  padding: 0 24px 0 52px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--surface); box-shadow: var(--shadow);
  font: inherit; font-size: 16px; color: var(--text);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }

/* ---------- Filters ---------- */
#entdecken { scroll-margin-top: 80px; }

.filters {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 0 28px;
}
.filters__scroll {
  display: flex; gap: 8px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
  padding: 4px 2px;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
}
.filters__scroll::-webkit-scrollbar { display: none; }
.filters__end { display: flex; gap: 8px; flex-shrink: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--surface); cursor: pointer;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s;
}
.pill:hover { border-color: #c9c6bf; }
.pill.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.pill--icon svg { width: 16px; height: 16px; }

/* ---------- Grid & Cards ---------- */
.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.card__thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px;
  color: #fff;
}
.card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 60%);
}
.card__thumb-emoji {
  position: absolute; right: 14px; top: 8px;
  font-size: 64px; line-height: 1; opacity: .9;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.18));
}
.card__thumb-title {
  position: relative; z-index: 1; margin: 0;
  font-size: 24px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em;
  text-transform: uppercase; max-width: 75%;
}
.card__rank {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.92); color: var(--text);
  padding: 2px 9px; border-radius: var(--radius-pill);
}

.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.card__avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.card__name {
  margin: 0; font-size: 16px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card__desc {
  margin: 0; color: var(--muted); font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { margin: auto 0 0; padding-top: 4px; color: var(--faint); font-size: 13px; }
.card__meta .sep { margin: 0 6px; }

.examples-note {
  display: flex; align-items: flex-start; gap: 10px; margin: -8px 0 24px; padding: 12px 16px;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm);
  color: var(--muted); font-size: 14px;
}
.examples-note__tag, .card__example {
  flex-shrink: 0; padding: 1px 8px; border-radius: var(--radius-pill);
  background: #fef3c7; color: #92400e; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.examples-note__tag { margin-top: 1px; }
.card__example { margin-right: 8px; vertical-align: 1px; }
.community__example { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: #fef3c7; color: #78350f; font-size: 13px; }

.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px;
  margin-top: 48px;
}
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.page-btn:hover:not(:disabled) { background: var(--surface); color: var(--text); }
.page-btn.is-current { background: var(--text); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: default; }
.page-gap { color: var(--faint); padding: 0 4px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .header__inner { padding: 10px 16px; }
  .page { padding: 0 16px 48px; }
  .hero { padding: 44px 0 24px; }
  .hero__sub { font-size: 15px; }
  .search { margin-top: 24px; }
  .search input { height: 50px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .filters { margin-bottom: 20px; }
  .filters__end .pill:first-child { display: none; }
  .filters__end .pill--icon { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 40;
  background: var(--surface); padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { left: 16px; }

/* ---------- Header nav ---------- */
.header__nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: var(--muted); }
.header__nav a { padding: 4px 0; border-bottom: 2px solid transparent; }
.header__nav a:hover { color: var(--text); border-bottom-color: var(--text); }

/* ---------- Hero stats ---------- */
.stats {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 48px;
  margin: 36px 0 0;
}
.stats__item { text-align: center; }
.stats dt { color: var(--faint); font-size: 13px; }
.stats dd { margin: 2px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }

/* ---------- Generic section ---------- */
.section { padding: 72px 0 0; scroll-margin-top: 80px; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section__title {
  margin: 0; font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
}
.section__sub { margin: 12px 0 0; color: var(--muted); font-size: 16px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: step;
}
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
}
.step__num {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700;
}
.step__title { margin: 16px 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.step__text { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Plans ---------- */
.plans {
  display: grid; gap: 24px; align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow);
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-hover);
}
.plan__badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 12px; border-radius: var(--radius-pill);
}
.plan__name { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.plan__desc { margin: 6px 0 0; color: var(--muted); font-size: 14px; min-height: 40px; }
.plan__price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 4px; }
.plan__amount { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; }
.plan__period { color: var(--muted); font-size: 15px; }
.plan__cta {
  display: flex; align-items: center; justify-content: center;
  height: 44px; margin: 22px 0 0;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  transition: border-color .15s, background .15s, color .15s;
}
.plan__cta:hover { border-color: var(--text); }
.plan__cta--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan__cta--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.plan__features {
  list-style: none; margin: 24px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 10px; font-size: 14px;
}
.plan__features li { position: relative; padding-left: 26px; color: var(--muted); }
.plan__features li::before {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plans__note { margin: 24px 0 0; text-align: center; color: var(--faint); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 4px 22px;
}
.faq__q {
  list-style: none; cursor: pointer;
  padding: 16px 28px 16px 0; position: relative;
  font-size: 16px; font-weight: 600;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  margin: 80px 0 0; padding: 56px 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.cta__title { margin: 0; font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.cta__sub { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.cta__btn {
  display: inline-flex; align-items: center; height: 48px; margin-top: 26px; padding: 0 30px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-pill); font-size: 15px; font-weight: 600;
  transition: background .15s;
}
.cta__btn:hover { background: var(--accent-hover); }

/* ---------- Plan-Anfrage ---------- */
.btn-solid {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  background: var(--accent); color: #fff; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; transition: background .15s;
}
.btn-solid:hover { background: var(--accent-hover); }
.request {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px;
  max-width: 960px; margin: 0 auto;
}
.request__form, .request__info {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
}
.request__fields { display: grid; gap: 16px; }
.request__error a { color: inherit; text-decoration: underline; }
.request__submit:disabled { opacity: .7; cursor: progress; }
.request__success { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 12px 0; }
.request__success h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.request__success p { margin: 0; color: var(--muted); }
.request__success .request__small { margin: 0; }
.request__success .btn-ghost { margin-top: 6px; padding: 0 20px; }
.request__success .request__order { padding: 6px 14px; border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; }
.request__order strong { font-family: Consolas, "SFMono-Regular", monospace; color: var(--text); letter-spacing: .03em; }
.request__check {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: #dcfce7; color: #15803d; font-size: 26px; font-weight: 800;
}
.dialog .dialog__request { margin-top: 20px; padding: 0; border: 0; box-shadow: none; }
.dialog__eyebrow {
  width: fit-content; margin: 0 auto; padding: 4px 12px; border-radius: var(--radius-pill);
  background: #eef2ff; color: var(--accent); font-size: 13px; font-weight: 700;
}
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field__opt { color: var(--faint); font-weight: 400; }
.field small { color: var(--faint); font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request__submit {
  height: 48px; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
  transition: background .15s;
}
.request__submit:hover { background: var(--accent-hover); }
.request__error { margin: 0; color: #b91c1c; font-size: 14px; }
.request__hint { margin: 0; color: var(--muted); font-size: 14px; }
.request__hint a { color: var(--accent); }
.request__info h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.request__small { margin: 20px 0 0; color: var(--faint); font-size: 13px; }

/* ---------- Menüs ---------- */
.btn-outline { background: none; cursor: pointer; }
.menu {
  position: fixed; inset: auto; margin: 0; min-width: 230px; max-height: 70vh; overflow-y: auto;
  padding: 6px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-hover);
}
.menu--wide { min-width: 250px; }
.menu__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 8px;
  cursor: pointer; font-size: 14px; text-align: left;
}
.menu__item:hover:not(:disabled) { background: var(--bg); }
.menu__item:disabled { color: var(--faint); cursor: default; }
.menu__item.is-active { font-weight: 600; }
.menu__num { color: var(--faint); font-size: 13px; }
.menu__tag { font-size: 11px; padding: 1px 8px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.menu__label {
  margin: 8px 12px 4px; font-size: 11px; font-weight: 700; color: var(--faint);
  text-transform: uppercase; letter-spacing: .06em;
}
.menu__head { display: grid; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu__head small { color: var(--muted); }
.menu__empty { margin: 0; padding: 4px 12px 8px; color: var(--muted); font-size: 13px; }
.menu__opt { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.menu__opt:hover { background: var(--bg); }
.menu__opt input { accent-color: var(--accent); margin: 0; }
.menu__plan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 2px 12px 8px; font-size: 13px; }
.menu__plan-text { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.menu__plan-text--warn { color: #b45309; font-weight: 600; }
.menu__plan-link { color: var(--accent); font-weight: 600; }
.plan-badge {
  padding: 2px 10px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #3b82f6, #7c3aed); color: #fff; font-size: 12px; font-weight: 700;
}
.plan-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.menu__sep { height: 1px; margin: 6px 0; background: var(--line); }
.pill__count {
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px;
  display: inline-grid; place-items: center; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
}
.account {
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); color: #fff; font-size: 14px; font-weight: 700;
}

/* ---------- Dialoge ---------- */
.dialog {
  width: min(430px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 32px;
  border: 0; border-radius: 20px; background: var(--surface); color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}
.dialog::backdrop { background: rgba(17, 17, 17, .45); backdrop-filter: blur(3px); }
.dialog form[method="dialog"] { margin: 0; }
.dialog__close {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--bg); font-size: 22px; line-height: 1;
}
.dialog__close:hover { background: var(--line); }
.dialog__logo { width: 48px; height: 48px; margin: 0 auto; }
.dialog__title { margin: 16px 0 4px; text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.dialog__sub { margin: 0; text-align: center; color: var(--muted); }
.dialog__form { display: grid; gap: 14px; }
.auth__link {
  justify-self: end; margin-top: -6px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--accent); font-size: 13px; font-weight: 500;
}
#auth-back { justify-self: center; margin-top: 0; }
.auth__link:hover { text-decoration: underline; }
.auth__info {
  margin: 20px 0 0; padding: 16px; border-radius: var(--radius-sm);
  background: #eff6ff; color: #1e3a8a; text-align: center; font-size: 15px;
}
.dialog__note { margin: 0; text-align: center; color: var(--faint); font-size: 13px; }
.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 22px 0 18px;
  background: var(--bg); border-radius: var(--radius-pill);
}
.tabs__btn {
  height: 36px; border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.tabs__btn.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.dialog--community { width: min(560px, calc(100% - 32px)); padding: 0; }
.dialog--community .dialog__close { background: rgba(255, 255, 255, .92); }
.community__thumb { aspect-ratio: auto; height: 190px; }
.community__body { display: grid; gap: 14px; padding: 22px 28px 28px; }
.community__head { display: flex; align-items: center; gap: 12px; }
.community__head .card__avatar { width: 44px; height: 44px; font-size: 15px; }
.community__name { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.community__meta { margin: 0; color: var(--muted); font-size: 14px; }
.community__desc { margin: 0; font-size: 15px; }
.community__body .plan__features { margin: 0; }
.community__joined { margin: 0; color: #15803d; font-size: 14px; font-weight: 600; }
.btn-ghost {
  height: 46px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: none; cursor: pointer; font-size: 15px; font-weight: 600;
}
.btn-ghost:hover { border-color: var(--text); }

/* ---------- Hinweis nach Zahlung ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translateX(-50%);
  width: min(460px, calc(100% - 32px)); display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-hover);
}
.toast .request__check { width: 36px; height: 36px; flex-shrink: 0; font-size: 18px; }
.toast strong { display: block; margin-bottom: 2px; }
.toast p { margin: 0; color: var(--muted); font-size: 14px; }
.toast__close { margin-left: auto; border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--faint); }

/* ---------- Unterseiten ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 0 24px; }
.doc__back { display: inline-block; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.doc__back:hover { color: var(--text); }
.doc h1 { margin: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.doc__lead { margin: 14px 0 0; color: var(--muted); font-size: 18px; }
.doc h2 { margin: 40px 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.doc p, .doc li { color: #3f3f3f; }
.doc a { color: var(--accent); }
.doc a:hover { text-decoration: underline; }
.doc__card {
  margin-top: 28px; padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.doc__card h2 { margin-top: 0; }
.doc__note { margin-top: 28px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fef3c7; color: #78350f !important; font-size: 14px; }
.status-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.status-list li {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line); margin-top: -1px;
}
.status-list li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.status-list li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.status-ok { color: #15803d; font-weight: 600; white-space: nowrap; }
.status-ok::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }

/* ---------- Footer (erweitert) ---------- */
.footer__inner {
  max-width: 1160px; margin: 0 auto; padding: 48px 24px 32px;
  display: grid; gap: 32px;
  grid-template-columns: 2fr repeat(3, 1fr);
}
.footer__logo { display: inline-flex; align-items: center; gap: 8px; }
.footer__tag { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 260px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.footer__col h3 { margin: 0 0 2px; font-size: 14px; font-weight: 700; color: var(--text); }
.footer__col a:hover { color: var(--text); }
.footer__bar {
  border-top: 1px solid var(--line);
  max-width: 1160px; margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  color: var(--faint); font-size: 13px;
}
.footer__bar p { margin: 0; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--text); }

/* ---------- Responsive (neue Blöcke) ---------- */
@media (max-width: 960px) {
  .header__nav { display: none; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .plans { grid-template-columns: 1fr; gap: 20px; }
  .plan--featured { order: -1; }
  .request { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .stats { gap: 12px 28px; margin-top: 28px; }
  .stats dd { font-size: 20px; }
  .section { padding-top: 56px; }
  .cta { margin-top: 56px; padding: 40px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .request__form, .request__info { padding: 20px; }
  .header__actions .btn-solid { display: none; }
  .footer__inner { grid-template-columns: 1fr; padding: 36px 16px 24px; }
  .footer__bar { padding: 16px; justify-content: center; }
}
