@font-face {
  font-family: "Mona Sans";
  src: url("/fonts/MonaSans.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans Mono";
  src: url("/fonts/MonaSansMono.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f7f5f2;
  --text: #1d1a17;
  --muted: #6a625b;
  --line: #e6e0d9;
  --accent: #a8480f;
  --accent-dark: #7f3508;
  --accent-soft: #f8ece2;
  --danger: #a32d2d;
  --danger-soft: #fbeeee;
  --radius: 10px;
  --font: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Mona Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  min-width: 320px;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 650; margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); font-weight: 620; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
.plain { list-style: none; }
.plain li { margin: 0.35rem 0; }
.muted { color: var(--muted); }
.mono, .pn, .part-pn { font-family: var(--mono); font-feature-settings: "zero" 1; }
.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Kopf */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding: 0.7rem 0; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo-mark { color: var(--accent); flex: none; }
.nav { display: flex; align-items: center; gap: 1.25rem; margin-right: auto; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--accent); }
.header-search { flex: 0 1 280px; }
.header-search input { width: 100%; padding: 0.5rem 0.8rem; font-size: 0.92rem; background: var(--surface); }
.lang-switch { position: relative; font-size: 0.88rem; }
.lang-switch summary { display: flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; list-style: none; color: var(--text); font-weight: 600; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-switch svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-switch[open] .lang-chevron { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 0.35rem); min-width: 10.5rem; margin: 0; padding: 0.35rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1); z-index: 30; }
.lang-menu a { display: block; padding: 0.5rem 0.7rem; border-radius: 5px; color: var(--text); text-decoration: none; }
.lang-menu a:hover { background: var(--bg-soft, #f4f3f0); color: var(--accent); }
.lang-menu a[aria-current="true"] { font-weight: 700; color: var(--accent); }

/* Buttons und Felder */
.btn {
  display: inline-block; border: 1px solid var(--accent); background: var(--accent); color: #fff;
  font: 600 1rem/1.2 var(--font); padding: 0.75rem 1.25rem; border-radius: 4px; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.92rem; }
.btn-large { padding: 0.9rem 1.6rem; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent); }
input, select, textarea {
  font: inherit; color: var(--text); background: #fff; border: 1px solid #cbc2b8; border-radius: 4px;
  padding: 0.65rem 0.8rem; width: 100%; min-width: 0;
}
input[readonly] { background: var(--surface); color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 0; }
textarea { resize: vertical; }
label { display: block; font-weight: 550; font-size: 0.93rem; margin-bottom: 0.3rem; }
.req { color: var(--accent); }
.notice { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 0.8rem 1.1rem; margin: 0 0 1.5rem; border-radius: 0 4px 4px 0; }
.notice-title { margin: 0 0 0.35rem; font-weight: 600; font-size: 0.95rem; }
.notice ul { margin: 0; padding-left: 1.1rem; font-size: 0.93rem; }
.notice li + li { margin-top: 0.15rem; }
.hint { color: var(--muted); font-size: 0.88rem; margin: 0.4rem 0 0; }

/* Layout Bausteine */
main { min-height: 60vh; }
.section { margin-block: 3.25rem; }
.section.tight { margin-block: 2rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; margin-bottom: 1.25rem; }
.section-head p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.card { border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem; background: #fff; }
.band { background: var(--surface); padding: 3.25rem 0; border-block: 1px solid var(--line); }
.band .section-head { margin-top: 0; }
.empty { padding: 2rem; border: 1px dashed #cbc2b8; border-radius: 4px; background: var(--surface); }

/* Brotkrumen */
.crumbs { margin: 1.25rem 0 1.5rem; font-size: 0.88rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.15rem 0; }
.crumbs li + li::before { content: "/"; margin: 0 0.5rem; color: #b0a69b; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); font-family: var(--mono); }

/* Start */
.hero { padding: 3.5rem 0 3rem; background: linear-gradient(180deg, var(--surface), #fff); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 20ch; }
.search label { font-weight: 600; }
.search-row { display: flex; gap: 0.6rem; }
.search-row input { flex: 1; }
.search-big { margin-top: 1.75rem; max-width: 640px; }
.search-big input { padding: 0.9rem 1rem; font-size: 1.05rem; }
.search-row .btn { white-space: nowrap; }



.brand-list { list-style: none; display: grid; gap: 0 3rem; grid-template-columns: minmax(0, 1fr); }
.brand-list > li { border-top: 1px solid var(--line); padding: 1rem 0 1.4rem; }
.brand-name { display: inline-block; font-size: 1.2rem; font-weight: 620; margin-bottom: 0.45rem; }
.inline-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; font-size: 0.95rem; }

.link-cols { list-style: none; display: grid; gap: 0 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.link-cols li { border-bottom: 1px solid var(--line); padding: 0.55rem 0; font-size: 0.97rem; }
.link-cols small, .link-list small { color: var(--muted); margin-left: 0.3rem; }

.cond { color: var(--muted); font-size: 0.86rem; }
.cond-lead { font-size: 0.95rem; margin: 0 0 1rem; }
.part-side .cond { max-width: 14rem; text-align: right; }

.steps { list-style: none; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li { border-top: 1px solid #cbc2b8; padding-top: 1rem; }
.steps h3 { margin-bottom: 0.5rem; }
.steps p { margin: 0; color: var(--muted); }

.trust-grid { display: grid; gap: 1.75rem 3rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.trust-grid h3 { margin-bottom: 0.35rem; }
.trust-grid p { margin: 0; color: var(--muted); }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; border-block: 1px solid var(--line); padding: 2rem 0; }
.cta h2 { margin-bottom: 0.35rem; }
.cta p { margin: 0; color: var(--muted); max-width: 52ch; }

/* Listen */
.link-list { list-style: none; border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 500; }
.link-list a:hover { color: var(--accent); background: var(--surface); }
.link-list small { color: var(--muted); font-weight: 400; }

.part-list { list-style: none; border-top: 1px solid var(--line); }
.part-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--line); }
.part-row:hover { background: var(--surface); }
.part-main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 320px; }
.part-pn { font-weight: 600; font-size: 1.02rem; }
.part-name { color: var(--text); }
.part-meta { color: var(--muted); font-size: 0.85rem; }
.part-side { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.part-price { font-weight: 600; min-width: 6.5rem; text-align: right; color: var(--text); }
.part-side 
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: 0.95rem; color: var(--muted); }
.pager a, .pager-off { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.pager-off { color: #b8afa5; }

/* Teileseite */
.part-layout { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.part-content h1 { margin-bottom: 0.9rem; }
.part-content h1 .pn { display: block; font-size: 0.6em; font-weight: 600; color: var(--accent); letter-spacing: 0; margin-bottom: 0.25rem; }
.part-content h2 { margin-bottom: 0.9rem; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.cond-list { margin: 0; }
.cond-list > div { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.cond-list dt { font-weight: 600; }
.cond-list dd { margin: 0.1rem 0 0; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.faq details p { margin: 0.6rem 0 0; color: var(--muted); }
.part-aside .card { background: var(--surface); }
.part-aside h2 { margin-bottom: 0.4rem; }

/* Formular */
.inquiry fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.inquiry legend { font-weight: 650; font-size: 1.02rem; padding: 0; margin-bottom: 0.75rem; }
.field { margin-bottom: 0.9rem; min-width: 0; }
.grid-2 { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); }
.pos-row { display: grid; gap: 0 0.75rem; grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 9.5rem); margin-bottom: 0.1rem; }
.pos-row-part { grid-template-columns: 6rem minmax(0, 1fr); }
.pos-row-part .field:first-child { grid-column: 1 / -1; }
.pos-row-part .field-qty { grid-column: 1; }
.pos-row-part .field-cond { grid-column: 2; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 450; margin: 0.5rem 0 0.9rem; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { background: var(--danger-soft); border: 1px solid #e3b4b4; color: var(--danger); border-radius: 4px; padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; }
.form-errors p { margin: 0 0 0.35rem; }
.form-errors ul { padding-left: 1.2rem; }
.inquiry .btn-large { width: 100%; margin-top: 0.4rem; }
#add-pos { margin-top: 0.4rem; padding: 0.5rem 1rem; font-size: 0.92rem; }

.thanks { padding: 3rem 0 4rem; }
.legal h2 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.legal-section { margin: 1.75rem 0; }
.legal-section p { margin: 0 0 0.4rem; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 5rem; padding: 3rem 0 2rem; font-size: 0.93rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-brand { font-weight: 650; font-size: 1.1rem; margin-bottom: 0.4rem; }
.footer-h { font-weight: 600; margin-bottom: 0.5rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.footer-legal p { margin: 0 0 0.4rem; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .brand-list { grid-template-columns: 1fr 1fr; }
  .link-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .link-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .part-layout { grid-template-columns: minmax(0, 1fr) 420px; }
  .part-aside { position: sticky; top: 5rem; }
  .part-aside .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .header-search { order: 5; flex: 1 1 100%; }
  .lang-menu { left: 0; right: auto; }
  .nav { gap: 0.9rem; font-size: 0.95rem; }
  .hero { padding: 2rem 0; }
    .search-row { flex-direction: column; }
  .section { margin-block: 2.5rem; }
  .facts > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .part-price { text-align: left; }
  .part-side .cond { text-align: left; max-width: none; }
  .pos-row { grid-template-columns: minmax(0, 1fr) 4.5rem; }
  .pos-row .field-cond { grid-column: 1 / -1; }
  .pos-row-part { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .pos-row-part .field-cond { grid-column: 2; }
  .cta { padding: 1.5rem 0; }
  .card { padding: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.intro-p { max-width: 62ch; margin-top: 0.85rem; color: var(--text); }
.more-link { margin-top: 1.2rem; font-weight: 600; }
.legal, .thanks { padding-top: 2.5rem; }
.promise { margin: 0.75rem 0 0; font-weight: 600; }
.hero .promise { margin-top: 0.4rem; }
fieldset.shipping { margin-top: 0.5rem; }
.radio { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: 1.5rem; }

/* Ratgeber */
.guide-date { margin: -0.5rem 0 1.5rem; font-size: 0.9rem; }
.guide-list { list-style: none; border-top: 1px solid var(--line); }
.guide-list a { display: grid; gap: 0.35rem; padding: 1.1rem 0.25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.guide-list a:hover { background: var(--surface); }
.guide-list strong { font-size: 1.1rem; font-weight: 620; }
.guide-list span { color: var(--muted); max-width: 70ch; }
.guide-list .guide-more { color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.toc { border: 1px solid var(--line); border-radius: 4px; background: var(--surface); padding: 1rem 1.25rem; margin: 0 0 2rem; }
.toc-h { font-weight: 650; margin: 0 0 0.4rem; }
.toc ol { padding-left: 1.2rem; display: grid; gap: 0.2rem; }
.prose { max-width: 70ch; }
.prose h2 { margin: 2.5rem 0 0.75rem; scroll-margin-top: 5rem; }
.prose h3 { margin: 1.75rem 0 0.5rem; scroll-margin-top: 5rem; }
.prose h4 { margin: 1.25rem 0 0.4rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1rem; display: grid; gap: 0.3rem; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 0 0 1rem; padding: 0.2rem 0 0.2rem 1rem; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--surface); padding: 0.1em 0.3em; border-radius: 3px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1rem; overflow-x: auto; margin: 0 0 1rem; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: 4px; max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface); font-weight: 620; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.guide-cta { margin-top: 2.5rem; background: var(--accent-soft); border-color: transparent; }
.guide-cta h2 { margin-top: 0; }
@media (min-width: 960px) { .prose table { min-width: 36rem; } }
.guide .crumbs [aria-current] { font-family: inherit; }

/* Admin: Anfragen */
.admin-table { border-collapse: collapse; font-size: 0.85rem; min-width: 70rem; width: 100%; }
.admin-table th, .admin-table td { text-align: left; vertical-align: top; padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--line); }
.admin-table th { background: var(--surface); white-space: nowrap; }
.admin-pager { display: flex; gap: 1.5rem; margin-top: 1rem; }
.admin-dl { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0 0 1.5rem; }
.admin-dl div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.admin-dl dt { color: var(--muted); }
.admin-dl dd { margin: 0; word-break: break-word; }
.admin-message { white-space: pre-wrap; }
@media (max-width: 719px) { .admin-dl div { grid-template-columns: 1fr; gap: 0.15rem; } }
