/* Networkcity – Stylesheet (öffentliche Seite + Verwaltung) */
/* Symbole lokal eingebunden (kein Google-Fonts-Abruf, datenschutzfreundlich).
   Teilmenge von "Material Symbols Rounded" (Apache-2.0, Google). */
@font-face {
  font-family: 'NC Symbols';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('fonts/material-symbols-rounded.woff') format('woff');
}
:root {
  --nc-primary: #F5740A;
  --nc-primary-hover: #D9640A;
  --nc-primary-soft: #FFF1E3;
  --nc-bg: #FFFFFF;
  --nc-bg-grad: radial-gradient(1200px 620px at 18% -12%, #FFF1E3 0%, #FFFFFF 58%);
  --nc-surface: #FFFFFF;
  --nc-surface-2: #FFF7F0;
  --nc-text: #1C1917;
  --nc-muted: #6B7280;
  --nc-border: #F1D9C2;
  --nc-header: rgba(255,255,255,0.86);
  --nc-shadow: 0 12px 30px rgba(245,116,10,0.10);
  --nc-on-primary: #FFFFFF;
  --nc-green: #15803D;
  --nc-green-soft: #DCFCE7;
  --nc-blue: #1D4ED8;
  --nc-blue-soft: #DBEAFE;
  --nc-red: #B91C1C;
  --nc-red-soft: #FEE2E2;
  --radius: 18px;
  --maxw: 1180px;
}
[data-theme="dark"] {
  --nc-green: #4ADE80; --nc-green-soft: #12301D;
  --nc-blue: #93C5FD; --nc-blue-soft: #172554;
  --nc-red: #FCA5A5; --nc-red-soft: #3B1212;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--nc-text);
  background: var(--nc-bg);
  background-image: var(--nc-bg-grad);
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--nc-primary); }
h1, h2, h3, h4 { letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.ms {
  font-family: 'NC Symbols';
  font-weight: normal; font-style: normal;
  font-size: 1.25em; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: -0.22em;
  overflow: hidden; max-width: 1.3em;
}
.ms.big { font-size: 2rem; max-width: 2.2rem; color: var(--nc-primary); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
main { flex: 1; padding: 24px 0 48px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--nc-header);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nc-border);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nc-text); font-weight: 800; flex-shrink: 0; }
.brand img { height: 40px; width: auto; border-radius: 8px; background: #000; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--nc-text); font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; display: flex; align-items: center; gap: 6px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--nc-primary-soft); color: var(--nc-primary); }
.nav a.active { background: var(--nc-primary); color: var(--nc-on-primary); }
.btn.menu-btn { display: none; margin-left: auto; }

@media (max-width: 860px) {
  .btn.menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 2px; padding: 8px 16px 14px;
    background: var(--nc-surface); border-bottom: 1px solid var(--nc-border);
    box-shadow: var(--nc-shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--nc-border); background: var(--nc-surface); color: var(--nc-text);
  text-decoration: none; cursor: pointer; transition: all .15s ease; white-space: nowrap;
  min-height: 42px;
}
.btn:hover { border-color: var(--nc-primary); color: var(--nc-primary); }
.btn.primary { background: var(--nc-primary); border-color: var(--nc-primary); color: var(--nc-on-primary); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.btn.primary:hover { background: var(--nc-primary-hover); border-color: var(--nc-primary-hover); color: var(--nc-on-primary); transform: translateY(-1px); }
.btn.danger:hover { border-color: var(--nc-red); color: var(--nc-red); }
.btn.small { padding: 6px 12px; min-height: 34px; font-size: .88rem; }
.btn.icon-only { padding: 8px; min-width: 42px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row.center { justify-content: center; }
.btn-row.end { justify-content: flex-end; }

/* Cards */
.card {
  background: var(--nc-surface); border: 1px solid var(--nc-border);
  border-radius: var(--radius); box-shadow: var(--nc-shadow); padding: 20px;
}
.grid { display: grid; gap: 18px; }
.grid.c4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid.info { grid-template-columns: 2fr 1fr; }
@media (max-width: 760px) { .grid.info { grid-template-columns: 1fr; } }
section { margin-top: 44px; }
.section-title { display: flex; align-items: center; gap: 10px; }
.section-title .ms { color: var(--nc-primary); }
.muted { color: var(--nc-muted); }
.small { font-size: .9rem; }

/* Hero */
.hero { text-align: center; padding: 8px 0 0; }
.hero-img { width: min(520px, 100%); margin: 0 auto 22px; border-radius: 20px; box-shadow: var(--nc-shadow); }
.hero p.lead { font-size: 1.1rem; color: var(--nc-muted); max-width: 720px; margin: 0 auto 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px;
  background: var(--nc-primary-soft); color: var(--nc-primary); font-weight: 600; font-size: .85rem;
}

/* Carousel */
.promo {
  position: relative; overflow: hidden; border-radius: 22px; margin-top: 28px;
  background: #101214; border: 1px solid var(--nc-border); box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.promo-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.promo-slide { position: relative; flex: 0 0 100%; min-width: 100%; height: 100%; }
.promo-slide img { width: 100%; height: 100%; object-fit: contain; }
.promo-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 34px 40px;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.promo-badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 13px; border-radius: 999px;
  background: var(--nc-primary); color: var(--nc-on-primary);
  font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.promo-title { font-size: clamp(1.15rem, 2.4vw, 2.05rem); font-weight: 800; line-height: 1.15; margin-bottom: .35rem; }
.promo-text { margin: 0; color: rgba(255,255,255,.93); font-size: clamp(.88rem, 1.1vw, 1.05rem); max-width: 760px; }
.promo-link { display: inline-block; margin-top: .6rem; color: #fff; font-weight: 600; }
.promo-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0,0,0,.38); color: #fff; display: flex; align-items: center; justify-content: center;
}
.promo-nav:hover { background: var(--nc-primary); color: var(--nc-on-primary); }
.promo-prev { left: 14px; } .promo-next { right: 14px; }
.promo-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.promo-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; transition: all .2s; }
.promo-dot.active { width: 26px; background: #fff; }
@media (max-width: 640px) {
  .promo-overlay { padding: 16px 16px 32px; }
  .promo-text { display: none; }
  .promo-nav { width: 34px; height: 34px; }
  .promo-prev { left: 6px; } .promo-next { right: 6px; }
}

/* Notice / special hours */
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; }
.notice .ms { color: var(--nc-primary); }
.notice ul { margin: 6px 0 0; padding-left: 18px; }

/* Service cards */
.service-card h3 { margin-top: 10px; }
.service-card p { margin: 0; color: var(--nc-muted); font-size: .93rem; }

/* Hours list */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--nc-border); }
.hours li:last-child { border-bottom: 0; }
.hours li.today { font-weight: 700; color: var(--nc-primary); }

/* Product cards */
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-img { aspect-ratio: 4/3; background: var(--nc-surface-2); display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .ms { font-size: 3rem; max-width: 3.2rem; color: var(--nc-muted); }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-name { font-weight: 700; font-size: 1.05rem; }
.price { font-size: 1.45rem; font-weight: 800; }
.price-old { color: var(--nc-muted); text-decoration: line-through; margin-right: 6px; }
.price-discount { color: var(--nc-red); font-weight: 600; }
.product-desc { color: var(--nc-muted); font-size: .92rem; margin: 0; }
.product-foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge.new { background: var(--nc-green-soft); color: var(--nc-green); }
.badge.used { background: var(--nc-blue-soft); color: var(--nc-blue); }
.badge.sold { background: var(--nc-red-soft); color: var(--nc-red); }
.product.is-sold .product-img img { filter: grayscale(1); opacity: .6; }

/* Shop filters */
.filters { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 8px; }
.filters-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--nc-border); border-radius: 999px; padding: 3px; background: var(--nc-surface); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--nc-text); font: inherit; font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--nc-primary); color: var(--nc-on-primary); }
.cat-toggle { border: 1px solid var(--nc-border); background: var(--nc-surface); color: var(--nc-text); font: inherit; font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.cat-toggle.on { background: var(--nc-primary-soft); border-color: var(--nc-primary); color: var(--nc-primary); }

/* Forms */
input[type=text], input[type=search], input[type=number], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=date], input[type=time], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--nc-text);
  background: var(--nc-surface); border: 1px solid var(--nc-border); border-radius: 12px;
  padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--nc-primary); outline-offset: 1px; border-color: var(--nc-primary); }
.search { flex: 1 1 240px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
label.field .hint { font-weight: 400; color: var(--nc-muted); font-size: .84rem; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--nc-primary); flex-shrink: 0; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-stack { display: flex; flex-direction: column; gap: 14px; }

/* Service price rows */
.price-row { display: grid; grid-template-columns: 1.2fr 1fr 2.2fr; gap: 14px; align-items: start; padding: 16px 20px; }
.price-row .p { font-weight: 800; color: var(--nc-primary); }
@media (max-width: 640px) { .price-row { grid-template-columns: 1fr; gap: 4px; } }
.list-gap { display: flex; flex-direction: column; gap: 12px; }
.steps { counter-reset: s; }
.step { display: flex; gap: 16px; align-items: center; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--nc-primary); color: var(--nc-on-primary); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
ul.bullets { padding-left: 20px; margin: 0 0 1em; }
ul.bullets li { margin: 4px 0; }

/* CTA */
.cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta p { margin: 0; flex: 1 1 320px; }

/* Map */
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--nc-shadow); }

/* Gallery */
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--nc-border); background: var(--nc-surface-2); padding: 22px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.site-footer a { color: var(--nc-text); text-decoration: none; }

/* Dialog */
dialog {
  border: 1px solid var(--nc-border); border-radius: 20px; padding: 0; width: min(560px, calc(100% - 24px));
  background: var(--nc-surface); color: var(--nc-text); box-shadow: 0 30px 80px rgba(0,0,0,.35);
  max-height: calc(100vh - 32px);
}
dialog::backdrop { background: rgba(0,0,0,.5); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--nc-border); position: sticky; top: 0; background: var(--nc-surface); z-index: 2; }
.dialog-head h3 { margin: 0; }
.dialog-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-list label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--nc-border); border-radius: 12px; cursor: pointer; }
.radio-list label:has(input:checked) { border-color: var(--nc-primary); background: var(--nc-primary-soft); }
.radio-list input { accent-color: var(--nc-primary); width: 18px; height: 18px; }
.info-box { background: var(--nc-primary-soft); border-radius: 12px; padding: 10px 12px; font-size: .92rem; }

.loading, .error-box { text-align: center; padding: 60px 16px; color: var(--nc-muted); }
.empty { text-align: center; padding: 32px 16px; color: var(--nc-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.map-consent { text-align: center; padding: 36px 20px; }
.map-consent p { color: var(--nc-muted); max-width: 520px; margin: 0 auto 16px; }
[hidden] { display: none !important; }
.ms { flex-shrink: 0; }
.footer-links { display: flex; gap: 16px; align-items: flex-start; flex-basis: 100%; }
.footer-links a { text-decoration: underline; color: var(--nc-muted); }
.legal h2 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.legal h2:first-child { margin-top: 0; }
.legal p { overflow-wrap: anywhere; }
