/* ==========================================================================
   Draft 2 — Graphit & Kupfer · Industrial Editorial
   Metall-Schrott-Handel Maximilian Fassl (Oberwart & Neckenmarkt)
   ========================================================================== */

:root {
  --bg:           #0c0d10;
  --bg-elev:      #12141a;
  --surface:      #171a21;
  --surface-2:    #1e222b;
  --line:         rgba(255, 255, 255, 0.08);
  --line-strong:  rgba(255, 255, 255, 0.16);

  --text:         #f3f2ee;
  --text-soft:    #c9c7c0;
  --muted:        #8c8b85;

  --copper:       #e07b39;
  --copper-bright:#f19352;
  --copper-deep:  #b85b1e;
  --copper-tint:  rgba(224, 123, 57, 0.12);

  --green:        #3ecf8e;

  --font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius-sm:    10px;
  --radius:       16px;
  --radius-lg:    24px;
  --container:    1280px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(224, 123, 57, 0.12), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  hyphens: manual;
  overflow-wrap: break-word;
}

html:has(dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--copper); color: #111;
  font-weight: 700; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

h1 em, h2 em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper-bright);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--copper-bright);
  margin-bottom: .65rem;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--copper);
}

.lead {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  color: var(--text-soft);
  max-width: 62ch;
}

.muted { color: var(--muted); }

/* ==========================================================================
   Buttons & Chips
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: .6rem 1.05rem; font-size: .86rem; }
.btn-lg { padding: 1.05rem 1.65rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--copper-bright), var(--copper));
  color: #130b04;
  font-weight: 700;
  box-shadow: 0 8px 24px -6px rgba(224, 123, 57, 0.45);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -4px rgba(224, 123, 57, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active {
  background: var(--copper);
  color: #130b04;
  border-color: var(--copper);
  font-weight: 700;
}
.chip-count {
  font-family: var(--font-mono);
  font-size: .75rem;
  opacity: .8;
}

/* ==========================================================================
   Top Status Bar & Header (Consistent Brand Name across PC, Laptop, Smartphone)
   ========================================================================== */

.status-bar {
  border-bottom: 1px solid var(--line);
  background: rgba(12, 13, 16, 0.75);
  font-size: .82rem;
  color: var(--muted);
}
.status-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .55rem;
  flex-wrap: wrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-soft);
  font-weight: 500;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copper-bright);
}
.status-pill.is-open .status-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(62, 207, 142, 0.16);
}
.status-links {
  display: flex; align-items: center; gap: .65rem;
}
.status-links a:hover { color: var(--copper-bright); }
.sep { opacity: .35; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 13, 16, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  flex-shrink: 0;
}
.brand-logo {
  height: 44px; width: auto; max-width: 110px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 3px 6px;
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  hyphens: none !important;
  word-break: keep-all;
}
.bn-prefix {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper-bright);
  white-space: nowrap;
}
.bn-main {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: .92rem;
  color: var(--text-soft);
}
.site-nav a {
  padding-block: .35rem;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); }
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--copper);
  transform: scaleX(0); transform-origin: right;
  transition: transform .25s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 18px; height: 1.5px; background: var(--text);
  transition: transform .2s;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.1rem);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero-name-highlight {
  display: inline-block;
  white-space: nowrap;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-top: 2rem;
}

.hero-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-loc-pill {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.hero-loc-pill:hover { border-color: var(--copper); }
.hero-loc-pin {
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: .2rem .45rem;
  border-radius: 6px;
  background: var(--copper-tint);
  color: var(--copper-bright);
  font-weight: 600;
}
.hero-loc-pill strong { display: block; font-size: .95rem; color: var(--text); }
.hero-loc-pill span { font-size: .82rem; color: var(--muted); }

.hero-stage { position: relative; }
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero-slides, .hero-slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slides img {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 6s ease-out;
}
.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 13, 16, 0.78));
  pointer-events: none;
}
.hero-frame-bar {
  position: absolute; inset-inline: 1rem; bottom: 1rem; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: .75rem; color: var(--text-soft);
}
.hero-dots { display: flex; gap: .35rem; }
.hero-dots button {
  width: 22px; height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: all .25s;
}
.hero-dots button.is-active {
  width: 34px; background: var(--copper-bright);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: .9rem;
}
.fact {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.fact-value {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--copper-bright);
}
.fact-label {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  color: var(--muted);
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  padding-block: .95rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 55s linear infinite;
  font-family: var(--font-mono);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-soft);
}
.ticker-track span {
  display: inline-flex; align-items: center; gap: 2.5rem;
  white-space: nowrap;
}
.ticker-track span::after {
  content: "◆";
  color: var(--copper);
  font-size: .6rem;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Sections & Headers
   ========================================================================== */

.section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}
.section-alt { background: var(--bg-elev); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.section-head-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  margin-bottom: .75rem;
  text-wrap: balance;
}

/* ==========================================================================
   Services / Material Sorts Grid (all 29 items with photos & detail modal)
   ========================================================================== */

.services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.services-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.services-search-wrap {
  position: relative;
  min-width: min(280px, 100%);
  flex: 0 1 300px;
}
.services-search-input {
  width: 100%;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: .88rem;
  transition: border-color .2s;
}
.services-search-input:focus {
  outline: none;
  border-color: var(--copper-bright);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

.svc-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 123, 57, 0.45);
  background: var(--surface-2);
}
.svc-card.is-featured {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(224, 123, 57, 0.16), transparent 60%),
    var(--surface);
  border-color: rgba(224, 123, 57, 0.35);
}

.svc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.svc-card:hover .svc-media img {
  transform: scale(1.04);
}
.svc-media-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(8px);
  color: var(--copper-bright);
  border: 1px solid rgba(224, 123, 57, 0.35);
}
.svc-media-zoom {
  position: absolute;
  bottom: .65rem;
  right: .65rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  padding: .24rem .6rem;
  border-radius: 6px;
  background: rgba(12, 13, 16, 0.82);
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  pointer-events: none;
  transition: background .2s, color .2s;
}
.svc-card:hover .svc-media-zoom {
  background: var(--copper);
  color: #130b04;
  border-color: var(--copper);
  font-weight: 600;
}

.svc-body {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}
.svc-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: .74rem; color: var(--muted);
}
.svc-badge {
  padding: .2rem .55rem; border-radius: 999px;
  background: var(--copper-tint); color: var(--copper-bright);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
}
.svc-title-btn {
  text-align: left;
  padding: 0;
  color: var(--text);
  transition: color .2s;
}
.svc-title-btn:hover h3 {
  color: var(--copper-bright);
}
.svc-card h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  transition: color .2s;
}
.svc-desc {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}
.svc-bulletins {
  list-style: none;
  margin: .2rem 0 0;
  padding: .65rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .32rem;
  font-size: .81rem;
  color: var(--text-soft);
}
.svc-bulletins li {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
}
.svc-bulletins li::before {
  content: "✓";
  color: var(--copper-bright);
  font-weight: 700;
  flex-shrink: 0;
}
.svc-footer {
  margin-top: auto;
  padding-top: .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.svc-detail-btn {
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
  padding: .35rem 0;
  transition: color .2s;
}
.svc-detail-btn:hover { color: var(--text); }
.svc-inquire-btn {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  color: var(--copper-bright);
  padding: .35rem 0;
  transition: color .2s;
}
.svc-inquire-btn:hover {
  color: var(--text);
}

/* Process steps */
.process {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.process-step {
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--copper-bright);
  min-width: 2.2rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.process-step p { font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Sortieranleitung & Sortenübersicht (Clean Structured Cards + PDF Banner)
   ========================================================================== */

.sorting-top-bar {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.pdf-banner-card {
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(224, 123, 57, 0.22), transparent 65%),
    var(--surface);
  border: 1px solid rgba(224, 123, 57, 0.42);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.6rem;
  align-items: center;
}
.pdf-banner-preview {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.pdf-banner-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.pdf-banner-copy {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.pdf-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--copper-tint);
  color: var(--copper-bright);
}
.pdf-banner-copy h3 {
  font-size: 1.35rem;
}
.pdf-banner-copy p {
  font-size: .92rem;
  color: var(--text-soft);
  margin: 0;
}
.pdf-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .4rem;
}

.waagen-info-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .65rem;
}
.waagen-info-card h3 {
  font-size: 1.18rem;
  color: var(--text);
}
.waagen-info-card p,
.waagen-info-card ul {
  font-size: .88rem;
  color: var(--text-soft);
  margin: 0;
}
.waagen-info-card ul {
  padding-left: 1.15rem;
  display: grid;
  gap: .3rem;
}
.waagen-info-card li strong {
  color: var(--text);
}

.sorting-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.sorting-cat-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.sorting-cat-card:hover {
  border-color: var(--line-strong);
}
.sorting-cat-card.is-wide {
  grid-column: 1 / -1;
}

.sorting-cat-head {
  padding: 1.15rem 1.4rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sorting-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.sorting-cat-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--copper-bright);
  min-width: 1.6rem;
}
.sorting-cat-head h3 {
  font-size: 1.12rem;
  color: var(--text);
}
.sorting-cat-count {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--muted);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.sorting-cat-list {
  list-style: none;
  margin: 0;
  padding: .5rem 1.4rem;
  display: grid;
}
.sorting-cat-card.is-wide .sorting-cat-list {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
}
.sorting-cat-item {
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: .2rem;
}
.sorting-cat-item:last-child {
  border-bottom: 0;
}
.sorting-item-name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--copper-bright);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.sorting-item-name::before {
  content: "▸";
  color: var(--copper);
  font-size: .8rem;
}
.sorting-item-desc {
  font-size: .86rem;
  color: var(--text-soft);
  line-height: 1.5;
  padding-left: .95rem;
}

/* ==========================================================================
   Locations Switcher & Opening Hours
   ========================================================================== */

.loc-switcher {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.loc-tabs {
  display: flex; flex-direction: column; gap: .75rem;
}
.loc-tab {
  text-align: left;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.loc-tab:hover { border-color: var(--line-strong); }
.loc-tab[aria-selected="true"] {
  background:
    linear-gradient(135deg, rgba(224, 123, 57, 0.18), rgba(224, 123, 57, 0.04)),
    var(--surface-2);
  border-color: var(--copper);
}
.loc-tab-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: .74rem; color: var(--copper-bright);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .35rem;
}
.loc-tab h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.loc-tab p { font-size: .86rem; color: var(--muted); margin: 0; }

.loc-panel {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.loc-panel-head {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.loc-address {
  font-style: normal;
  font-size: 1.05rem;
  color: var(--text-soft);
}
.loc-address strong {
  display: block;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: .2rem;
}
.loc-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.loc-panel-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.loc-subtitle {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .9rem;
}
.hours {
  display: grid; gap: .45rem;
  font-size: .92rem;
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .55rem .85rem;
  border-radius: 8px;
  background: var(--bg-elev);
}
.hours-row.is-today {
  background: var(--copper-tint);
  border: 1px solid rgba(224, 123, 57, 0.35);
  color: var(--text);
  font-weight: 600;
}
.hours-row.is-open-day span:last-child {
  color: var(--copper-bright);
  font-weight: 600;
}
.hours-row span:last-child {
  font-family: var(--font-mono);
  font-size: .84rem;
  text-align: right;
}

.hours-appointment-box {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(224, 123, 57, 0.16), transparent 65%),
    var(--bg-elev);
  border: 1px solid rgba(224, 123, 57, 0.35);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.hours-appointment-badge {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--copper-bright);
}
.hours-appointment-box strong {
  font-size: 1.08rem;
  color: var(--text);
}
.hours-appointment-box p {
  font-size: .88rem;
  color: var(--text-soft);
  margin: 0;
}

.chip-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  font-size: .8rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--text-soft);
}
.loc-note {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  border-left: 3px solid var(--copper);
  font-size: .86rem;
}

/* ==========================================================================
   About + Trust
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.about-copy h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  margin-bottom: 1.25rem;
}
.prose p { font-size: 1.02rem; margin-bottom: 1rem; }

.trust-strip {
  list-style: none; padding: 1.5rem 0 0; margin: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.trust-strip strong { display: block; font-size: .95rem; color: var(--text); }
.trust-strip span { font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  grid-column: span 4;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
}
.gallery-item:nth-child(6n + 1) { grid-column: span 6; grid-row: span 2; }
.gallery-item:nth-child(6n + 2) { grid-column: span 6; }
.gallery-item:nth-child(6n + 3) { grid-column: span 6; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: .6rem .85rem;
  background: linear-gradient(180deg, transparent, rgba(12, 13, 16, 0.88));
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
  text-align: left;
}

/* ==========================================================================
   News
   ========================================================================== */

.news-filter { display: flex; flex-wrap: wrap; gap: .45rem; }

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.news-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.news-media {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: .55rem; flex: 1;
}
.news-date {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--copper-bright);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.news-title { font-size: 1.08rem; line-height: 1.35; }
.news-excerpt {
  font-size: .88rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more-btn {
  margin-top: auto; padding-top: .5rem;
  align-self: flex-start;
  font-size: .86rem; font-weight: 600; color: var(--copper-bright);
}
.news-more-wrap { margin-top: 2rem; text-align: center; }

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.review {
  margin: 0;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
}
.review-stars { color: var(--copper-bright); letter-spacing: .12em; font-size: .95rem; }
.review-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text);
}
.review-author {
  display: flex; align-items: center; gap: .75rem;
  font-size: .86rem; color: var(--muted);
}
.review-author .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--copper-tint); color: var(--copper-bright);
  display: grid; place-items: center; font-weight: 700;
  object-fit: cover;
}
.review-name { color: var(--text); font-weight: 600; display: block; }

/* ==========================================================================
   CTA Band
   ========================================================================== */

.cta-band {
  padding-block: clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.cta-card {
  padding: clamp(2rem, 4.5vw, 3.75rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(224, 123, 57, 0.24), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(224, 123, 57, 0.35);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.cta-card h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  margin-bottom: .75rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.cta-addresses {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .75rem;
}
.cta-addresses li {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 13, 16, 0.55);
  border: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .88rem;
}
.cta-addresses a { color: var(--copper-bright); font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 3.5rem 2.5rem;
  background: var(--bg);
  color: var(--muted);
  font-size: .88rem;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.footer-brand { font-size: 1.1rem; color: var(--text); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.footer-nav a:hover, .footer-nav button:hover { color: var(--copper-bright); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* ==========================================================================
   Modals (<dialog> with modern top-layer transitions & aligned close button)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  width: min(640px, calc(100vw - 2rem));
  max-height: 90vh;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity .22s var(--ease),
    transform .22s var(--ease),
    overlay .22s var(--ease) allow-discrete,
    display .22s var(--ease) allow-discrete;
}
.modal[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@starting-style {
  .modal[open] {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}
.modal-service { width: min(680px, calc(100vw - 2rem)); }
.modal-lg { width: min(760px, calc(100vw - 2rem)); }
.modal-lightbox {
  width: min(1020px, calc(100vw - 2rem));
  background: var(--surface);
}
.modal::backdrop {
  background: rgba(5, 6, 8, 0);
  backdrop-filter: blur(0px);
  transition:
    background .22s var(--ease),
    backdrop-filter .22s var(--ease),
    overlay .22s var(--ease) allow-discrete,
    display .22s var(--ease) allow-discrete;
}
.modal[open]::backdrop {
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(6px);
}
@starting-style {
  .modal[open]::backdrop {
    background: rgba(5, 6, 8, 0);
    backdrop-filter: blur(0px);
  }
}

.modal-box {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow-y: auto;
  max-height: 90vh;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.modal-head .eyebrow {
  margin-bottom: .35rem;
}
.modal-head h2 {
  font-size: 1.5rem;
}
.modal-sub {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.modal-close:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--copper);
}
.modal-close svg {
  display: block;
}

/* Service Detail Modal */
.service-modal-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.service-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .22s ease;
}
.service-modal-media img.is-loading {
  opacity: 0;
}
.service-modal-desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.service-modal-criteria {
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.service-modal-criteria .loc-subtitle {
  margin-bottom: .6rem;
}
.service-modal-bulletins {
  border-top: 0;
  padding-top: 0;
  font-size: .9rem;
  gap: .45rem;
}
.service-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Lightbox Modal */
.lightbox-box {
  padding: 1.25rem 1.5rem 1.5rem;
}
.lightbox-head {
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.lightbox-title {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.modal-figure {
  margin: 0;
  min-height: 260px;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.modal-figure img {
  max-height: 74vh;
  width: auto;
  margin-inline: auto;
  opacity: 1;
  transition: opacity .22s ease;
}
.modal-figure img.is-loading {
  opacity: 0;
}

.modal-hero-img {
  width: 100%; max-height: 360px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1.25rem;
}

/* Form */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; font-size: .86rem; }
.field-full { grid-column: 1 / -1; }
.field span { color: var(--text-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  padding: .75rem .95rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper-bright);
}
.field input:user-invalid, .field textarea:user-invalid {
  border-color: #ef4444;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin-top: 1rem; padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5; font-size: .88rem;
}
.form-actions { margin-top: 1.25rem; display: grid; gap: .6rem; }
.form-hint { font-size: .78rem; color: var(--muted); text-align: center; margin: 0; }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success h3 { font-size: 1.4rem; margin-bottom: .5rem; color: var(--green); }

/* Impressum Table */
.imp-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.imp-table th, .imp-table td {
  text-align: left; padding: .7rem .5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.imp-table th { width: 36%; color: var(--muted); font-weight: 500; }
.imp-table a { color: var(--copper-bright); text-decoration: underline; }

/* ==========================================================================
   Reveal Animation & Responsive Breakpoints
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-nav { gap: 1rem; font-size: .86rem; }
}

@media (max-width: 980px) {
  .hero-grid, .about-grid, .cta-card, .loc-switcher, .sorting-top-bar, .sorting-cards-grid {
    grid-template-columns: 1fr;
  }
  .sorting-cat-card.is-wide .sorting-cat-list {
    grid-template-columns: 1fr;
  }
  .loc-tabs { flex-direction: row; overflow-x: auto; }
  .loc-tab { min-width: 240px; }
  .loc-panel-body { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 1.25rem; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }

  .site-nav {
    position: fixed; inset: 76px 1rem auto 1rem;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .65rem .75rem; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 640px) {
  .news-list, .form-grid, .trust-strip, .hero-facts, .pdf-banner-card {
    grid-template-columns: 1fr;
  }
  .pdf-banner-preview {
    max-width: 160px;
  }
  .gallery-masonry { grid-auto-rows: 190px; }
  .gallery-item,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(6n + 2),
  .gallery-item:nth-child(6n + 3) {
    grid-column: span 12; grid-row: span 1;
  }
  .status-links { display: none; }
  .brand-logo { height: 36px; max-width: 84px; }
  .bn-prefix { font-size: .64rem; letter-spacing: .06em; }
  .bn-main { font-size: .95rem; }
  .header-cta .btn-primary { padding: .55rem .85rem; font-size: .8rem; }
  .service-modal-actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .brand { gap: .5rem; }
  .brand-logo { height: 32px; max-width: 72px; }
  .bn-prefix { font-size: .58rem; }
  .bn-main { font-size: .86rem; }
  .header-cta .btn-primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slides img { transition: none; transform: none; }
  .svc-card, .news-card, .btn, .modal, .modal::backdrop {
    transition: none;
  }
}
