/* VermietChef · site.css · basiert auf tokens.css (Designsystem v1) */
:root {
  --p: #55338A; --p-deep: #3F2568; --p-tint: #EEE7F8;
  --a: #F5A524; --a-deep: #D68A0E; --a-tint: #FFF3DC;
  --ink: #1C1530; --ink-2: #4A4260; --muted: #7A7290; --line: #E3DDEF;
  --surface: #FFFFFF; --ground: #FAF8FD; --ground-2: #F3EFF9;
  --ok: #2F855A; --ok-tint: #E3F3EA; --warn: #B86E00; --warn-tint: #FFF1D6; --bad: #C53030; --bad-tint: #FDE5E5;
  --display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --body: 'Figtree', 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', Consolas, monospace;
  --r-s: 6px; --r-m: 12px; --r-l: 20px; --pill: 999px;
  --shadow: 0 12px 32px -12px rgba(28,21,48,.28);
  --focus: 0 0 0 3px rgba(245,165,36,.55);
  --container: 1200px; --gutter: 24px; --section: clamp(64px, 8vw, 96px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--p); text-decoration-thickness: 1px; text-underline-offset: .15em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: var(--section); }
.section--tint { background: var(--ground-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--a); color: var(--ink); padding: 8px 12px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

/* Typo */
.display-xl { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.display-l { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.05; }
.h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); letter-spacing: -.015em; }
.h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -.01em; }
.h3 { font-size: 1.25rem; }
.lead { font-size: 1.25rem; color: var(--ink-2); max-width: 60ch; }
.prose { max-width: 65ch; } .prose p + p { margin-top: 1em; } .prose h2 { margin: 2em 0 .6em; font-size: 1.5rem; } .prose h3 { margin: 1.6em 0 .5em; }
.prose ul { list-style: disc; padding-left: 1.2em; } .prose li + li { margin-top: .3em; }
.label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label--accent { color: var(--a); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.price { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.eyebrow { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }

/* Wordmark */
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 1.375rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; }
.wordmark b { color: var(--p); font-weight: 800; } .wordmark i { font-style: normal; color: var(--a); }
.wordmark--dark { color: #fff; } .wordmark--dark b { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--pill); font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s var(--ease), transform .15s var(--ease), border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--p); color: #fff; } .btn--primary:hover { background: var(--p-deep); }
.btn--accent { background: var(--a); color: var(--ink); } .btn--accent:hover { background: var(--a-deep); }
.btn--outline { background: transparent; color: var(--p); border-color: currentColor; } .btn--outline:hover { background: var(--p-tint); }
.btn--light { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; } .btn--light:hover { background: rgba(255,255,255,.1); }
.btn--ghost { background: transparent; color: var(--ink); } .btn--ghost:hover { background: var(--ground-2); }
.btn--s { padding: 8px 14px; font-size: .9rem; } .btn--l { padding: 16px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); font: 600 .75rem/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--ok { color: var(--ok); background: var(--ok-tint); } .badge--warn { color: var(--warn); background: var(--warn-tint); }
.badge--bad { color: var(--bad); background: var(--bad-tint); } .badge--new { color: var(--p); background: var(--p-tint); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,253,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.mainnav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.mainnav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; }
.mainnav a:not(.btn):hover { color: var(--p); }
.mainnav a[aria-current] { color: var(--p); box-shadow: inset 0 -2px 0 var(--a); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .mainnav.is-open { display: flex; }
  .mainnav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mainnav .btn { margin-top: 12px; }
}

/* Hero */
.hero { background: var(--p-deep); color: #fff; padding-block: var(--section); }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.hero h1 { margin: 20px 0; }
.hero h1 em { font-style: normal; color: var(--a); }
.hero p { color: rgba(255,255,255,.8); font-size: 1.25rem; max-width: 48ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-l); }
.hero__fact { position: absolute; left: 24px; bottom: -24px; background: var(--surface); color: var(--ink); border-radius: var(--r-m); padding: 14px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.hero__fact svg { color: var(--p); flex-shrink: 0; }
.hero__fact .label { display: block; }
.hero__fact strong { font-family: var(--mono); font-weight: 500; font-size: 1.1rem; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__fact { position: static; margin-top: 12px; } }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2, .split { grid-template-columns: 1fr; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }

/* Card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.card--pad { padding: 24px; }
.card--hover { transition: box-shadow .24s var(--ease), transform .24s var(--ease); }
.card--hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* Product card */
.product { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; }
.product__img { aspect-ratio: 4/3; background: var(--ground-2); position: relative; overflow: hidden; flex-shrink: 0; }
.product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__img .badge { position: absolute; top: 12px; left: 12px; }
.product__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font: 400 .8rem var(--mono); }
.product__body { padding: 16px 20px 12px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.product__body h3 { font-size: 1.125rem; }
.product__spec { font: 400 .85rem/1.4 var(--mono); color: var(--ink-2); }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.product__price { display: flex; flex-direction: column; line-height: 1.15; }
.product__price .price { font-size: 1.25rem; }
.product__price small { font-size: .75rem; color: var(--muted); white-space: nowrap; }

/* Steps */
.step { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.step__n { font: 400 .9rem var(--mono); color: var(--a); }
.step h3 { font-size: 1.125rem; } .step p { font-size: .95rem; color: var(--ink-2); }

/* Partner */
.partner { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.partner__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--p-tint); display: grid; place-items: center; color: var(--p); }

/* CTA band */
.cta { background: var(--p-tint); border-radius: var(--r-l); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; padding: 12px 14px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--body); }
.input:focus { outline: none; border-color: var(--p); box-shadow: var(--focus); }
.input--mono { font-family: var(--mono); }
textarea.input { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }
.check { display: flex; gap: 10px; align-items: start; font-size: .95rem; color: var(--ink-2); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--p); flex-shrink: 0; }
.error { color: var(--bad); font-size: .9rem; }
.alert { padding: 14px 18px; border-radius: var(--r-m); font-size: .95rem; }
.alert--ok { background: var(--ok-tint); color: var(--ok); } .alert--bad { background: var(--bad-tint); color: var(--bad); } .alert--info { background: var(--p-tint); color: var(--p-deep); }
.hp { position: absolute; left: -9999px; }

/* Calendar */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__head h3 { font-size: 1.05rem; }
.cal__nav { background: none; border: 1px solid var(--line); border-radius: var(--pill); width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.cal__nav:hover { background: var(--ground-2); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { text-align: center; font: 600 .7rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 0 8px; }
.cal__day { aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--ground); font: 500 .9rem var(--mono); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.cal__day:hover:not([disabled]) { background: var(--p-tint); }
.cal__day[disabled] { color: var(--muted); background: transparent; cursor: not-allowed; text-decoration: line-through; }
.cal__day--pad { visibility: hidden; }
.cal__day--pending::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--warn); position: absolute; bottom: 6px; }
.cal__day--full { background: var(--bad-tint); color: var(--bad); text-decoration: line-through; }
.cal__day--sel { background: var(--p) !important; color: #fff !important; }
.cal__day--range { background: var(--p-tint); }
.cal__day--today { box-shadow: inset 0 0 0 1.5px var(--a); }
.cal__legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cal__summary { margin-top: 16px; padding: 12px 14px; background: var(--ground-2); border-radius: var(--r-s); font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Product detail */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-l); }
.detail__ph { aspect-ratio: 4/3; border-radius: var(--r-l); background: var(--ground-2); display: grid; place-items: center; color: var(--muted); font: 400 .9rem var(--mono); }
.detail__buy { display: flex; flex-direction: column; gap: 16px; }
.pricebox { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.pricebox .price { font-size: 2.25rem; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs div span:last-child { font-family: var(--mono); text-align: right; }
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; } .breadcrumb li + li::before { content: "·"; margin-right: 8px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--ground); padding: 56px 0 32px; margin-top: var(--section); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 10px; }
.site-footer a { color: rgba(250,248,253,.85); text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .label { margin-bottom: 10px; display: block; }
.site-footer li + li { margin-top: 6px; } .site-footer li { font-size: .95rem; }
.site-footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: var(--muted); font-size: .85rem; }
.site-footer .linklike { color: rgba(250,248,253,.85); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie__inner { max-width: 880px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 20px 24px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.cookie h2 { font-size: 1rem; margin-bottom: 4px; } .cookie p { font-size: .9rem; color: var(--ink-2); }
.cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 720px) { .cookie__inner { flex-direction: column; align-items: stretch; } .cookie__actions { justify-content: stretch; } .cookie__actions .btn { flex: 1; } }

/* Map placeholder */
.map { aspect-ratio: 16/9; border-radius: var(--r-l); overflow: hidden; background: var(--ground-2); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 24px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map p { color: var(--ink-2); font-size: .95rem; max-width: 42ch; margin-bottom: 12px; }

/* City page */
.city-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city-list a { padding: 8px 14px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; }
.city-list a:hover, .city-list a[aria-current] { border-color: var(--p); color: var(--p); }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--p); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); max-width: 65ch; }

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

.detail__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }
.detail__gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-m); }

/* Freigestellte Produktfotos (weißer Hintergrund) nicht anschneiden */
.product__img img[src$="stehtisch.png"] { object-fit: contain; padding: 16px; background: #fff; }
.detail__media img[src*="stehtisch.png"] { object-fit: contain; padding: 32px; background: #fff; border: 1px solid var(--line); }
