/*
Theme Name: DAMPOL Mobilny Serwis TIR
Theme URI: https://wulkanizacjatir24.pl/
Author: Grochalski – Strony internetowe
Description: Dedykowany motyw WordPress dla mobilnej wulkanizacji TIR DAMPOL. Strona 24/7 dla Polski i Niemiec z lokalnymi landing page'ami SEO.
Version: 2.1.5
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: dampol
*/

:root {
  --bg: #090b0d;
  --bg-2: #111418;
  --bg-3: #171a1e;
  --ink: #111315;
  --muted: #687078;
  --line: #e2e5e7;
  --paper: #fff;
  --paper-2: #f3f4f5;
  --red: #e23831;
  --red-dark: #b8241e;
  --max: 1280px;
  --body: "Manrope", Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --shadow: 0 22px 60px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: #fff; }
svg { display: block; }

.container { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--bg); color: #fff; }
.section-kicker { margin: 0 0 14px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-title { margin: 0; max-width: 900px; font-family: var(--display); font-size: clamp(44px, 5vw, 70px); font-weight: 800; line-height: .93; letter-spacing: -.018em; text-transform: uppercase; }
.section-lead { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section--dark .section-lead { color: #a9b0b6; }

.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .015em; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.38); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eceff1; }
.btn--dark { background: var(--bg); color: #fff; }
.btn--dark:hover { background: #252a2f; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 800; }
.text-link svg { width: 16px; }

/* Header */
.site-header { position: absolute; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .2s ease, box-shadow .2s ease; }
.site-header.is-sticky { position: fixed; background: rgba(8,10,12,.98); box-shadow: 0 10px 32px rgba(0,0,0,.24); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 20px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand-image { width: 155px; max-height: 48px; object-fit: contain; object-position: left center; }
.brand-service { flex: 0 0 auto; min-width: 175px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.17); line-height: 1.1; }
.brand-service strong { display: block; font-family: var(--display); font-size: 16px; letter-spacing: .025em; text-transform: uppercase; }
.brand-service span { display: block; margin-top: 5px; color: #9da4aa; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { margin-left: auto; }
.site-nav ul { margin: 0; padding: 0; list-style: none; }
.site-nav > ul, .site-nav .menu { display: flex; align-items: center; gap: 24px; }
.site-nav li { position: relative; }
.site-nav > ul > li > a, .site-nav .menu > li > a { position: relative; display: block; padding: 30px 0; color: #f1f2f3; font-size: 12px; font-weight: 800; }
.site-nav > ul > li > a::after, .site-nav .menu > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 2px; background: var(--red); transition: right .2s ease; }
.site-nav > ul > li:hover > a::after, .site-nav .menu > li:hover > a::after { right: 0; }
.site-nav .sub-menu { position: absolute; top: calc(100% - 1px); left: -22px; z-index: 20; min-width: 230px; padding: 12px 0; background: #0f1215; border: 1px solid #252a2f; box-shadow: 0 18px 40px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.site-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .sub-menu li { border-bottom: 1px solid #20252a; }
.site-nav .sub-menu li:last-child { border: 0; }
.site-nav .sub-menu a { display: block; padding: 11px 18px; color: #c2c7cb; font-size: 12px; font-weight: 700; }
.site-nav .sub-menu a:hover { background: #171b1f; color: #fff; }
.site-nav .sub-menu .sub-menu-all { color: #fff; }
.header-call { flex: 0 0 auto; min-width: 154px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.header-call small { display: block; margin-bottom: 2px; color: #9da4aa; font-size: 9px; font-weight: 700; }
.header-call strong { display: block; color: #fff; font-size: 13px; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.24); border-radius: 4px; background: transparent; color: #fff; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }

/* Home hero */
.hero { position: relative; min-height: 780px; display: flex; align-items: stretch; overflow: hidden; background: var(--bg) center/cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,8,.95) 0%, rgba(5,7,8,.86) 42%, rgba(5,7,8,.42) 70%, rgba(5,7,8,.16) 100%), linear-gradient(0deg, rgba(5,7,8,.73) 0%, transparent 44%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.08); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 80px; align-items: end; width: min(var(--max), calc(100% - 56px)); padding: 172px 0 86px; }
.hero-copy { max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 38px; height: 3px; background: var(--red); }
.hero h1 { margin: 0; max-width: 760px; font-family: var(--display); font-size: clamp(70px, 6.2vw, 104px); font-weight: 800; line-height: .82; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.hero-scope { margin-top: 24px; font-family: var(--display); font-size: 27px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.hero-scope span { color: var(--red); }
.hero p { max-width: 680px; margin: 20px 0 28px; color: #d0d4d7; font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note-row { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 23px; color: #aeb4b9; font-size: 11px; font-weight: 700; }
.hero-note-row span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note-row svg { width: 15px; color: var(--red); }
.hero-emergency-card { align-self: end; margin-bottom: 6px; padding: 26px; border: 1px solid rgba(255,255,255,.18); background: rgba(8,10,12,.78); backdrop-filter: blur(5px); }
.hero-emergency-card .pulse-dot { margin-bottom: 18px; }
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px rgba(226,56,49,.12); }
.hero-emergency-card small { display: block; color: #9ca3a9; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-emergency-card strong { display: block; margin: 6px 0 8px; font-family: var(--display); font-size: 27px; line-height: .95; text-transform: uppercase; }
.hero-emergency-card p { margin: 0 0 18px; color: #9ca3a9; font-size: 12px; }
.hero-emergency-card a { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; font-weight: 800; }
.hero-emergency-card a svg { width: 18px; color: var(--red); }

.trust-strip { background: #0c0f11; color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 126px; display: flex; align-items: center; gap: 16px; padding: 25px 26px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-item:last-child { border-right: 0; }
.trust-icon { flex: 0 0 40px; width: 40px; height: 40px; color: var(--red); }
.trust-item strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 19px; line-height: 1; text-transform: uppercase; }
.trust-item span { display: block; color: #90979d; font-size: 11px; line-height: 1.45; }

/* Services */
.section--intro { background: #fff; }
.services-head, .coverage-hub-head, .seo-locations-head, .gallery-head, .hub-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 246px; padding: 30px 29px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card svg { width: 40px; height: 40px; margin-bottom: 28px; color: var(--red); }
.service-card h3 { margin: 0 0 11px; font-family: var(--display); font-size: 27px; line-height: .96; text-transform: uppercase; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; }
.service-card a { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 800; }
.service-card--accent { background: var(--red); color: #fff; }
.service-card--accent svg, .service-card--accent p { color: #fff; }

/* Emergency split */
.emergency { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--bg); color: #fff; }
.emergency-copy { display: flex; align-items: center; }
.emergency-copy-inner { width: min(640px, calc(100% - 70px)); margin-left: auto; padding: 88px 64px 88px 28px; }
.emergency-copy .section-title { max-width: 560px; }
.emergency-copy p { max-width: 540px; color: #aeb5bb; }
.emergency-quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.emergency-quick span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #2b3035; color: #b6bcc1; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.emergency-quick b { color: var(--red); }
.emergency-media { position: relative; min-height: 520px; overflow: hidden; }
.emergency-media img { width: 100%; height: 100%; object-fit: cover; }
.emergency-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,13,.5), transparent 40%); }
.emergency-badges { position: absolute; z-index: 2; right: 36px; bottom: 36px; width: min(300px, calc(100% - 50px)); padding: 24px; border-left: 3px solid var(--red); background: rgba(8,10,12,.9); }
.emergency-badges span, .emergency-badges small { display: block; color: #9da4aa; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.emergency-badges strong { display: block; margin: 7px 0; font-family: var(--display); font-size: 27px; line-height: .95; text-transform: uppercase; }

/* Coverage */
.country-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.country-card { position: relative; min-height: 390px; padding: 38px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.country-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; bottom: -100px; border: 42px solid #f0f1f2; border-radius: 50%; }
.country-card--de { background: var(--bg); border-color: var(--bg); color: #fff; }
.country-card--de::after { border-color: #191d21; }
.country-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; }
.country-top > span { flex: 0 0 62px; width: 62px; height: 62px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--display); font-size: 25px; font-weight: 800; }
.country-card--de .country-top > span { background: #f0c900; color: #111; }
.country-top small { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.country-card--de .country-top small { color: #8f979e; }
.country-top h3 { margin: 4px 0 0; font-family: var(--display); font-size: 31px; line-height: .95; text-transform: uppercase; }
.country-card > p { position: relative; z-index: 2; max-width: 570px; margin: 26px 0; color: var(--muted); font-size: 14px; }
.country-card--de > p { color: #a6adb3; }
.country-routes { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.country-routes b { padding: 6px 9px; border: 1px solid var(--line); font-size: 10px; }
.country-card--de .country-routes b { border-color: #31363b; }
.country-card .text-link { position: relative; z-index: 2; }
.country-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 18px; }

/* SEO link hub */
.location-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.location-group { background: #fff; border: 1px solid var(--line); }
.location-group-title { display: flex; align-items: center; gap: 15px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.flag-code { width: 42px; height: 32px; display: grid; place-items: center; background: #e23831; color: #fff; font-family: var(--display); font-weight: 800; }
.flag-code--de { background: #191919; color: #f0c900; border-bottom: 5px solid #e13b32; }
.location-group-title small { display: block; color: #8b9298; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.location-group-title strong { display: block; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.location-links { display: grid; grid-template-columns: 1fr 1fr; }
.location-links a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.location-links a:nth-child(even) { border-right: 0; }
.location-links a:hover { background: #f6f7f8; }
.location-links a span { color: var(--red); }
.route-links-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; padding: 18px 20px; background: var(--bg); color: #fff; }
.route-links-bar strong { margin-right: 6px; font-size: 11px; text-transform: uppercase; }
.route-links-bar a { padding: 7px 9px; border: 1px solid #2d3237; color: #c2c7cb; font-size: 10px; font-weight: 800; }
.route-links-bar a:hover { border-color: var(--red); color: #fff; }
.route-links-bar .route-all { margin-left: auto; border: 0; color: #fff; }

/* Steps */
.steps-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.steps-head .section-title { margin-inline: auto; }
.steps-head .section-lead { margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 0 30px; text-align: center; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 31px; right: -5%; width: 10%; height: 1px; background: #cfd3d6; }
.step-number { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 23px; border: 1px solid #d5d9dc; border-radius: 50%; font-family: var(--display); font-size: 28px; font-weight: 800; }
.step h3 { margin: 0 0 8px; font-family: var(--display); font-size: 23px; line-height: 1; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); font-size: 12px; }
.section--dark .step-number { border-color: #31363b; }
.section--dark .step:not(:last-child)::after { background: #31363b; }
.section--dark .step p { color: #929aa0; }

/* Germany band */
.germany-band { padding: 82px 0; overflow: hidden; background: #151515; color: #fff; }
.germany-band-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: center; }
.country-eyebrow { display: flex; align-items: center; gap: 12px; color: #aaa; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.country-eyebrow span { width: 34px; height: 24px; display: grid; place-items: center; border-top: 7px solid #111; border-bottom: 7px solid #f0c900; background: #d83b32; color: #fff; font-size: 8px; }
.germany-copy h2 { max-width: 700px; margin: 18px 0; font-family: var(--display); font-size: clamp(52px, 5vw, 76px); line-height: .9; text-transform: uppercase; }
.germany-copy p { max-width: 650px; color: #aab0b5; }
.germany-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.germany-cities { border-top: 1px solid #2d3033; }
.germany-cities > small { display: block; padding: 0 0 13px; color: #777f85; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.germany-cities a { display: grid; grid-template-columns: 28px 1fr 20px; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #2d3033; font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.germany-cities a:hover { color: #fff; background: #1b1e21; }
.germany-cities a span { color: var(--red); }
.germany-cities svg { width: 18px; }
.germany-cities b { color: #6d7479; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; grid-template-rows: 265px 265px; gap: 8px; }
.gallery-item { margin: 0; overflow: hidden; background: #ddd; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }

/* Why / about */
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.why-list { border-top: 1px solid #282d32; }
.why-item { display: grid; grid-template-columns: 50px 1fr; gap: 17px; padding: 23px 0; border-bottom: 1px solid #282d32; }
.why-item svg { width: 32px; height: 32px; color: var(--red); }
.why-item strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 21px; line-height: 1; text-transform: uppercase; }
.why-item span { color: #90989f; font-size: 12px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 13px; font-weight: 800; }
.faq-question > span:last-child { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #cfd3d6; border-radius: 50%; font-size: 16px; transition: transform .18s ease; }
.faq-answer { display: none; max-width: 720px; padding: 0 45px 23px 0; color: var(--muted); font-size: 13px; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question > span:last-child { transform: rotate(45deg); }

/* Contact */
.contact-section { position: relative; overflow: hidden; background: #111418; color: #fff; }
.contact-section::before { content: ""; position: absolute; inset: 0 55% 0 0; background: var(--red); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.contact-pitch { padding: 92px 80px 92px 0; }
.contact-pitch .section-kicker { color: #fff; opacity: .7; }
.contact-pitch p { max-width: 560px; color: rgba(255,255,255,.84); }
.contact-phone-big { display: flex; align-items: center; gap: 15px; width: fit-content; margin-top: 30px; }
.contact-phone-big > svg { width: 34px; height: 34px; }
.contact-phone-big small { display: block; opacity: .75; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.contact-phone-big strong { display: block; font-family: var(--display); font-size: 31px; line-height: 1; }
.contact-mini { display: flex; flex-direction: column; gap: 9px; margin-top: 28px; font-size: 11px; }
.contact-mini span { display: flex; align-items: center; gap: 8px; }
.contact-mini svg { width: 16px; }
.contact-form-wrap { padding: 82px 0 82px 80px; }
.contact-form-wrap h3 { margin: 0; font-family: var(--display); font-size: 36px; text-transform: uppercase; }
.contact-form-wrap > p { margin: 6px 0 25px; color: #92999f; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field--full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: 6px; color: #aeb4b9; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #30353a; border-radius: 3px; outline: 0; background: #171b1f; color: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { min-height: 126px; resize: vertical; }
.form-hp { position: absolute !important; left: -9999px !important; }
.form-status { margin-bottom: 18px; padding: 12px 14px; border-left: 3px solid #fff; background: rgba(255,255,255,.07); font-size: 12px; }
.form-status--ok { border-left-color: #51b874; }
.form-status--error { border-left-color: var(--red); }

/* Footer */
.site-footer { background: #080a0c; color: #fff; }
.footer-main--seo { display: grid; grid-template-columns: 1.2fr .75fr .75fr .8fr; gap: 52px; padding: 66px 0; }
.footer-brand p { max-width: 410px; margin: 15px 0 20px; color: #81888e; font-size: 12px; }
.footer-service-name { display: block; margin-top: 14px; font-family: var(--display); font-size: 19px; text-transform: uppercase; }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; font-weight: 800; }
.footer-phone svg { width: 18px; color: var(--red); }
.footer-col h4 { margin: 0 0 17px; font-family: var(--display); font-size: 17px; text-transform: uppercase; }
.footer-col a, .footer-col span { display: block; margin: 7px 0; color: #939aa0; font-size: 11px; }
.footer-col a:hover { color: #fff; }
.footer-col .footer-more { margin-top: 13px; color: #fff; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 20px 0; border-top: 1px solid #202428; color: #697076; font-size: 10px; }
.mobile-call { display: none; }

/* Generic content */
.content-shell { padding: 150px 0 90px; }
.content-shell h1 { font-family: var(--display); font-size: clamp(48px, 7vw, 78px); line-height: .92; text-transform: uppercase; }
.entry-content { max-width: 840px; }
.entry-content h2, .entry-content h3 { font-family: var(--display); text-transform: uppercase; }
.post-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.post-card { border: 1px solid var(--line); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card h2 { margin: 0; font-family: var(--display); font-size: 27px; line-height: 1.05; text-transform: uppercase; }
.post-card p { color: var(--muted); font-size: 13px; }

/* Subpages / SEO */
.subhero { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg) center/cover no-repeat; color: #fff; }
.subhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,8,.96) 0%, rgba(5,7,8,.82) 55%, rgba(5,7,8,.3) 100%), linear-gradient(0deg, rgba(5,7,8,.66), transparent 55%); }
.subhero--germany::after { content: "DE"; position: absolute; right: 4vw; bottom: -70px; color: rgba(255,255,255,.045); font-family: var(--display); font-size: 340px; font-weight: 800; line-height: .7; }
.subhero-inner { position: relative; z-index: 2; width: min(var(--max), calc(100% - 56px)); padding: 160px 0 72px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 21px; color: #8f969c; font-size: 10px; font-weight: 700; }
.breadcrumbs a:hover { color: #fff; }
.subhero h1 { max-width: 900px; margin: 0; font-family: var(--display); font-size: clamp(62px, 7vw, 96px); font-weight: 800; line-height: .86; letter-spacing: -.02em; text-transform: uppercase; }
.subhero-lead { max-width: 750px; margin: 23px 0 28px; color: #c5c9cd; font-size: 16px; }
.local-alert { background: var(--red); color: #fff; }
.local-alert-inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.local-alert-inner > div { display: flex; align-items: center; gap: 12px; }
.local-alert .pulse-dot { background: #fff; box-shadow: 0 0 0 7px rgba(255,255,255,.13); }
.local-alert strong { font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.local-alert p { margin: 0; color: rgba(255,255,255,.82); font-size: 11px; }
.local-alert a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.local-alert svg { width: 17px; }
.local-two-col { display: grid; grid-template-columns: 1fr .75fr; gap: 90px; align-items: start; }
.local-copy > p:not(.section-kicker):not(.section-lead) { max-width: 760px; color: var(--muted); font-size: 14px; }
.local-facts { border-top: 3px solid var(--red); background: var(--bg); color: #fff; padding: 28px; }
.local-fact { padding: 16px 0; border-bottom: 1px solid #292e33; }
.local-fact small { display: block; margin-bottom: 3px; color: #838b92; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.local-fact strong { font-family: var(--display); font-size: 23px; line-height: 1; text-transform: uppercase; }
.local-facts .btn { width: 100%; margin-top: 22px; }
.local-service-grid { grid-template-columns: repeat(4, 1fr); }
.local-service-grid .service-card { min-height: 225px; }
.local-roads-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: center; }
.big-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.big-tags span { padding: 10px 13px; border: 1px solid #cfd3d6; font-family: var(--display); font-size: 17px; font-weight: 800; text-transform: uppercase; }
.nearby-box { padding: 34px; background: var(--paper-2); border-left: 3px solid var(--red); }
.nearby-box > small { display: block; margin-bottom: 15px; color: #8b9298; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.nearby-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nearby-list span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.nearby-list svg { width: 15px; color: var(--red); }
.nearby-box p { margin: 24px 0 0; color: var(--muted); font-size: 12px; }
.related-head { margin-bottom: 34px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-card { position: relative; min-height: 128px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.related-card:hover { border-color: #bbbfc2; }
.related-card small { display: block; color: #8b9298; font-size: 9px; text-transform: uppercase; }
.related-card strong { display: block; margin-top: 6px; font-family: var(--display); font-size: 25px; line-height: 1; text-transform: uppercase; }
.related-card > span { position: absolute; right: 20px; bottom: 18px; color: var(--red); }
.local-final-cta { padding: 46px 0; background: var(--red); color: #fff; }
.local-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.local-final-inner small { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; opacity: .76; }
.local-final-inner h2 { margin: 4px 0 0; font-family: var(--display); font-size: clamp(35px, 4vw, 53px); line-height: .9; text-transform: uppercase; }
.local-final-inner .btn { background: #fff; color: var(--ink); }

/* Hub pages */
.hub-location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hub-location-card { display: grid; grid-template-columns: 38px 1fr 20px; gap: 13px; align-items: center; min-height: 100px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.hub-location-card:hover { border-color: #b7bcc0; box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.hub-pin { width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper-2); color: var(--red); }
.hub-pin svg { width: 18px; }
.hub-location-card strong { display: block; font-family: var(--display); font-size: 21px; line-height: 1; text-transform: uppercase; }
.hub-location-card small { display: block; margin-top: 5px; color: #8b9298; font-size: 9px; }
.hub-location-card > b { color: var(--red); }
.hub-location-grid--routes .hub-location-card { min-height: 88px; }
.hub-location-grid--dark .hub-location-card { border-color: #2a2f34; background: #101316; }
.hub-location-grid--dark .hub-location-card:hover { border-color: #474e54; }
.hub-location-grid--dark .hub-pin { background: #1a1e22; }
.hub-location-grid--dark .hub-location-card small { color: #81888e; }
.big-check-list { display: grid; gap: 12px; align-self: center; }
.big-check-list span { display: flex; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid #2a2f34; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.big-check-list svg { width: 20px; color: var(--red); }
.big-check-list--light span { border-bottom-color: #d7dadd; }
.hub-cta-split { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: center; }
.hub-cta-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.hub-cta-links--inline { justify-content: flex-start; margin-top: 28px; }
.hub-why-germany { display: grid; grid-template-columns: 1fr .7fr; gap: 90px; align-items: center; }
.language-switch-card { padding: 34px; border-top: 3px solid #f0c900; background: #171a1e; color: #fff; }
.language-switch-card small { display: block; color: #8d949a; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.language-switch-card strong { display: block; margin-top: 6px; font-family: var(--display); font-size: 27px; line-height: 1; text-transform: uppercase; }
.language-switch-card p { color: #9ca3a9; font-size: 12px; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { min-height: 300px; padding: 38px; border: 1px solid var(--line); background: #fff; }
.contact-card--primary { background: var(--red); border-color: var(--red); color: #fff; }
.contact-card small { display: block; color: #868e94; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.contact-card--primary small { color: rgba(255,255,255,.75); }
.contact-card h2, .contact-card h3 { margin: 12px 0; font-family: var(--display); font-size: 42px; line-height: .95; text-transform: uppercase; }
.contact-card p { max-width: 560px; color: var(--muted); font-size: 13px; }
.contact-card--primary p { color: rgba(255,255,255,.84); }
.contact-form-page { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.contact-form-page .contact-form input, .contact-form-page .contact-form textarea { background: #fff; border-color: #cfd3d6; color: var(--ink); }
.contact-form-page .contact-form label { color: #687078; }
.lang-de .section-title, .lang-de .subhero h1, .lang-de .hero h1 { text-wrap: balance; }

@media (max-width: 1180px) {
  .brand-service { display: none; }
  .site-nav > ul, .site-nav .menu { gap: 18px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 290px; gap: 50px; }
  .footer-main--seo { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .site-nav { display: none; position: fixed; inset: 82px 0 0; overflow-y: auto; background: #0b0e10; }
  .site-nav.is-open { display: block; }
  .site-nav > ul, .site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 48px, var(--max)); margin: 24px auto 60px; }
  .site-nav > ul > li, .site-nav .menu > li { border-bottom: 1px solid #252a2f; }
  .site-nav > ul > li > a, .site-nav .menu > li > a { padding: 15px 0; font-size: 15px; }
  .site-nav > ul > li > a::after, .site-nav .menu > li > a::after { display: none; }
  .site-nav .sub-menu { position: static; min-width: 0; padding: 0 0 10px 15px; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; }
  .site-nav .sub-menu li { border: 0; }
  .site-nav .sub-menu a { padding: 8px 0; color: #979fa5; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-call { margin-left: auto; }
  .hero { min-height: 740px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-bottom: 70px; }
  .hero-emergency-card { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .services-head, .coverage-hub-head, .seo-locations-head, .gallery-head, .hub-head { grid-template-columns: 1fr; gap: 25px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .emergency { grid-template-columns: 1fr; }
  .emergency-copy-inner { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 80px 0; }
  .country-grid, .location-columns, .germany-band-grid, .why-grid, .faq-wrap, .local-two-col, .local-roads-grid, .hub-cta-split, .hub-why-germany, .contact-form-page { grid-template-columns: 1fr; gap: 45px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .step:nth-child(2)::after { display: none; }
  .hub-location-grid { grid-template-columns: repeat(2, 1fr); }
  .local-service-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-cta-links { justify-content: flex-start; }
  .contact-section::before { inset: 0 0 50% 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-pitch, .contact-form-wrap { padding: 70px 0; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .footer-main--seo { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; padding-bottom: 66px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 74px 0; }
  .section-title { font-size: clamp(42px, 13vw, 58px); }
  .header-inner { min-height: 70px; }
  .site-nav { inset: 70px 0 0; }
  .brand-image { width: 138px; max-height: 42px; }
  .header-call { display: none; }
  .hero { min-height: 720px; background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,7,8,.96) 0%, rgba(5,7,8,.8) 72%, rgba(5,7,8,.52) 100%), linear-gradient(0deg, rgba(5,7,8,.76), transparent 44%); }
  .hero-inner { width: calc(100% - 32px); padding: 132px 0 62px; }
  .hero h1 { font-size: clamp(60px, 18vw, 82px); line-height: .84; }
  .hero-scope { font-size: 22px; line-height: 1.05; }
  .hero p { font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-note-row { gap: 9px 14px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 92px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 18px 14px; }
  .trust-item:last-child { border-bottom: 0; }
  .services-grid, .local-service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 26px 22px; }
  .emergency-copy-inner { width: calc(100% - 32px); padding: 68px 0; }
  .emergency-media { min-height: 380px; }
  .emergency-badges { right: 16px; bottom: 16px; }
  .country-card { min-height: auto; padding: 28px 22px; }
  .country-top h3 { font-size: 27px; }
  .location-links { grid-template-columns: 1fr; }
  .location-links a, .location-links a:nth-child(even) { border-right: 0; }
  .route-links-bar .route-all { margin-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 42px; }
  .step::after { display: none !important; }
  .germany-band { padding: 68px 0; }
  .germany-copy h2 { font-size: 56px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 195px 195px; }
  .gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .contact-section::before { inset: 0 0 53% 0; }
  .contact-phone-big strong { font-size: 27px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .footer-main--seo { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .mobile-call { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0; min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--red); color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 -8px 26px rgba(0,0,0,.18); }
  .mobile-call svg { width: 18px; }
  .subhero { min-height: 580px; }
  .subhero-inner { width: calc(100% - 32px); padding: 130px 0 60px; }
  .subhero h1 { font-size: clamp(54px, 16vw, 76px); }
  .subhero-lead { font-size: 14px; }
  .local-alert-inner { grid-template-columns: 1fr auto; gap: 10px; padding: 15px 0; }
  .local-alert-inner p { grid-column: 1 / -1; grid-row: 2; }
  .local-alert a { grid-column: 2; grid-row: 1; }
  .local-facts { padding: 24px 20px; }
  .nearby-list { grid-template-columns: 1fr; }
  .related-grid, .hub-location-grid { grid-template-columns: 1fr; }
  .local-final-inner { flex-direction: column; align-items: flex-start; }
  .local-final-inner .btn { width: 100%; }
  .contact-card { min-height: auto; padding: 28px 22px; }
  .contact-card h2, .contact-card h3 { font-size: 34px; }
  .post-list { grid-template-columns: 1fr; }
}

/* Service SEO pages */
.big-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 42px; }
.big-check-grid > div { display: flex; align-items: center; gap: 13px; min-height: 74px; padding: 18px 20px; border: 1px solid var(--line); background: #fff; font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.big-check-grid svg { flex: 0 0 20px; width: 20px; color: var(--red); }
.service-seo-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.service-seo-links a { display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 14px; min-height: 92px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.service-seo-links a:hover { border-color: #b8bdc1; }
.service-seo-links span { width: 48px; height: 38px; display: grid; place-items: center; background: var(--bg); color: #fff; font-family: var(--display); font-size: 17px; font-weight: 800; }
.service-seo-links strong { font-family: var(--display); font-size: 21px; line-height: 1; text-transform: uppercase; }
.service-seo-links b { color: var(--red); }

@media (max-width: 720px) {
  .big-check-grid, .service-seo-links { grid-template-columns: 1fr; }
  .big-check-grid > div { min-height: 66px; font-size: 19px; }
}

/* v2.0.1 — responsive polish and emergency contact cleanup */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Grid/flex children must be allowed to shrink on narrow screens. */
.hero-copy,
.services-head > *,
.coverage-hub-head > *,
.seo-locations-head > *,
.gallery-head > *,
.hub-head > *,
.country-card,
.location-group,
.germany-copy,
.germany-cities,
.why-grid > *,
.faq-wrap > *,
.contact-grid > *,
.local-two-col > *,
.local-roads-grid > *,
.hub-cta-split > *,
.hub-why-germany > *,
.contact-form-page > *,
.footer-main--seo > * {
  min-width: 0;
}

.section-title,
.hero h1,
.subhero h1,
.germany-copy h2,
.contact-form-wrap h3,
.contact-card h2,
.contact-card h3,
.local-final-inner h2,
.hub-location-card strong,
.service-seo-links strong {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.lang-de .section-title,
.lang-de .subhero h1,
.lang-de .hero h1,
.lang-de .germany-copy h2 {
  hyphens: auto;
}

/* Contact: no viewport-split pseudo background. The red emergency panel now
   stays inside the content grid and cannot cut through the heading. */
.contact-section {
  padding: 92px 0;
  background: #0e1114;
}
.contact-section::before {
  display: none;
}
.contact-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}
.contact-pitch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 56px;
  background: var(--red);
}
.contact-pitch .section-title {
  max-width: 530px;
  font-size: clamp(48px, 4.4vw, 66px);
  line-height: .9;
}
.contact-pitch p {
  margin-bottom: 0;
}
.contact-form-wrap {
  padding: 56px;
  border: 1px solid #2a2f34;
  background: #111418;
}
.contact-form-wrap h3 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: .95;
}
.contact-form input,
.contact-form textarea {
  min-width: 0;
}

/* Safer internal columns for long place names and German compounds. */
.germany-cities a,
.hub-location-card,
.service-seo-links a {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

@media (max-width: 980px) {
  .contact-section {
    padding: 72px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-pitch,
  .contact-form-wrap {
    padding: 48px;
  }
  .contact-form-wrap {
    border-top: 0;
  }
}

@media (max-width: 720px) {
  .section-title {
    font-size: clamp(38px, 11vw, 50px);
    line-height: .94;
  }

  .hero {
    min-height: auto;
  }
  .hero-inner {
    min-height: 690px;
    padding-top: 122px;
    padding-bottom: 54px;
  }
  .hero h1 {
    font-size: clamp(50px, 15vw, 64px);
    line-height: .88;
  }
  .hero-scope {
    font-size: 20px;
  }

  .subhero {
    min-height: 520px;
  }
  .subhero-inner {
    padding-top: 118px;
    padding-bottom: 52px;
  }
  .subhero h1 {
    font-size: clamp(44px, 13vw, 60px);
    line-height: .9;
  }
  .subhero-lead {
    margin-top: 18px;
  }
  .subhero--germany::after {
    right: -16px;
    bottom: -38px;
    font-size: 210px;
  }

  .germany-copy h2 {
    font-size: clamp(42px, 12vw, 50px);
    line-height: .92;
  }
  .country-top {
    align-items: flex-start;
    gap: 14px;
  }
  .country-top > span {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    font-size: 21px;
  }
  .country-top h3 {
    font-size: 24px;
  }
  .country-card {
    padding: 26px 20px;
  }

  .why-grid,
  .faq-wrap {
    gap: 36px;
  }
  .why-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }
  .why-item svg {
    width: 27px;
    height: 27px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-item,
  .gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 245px;
  }

  .contact-section {
    padding: 0;
  }
  .contact-section > .container {
    width: 100%;
  }
  .contact-pitch,
  .contact-form-wrap {
    padding: 54px 18px;
  }
  .contact-pitch .section-title {
    font-size: clamp(40px, 12vw, 50px);
    line-height: .92;
  }
  .contact-form-wrap {
    padding-bottom: 64px;
    border-left: 0;
    border-right: 0;
  }
  .contact-form-wrap h3 {
    font-size: 31px;
  }
  .contact-phone-big {
    max-width: 100%;
    gap: 12px;
  }
  .contact-phone-big > svg {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }
  .contact-phone-big strong {
    font-size: 26px;
  }
  .contact-mini span {
    align-items: flex-start;
  }

  .contact-card h2,
  .contact-card h3 {
    font-size: 30px;
  }
  .local-alert-inner {
    grid-template-columns: 1fr;
  }
  .local-alert a,
  .local-alert-inner p {
    grid-column: 1;
    grid-row: auto;
  }
  .local-alert a {
    white-space: normal;
  }
  .local-facts,
  .nearby-box,
  .language-switch-card {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hub-location-card,
  .service-seo-links a {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 28px);
  }
  .brand-image {
    width: 126px;
  }
  .hero-inner,
  .subhero-inner {
    width: calc(100% - 28px);
  }
  .hero h1 {
    font-size: 50px;
  }
  .section-title,
  .contact-pitch .section-title {
    font-size: 40px;
  }
  .germany-copy h2 {
    font-size: 42px;
  }
  .btn {
    padding-left: 17px;
    padding-right: 17px;
  }
}


/* =========================================================
   Motion layer — subtle, purposeful, no heavy animation libs
   ========================================================= */

/* Scroll reveal. Activated by JS only after observers are ready. */
body.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .62s cubic-bezier(.2,.7,.2,1),
    transform .62s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
body.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* Hero: short entrance sequence on first load. */
@keyframes dampolHeroIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes dampolHeroCardIn {
  from { opacity: 0; transform: translate3d(20px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero--home .hero-copy > *,
.hero--home .hero-emergency-card {
  opacity: 0;
}
.hero--home.hero-ready .hero-copy > * {
  animation: dampolHeroIn .58s cubic-bezier(.2,.7,.2,1) both;
}
.hero--home.hero-ready .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero--home.hero-ready .hero-copy > *:nth-child(2) { animation-delay: .11s; }
.hero--home.hero-ready .hero-copy > *:nth-child(3) { animation-delay: .17s; }
.hero--home.hero-ready .hero-copy > *:nth-child(4) { animation-delay: .23s; }
.hero--home.hero-ready .hero-copy > *:nth-child(5) { animation-delay: .29s; }
.hero--home.hero-ready .hero-copy > *:nth-child(6) { animation-delay: .35s; }
.hero--home.hero-ready .hero-emergency-card {
  animation: dampolHeroCardIn .62s .34s cubic-bezier(.2,.7,.2,1) both;
}

/* Emergency status dot — quiet radar pulse. */
@keyframes dampolPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226,56,49,.28); }
  55% { box-shadow: 0 0 0 10px rgba(226,56,49,0); }
}
.pulse-dot { animation: dampolPulse 2.2s ease-out infinite; }
.local-alert .pulse-dot {
  animation-name: dampolPulseLight;
}
@keyframes dampolPulseLight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.28); }
  55% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

/* Interaction motion: restrained, mostly 2–4 px. */
.service-card,
.country-card,
.hub-location-card,
.post-card {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}
.service-card:hover,
.country-card:hover,
.hub-location-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
}
.service-card > svg,
.why-item > svg,
.trust-icon {
  transition: transform .24s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover > svg { transform: rotate(-5deg) scale(1.06); }
.why-item:hover > svg { transform: translateX(3px); }
.trust-item:hover .trust-icon { transform: translateY(-2px); }

.text-link svg,
.btn svg,
.location-links a span,
.germany-cities a b,
.service-card a {
  transition: transform .2s ease;
}
.text-link:hover svg,
.btn:hover svg { transform: translateX(3px); }
.location-links a:hover span,
.germany-cities a:hover b { transform: translateX(4px); }
.service-card a:hover { transform: translateX(3px); }

/* Gallery has a little more depth without zooming aggressively. */
.gallery-item img {
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.gallery-item:hover img {
  transform: scale(1.035);
  filter: contrast(1.03);
}

/* FAQ opens without a harsh snap. */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: grid-template-rows .28s ease, opacity .24s ease, padding-bottom .28s ease;
}
.faq-answer::before {
  content: "";
  min-height: 0;
}
.faq-answer > * { min-height: 0; }
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 23px;
}

/* Header feels less abrupt when it becomes sticky. */
.site-header.is-sticky .header-inner { min-height: 70px; }
.header-inner { transition: min-height .22s ease; }
.brand-image { transition: width .22s ease, transform .22s ease; }
.site-header.is-sticky .brand-image { transform: scale(.94); transform-origin: left center; }

@media (max-width: 720px) {
  /* Mobile: keep motion short and avoid elements travelling across the screen. */
  body.motion-ready .reveal {
    transform: translate3d(0, 14px, 0);
    transition-duration: .46s;
  }
  .hero--home.hero-ready .hero-emergency-card { animation-delay: .22s; }
  .service-card:hover,
  .country-card:hover,
  .hub-location-card:hover,
  .post-card:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero--home .hero-copy > *,
  .hero--home .hero-emergency-card,
  body.motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* v2.1.1 — lokalny link mapy */
.local-map-btn { width: 100%; background: transparent; border-color: #30363b; color: var(--ink); }
.local-map-btn:hover { background: #eef0f2; color: var(--ink); border-color: #cfd4d8; }
.local-map-btn svg { width: 18px; height: 18px; }


/* v2.1.4 — clean Facebook feed layout / fallback only on actual load failure */
.social-proof-section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background: #0b0e11;
  color: #fff;
}
.social-proof-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -260px;
  top: -260px;
  border: 76px solid rgba(226,56,49,.07);
  border-radius: 50%;
  pointer-events: none;
}
.social-proof-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.social-proof-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(500px,500px);
  gap: 92px;
  align-items: center;
}
.social-proof-copy { min-width: 0; }
.social-live {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: #c9cfd4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.social-live .pulse-dot { width: 8px; height: 8px; }
.social-proof-copy .section-title {
  max-width: 690px;
  font-size: clamp(54px,5.3vw,78px);
}
.social-proof-lead {
  max-width: 650px;
  margin: 24px 0 32px;
  color: #aeb5bb;
  font-size: 15px;
  line-height: 1.75;
}
.social-proof-points {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid #252a2f;
  border-bottom: 1px solid #252a2f;
  margin: 0 0 30px;
}
.social-proof-points > div {
  min-width: 0;
  padding: 24px 20px 24px 0;
  border-right: 1px solid #252a2f;
}
.social-proof-points > div + div { padding-left: 20px; }
.social-proof-points > div:last-child { border-right: 0; padding-right: 0; }
.social-proof-points span { display: block; width: 28px; height: 28px; margin-bottom: 15px; color: var(--red); }
.social-proof-points svg { width: 28px; height: 28px; }
.social-proof-points strong { display: block; font-family: var(--display); font-size: 19px; line-height: 1; text-transform: uppercase; }
.social-proof-points small { display: block; margin-top: 7px; color: #818990; font-size: 10px; line-height: 1.45; }
.btn--facebook { background: #fff; color: #111315; }
.btn--facebook:hover { background: #e8ebed; color: #111315; }

.facebook-live-card {
  width: 500px;
  max-width: 100%;
  min-width: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #2b3035;
  background: #13171b;
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}
.facebook-live-head {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border-bottom: 1px solid #2a2f34;
  background: #101317;
}
.facebook-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font: 800 29px/1 Arial,sans-serif;
}
.facebook-live-head small { display: block; color: #7f878e; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.facebook-live-head strong { display: block; overflow: hidden; color: #f4f5f6; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.facebook-live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #979fa5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  white-space: nowrap;
}
.facebook-live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(226,56,49,.1); }
.facebook-embed-shell {
  position: relative;
  min-height: 620px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #f2f3f5;
}
.facebook-page-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 500px;
  min-height: 620px;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity .3s ease;
}
.facebook-page-frame.is-loaded { opacity: 1; }
.facebook-feed-loader {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 24px;
  background: #f1f2f4;
  transition: opacity .25s ease;
}
.facebook-embed-shell.is-loaded .facebook-feed-loader { opacity: 0; pointer-events: none; }
.facebook-loader-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.facebook-loader-row i { width: 46px; height: 46px; border-radius: 50%; background: #d9dde1; }
.facebook-loader-row span { width: 46%; height: 12px; border-radius: 8px; background: #d9dde1; }
.facebook-feed-loader > b { display: block; width: 90%; height: 9px; margin: 0 0 10px; border-radius: 8px; background: #dde1e4; }
.facebook-feed-loader > b:nth-of-type(2) { width: 76%; }
.facebook-feed-loader > b:nth-of-type(3) { width: 58%; }
.facebook-loader-image { height: 310px; margin-top: 26px; background: #d9dde1; }
.facebook-feed-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent);
  animation: dampolFbShimmer 1.5s infinite;
}
@keyframes dampolFbShimmer { 100% { transform: translateX(100%); } }
.facebook-live-foot {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-top: 1px solid #2a2f34;
  color: #7f878d;
  font-size: 9px;
}
.facebook-live-foot a { color: #fff; font-weight: 800; white-space: nowrap; }
.facebook-live-foot a:hover { color: var(--red); }

@media (max-width: 980px) {
  .social-proof-grid { grid-template-columns: 1fr; gap: 48px; }
  .social-proof-copy { max-width: 760px; }
  .facebook-live-card { width: min(100%, 580px); }
}

@media (max-width: 720px) {
  .social-proof-section { padding: 72px 0; }
  .social-proof-grid { gap: 38px; }
  .social-proof-copy .section-title { font-size: clamp(42px,12vw,52px); }
  .social-proof-lead { font-size: 14px; }
  .social-proof-points { grid-template-columns: 1fr; }
  .social-proof-points > div,
  .social-proof-points > div + div {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    column-gap: 12px;
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid #252a2f;
  }
  .social-proof-points > div:last-child { border-bottom: 0; }
  .social-proof-points span { grid-row: 1 / span 2; margin: 0; }
  .social-proof-points strong { font-size: 18px; }
  .social-proof-points small { margin-top: 4px; }
  .btn--facebook { width: 100%; }
  .facebook-live-card { width: 100%; }
  .facebook-live-head { grid-template-columns: 38px minmax(0,1fr); min-height: 68px; padding: 13px 14px; }
  .facebook-mark { width: 38px; height: 38px; font-size: 26px; }
  .facebook-live-label { grid-column: 2; margin-top: -8px; }
  .facebook-embed-shell { min-height: 570px; }
  .facebook-page-frame { min-height: 570px; height: 570px; }
  .facebook-live-foot { align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px 14px; }
}

.facebook-feed-fallback {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 36px;
  background: #f1f2f4;
  color: #111315;
  text-align: center;
}
.facebook-embed-shell.is-blocked:not(.is-loaded) .facebook-feed-loader { display: none; }
.facebook-embed-shell.is-blocked:not(.is-loaded) .facebook-feed-fallback { display: grid; }
.facebook-feed-fallback .facebook-mark { margin-bottom: 4px; }
.facebook-feed-fallback strong { font-family: var(--display); font-size: 28px; line-height: .95; text-transform: uppercase; }
.facebook-feed-fallback p { max-width: 380px; margin: 0; color: #687078; font-size: 12px; }
@media (max-width:720px) {
  .facebook-feed-fallback { padding: 24px; }
  .facebook-feed-fallback strong { font-size: 24px; }
}
