/* ==========================================================================
   Firma Thomae – Stylesheet
   Nachbau des bisherigen WordPress-Themes ("Logistix") ohne Frameworks.
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Roboto";  font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto";  font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-500.woff2") format("woff2"); }

/* ---------- Variablen ---------- */
:root {
  --accent: #ba1818;
  --accent-dark: #9a1212;
  --nav-active: #fd563a;
  --text: #777;
  --heading: #333;
  --light: #f5f5f5;
  --input: #f1f1f1;
  --footer: #1d1d1d;
  --bottom: #111;
  --container: 1180px;
  --gutter: 20px;
  --font-head: "Poppins", Arial, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 15px/1.75 var(--font-body);
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--heading); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 500; color: var(--heading); margin: 0 0 .6em; line-height: 1.38; }
h2 { font-size: 36px; }
h3 { font-size: 22px; line-height: 32px; }
h4 { font-size: 18px; }
p { margin: 0 0 20px; }
ul { margin: 0 0 20px; padding-left: 1.2em; }
button { font: inherit; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 10px; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 500 16px/24px var(--font-head);
  letter-spacing: 2px;
  color: #fff;
  background: var(--accent);
  border: 0;
  padding: 14px 54px 12px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--heading); color: #fff; }
.btn-outline {
  display: inline-block;
  font: 500 12px/21px var(--font-head);
  letter-spacing: 2px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .6);
  padding: 6px 20px 5px;
}
.btn-outline:hover { background: #fff; color: var(--heading); }

/* ---------- Topbar ---------- */
.topbar {
  position: relative;
  height: 38px;
  background: var(--accent);
  color: #fff;
  font: 500 14px/38px var(--font-head);
  letter-spacing: .5px;
  overflow: hidden;
}
/* weiße Schräge links */
.topbar::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -40px;
  width: calc((100% - var(--container)) / 2 + 310px);
  background: #fff;
  transform: skewX(40deg);
  transform-origin: top left;
}
.topbar .container { display: flex; justify-content: flex-end; position: relative; }
.topbar a {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
  padding: 0 22px 0 22px;
  border-left: 1px solid rgba(255, 255, 255, .25);
}
.topbar a:hover { color: #fff; opacity: .85; }
.topbar .icon { width: 14px; height: 14px; }

/* ---------- Header / Navigation ---------- */
.site-header { background: #fff; position: relative; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { width: 232px; height: 50px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav a {
  display: block;
  font: 500 15px/78px var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 18px;
}
.main-nav li:last-child a { padding-right: 18px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--nav-active); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #666; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  height: clamp(480px, 57.6vw, 830px);
  display: grid; place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: #2b3a4a;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(10, 25, 45, .3); }
.hero-content { position: relative; z-index: 1; padding: 0 var(--gutter); }
.hero h1 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(21px, 5.7vw, 82px);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 0, 0, .5);
  margin: 0 0 .9em;
}
.hero h1 span { display: block; }
.hero-sub {
  font: 400 clamp(15px, 1.67vw, 24px)/1.4 var(--font-head);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, .5);
  margin: 0 0 2.6em;
}
.hero .btn { min-width: 249px; }

/* ---------- Abschnitte ---------- */
.section { padding: 80px 0; }
.section-lg { padding: 100px 0; }
.section-title { font-size: 36px; text-align: center; margin-bottom: 30px; }
.lead { text-align: center; }

/* Überschrift mit Stern-Trenner */
.heading-star h2 { font-size: 42px; line-height: 52px; text-align: center; margin-bottom: 18px; }
.star-sep {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--accent); margin: 0 auto 30px; max-width: 590px;
}
.star-sep::before, .star-sep::after {
  content: ""; flex: 1; height: 5px;
  background: radial-gradient(circle, #bbb 1px, transparent 1.2px) 0 50% / 4px 4px repeat-x;
}
.star-sep .icon { width: 28px; height: 28px; }
.heading-star .sub { text-align: center; font-size: 18px; margin-bottom: 60px; }

/* Punktlinie unter Überschriften (Kontakt) */
.dotted-title { padding-bottom: 20px; margin-bottom: 30px; position: relative; }
.dotted-title::after, .dotted-line {
  content: ""; display: block; height: 5px;
  background: radial-gradient(circle, #bbb .9px, transparent 1.1px) 0 50% / 4px 4px repeat-x;
}
.dotted-title::after { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- Vorteile (Startseite) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.feature { display: flex; gap: 20px; }
.feature .circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; flex: none;
}
.feature .circle .icon { width: 28px; height: 28px; }
.feature h2 { font-size: 22px; line-height: 32px; margin: -5px 0 5px; }
.feature p { margin: 0; line-height: 26px; }

/* ---------- Bildreihe (Startseite) ---------- */
.image-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100%; height: 400px; }
.image-row > img { width: 100%; height: 100%; object-fit: cover; }
.mini-gallery { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
.mini-gallery li { overflow: hidden; min-height: 0; }

/* ---------- Galerie (Referenzen + Startseite) ---------- */
.gallery a { display: block; position: relative; overflow: hidden; height: 100%; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(186, 24, 24, 0) url("../img/zoom.svg") center / 0 no-repeat;
  transition: background-color .3s, background-size .3s;
}
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.08); filter: blur(1px); }
.gallery a:hover::after, .gallery a:focus-visible::after { background-color: rgba(0, 0, 0, .35); background-size: 34px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; list-style: none; margin: 0; padding: 0 0 5px; }
.gallery-grid li { aspect-ratio: 3 / 4; }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; align-items: start; list-style: none; margin: 0; padding: 0; }
.review blockquote {
  margin: 0;
  background: #f3f3f3;
  padding: 40px 50px;
  font-size: 16px; line-height: 26px;
  border-bottom: 4px solid var(--accent);
  position: relative;
}
.review blockquote p { margin: 0; }
/* kleine Sprechblasen-Spitze */
.review blockquote::after {
  content: ""; position: absolute; left: 45px; top: 100%;
  border: 11px solid transparent; border-top-color: var(--accent); border-bottom: 0;
}
.review blockquote::before {
  content: ""; position: absolute; left: 49px; top: 100%; z-index: 1;
  border: 7px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.review { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 18px; padding: 26px 10px 0; }
.review figcaption img { width: 70px; height: 70px; }
.review .name { display: block; font: 500 20px/32px var(--font-head); color: var(--heading); }
.review .source { display: block; font: 400 16px/26px var(--font-head); color: #999; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-title {
  background: #222 url("../img/seitenkopf-hintergrund.jpg") center bottom / cover no-repeat;
  color: #fff;
}
@media (hover: hover) and (min-width: 1025px) {
  .page-title { background-attachment: fixed; }
}
.page-title .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 118px; }
.page-title h1 {
  margin: 0;
  color: #fff;
  font: 500 20px/1.3 var(--font-head);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 255, 255, .35);
}
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.breadcrumbs li { font: 500 14px/24px var(--font-head); letter-spacing: .5px; text-transform: uppercase; display: flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 1px; height: 12px; background: rgba(255, 255, 255, .4); margin: 0 11px; }
.breadcrumbs a { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.breadcrumbs a:hover { opacity: .8; }
.breadcrumbs .icon { width: 18px; height: 18px; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 100px 0 60px; }
.services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 60px; }
.service {
  position: relative;
  background: #f7f7f7;
  padding: 40px 25px;
  text-align: center;
  display: grid; place-items: center;
}
.service .circle {
  position: absolute; top: -30px; left: 50%; margin-left: -30px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.service .circle .icon { width: 26px; height: 26px; }
.service h3 { font: 400 28px/1.38 var(--font-head); margin: 0; }

/* ---------- Über uns ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.two-col + .two-col { margin-top: 110px; }
.bars { list-style: none; margin: 0; padding: 0 0 0 4px; }
.bars li { margin-bottom: 36px; }
.bars .bar-head { display: flex; justify-content: space-between; }
.bars .title { font: 500 14px/21px var(--font-head); letter-spacing: 1px; color: var(--heading); }
.bars .perc { font: 500 14px/16px var(--font-body); letter-spacing: 1px; }
.bars .track { height: 10px; background: #e5e5e5; margin-top: 10px; }
.bars .fill { display: block; height: 100%; background: var(--accent); }

/* ---------- Karten (Google Maps, 2-Klick) ---------- */
.map {
  position: relative;
  border: 5px solid #f0f0f0;
  box-shadow: 0 0 2px rgba(0, 0, 0, .08);
  background:
    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px) 0 0 / 40px 40px,
    #e7e5df;
  overflow: hidden;
}
.map-lg { aspect-ratio: 1170 / 450; }
.map-md { aspect-ratio: 570 / 320; }
@media (max-width: 767px) {
  .map-lg, .map-md { aspect-ratio: auto; height: 300px; }
}
.map-sm { height: 150px; border-width: 0; border-radius: 3px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; text-align: center;
  font-size: 13px; line-height: 1.5; color: #555;
}
.map-consent .icon { width: 34px; height: 34px; color: var(--accent); }
.map-consent p { margin: 0; max-width: 420px; }
.map-consent button {
  font: 500 13px/1 var(--font-head); letter-spacing: 1px;
  background: rgba(0, 0, 0, .7); color: #fff; border: 0; padding: 11px 18px; cursor: pointer;
}
.map-consent button:hover { background: var(--accent); }
.map-sm .map-consent { gap: 6px; padding: 8px; font-size: 11px; }
.map-sm .map-consent p { display: none; }
.map-sm .map-consent .icon { width: 24px; height: 24px; }
.map-sm .map-consent button { font-size: 11px; padding: 8px 12px; }
.map.is-loaded .map-consent { display: none; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 272px; gap: 30px; margin-top: 100px; }
.contact-grid h2 { font-size: 22px; line-height: 32px; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; margin-bottom: 24px; }
.field label { display: block; }
.field input, .field textarea {
  width: 100%;
  font: 500 16px/28px var(--font-head);
  color: #555;
  background: var(--input);
  border: 1px solid var(--input);
  border-radius: 0;
  padding: 10px 20px;
  transition: border-color .2s, background-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: #ccc; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #888; text-transform: uppercase; opacity: 1; }
.field textarea { height: 170px; resize: vertical; display: block; }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--accent); }
.field-error { display: block; color: var(--accent); font-size: 13px; line-height: 1.4; margin-top: 4px; min-height: 0; }
.form-note { font-size: 13px; line-height: 1.6; margin: 14px 0 22px; }
.form .btn { font-size: 16px; line-height: 16px; padding: 15px 45px 14px; text-transform: uppercase; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
/* Honeypot – für Menschen unsichtbar */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; padding: 16px 20px; margin-bottom: 25px; border-left: 4px solid; font-size: 15px; }
.form-status.ok { background: #edf7ee; border-color: #2e7d32; color: #1e5a22; }
.form-status.err { background: #fbeaea; border-color: var(--accent); color: #7c1010; }
.form-status:target, .form-status.is-visible { display: block; }

.contact-info p { font-size: 16px; line-height: 28px; margin: 0; padding: 0 0 20px; }
.contact-info a { color: inherit; }
.contact-info a:hover { color: var(--accent); }
.contact-info .dotted-line { margin-bottom: 20px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: var(--container); }
.legal h2 { font-size: 36px; margin-top: 1em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 400 30px/1.3 var(--font-head); margin-top: 1.1em; }
.legal h4 { font-size: 20px; margin-top: 1.2em; }
.legal a { word-break: break-word; }
.legal .upper { text-transform: none; }
.legal table { border-collapse: collapse; margin: 0 0 20px; width: 100%; }
.legal th, .legal td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.legal th { font: 500 14px var(--font-head); color: var(--heading); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #d2d2d2; padding: 113px 0 77px; }
.footer-grid { display: grid; grid-template-columns: 1fr 268px 269px; gap: 35px; }
.footer-about { max-width: 270px; }
.footer-about img { margin: -6px 0 30px; width: 232px; height: 50px; }
.footer-about p { margin-bottom: 30px; }
.footer-title {
  font: 400 18px/24.84px var(--font-head);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 11px;
  margin: 0 0 33px;
  border-bottom: 2px solid #3a3a3a;
}
.footer-contact { list-style: none; margin: 0; padding: 0; font: 400 14px/24.5px var(--font-head); letter-spacing: .5px; color: #ccc; }
.footer-contact li { display: flex; gap: 23px; margin-bottom: 26px; }
.footer-contact .ico { width: 45px; height: 45px; background: #3e3e3e; color: #fff; display: grid; place-items: center; flex: none; margin-top: -10px; }
.footer-contact .icon { width: 17px; height: 17px; }
.footer-contact a { color: #ccc; }
.footer-contact a:hover { color: #fff; }

.bottom-bar { background: var(--bottom); color: #b4b4b4; font: 400 14px/20px var(--font-head); letter-spacing: .5px; text-transform: uppercase; }
.bottom-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 10px 30px; flex-wrap: wrap; min-height: 52px; padding-top: 8px; padding-bottom: 8px; }
.bottom-bar p { margin: 0; }
.bottom-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.bottom-nav li { display: flex; align-items: center; }
.bottom-nav li + li::before { content: ""; width: 1px; height: 10px; background: #444; margin: 0 18px; }
.bottom-nav a, .bottom-nav button { color: #b4b4b4; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.bottom-nav a:hover, .bottom-nav button:hover, .bottom-nav a[aria-current="page"] { color: var(--accent); }

/* ---------- Cookie-Banner ---------- */
.consent {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  width: min(476px, calc(100% - 32px));
  background: #f2f2f2;
  color: #222;
  border-radius: 6px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .22);
  padding: 22px 20px 20px;
  font: 400 15px/1.6 var(--font-body);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 17px; margin: 0 0 6px; color: #222; }
.consent p { margin: 0 0 14px; }
.consent a { color: #333; text-decoration: underline; }
.consent-options { border: 0; margin: 0 0 14px; padding: 12px 0 0; border-top: 1px solid #ddd; }
.consent-options[hidden] { display: none; }
.consent-options label { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.consent-options input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.consent-options strong { color: #222; font-weight: 500; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions button {
  font: 500 14px/1.2 var(--font-head);
  padding: 12px 10px; cursor: pointer; border-radius: 3px;
  border: 2px solid var(--accent);
  background: #fff; color: var(--accent);
}
.consent-actions button:hover { background: #fff5f5; }
.consent-actions .primary { background: var(--accent); color: #fff; }
.consent-actions .primary:hover { background: var(--accent-dark); }
.consent-actions .link { grid-column: 1 / -1; border: 0; background: none; color: #444; text-decoration: underline; padding: 4px; }
.consent-actions .link:hover { background: none; color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  background: rgba(10, 10, 10, .94);
  color: #fff;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 50px 70px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; box-shadow: 0 0 25px rgba(0, 0, 0, .5); }
.lightbox figcaption { font-size: 14px; color: #ccc; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(0, 0, 0, .35); border: 0; color: #fff; cursor: pointer;
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
}
.lightbox button:hover { background: var(--accent); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; margin-top: -25px; }
.lightbox .lb-next { right: 12px; top: 50%; margin-top: -25px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .code { font: 600 120px/1 var(--font-head); color: var(--accent); margin-bottom: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .main-nav a { padding: 0 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 991px) {
  .topbar { display: none; }
  .site-header .container { height: 76px; }
  .logo img { width: 220px; height: auto; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid #eee; box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 0; }
  .main-nav a { line-height: 48px; padding: 0 var(--gutter); border-bottom: 1px solid #f2f2f2; }
  .main-nav li:last-child a { border-bottom: 0; }

  .features { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; }
  .image-row { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .image-row > img { aspect-ratio: 1080 / 660; height: auto; }
  .mini-gallery li { aspect-ratio: 1; }
  .reviews { grid-template-columns: 1fr; gap: 50px; max-width: 560px; margin: 0 auto; }
  .heading-star h2 { font-size: 34px; line-height: 1.3; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; gap: 60px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .service h3 { font-size: 24px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .two-col + .two-col { margin-top: 60px; }
  .contact-grid { margin-top: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px 35px; }
  .footer-about { grid-column: 1 / -1; max-width: none; }
  .site-footer { padding: 70px 0 40px; }
}

@media (max-width: 767px) {
  h2, .section-title { font-size: 28px; }
  .section { padding: 60px 0; }
  .section-lg { padding: 60px 0; }
  .hero h1 { line-height: 1.45; margin-bottom: .6em; }
  .hero-sub { margin-bottom: 1.6em; }
  .hero .btn { min-width: 0; padding: 14px 54px 12px; }
  .page-title .container { flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 22px; padding-bottom: 22px; gap: 8px; }
  .page-title h1 { font-size: 18px; }
  .breadcrumbs li { font-size: 12px; }
  .services { margin-top: 70px; gap: 50px; }
  .services ul { gap: 50px; }
  .form-row { grid-template-columns: 1fr; gap: 15px; margin-bottom: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .bottom-bar .container { flex-direction: column; justify-content: center; text-align: center; padding-top: 14px; padding-bottom: 14px; }
  .bottom-bar { font-size: 12px; }
  .bottom-nav { justify-content: center; }
  .bottom-nav li + li::before { margin: 0 10px; }
  .legal h2 { font-size: 26px; }
  .legal h3 { font-size: 22px; }
  .legal { overflow-wrap: anywhere; }
  .review blockquote { padding: 30px; }
  .lightbox figure { padding: 60px 10px; }
  .lightbox img { max-width: calc(100vw - 20px); max-height: calc(100vh - 160px); }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; margin: 0; }
  .lightbox .lb-prev { left: calc(50% - 60px); }
  .lightbox .lb-next { right: calc(50% - 60px); }
  .consent-actions { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .feature .circle { width: 64px; height: 64px; }
  .heading-star h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .main-nav, .nav-toggle, .consent, .map, .site-footer .footer-grid > :not(.footer-about) { display: none !important; }
  .page-title { background: none; color: #000; }
  .page-title h1 { color: #000; }
}
