/* Bautrucker GmbH — site styles. Plain CSS, no build step.
   Follows the original site: black and white, Montserrat, rounded outline
   buttons, red only for the main call to action. The hero video is the one
   loud element; everything else stays quiet. */

/* Montserrat, self-hosted, split by script so each language only loads what it needs */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-cyrillic-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #000;
  --white: #fff;
  --grey: #8c8c8c;
  --grey-light: #c4c4c4;
  --line: #262626;
  --line-light: #e3e3e3;
  --red: #ea0003;
  --red-dark: #c40003;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 96px;
  --radius-img: 6px; /* photos, gallery and map */
  --radius: 18px; /* buttons: a touch less round than a pill */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--white); overflow-x: clip; font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* type scale: 17 / 21 / 28 / 42 / 64 */
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.12; letter-spacing: -.015em; }
h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 24px; }
h3 { font-size: 21px; font-weight: 500; letter-spacing: 0; line-height: 1.35; margin-bottom: 6px; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: 21px; font-weight: 300; line-height: 1.6; color: var(--grey-light); }
@media (max-width: 600px) { .lead { font-size: 18px; } h1 { font-size: clamp(30px, 8.6vw, 38px); } }
.muted { color: var(--grey); }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: var(--red); }

/* buttons: like the original, rounded outline */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
  border: 1px solid var(--white); border-radius: var(--radius); background: none; color: var(--white);
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--dark { border-color: var(--black); color: var(--black); }
.btn--dark:hover { background: var(--black); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; isolation: isolate; }
/* Background on ::before: a backdrop-filter on .header itself would become
   the containing block of the fixed mobile menu. */
.header::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--black); opacity: 0; transition: opacity .3s; border-bottom: 1px solid var(--line); }
.header.is-solid::before, .menu-open .header::before { opacity: 1; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); padding-block: 20px 14px; }
@media (max-width: 1023px) { .header .wrap { padding-block: 16px 12px; } }
.brand { display: flex; flex-direction: column; gap: 8px; text-decoration: none; flex: none; }
.brand img { width: 160px; height: auto; }
.brand span { font-size: 13px; line-height: 1.35; max-width: 36ch; } /* longer taglines in other languages wrap below the logo */
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav a:not(.btn) { padding: 10px 20px; text-decoration: none; font-size: 16px; white-space: nowrap; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.nav .btn { margin-left: 16px; min-height: 46px; }
/* call button: opens a small menu with landline and mobile, like the
   language switcher next to it; in the burger menu both are listed */
.call { position: relative; margin-left: 16px; }
.nav .call .btn { margin-left: 0; gap: 10px; }
.call-chevron { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.call.is-open .call-chevron { transform: rotate(180deg); }
.call-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 100%; padding: 6px; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); }
.call.is-open .call-menu { display: grid; }
.nav .call-menu a { display: grid; gap: 2px; padding: 10px 14px; border-radius: calc(var(--radius) - 6px); text-decoration: none; font-size: 16px; white-space: nowrap; }
.nav .call-menu a:hover { background: #161616; text-decoration: none; }
.call-menu small, .tel-mobile small { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.tel-mobile:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--white); border-radius: var(--radius); background: none; color: var(--white); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .25s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  :root { --header-h: 80px; }
  .brand img { width: 136px; }
  .brand span { display: none; }
  .nav a:not(.btn) { padding: 10px 14px; }
  .nav .btn { margin-left: 8px; }
  .call { margin-left: 8px; }
}
@media (max-width: 759px) {
  :root { --header-h: 68px; }
  .brand img { width: 124px; }
}
/* navigation, phone button and language switcher no longer fit side by side below 1024px */
@media (max-width: 1023px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: var(--black);
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .25s; }
  .menu-open body { overflow: hidden; }
  .nav a:not(.btn) { padding: 18px 0; font-size: 28px; font-weight: 300; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 32px 0 0; min-height: 56px; }
  .call { margin: 32px 0 0; }
  .call-toggle { display: none !important; }
  .call-menu, .call.is-open .call-menu { display: grid; position: static; gap: 10px; padding: 0; border: 0; background: none; }
  .nav .call-menu a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 20px; border: 1px solid var(--white); border-radius: var(--radius); font-size: 18px; }
}

/* language switcher: a plain dropdown, no JS needed to open it */
.lang { position: relative; margin-left: 8px; }
.lang summary {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; list-style: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-weight: 500; letter-spacing: .02em;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--white); }
.lang summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 200px; margin: 0; padding: 6px; list-style: none;
  background: var(--black); border: 1px solid var(--line); border-radius: var(--radius);
}
.lang a { display: block; padding: 10px 14px; border-radius: calc(var(--radius) - 6px); text-decoration: none; font-size: 16px; }
.lang a:hover { background: #161616; }
.lang a[aria-current="true"] { font-weight: 600; }
.lang a[aria-current="true"]::after { content: " ✓"; color: var(--red); }
@media (max-width: 1023px) {
  .lang { margin-left: auto; }
  .lang summary { padding: 0 12px; }
  .burger { margin-left: 8px; }
  .menu-open .lang { visibility: hidden; }
}
.reviews-note { margin: 24px 0 0; font-size: 14px; }
/* Montserrat switches to Bulgarian-style letterforms for lang="bg"; most readers expect the standard Cyrillic shapes */
:lang(bg) { font-feature-settings: "locl" 0; }

/* ---------- hero: the video ---------- */
/* Full width, 16:9 like the video on the original site, capped at the
   viewport height. /assets/video/hero.mp4 plays as soon as it exists;
   until then stills from the same footage stand in. */
.hero { position: relative; background: var(--black); isolation: isolate; }
.hero-media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; min-height: 680px; overflow: hidden; }
.hero-media video, .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { z-index: 1; }
.has-video .hero-still { display: none; }
.hero-still { opacity: 0; animation: still 18s infinite; }
.hero-still:first-of-type { animation-delay: -1.5s; }
.hero-still:nth-of-type(2) { animation-delay: 6s; }
.hero-still:nth-of-type(3) { animation-delay: 12s; }
@keyframes still { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 25%); }
.hero-content { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(40px, 6vw, 80px); animation: enter 1s .2s both; }
.hero-content .lead { color: var(--white); margin-top: 20px; max-width: 44ch; }
.hero-content .hours-now { margin: 22px 0 0; font-size: 15px; color: var(--grey-light); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
/* never the browser's own play overlay: our buttons show the real state */
.hero-media video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-media video::-webkit-media-controls { display: none !important; }
.hero-controls { position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 80px); z-index: 3; display: flex; gap: 8px; }
.hero-toggle, .hero-sound {
  display: none; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--white); background: rgba(0, 0, 0, .4); color: var(--white); cursor: pointer;
}
.has-video .hero-toggle, .has-sound .hero-sound { display: grid; place-items: center; }
.hero-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.hero-sound svg { width: 20px; height: 20px; fill: currentColor; }
/* tablet: 16:9 would be a flat strip in portrait, so give it 72% of the screen */
@media (min-width: 760px) and (max-width: 1099px) {
  .hero-media { aspect-ratio: auto; height: 72svh; min-height: 640px; max-height: 900px; }
  .hero-content .lead { max-width: 40ch; }
}
/* phone: the media becomes the full-screen background, content flows */
@media (max-width: 759px) {
  .hero { display: flex; flex-direction: column; min-height: 100svh; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; min-height: 0; max-height: none; }
  .hero-content { position: relative; margin-top: auto; padding: calc(var(--header-real, var(--header-h)) + 40px) 0 36px; }
  .hero-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .25) 65%), linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0) 22%); }
  .hero-controls { top: calc(var(--header-real, var(--header-h)) + 12px); bottom: auto; }
}
/* the action bar takes over calling and mailing on phones */
@media (max-width: 699px) {
  .hero-actions { display: none; }
  .hero { min-height: calc(100svh - 68px - env(safe-area-inset-bottom)); }
  .hero-content .hours-now { font-size: 16px; color: var(--white); }
}

/* sub-page hero */
.page-hero { position: relative; isolation: isolate; min-height: clamp(420px, 56vh, 560px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 48px) 0 clamp(40px, 6vw, 72px); }
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35)); }
.page-hero .lead { color: var(--white); margin-top: 20px; }
.page-hero--plain { min-height: 0; padding-top: calc(var(--header-h) + 72px); border-bottom: 1px solid var(--line); }

/* ---------- sections ---------- */
/* jump targets stop right below the fixed header; --header-real is measured in site.js because the
   header grows with longer taglines (RU, UK, LT, RO), so the section padding stays visible as the gap */
section[id] { scroll-margin-top: var(--header-real, var(--header-h)); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--light { background: var(--white); color: var(--black); }
.section--light .muted, .section--light .lead { color: #555; }

.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 699px) { .two-col, .two-col--even { grid-template-columns: 1fr; } }
@media (min-width: 700px) and (max-width: 1099px) { .two-col { grid-template-columns: 1fr 1fr; } }

figure { margin: 0; }
.photo { border-radius: var(--radius-img); overflow: hidden; background: #111; }
.photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--wide img { aspect-ratio: 3 / 2; }
@media (max-width: 699px) { .photo--tall img { aspect-ratio: 3 / 2; } }
.two-col--center { align-items: center; }

/* full-bleed cinematic band with text on the image */
.band { position: relative; isolation: isolate; min-height: clamp(460px, 64vh, 700px); display: flex; align-items: flex-end; padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.band-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .4) 40%, rgba(0, 0, 0, 0) 68%), linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 40%); }
.band-content h2, .band-content .lead { max-width: 30ch; }
.band-content .lead { color: var(--white); max-width: 44ch; }
@media (max-width: 699px) {
  .band { min-height: 560px; }
  .band::before { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .1) 100%); }
  .band-img { object-position: 70% 50%; }
}

/* images settle in when they scroll into view (JS adds .rv; no JS, no effect) */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.rv img { transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.rv.is-in { opacity: 1; transform: none; }
.rv.is-in img { transform: none; }

/* plain lists separated by hairlines */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows > li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows > li b { display: block; font-weight: 500; }
.rows > li span { color: var(--grey); }
.section--light .rows, .section--light .rows > li { border-color: var(--line-light); }
.section--light .rows > li span { color: #555; }

.vehicles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.vehicles p { color: var(--grey); font-size: 16px; margin: 0; }
@media (max-width: 900px) { .vehicles { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
@media (max-width: 699px) { .vehicles { margin-top: 40px; } .vehicles h3 { font-size: 17px; } .vehicles p { font-size: 15px; } }

/* service groups */
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.group { border-top: 1px solid var(--black); padding-top: 18px; }
.group h3 { font-size: 18px; margin-bottom: 12px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { padding: 7px 0; font-size: 16px; color: #333; border-bottom: 1px solid var(--line-light); }
@media (max-width: 1279px) { .groups { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 699px) {
  .groups { grid-template-columns: 1fr; gap: 28px; }
  .section-head .btn { order: 2; width: 100%; }
  .section-head { margin-bottom: 28px; }
}

/* gallery: cinematic mosaic, every image opens in the lightbox */
.mosaic { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(96px, 10.5vw, 150px); }
.mosaic li { min-width: 0; }
.m-1 { grid-column: span 7; grid-row: span 3; } .m-2 { grid-column: span 5; grid-row: span 3; }
.m-3, .m-4, .m-5 { grid-column: span 4; grid-row: span 2; }
.m-6 { grid-column: span 5; grid-row: span 3; } .m-7 { grid-column: span 7; grid-row: span 3; }
.mosaic-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #111; border-radius: var(--radius-img); overflow: hidden; cursor: zoom-in; position: relative; }
.mosaic-item img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.mosaic-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
@media (hover: hover) { .mosaic-item:hover img { transform: scale(1.045); filter: brightness(1); } }
.mosaic-item:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
/* tablet: two columns, the first image across the full width */
@media (min-width: 700px) and (max-width: 999px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .mosaic li { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
  .mosaic .m-1 { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}
/* phone: a swipeable strip of wide frames */
@media (max-width: 699px) {
  .mosaic { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; grid-auto-rows: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic li { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; scroll-snap-align: start; }
}

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .97); color: var(--white); }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .25s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox-stage { margin: 0; width: min(92vw, 1600px); outline: none; }
.lightbox-img { display: block; width: 100%; height: auto; max-height: 82dvh; object-fit: contain; border-radius: var(--radius-img); }
.lightbox-count { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); margin: 0; font-size: 14px; letter-spacing: .08em; color: var(--grey-light); font-variant-numeric: tabular-nums; }
.lightbox-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius); background: rgba(0, 0, 0, .4); color: var(--white); cursor: pointer; }
.lightbox-btn:hover { background: var(--white); color: var(--black); }
.lightbox-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lightbox-prev svg, .lightbox-next svg { fill: currentColor; stroke: none; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev svg { transform: rotate(180deg); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 699px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 14px; transform: none; } .lightbox-count { bottom: 30px; } }
html.lightbox-open { overflow: hidden; }
.pos-right { object-position: 82% 50%; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.reviews blockquote { margin: 0 0 16px; font-size: 19px; font-weight: 300; line-height: 1.6; }
.reviews figcaption { font-size: 15px; font-weight: 500; }
/* a quiet line between the reviews where they stand side by side */
@media (min-width: 700px) { .reviews figure + figure { border-left: 1px solid var(--line-light); padding-left: 48px; } }
@media (min-width: 700px) and (max-width: 1099px) { .reviews figure + figure { padding-left: 28px; } }
@media (max-width: 1099px) { .reviews { gap: 28px; } .reviews blockquote { font-size: 17px; } }
@media (max-width: 699px) {
  .reviews { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews figure { scroll-snap-align: start; border: 1px solid var(--line-light); padding: 22px; }
}

/* hours */
.hours { display: grid; grid-template-columns: auto 1fr; margin: 24px 0 0; border-top: 1px solid var(--line); }
.hours dt, .hours dd { margin: 0; padding: 12px 24px 12px 0; border-bottom: 1px solid var(--line); }
.hours .today { font-weight: 600; }

/* directions: head, then a real map (OpenStreetMap, served from this site), then steps and navigation */
.directions { display: grid; grid-template-columns: 6fr 5fr; grid-template-areas: "head head" "map map" "steps nav"; gap: 40px clamp(32px, 6vw, 80px); align-items: start; }
.dir-head { grid-area: head; }
.dir-head .lead { margin-bottom: 0; max-width: 60ch; }
.dir-map { grid-area: map; }
.dir-steps { grid-area: steps; }
.dir-nav { grid-area: nav; }
.dir-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dir-steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dir-steps li::before { content: counter(step); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.dir-steps b { font-weight: 500; font-size: 18px; }
.dir-steps span { color: var(--grey); font-size: 15px; }
.gps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.gps-label { color: var(--grey); font-size: 15px; width: 100%; }
.gps-value { font-size: clamp(22px, 2.4vw, 28px); font-weight: 300; font-variant-numeric: tabular-nums; user-select: all; }
.gps-copy { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--white); font: 500 14px/1 var(--font); cursor: pointer; }
.gps-copy:hover { border-color: var(--white); }
.gps-hint { margin: 10px 0 0; color: var(--grey); font-size: 15px; }
.dir-open { margin: 28px 0 0; color: var(--grey); font-size: 15px; }
.dir-apps { margin-top: 10px; }
.dir-map { margin: 0; }
.dir-map a { display: block; border: 1px solid var(--line); border-radius: var(--radius-img); overflow: hidden; background: #f2efe9; }
.dir-map figcaption { margin-top: 10px; color: var(--grey); font-size: 13px; }
.dir-map figcaption a { display: inline; border: 0; background: none; color: inherit; }
.map { display: none; width: 100%; height: auto; font-family: var(--font); }
.map-route-casing { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.map-route { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; }
.map-step circle { fill: var(--red); stroke: #fff; stroke-width: 3; }
.map-step text { fill: #fff; font-weight: 700; text-anchor: middle; }
.map-pin circle { fill: var(--red); stroke: #fff; stroke-width: 3; }
.map-pin .map-pin-halo { fill: rgba(234, 0, 3, .22); stroke: none; }
.map-tag { fill: #0b0b0b; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.map-tag--red { fill: var(--red); }
@media (min-width: 1024px) { .map--desktop { display: block; } }
@media (min-width: 700px) and (max-width: 1023px) { .map--tablet { display: block; } }
@media (max-width: 699px) { .map--phone { display: block; } }
@media (max-width: 1023px) { .directions { grid-template-columns: 1fr; grid-template-areas: "head" "map" "steps" "nav"; gap: 32px; } }
@media (max-width: 699px) { .dir-apps .btn { flex: 1 1 auto; } }

/* contact */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact-list { border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 4px 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-row span { color: var(--grey); font-size: 15px; }
.contact-row b { font-weight: 300; font-size: clamp(20px, 2vw, 26px); overflow-wrap: anywhere; }
.contact-row .exit { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; color: var(--grey); }
.contact-row em { font-style: normal; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
a.contact-row:hover b { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-row--static { grid-template-columns: 160px 1fr; }
/* landline is the main number, the mobile sits quietly underneath */
.phones { display: grid; gap: 10px; justify-items: start; }
.phone-main { font-weight: 300; font-size: clamp(20px, 2vw, 26px); text-decoration: none; }
.phone-mobile { display: inline-flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 300; color: var(--grey-light); text-decoration: none; }
.phone-mobile small { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.phone-main:hover, .phone-mobile:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.footer-label { margin-right: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.contact-row .hours { margin: 0; border: 0; }
.contact-row .hours dt, .contact-row .hours dd { border: 0; padding: 2px 24px 2px 0; }
@media (max-width: 1099px) { .contact-layout { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 699px) {
  .contact-row { grid-template-columns: 1fr; padding: 18px 0; }
  .contact-row b { font-size: 20px; }
  .contact-row--static { grid-template-columns: 1fr; }
}

/* service detail list (sub page): open on larger screens, accordion on phones */
.svc-list { border-top: 1px solid var(--line); }
.svc-item { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-real, var(--header-h)) + 24px); }
.svc-item summary { list-style: none; }
.svc-item summary::-webkit-details-marker { display: none; }
.svc-item h3 { font-size: 24px; font-weight: 400; margin: 0; }
.svc-item p { color: var(--grey-light); }
.svc-item .covers { color: var(--grey); font-size: 15px; margin: 0; }
@media (min-width: 700px) {
  .svc-item { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding: 36px 0; }
  .svc-item summary { pointer-events: none; }
}
@media (max-width: 699px) {
  .svc-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; }
  .svc-item summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; }
  .svc-item[open] summary::after { content: "–"; }
  .svc-item h3 { font-size: 20px; }
  .svc-item > div { padding-bottom: 20px; }
}

.cta-band { padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.cta-band .tel { display: inline-block; font-size: clamp(30px, 4vw, 48px); font-weight: 300; text-decoration: none; margin-top: 8px; }
.tel-mobile { display: flex; align-items: baseline; gap: 10px; width: fit-content; margin-top: 10px; font-size: 18px; font-weight: 300; color: var(--grey-light); text-decoration: none; }
.cta-band .tel:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

/* legal */
.legal > * { max-width: 760px; }
.legal h2 { font-size: 26px; font-weight: 400; margin: 48px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 24px 0 4px; }
.legal p, .legal li { color: var(--grey-light); }

/* footer */
/* workshop partners: light band above the footer, logos in their own colours.
   Title centred on top, logos in equal columns, each centred in its cell,
   so they sit evenly at every width (4 across, 2 × 2 on phones). */
.partners { background: var(--white); color: var(--black); padding: 44px 0 48px; }
.partners .wrap { display: grid; justify-items: center; gap: 32px; text-align: center; }
.partners .partners-title { margin: 0; font-size: 15px; font-weight: 500; color: #555; }
.partner-logos { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 1000px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center; gap: 32px 24px; }
.partner-logos img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.p-foerch { height: 44px; } .p-koegel { height: 20px; } .p-vdo { height: 24px; } .p-winkler { height: 44px; }
@media (max-width: 699px) {
  .partner-logos { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; color: var(--grey); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer h4 { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--white); }
.footer p { margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .brand img { width: 170px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { display: inline-block; padding: 10px 0; }
/* Macher-Hinweis: so leise wie die Rechtslinks; das Talvesa-Zeichen so hoch wie die Großbuchstaben und blass */
.footer .maker { white-space: nowrap; }
.footer .maker-logo { display: inline-block; width: auto; height: .7em; height: 1cap; margin: 0 .3em 0 .15em; vertical-align: baseline; opacity: .55; transition: opacity .2s; }
.footer .maker:hover .maker-logo { opacity: 1; }
@media (max-width: 1099px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) {
  .footer { padding: 40px 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-col { display: none; }
}

/* action bar: call, route, mail within thumb reach on phones */
.actionbar { display: none; }
@media (max-width: 699px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 2fr 1fr 1fr;
    background: var(--black); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; font-size: 13px; font-weight: 500; text-decoration: none; }
  .actionbar a + a { border-left: 1px solid var(--line); }
  .actionbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .actionbar .actionbar-call { flex-direction: row; gap: 10px; background: var(--red); font-size: 16px; }
  .menu-open .actionbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-still:first-of-type { opacity: 1; }
}
