/* miracreative.ch – Stylesheet */
:root {
  --paper: #f5f0e8;
  --paper-2: #ece5d9;
  --card: #fffdf9;
  --ink: #1b1916;
  --ink-2: #3a352f;
  --muted: #5e574e;
  --line: #d9d0c2;
  --accent: #d9431f;       /* Grafik, grosse Flächen */
  --accent-ink: #a8321a;   /* Text/kleine Elemente, Kontrast ≥ 4.5:1 */
  --ok: #1f6b3a;
  --warn: #8a5a00;
  --bad: #a8321a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(27,25,22,.06), 0 8px 24px rgba(27,25,22,.06);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h1 em, h2 em { font-style: italic; color: var(--accent-ink); }
p { margin: 0 0 1em; }
small { font-size: .85em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow-s { max-width: 460px; }
.center { text-align: center; }
.section { padding-block: clamp(32px, 6vw, 64px); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent-ink); margin-bottom: .6em; }
.h-small { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: .8em; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: .35em; }
.pre { white-space: normal; }
.inline { display: inline; }
.byline { margin-top: 2.5em; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 2px; cursor: pointer; }
.linklike.danger { color: var(--bad); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1em; }

/* ---------- Header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.head-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.02em; }
.logo b, .foot-brand b { font-weight: 600; font-style: italic; color: var(--accent-ink); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .3em; }
.nav .btn { color: var(--paper); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 6px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; }
  .nav .btn { margin-top: 6px; }
}

/* ---------- Flash / Fehler ---------- */
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; border-left: 4px solid var(--ok); background: #e7f1e9; margin: 0 0 10px; }
.flash-error { border-color: var(--bad); background: #f8e6e1; }
.flash-info { border-color: var(--warn); background: #f6eedb; }
.form-errors { border-left: 4px solid var(--bad); background: #f8e6e1; padding: 10px 16px; border-radius: 10px; margin-bottom: 18px; }
.form-errors ul { margin: 0; padding-left: 1.1em; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(36px, 6vw, 72px); background:
  radial-gradient(circle at 92% 18%, rgba(217,67,31,.16) 0 120px, transparent 121px),
  radial-gradient(circle at 92% 18%, transparent 0 170px, rgba(27,25,22,.08) 171px 173px, transparent 174px); }
.hero h1 { max-width: 14em; }
.hero .lead { margin-bottom: 28px; }

/* ---------- Suchleiste ---------- */
.searchbar { display: grid; grid-template-columns: 2fr 1.3fr 1.3fr auto; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: var(--shadow); align-items: end; margin-top: 8px; }
.sb-field label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 4px 6px; }
.sb-field input, .sb-field select { width: 100%; border: 0; background: var(--paper); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink); min-height: 48px; }
.sb-btn { min-height: 48px; }
@media (max-width: 820px) { .searchbar { grid-template-columns: 1fr; } }

/* ---------- Kategorien ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.more { font-weight: 600; }
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.cat-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 20px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; }
.cat-tile:hover { background: var(--paper-2); color: var(--ink); }
.cat-num { grid-row: span 2; font-family: var(--serif); font-style: italic; color: var(--accent-ink); font-size: 1.1rem; padding-top: 2px; }
.cat-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.cat-count { font-size: .9rem; color: var(--muted); }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-prem { border-color: var(--accent); }
.card-link { display: block; text-decoration: none; height: 100%; }
.card-link:hover { color: var(--ink); }
.card-img { position: relative; aspect-ratio: 3 / 2; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .card-logo-only { width: 46%; height: auto; object-fit: contain; }
.card-initial { font-family: var(--serif); font-size: 4rem; font-style: italic; color: var(--accent); }
.card-body { padding: 16px 18px 18px; }
.card-title { margin: 0 0 4px; font-size: 1.25rem; }
.card-tag { color: var(--ink-2); font-size: .96rem; margin-bottom: 8px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent-ink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.badge-inline { position: static; vertical-align: middle; font-family: var(--sans); font-size: .72rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.chips a { text-decoration: none; }

/* ---------- Band ---------- */
.band { background: var(--ink); color: var(--paper); padding-block: clamp(40px, 7vw, 80px); }
.band h2 { color: var(--paper); }
.band-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.steps { padding-left: 1.2em; margin: 0; }
.steps li { margin-bottom: .8em; }
.band-cta { border-left: 2px solid var(--accent); padding-left: 32px; }
.link-light { color: var(--paper); display: inline-block; margin-left: 14px; }
.link-light:hover { color: #ffd6c9; }
@media (max-width: 820px) { .band-inner { grid-template-columns: 1fr; } .band-cta { padding-left: 20px; } .link-light { margin: 12px 0 0; display: block; } }

.region-list { list-style: none; padding: 0; margin: 0; columns: 4 200px; column-gap: 24px; }
.region-list li { break-inside: avoid; }
.region-list a { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.region-list span { color: var(--muted); font-size: .9rem; }

/* ---------- Seitenkopf / Liste ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.result-count { font-weight: 600; color: var(--muted); }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); padding: 36px; text-align: center; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pager span[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.link-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .92rem; background: var(--card); }

/* ---------- Profil ---------- */
.profile-head { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.profile-id { display: flex; gap: 24px; align-items: flex-start; }
.profile-logo { width: 96px; height: 96px; border-radius: 20px; object-fit: contain; background: var(--card); border: 1px solid var(--line); flex: none; }
.profile-initial { display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--accent); }
.profile-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: .95rem; }
.profile-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-block: 36px 64px; align-items: start; }
.block { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.03); }
.video { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play { width: 100%; height: 100%; border: 0; background: var(--ink); color: var(--paper); font: 600 1.1rem var(--sans); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.video-play span { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 1.6rem; }
.video-play small { color: #cfc6b8; font-weight: 400; }
.prose p { max-width: 42em; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.contact-card h2 { font-size: 1.45rem; }
.side-links { padding: 24px 4px; }
@media (max-width: 920px) { .profile-grid { grid-template-columns: 1fr; } .contact-card { position: static; } }
@media (max-width: 560px) { .profile-id { flex-direction: column; } }

/* ---------- Formulare ---------- */
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field label small, .field .label small { font-weight: 400; color: var(--muted); }
input[type=text], input:not([type]), input[type=email], input[type=password], input[type=tel], input[type=search], input[type=date], input[type=url], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #b9ae9c; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid rgba(217,67,31,.35); outline-offset: 0; }
input:disabled { background: var(--paper-2); color: var(--muted); }
input[type=file] { font: inherit; max-width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.check label { font-weight: 400; margin: 0; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 400 !important; }
.counter { display: block; text-align: right; color: var(--muted); font-size: .82rem; margin-top: 3px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 6px; margin: 0 0 22px; background: var(--card); }
legend { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; padding: 0 8px; }
legend small { font-family: var(--sans); font-size: .85rem; color: var(--muted); font-weight: 400; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 0 16px; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; margin-bottom: 14px; }
.check-grid label { display: flex; gap: 8px; align-items: center; min-height: 32px; }
.check-grid input { width: 20px; height: 20px; accent-color: var(--ink); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.logo-row { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.logo-row img { border-radius: 12px; border: 1px solid var(--line); background: #fff; object-fit: contain; }
.form, .form-wide { max-width: 860px; }
.radio-row { border: 0; padding: 0; margin: 0 0 12px; background: none; display: flex; gap: 18px; flex-wrap: wrap; }
.radio-row label { display: flex; gap: 6px; align-items: center; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filter-row input, .filter-row select { width: auto; min-width: 180px; }
.upload-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink); transform: rotate(-45deg); }

/* ---------- Preise / FAQ ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 900px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.plan .ticks { flex: 1; }
.plan-prem { border: 2px solid var(--ink); }
.plan-flag { position: absolute; top: -13px; left: 24px; background: var(--accent-ink); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin: 0; }
.price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; margin-bottom: .2em; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 400; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* ---------- Konto / Admin ---------- */
.acc-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 26px; }
.acc-nav a { text-decoration: none; font-weight: 600; padding: 6px 0; }
.acc-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .35em; }
.acc-nav form { margin-left: auto; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent-ink); color: #fff; font-size: .78rem; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 20px; }
.acc-grid .panel { margin-bottom: 0; }
.panel-span { grid-column: 1 / -1; }
.panel-prem { border-color: var(--accent); }
.panel-danger { border-color: #e2b4a8; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-right: 6px; }
.pill-ok { background: #dcebdf; color: var(--ok); }
.pill-wait { background: #f3e6c8; color: var(--warn); }
.pill-bad { background: #f5dcd5; color: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.stats-wide { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 24px; }
.stats div { background: var(--paper); border-radius: 12px; padding: 12px; }
.stats dt { font-size: .8rem; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.bar { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.bar span { display: block; height: 100%; background: var(--accent); }
.bar-0 { width: 0; } .bar-10 { width: 10%; } .bar-20 { width: 20%; } .bar-30 { width: 30%; } .bar-40 { width: 40%; } .bar-50 { width: 50%; }
.bar-60 { width: 60%; } .bar-70 { width: 70%; } .bar-80 { width: 80%; } .bar-90 { width: 90%; } .bar-100 { width: 100%; }
.checklist { list-style: none; padding: 0; margin: 0 0 14px; }
.checklist li { padding-left: 26px; position: relative; margin-bottom: 4px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border: 2px solid #b9ae9c; border-radius: 50%; }
.checklist li.done { color: var(--ink); }
.checklist li.done::before { background: var(--ok); border-color: var(--ok); }
.img-admin { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.img-admin li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.img-admin img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.img-admin label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 4px; }
.img-admin .badge { top: 20px; left: 20px; }
.img-admin-s { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.img-actions { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.inq-list { list-style: none; padding: 0; margin: 0; }
.inq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.inq-new { border-color: var(--accent); }
.inq summary { padding: 14px 18px; cursor: pointer; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.inq-body { padding: 0 18px 16px; }
.table-wrap { overflow-x: auto; margin-bottom: 18px; }
.table { width: 100%; border-collapse: collapse; background: var(--card); font-size: .94rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table input, .table textarea { min-height: 38px; }
.table .num { width: 70px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 40px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .4em; }
.foot-h { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.foot-copy { color: var(--muted); font-size: .85rem; margin-top: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Consent ---------- */
.consent { position: fixed; inset: auto 16px 16px 16px; z-index: 50; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-box { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 22px; max-width: 640px; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.consent-box h2 { font-size: 1.3rem; }
.consent-opts { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.consent-opts label { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.consent-opts input { width: 20px; height: 20px; accent-color: var(--ink); }
.consent-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-btns .btn { flex: 1 1 auto; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Pakete, Bewertungen, Aufträge (v2) ---------- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 10px; }
.pkg { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; }
.pkg-mid { border: 2px solid var(--ink); }
.pkg-tier { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--accent-ink); margin: 0 0 4px; }
.pkg h3 { margin-bottom: 6px; }
.pkg-price { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin: 0 0 8px; }
.pkg-desc { color: var(--ink-2); font-size: .95rem; }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--muted); }
.pkg .ticks { flex: 1; font-size: .95rem; }
.pkg-edit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 18px; }
.stars { color: var(--accent-ink); letter-spacing: 1px; }
.rating-line { margin: -4px 0 10px; }
.rating-line a { text-decoration: none; }
.reviews { list-style: none; padding: 0; margin: 0; }
.reviews li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.reviews li p { margin: 0 0 6px; }
.timeline { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: st; }
.timeline li { border-top: 4px solid var(--line); padding-top: 8px; font-size: .92rem; color: var(--muted); }
.timeline li.done { border-color: var(--accent); color: var(--ink); }
.timeline li .muted { display: block; font-size: .82rem; }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr 1fr; } }
.rating-input { border: 0; padding: 0; margin: 0 0 14px; background: none; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input legend { width: 100%; font-family: var(--sans); font-size: .95rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 2.2rem; line-height: 1; color: #c9bfb0; cursor: pointer; padding: 2px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--accent); }
.rating-input input:focus-visible + label { outline: 3px solid var(--accent); border-radius: 6px; }
.radio-col { flex-direction: column; gap: 8px; }
.radio-col legend { font-family: var(--sans); font-size: .95rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
.order-actions { margin-top: 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: .9rem; }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.demo-banner { background: #f6eedb; border-bottom: 2px solid var(--warn); padding: 12px 0; font-size: .95rem; }
.badge-demo { left: auto; right: 10px; background: var(--warn); }

/* ---------- Ratgeber (v4) ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.post-card h2 { font-size: 1.4rem; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.byline-top { color: var(--muted); font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 26px; }
.article-body { font-size: 1.08rem; }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .4em; }
textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; line-height: 1.55; }
.md-help li { margin-bottom: 6px; font-size: .9rem; }
.md-help code, .kv code { background: var(--paper); padding: 1px 6px; border-radius: 4px; font-size: .85rem; }
