/* Schlafeinrichter – Anthrazit-Premium-Look
   B2C-Akzent: Mint · B2B-Akzent: Kupfer/Orange */
:root {
  --bg: #121417;
  --bg-2: #181b1f;
  --surface: #1f2328;
  --surface-2: #262b31;
  --line: #2f353c;
  --text: #eceef0;
  --muted: #9aa3ab;
  --accent: #7fd1ae;
  --accent-ink: #0f1a15;
  --danger: #e06666;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --wrap: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.area-b2b { --accent: #e8913f; --accent-ink: #1d1105; }
.area-admin { --accent: #8fb8de; --accent-ink: #0b1520; }

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.narrow-sm { max-width: 460px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mb { margin-bottom: 1.5rem; }
.lead { font-size: 1.15rem; color: #cfd4d9; max-width: 62ch; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 8px; }
.ico { flex: none; vertical-align: -4px; }
.hp { position: absolute; left: -9999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); padding: .8rem 1.3rem; border-radius: 999px; font: 600 .98rem var(--font); cursor: pointer; transition: transform .15s, filter .15s; text-decoration: none !important; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: .5rem .95rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--danger { background: transparent; color: var(--danger); border-color: rgba(224,102,102,.5); }
.linkbtn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.actions.center { justify-content: center; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.more { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; }

/* Topbar & Header */
.topbar { background: #0c0d0f; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar .sep { margin: 0 .4rem; }
.switch { display: flex; background: var(--surface); border-radius: 999px; padding: 3px; }
.switch a { color: var(--muted); padding: .25rem .9rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.switch a.on { background: var(--accent); color: var(--accent-ink); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(18,20,23,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 170px; height: auto; }
.brand__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); border: 1px solid var(--accent); padding: .15rem .5rem; border-radius: 6px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--text); font-weight: 500; }
.nav a.on, .nav a:hover { color: var(--accent); text-decoration: none; }
.nav .btn { color: var(--accent-ink); }
.nav__acc { display: inline-flex; gap: .35rem; align-items: center; }
.nav--admin { gap: 1rem; font-size: .92rem; flex-wrap: wrap; }
.cartlink { position: relative; display: inline-flex; padding: .35rem; }
.badge { position: absolute; top: -4px; right: -8px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 9px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }

/* Gate (Weiche B2C/B2B) */
.gate { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 3rem 1.25rem;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(127,209,174,.12), transparent 60%), radial-gradient(1000px 600px at 90% 100%, rgba(232,145,63,.12), transparent 60%), var(--bg); }
.gate__head { text-align: center; margin-bottom: 2.5rem; }
.gate__head img { width: 260px; margin: 0 auto; }
.gate__tag { color: var(--muted); letter-spacing: .08em; margin-top: .8rem; }
.gate__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; width: min(100%, 1000px); }
.gate__tile { --c: #7fd1ae; display: flex; flex-direction: column; gap: .7rem; padding: 2.2rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none !important; transition: transform .2s, border-color .2s, box-shadow .2s; }
.gate__tile--b2b { --c: #e8913f; }
.gate__tile:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: var(--shadow); }
.gate__tile .eyebrow { color: var(--c); margin: 0; }
.gate__tile strong { font-size: 1.7rem; line-height: 1.2; }
.gate__tile > span:not(.eyebrow):not(.gate__icon):not(.gate__go) { color: var(--muted); }
.gate__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.gate__icon .ico { width: 28px; height: 28px; }
.gate__go { margin-top: auto; padding-top: .8rem; color: var(--c); font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }
.gate__foot { margin-top: 2.5rem; color: var(--muted); font-size: .88rem; text-align: center; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0; background: radial-gradient(900px 500px at 10% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%), var(--bg-2); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero__card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow); }
.hero__card h2 { font-size: 1.3rem; }
.hero__hotel { width: 210px; filter: invert(1) brightness(1.1); margin-bottom: 1.5rem; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: #cfd4d9; }
.ticks li { display: flex; gap: .5rem; align-items: flex-start; }
.ticks .ico { color: var(--accent); }
.ticks--col { flex-direction: column; }

.promo { background: var(--accent); color: var(--accent-ink); }
.promo__in { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: baseline; justify-content: center; padding: .9rem 0; text-align: center; }
.promo small { opacity: .8; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.pagehead { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }

/* Cards & Grids */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1rem; }
.card--dark { background: #0d0f11; }
.card--accent { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface)); }
.grid { display: grid; gap: 1.2rem; }
.grid .card { margin: 0; }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--reviews, .grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 1.5rem; }
.cat { color: var(--text); transition: transform .2s, border-color .2s; text-decoration: none !important; }
.cat:hover { transform: translateY(-3px); border-color: var(--accent); }
.cat p { color: var(--muted); font-size: .94rem; margin: 0; }
.cat__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 1rem; }
.cat__icon .ico { width: 24px; height: 24px; }
.cat__icon.big { width: 72px; height: 72px; margin: 0 auto 1rem; }
.cat__icon.big .ico { width: 38px; height: 38px; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .45rem 1rem; color: var(--text); }
a.chip:hover { border-color: var(--accent); text-decoration: none; }

.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product__img { aspect-ratio: 4/3; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.ph { color: var(--accent); opacity: .55; }
.ph .ico { width: 64px; height: 64px; }
.ph--lg .ico { width: 120px; height: 120px; }
.product__body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product__body h3 a { color: var(--text); }
.product__body .muted { font-size: .92rem; }
.product__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-top: .6rem; }
.price { font-weight: 700; }
.price--lg { font-size: 1.8rem; }
.price--lock, .price--lock a { color: var(--muted); font-weight: 600; font-size: .9rem; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; gap: .3rem; }
.steps li::before { content: counter(s); font-weight: 800; color: var(--accent-ink); background: var(--accent); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .4rem; }
.steps span { color: var(--muted); font-size: .93rem; }
.phases { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.phases .card { margin: 0; position: relative; }
.phase__no { font-size: 3rem; font-weight: 800; color: var(--accent); opacity: .9; line-height: 1; display: block; margin-bottom: .5rem; }

.review blockquote { margin: .6rem 0; color: #d6dade; }
.review figcaption { color: var(--muted); font-size: .9rem; }
.stars { display: flex; gap: 2px; color: #3a4047; }
.stars .on { color: #f2c14e; }
.stars .ico { fill: currentColor; }

.faq { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: .7rem 0 0; }

.hours { border-collapse: collapse; width: 100%; margin-bottom: .6rem; }
.hours th, .hours td { padding: .3rem 0; text-align: left; font-weight: 400; border-bottom: 1px dashed var(--line); }
.hours td { text-align: right; color: var(--text); white-space: nowrap; padding-left: .8rem; }
.hours th { color: var(--muted); }
.note { background: color-mix(in srgb, var(--accent) 10%, transparent); border-left: 3px solid var(--accent); padding: .8rem 1rem; border-radius: 6px; font-size: .95rem; }

/* Shop */
.shoplayout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.filters { display: flex; flex-direction: column; gap: .2rem; position: sticky; top: 100px; }
.filters a { color: var(--muted); padding: .55rem .8rem; border-radius: 10px; display: flex; gap: .5rem; align-items: center; }
.filters a.on, .filters a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.filters a.on .ico { color: var(--accent); }
.empty { text-align: center; padding: 2.5rem; }
.empty .actions { justify-content: center; }
.crumbs { color: var(--muted); font-size: .88rem; margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pdp__img { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; margin: 1.2rem 0; }
.addcart { display: flex; gap: .8rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem; }
.addcart label { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); }
.addcart input { width: 90px; }
.prose { color: #d0d5da; margin-top: 1.5rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.2rem; }

.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.table .num { text-align: right; white-space: nowrap; }
.table tfoot th { font-size: 1.05rem; }
.cart { overflow-x: auto; }
.qty { width: 70px; }
.checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.summary { position: sticky; top: 100px; }
.summary__list { list-style: none; padding: 0; margin: 0 0 1rem; }
.summary__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.summary__total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.summary a { display: inline-flex; gap: .4rem; align-items: center; }

/* Formulare */
.form label { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; font-size: .92rem; color: #cdd2d7; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.form legend { font-weight: 700; margin-bottom: .8rem; font-size: 1.05rem; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); border-color: var(--accent); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
.form .check, .form .radio { flex-direction: row; align-items: flex-start; gap: .6rem; }
.radios { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 1rem; }
.radios label { margin-bottom: 0; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.row--zip { grid-template-columns: 140px 1fr; }
.err { color: var(--danger); font-size: .85rem; }
.flash { padding: .9rem 1.1rem; border-radius: 10px; margin: 1.2rem 0; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.flash--err { background: rgba(224,102,102,.12); border-color: rgba(224,102,102,.45); }
.inline { display: flex; gap: .4rem; flex-wrap: wrap; }

/* Admin */
.stat { display: flex; flex-direction: column; color: var(--text); text-decoration: none !important; }
.stat strong { font-size: 2.2rem; color: var(--accent); }
.stat span { color: var(--muted); }
.tag { display: inline-block; font-size: .78rem; padding: .15rem .55rem; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.tag--neu { background: rgba(232,145,63,.18); color: #f0a55e; }
.tag--bestätigt, .tag--geliefert, .tag--abgeschlossen { background: rgba(127,209,174,.15); color: #7fd1ae; }
.tag--storniert { background: rgba(224,102,102,.15); color: var(--danger); }
.is-done { opacity: .55; }
.inquiry .msg { background: var(--bg); padding: .8rem 1rem; border-radius: 8px; white-space: normal; }
.thumb { width: 120px; border-radius: 8px; display: inline-block; vertical-align: middle; }
details.card summary { cursor: pointer; }
details.card[open] summary { margin-bottom: 1rem; }

/* Footer */
.footer { background: #0c0d0f; border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; margin-top: 2rem; color: var(--muted); font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h3 { color: var(--text); font-size: 1rem; }
.footer img { width: 160px; margin-bottom: 1rem; }
.footer address { font-style: normal; }
.footer a { color: var(--text); }
.footer .links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.social { display: flex; gap: .8rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }
.footer__legal nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__legal a { color: var(--muted); }

/* Responsive */
@media (max-width: 1020px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 116px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .25s; max-height: calc(100vh - 116px); overflow: auto; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header--admin .nav { inset: 76px 0 auto 0; }
  .hero__in, .split, .pdp, .checkout, .shoplayout { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; overflow-x: auto; padding-bottom: .5rem; }
  .filters a { white-space: nowrap; background: var(--surface); }
  .summary { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar__info { display: none; }
  .topbar__in { justify-content: center; }
  .gate__grid { grid-template-columns: 1fr; }
  .gate__tile { padding: 1.6rem; }
  .brand img { width: 140px; }
  .brand__tag { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .table thead { display: none; }
  .cart .table td, .cart .table th { padding: .5rem .3rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
