/* ==========================================================================
   Fair & Mehr – statisches CSS (kein Build-Schritt, kein Tailwind zur Laufzeit)
   Design-Tokens 1:1 aus extracted/index.css übernommen.
   Komponentenklassen (.btn-cobalt, .btn-ghost, .tag-mono, .spec-row, .card-lift,
   .mono, .grid-blueprint, .blueprint-line, marquee, .text-balance, .mask-fade-r)
   sind wörtliche Übersetzungen der @apply-Regeln aus extracted/index.css.
   Alles Weitere (Layout, Header/Footer, Grids, Karten) ist handgeschriebenes
   Klassik-CSS, das dieselbe Optik wie die Tailwind-Utility-Klassen im
   Original-JSX erzeugt.
   ========================================================================== */

/* ---------- Design tokens (identisch zu extracted/index.css :root) ---------- */
:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 6%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 6%;
  --popover: 0 0% 100%;
  --popover-foreground: 240 10% 6%;
  --primary: 356 95% 46%;
  --primary-foreground: 0 0% 100%;
  --secondary: 215 38% 97%;
  --secondary-foreground: 240 10% 12%;
  --muted: 215 38% 97%;
  --muted-foreground: 222 12% 42%;
  --accent: 215 38% 96%;
  --accent-foreground: 240 10% 10%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 18% 90%;
  --input: 220 18% 90%;
  --ring: 356 95% 46%;
  --steel: 210 29% 96%;
  --obsidian: 225 16% 8%;
  --cobalt: 356 95% 46%;
  --forest: 160 84% 39%;
  --radius: 0.25rem;
  --font-heading: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 600;
}
p { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { display: inline-block; vertical-align: middle; }

/* ---------- Component classes (translated from @apply) ---------- */
.mono { font-family: var(--font-mono); letter-spacing: 0; }

.blueprint-line {
  background-image: linear-gradient(to right, hsl(var(--border)) 1px, transparent 1px);
  background-size: 100% 100%;
}
.grid-blueprint {
  background-image:
    linear-gradient(hsl(var(--border)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border)) 1px, transparent 1px);
  background-size: 32px 32px;
}

.btn-cobalt {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: hsl(var(--cobalt)); color: #fff; font-weight: 500;
  padding: 0.75rem 1.5rem; border-radius: calc(var(--radius) - 4px);
  border: none; transition: filter .15s ease, transform .1s ease;
}
.btn-cobalt:hover { filter: brightness(1.1); }
.btn-cobalt:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid hsla(225, 16%, 8%, 0.2); color: hsl(var(--obsidian)); font-weight: 500;
  padding: 0.75rem 1.5rem; border-radius: calc(var(--radius) - 4px); background: transparent;
  transition: all .15s ease;
}
.btn-ghost:hover { border-color: hsl(var(--obsidian)); background: hsl(var(--obsidian)); color: #fff; }

.tag-mono {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; color: hsl(var(--muted-foreground));
}
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid hsl(var(--border));
}
.card-lift { transition: transform .3s ease-out; }
.card-lift:hover { transform: translateY(-4px); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
.text-balance { text-wrap: balance; }
.mask-fade-r {
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.wrap-narrow { max-width: 64rem; margin-inline: auto; padding-inline: 1rem; }
.wrap-prose { max-width: 48rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .wrap, .wrap-narrow, .wrap-prose { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .wrap, .wrap-narrow, .wrap-prose { padding-inline: 2rem; } }

.section { padding-block: 3.5rem; }
.section-sm { padding-block: 2.5rem; }
.section-lg { padding-block: 4rem; }
.border-t { border-top: 1px solid hsl(var(--border)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }
.bg-steel { background: hsl(var(--steel)); }
.bg-card { background: hsl(var(--card)); }
.bg-obsidian { background: hsl(var(--obsidian)); }
.text-white { color: #fff; }
.text-cobalt { color: hsl(var(--cobalt)); }
.text-forest { color: hsl(var(--forest)); }
.text-muted { color: hsl(var(--muted-foreground)); }

.grid { display: grid; gap: 1.25rem; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 639px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; } .gap-10 { gap: 2.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid hsl(var(--border));
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.site-logo { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 800; color: hsl(var(--foreground)); }
.site-logo span { color: hsl(var(--cobalt)); }
.main-nav { display: none; align-items: center; gap: 1.75rem; }
.main-nav__item { position: relative; }
.main-nav__link {
  display: flex; align-items: center; gap: 0.25rem; font-size: 0.9rem; font-weight: 500;
  color: hsl(var(--foreground)); padding: 1.5rem 0;
}
.main-nav__link:hover { color: hsl(var(--cobalt)); }
.main-nav__dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 220px; background: #fff; border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px); box-shadow: 0 12px 28px rgba(0,0,0,0.09);
  padding: 0.5rem; opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.main-nav__item:hover .main-nav__dropdown, .main-nav__item:focus-within .main-nav__dropdown {
  opacity: 1; visibility: visible;
}
.main-nav__dropdown a {
  display: block; padding: 0.55rem 0.75rem; border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem; color: hsl(var(--foreground));
}
.main-nav__dropdown a:hover { background: hsl(var(--steel)); color: hsl(var(--cobalt)); }
.header-cta { display: none; align-items: center; gap: 0.75rem; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 4px);
  background: #fff;
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-nav {
  display: none; flex-direction: column; border-top: 1px solid hsl(var(--border));
  background: #fff; padding: 0.5rem 0 1rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__link { display: block; padding: 0.75rem 1rem; font-weight: 500; }
.mobile-nav__group { padding: 0.25rem 0 0.5rem; }
.mobile-nav__sub { padding-left: 1.5rem; }
.mobile-nav__sub a { display: block; padding: 0.5rem 1rem; font-size: 0.9rem; color: hsl(var(--muted-foreground)); }
.mobile-nav__cta { display: flex; gap: 0.75rem; padding: 0.75rem 1rem 0; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--steel)); }
.breadcrumbs__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding-block: 0.75rem; font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.breadcrumbs a:hover { color: hsl(var(--cobalt)); }
.breadcrumbs__sep { opacity: 0.5; }
.breadcrumbs__current { color: hsl(var(--foreground)); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: hsl(var(--obsidian)); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
.site-footer__brand { grid-column: span 2; }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.site-footer__hours { display: flex; justify-content: space-between; gap: 1rem; }
.site-footer__social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.site-footer__social a { background: rgba(255,255,255,0.1); padding: 0.6rem; border-radius: calc(var(--radius) - 4px); }
.site-footer__social a:hover { background: hsl(var(--cobalt)); }
.site-footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 0.5rem; justify-content: space-between;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .site-footer__brand { grid-column: span 3; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .site-footer__brand { grid-column: span 1; }
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }

/* ---------- Buttons row / CTA pair ---------- */
.cta-pair { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-pair a { flex: 1 1 160px; }
.cta-pair.compact a { flex: 0 0 auto; }

/* Mobile sticky conversion bar */
.conversion-bar {
  display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  border-top: 1px solid hsl(var(--border)); background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.conversion-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 0; font-size: 0.9rem; font-weight: 600; }
.conversion-bar a:first-child { color: hsl(var(--obsidian)); border-right: 1px solid hsl(var(--border)); }
.conversion-bar a:last-child { color: #fff; background: hsl(var(--cobalt)); }
@media (min-width: 1024px) { .conversion-bar { display: none; } }
body.has-conversion-bar { padding-bottom: 4rem; }
@media (min-width: 1024px) { body.has-conversion-bar { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid hsl(var(--border)); overflow: hidden; }
.hero__inner { display: grid; gap: 0; }
.hero__content { padding: 3.5rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.hero__media { position: relative; min-height: 280px; background: hsl(var(--steel)); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .hero__content { padding-inline: 1.5rem; } }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .hero__content { padding: 4rem 3rem; }
}

/* ---------- Cards / grids ---------- */
.card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 4px); overflow: hidden; }
.card:hover { border-color: hsla(225,16%,8%,0.3); }
.card-media { position: relative; aspect-ratio: 4/3; background: hsl(var(--steel)); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem; border-top: 1px solid hsl(var(--border)); }
.badge {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  padding: 0.25rem 0.5rem; display: inline-block;
}
.badge-dark { background: hsl(var(--obsidian)); color: #fff; }
.badge-forest { background: hsla(160,84%,39%,0.1); color: hsl(var(--forest)); border: 1px solid hsla(160,84%,39%,0.3); }

.category-card { display: block; border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 4px); background: hsl(var(--card)); overflow: hidden; }
.brand-chip { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 4px); padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.brand-dot { width: 0.6rem; height: 0.6rem; border-radius: 999px; display: inline-block; }

/* ---------- Reviews ---------- */
.review-card { border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 4px); padding: 1.5rem; background: hsl(var(--card)); }
.stars { color: #f5a623; letter-spacing: 0.1em; }

/* ---------- Service ribbon / marquee ---------- */
.ribbon { border-block: 1px solid hsl(var(--border)); background: hsl(var(--obsidian)); color: #fff; overflow: hidden; padding-block: 0.65rem; }
.ribbon__track { display: flex; width: max-content; animation: marquee 22s linear infinite; gap: 3rem; }
.ribbon__item { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; white-space: nowrap; }

/* ---------- Typography scale ---------- */
.h1 { font-size: 2.25rem; font-weight: 700; }
.h2 { font-size: 1.75rem; font-weight: 700; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; }
.lead { font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) { .h1 { font-size: 3rem; } .h2 { font-size: 2rem; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 6rem; }
.notfound__code { font-family: var(--font-mono); font-size: 4.5rem; font-weight: 700; color: hsl(var(--cobalt)); }

/* ---------- Utility spacing ---------- */
.mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }

/* ---------- Skip link / a11y ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: hsl(var(--cobalt)); color: #fff;
  padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Map embed ---------- */
.map-embed { width: 100%; height: 320px; border: 0; border-radius: calc(var(--radius) - 4px); filter: grayscale(0.15); }

/* ---------- Print ---------- */
@media print { .site-header, .conversion-bar, .mobile-nav { display: none !important; } }
