/* BON Kanalreinigung GmbH – Stylesheet */
:root {
  --orange: #f26a1b;
  --orange-dark: #d4560c;
  --orange-soft: #fff1e8;
  --ink: #16181b;
  --ink-2: #2a2d32;
  --text: #2b2e33;
  --muted: #6b7079;
  --line: #e6e3df;
  --bg: #ffffff;
  --bg-alt: #f6f4f1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 24, 27, .08);
  --max: 1180px;
  --header-h: 76px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #c9ccd1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--orange); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* Topbar */
.topbar { background: var(--ink); color: #c9ccd1; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange); }
.topbar__emergency { display: inline-flex; align-items: center; gap: 8px; }
.topbar__emergency .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242,106,27,.25); }
.topbar__info { display: flex; gap: 22px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo__mark { display: block; flex: none; }
.logo__mark img { height: 44px; width: auto; }
.footer .logo__mark { background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer .logo__mark img { height: 38px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.logo__sub { font-size: .78rem; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; padding: 10px 14px; border-radius: 8px; position: relative; }
.nav a:hover { color: var(--orange-dark); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--orange); }
.nav .btn { margin-left: 10px; padding: 11px 20px; color: #fff; }
.nav .btn:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,17,19,.88) 0%, rgba(16,17,19,.66) 45%, rgba(16,17,19,.15) 100%); }
.hero .container { position: relative; padding-top: clamp(80px, 13vw, 160px); padding-bottom: clamp(80px, 12vw, 150px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: #e2e4e7; max-width: 52ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero .container { position: relative; padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(56px, 8vw, 90px); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #d7dade; max-width: 60ch; margin: 0; font-size: 1.15rem; }

/* Facts strip */
.facts { background: var(--orange); color: #fff; }
.facts .container { display: grid; grid-template-columns: repeat(2, 1fr); }
.fact { padding: 26px 24px; display: flex; align-items: center; gap: 16px; }
.fact + .fact { border-left: 1px solid rgba(255,255,255,.3); }
.fact svg { width: 34px; height: 34px; flex: none; }
.fact strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.fact span { font-size: .92rem; opacity: .92; }
.fact a { color: #fff; text-decoration: none; }

/* Intro */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.intro__badge {
  position: absolute; left: -18px; bottom: -22px; background: var(--ink); color: #fff;
  padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow); border-left: 5px solid var(--orange);
}
.intro__badge strong { display: block; font-size: 2rem; line-height: 1; color: var(--orange); }
.intro__badge span { font-size: .85rem; color: #c9ccd1; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 20px; }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Fleet */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vehicle { background: var(--ink-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vehicle__img { aspect-ratio: 4 / 3; overflow: hidden; }
.vehicle__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vehicle:hover .vehicle__img img { transform: scale(1.04); }
.vehicle__body { padding: 20px 22px 24px; display: flex; gap: 14px; align-items: baseline; }
.vehicle__num { font-weight: 800; color: var(--orange); font-size: .95rem; font-variant-numeric: tabular-nums; }
.vehicle h3 { margin: 0; font-size: 1.08rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; position: relative; background: var(--line); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow .25s; border-radius: 12px; }
.gallery a:hover::after, .gallery a:focus-visible::after { box-shadow: inset 0 0 0 4px var(--orange); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .badge {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  background: var(--ink); color: #fff; border-left: 4px solid var(--orange);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.gallery--page { grid-auto-rows: 260px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,11,12,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--orange); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #c9ccd1; font-size: .95rem; padding: 0 20px; }

/* CTA band */
.cta { background: var(--orange); color: #fff; border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255,255,255,.12); }
.cta h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta p { margin: 0; color: #fff; opacity: .95; }
.cta .btn--light { background: #fff; color: var(--ink); position: relative; }
.cta .btn--light:hover { background: var(--ink); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.card--accent { background: var(--ink); border-color: var(--ink); color: #c9ccd1; }
.card--accent h3 { color: #fff; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 22px; height: 22px; color: var(--orange); }
.card address { font-style: normal; }
.card p:last-child { margin-bottom: 0; }
.big-link { display: inline-block; font-size: 1.45rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.card--accent .big-link { color: var(--orange); }
.big-link:hover { color: var(--orange); }
.muted { color: var(--muted); }
.card--accent .muted { color: #9ea3ab; }

/* Legal / prose */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }
.info-list { display: grid; grid-template-columns: 180px 1fr; gap: 6px 20px; margin: 0 0 1em; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; color: var(--ink); }

/* Footer */
.footer { background: #0f1012; color: #9ea3ab; padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 16px; }
.footer a { color: #d7dade; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer address { font-style: normal; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo__sub { color: #9ea3ab; }
.footer__bottom { border-top: 1px solid #24272b; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* Floating call button (mobile) */
.call-fab { display: none; }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid .card--accent { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .topbar__info { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch;
    padding: 12px 16px 22px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 12px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { color: var(--orange-dark); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 14px 0 0; border-radius: 999px; border-bottom: 0; }
  .intro { grid-template-columns: 1fr; }
  .intro__badge { left: 16px; bottom: -20px; }
  .facts .container { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .fact { padding: 18px 4px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(16,17,19,.55) 0%, rgba(16,17,19,.85) 100%); }
  .call-fab {
    display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    background: var(--orange); color: #fff; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(22,24,27,.35);
  }
  .call-fab svg { width: 26px; height: 26px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .services, .fleet, .contact-grid { grid-template-columns: 1fr; }
  .gallery, .gallery--page { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .gallery .wide, .gallery .big { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__mark img { height: 38px; }
  .logo__name { font-size: .98rem; }
  .logo__sub { font-size: .74rem; }
  .hero__actions .btn { width: 100%; }
  .info-list { grid-template-columns: 1fr; gap: 0; }
  .info-list dd { margin-bottom: 10px; }
  .lightbox { padding: 60px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .topbar { font-size: .82rem; }
}
