/* eBay-Export – Design-System nach lagermaschinen.de (2026) */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/public/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --brand-700: #1e40af;
  --surface:      #ffffff;
  --surface-alt:  #f4f6f8;
  --border:       #e5e7eb;
  --text:         #111827;
  --text-muted:   #6b7280;
  --ok:      #15803d;
  --ok-bg:   #f0fdf4;
  --warn:    #b45309;
  --warn-bg: #fffbeb;
  --err:     #b91c1c;
  --err-bg:  #fef2f2;
  --radius: 0.5rem;
  --radius-sm: 0.375rem;
  --max-w: 760px;
  --font: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(17,24,39,.06), 0 1px 3px rgba(17,24,39,.08);
  --shadow-md: 0 4px 12px rgba(17,24,39,.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--surface-alt);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header img.logo { height: 30px; width: auto; display: block; }
.site-header .nav-links { display: flex; gap: 1.25rem; align-items: center; font-size: .9rem; }
.site-header .nav-links a { color: var(--text-muted); font-weight: 500; }
.site-header .nav-links a:hover { color: var(--brand-600); text-decoration: none; }

/* Layout */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand-600);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: .3rem .6rem; border-radius: 999px; margin-bottom: 1rem;
}
h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .5rem; }
.lead { color: var(--text-muted); font-size: 1.05rem; margin: 0 0 2rem; max-width: 60ch; }

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.card h2 { font-size: 1.1rem; font-weight: 650; margin: 0 0 .75rem; }

/* Form */
.field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.input-row { display: flex; gap: .6rem; }
input[type=text] {
  flex: 1; min-width: 0;
  font: inherit; color: var(--text);
  padding: .7rem .85rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
input[type=text]:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: .7rem 1.15rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); text-decoration: none; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-alt); text-decoration: none; }
.btn svg { width: 1.1em; height: 1.1em; }
.hint { font-size: .85rem; color: var(--text-muted); margin-top: .6rem; }

/* Select / form groups */
.form-group { margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }
select {
  width: 100%; font: inherit; color: var(--text);
  padding: .6rem .85rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; padding-right: 2.2rem;
}
select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
select[readonly], select:disabled { background-color: var(--surface-alt); color: var(--text-muted); }
.section-title { font-size: 1.05rem; font-weight: 650; margin: 0 0 .25rem; }
.section-desc { color: var(--text-muted); font-size: .92rem; margin: 0 0 1rem; }
.account-badge { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem;
  background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-sm);
  margin-bottom: 1.5rem; }
.account-badge svg { width: 1.5rem; height: 1.5rem; color: var(--brand-600); flex: none; }
.account-badge .who { font-weight: 650; }
.account-badge .mail { color: var(--text-muted); font-size: .88rem; }

/* Callouts */
.note { display: flex; gap: .75rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-alt); font-size: .92rem; }
.note svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; }
.note.info { background: var(--brand-50); border-color: var(--brand-100); color: #1e3a5f; }
.note.info svg { color: var(--brand-600); }
.note.ok { background: var(--ok-bg); border-color: #bbf7d0; color: #14532d; }
.note.ok svg { color: var(--ok); }
.note.warn { background: var(--warn-bg); border-color: #fde68a; color: #78350f; }
.note.warn svg { color: var(--warn); }
.note.err { background: var(--err-bg); border-color: #fecaca; color: #7f1d1d; }
.note.err svg { color: var(--err); }

/* Steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 1.5rem 3rem; counter-increment: s; }
.steps li:not(:last-child)::before {
  content: ''; position: absolute; left: 1.1rem; top: 2.2rem; bottom: 0; width: 2px; background: var(--border);
}
.steps li::after {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--brand-600); color: #fff; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.steps li h3 { margin: .3rem 0 .35rem; font-size: 1rem; font-weight: 650; }
.steps li p { margin: 0; color: var(--text-muted); font-size: .93rem; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .6rem; background: var(--surface); }
.faq summary { cursor: pointer; padding: .85rem 1rem; font-weight: 600; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-600); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 1rem 1rem; color: var(--text-muted); font-size: .93rem; }

/* Footer */
.site-footer { max-width: var(--max-w); margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--border); margin-top: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .82rem; color: var(--text-muted); flex-wrap: wrap; }
.site-footer .powered { display: flex; align-items: center; gap: .5rem; }
.site-footer img { height: 18px; width: auto; opacity: .8; }

@media (max-width: 560px) {
  .input-row { flex-direction: column; }
  .btn { justify-content: center; }
  h1 { font-size: 1.5rem; }
}
