/* KY Facility Management — bespoke white-led security design */
:root {
  --blue-950: #031426;
  --blue-900: #071f3a;
  --blue-800: #0b3155;
  --blue-700: #10476f;
  --teal-700: #06777e;
  --teal-600: #09a8ae;
  --teal-500: #14b9bd;
  --teal-300: #78dadd;
  --teal-100: #dff7f7;
  --teal-50: #f1fbfb;
  --green: #24a86b;
  --white: #fff;
  --paper: #fbfdfd;
  --mist: #f3f8f9;
  --ink: #10263a;
  --muted: #617487;
  --line: #dce7ea;
  --line-strong: #c7d6da;
  --shadow-sm: 0 12px 32px rgba(3, 31, 58, .07);
  --shadow: 0 28px 75px rgba(3, 31, 58, .12);
  --shadow-teal: 0 18px 40px rgba(20, 185, 189, .2);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --max: 1240px;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Avenir Next", Avenir, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
main { min-width: 0; }
h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--blue-900);
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
p { margin-top: 0; }
::selection { background: var(--teal-100); color: var(--blue-950); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: fixed; z-index: 999; left: 16px; top: 12px;
  padding: 10px 16px; border-radius: 8px; background: var(--blue-900); color: #fff;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { position: relative; padding: clamp(78px, 9vw, 132px) 0; }
.section-compact { padding: clamp(58px, 7vw, 92px) 0; }
.section-white { background: var(--white); }
.section-mist { background: var(--mist); }
.section-rule { border-top: 1px solid var(--line); }
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--teal-700); font-size: 12px; font-weight: 800; letter-spacing: .17em; line-height: 1.3; text-transform: uppercase;
}
.kicker::before, .eyebrow::before { width: 26px; height: 2px; background: var(--teal-500); content: ""; }
.section-title { max-width: 850px; margin-bottom: 22px; font-size: clamp(36px, 4.4vw, 63px); }
.section-title span, .accent { color: var(--teal-700); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: 64px; align-items: end; margin-bottom: 52px; }
.section-head .section-title { margin-bottom: 0; }
.intro { max-width: 580px; margin-bottom: 4px; color: var(--muted); font-size: 18px; }

/* Header */
.topline { position: relative; z-index: 51; border-bottom: 1px solid var(--line); background: var(--white); color: var(--blue-700); font-size: 12px; }
.topline-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topline-location { display: flex; align-items: center; gap: 8px; }
.topline-location i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(36,168,107,.1); }
.topline-contact { display: flex; gap: 10px; font-weight: 700; }
.topline a:hover { color: var(--teal-700); }
.site-header {
  position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(199,214,218,.75);
  background: rgba(255,255,255,.92); backdrop-filter: blur(18px); transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 32px rgba(3,31,58,.08); background: rgba(255,255,255,.97); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { flex: 0 0 auto; width: clamp(178px, 18vw, 232px); }
.logo img, .footer-logo { mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-group > a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  color: var(--blue-800); font-size: 14px; font-weight: 720; white-space: nowrap;
}
.nav > a::after, .nav-group > a::after {
  position: absolute; right: 13px; bottom: 6px; left: 13px; height: 2px; background: var(--teal-500); content: "";
  transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav-group:hover > a::after, .nav-group:focus-within > a::after { transform: scaleX(1); transform-origin: left; }
.nav-group { position: relative; }
.nav-group > a { gap: 6px; }
.nav-chevron { width: 9px; height: 9px; border-right: 1.7px solid; border-bottom: 1.7px solid; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
.nav-group:hover .nav-chevron, .nav-group:focus-within .nav-chevron { transform: translateY(2px) rotate(225deg); }
.mega-menu {
  position: absolute; top: calc(100% + 11px); left: 50%; width: min(690px, 80vw); padding: 18px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .25s var(--ease), visibility .2s;
}
.nav-group:hover .mega-menu, .nav-group:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu::before { position: absolute; top: -14px; right: 0; left: 0; height: 14px; content: ""; }
.mega-menu a { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 12px; border-radius: 12px; transition: background .2s ease, transform .2s ease; }
.mega-menu a:hover, .mega-menu a:focus-visible { background: var(--teal-50); transform: translateX(2px); }
.mega-menu b { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--teal-100); color: var(--teal-700); font-size: 12px; }
.mega-menu strong { display: block; color: var(--blue-900); font-size: 14px; line-height: 1.35; }
.mega-menu small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-link { color: var(--blue-800); font-size: 13px; font-weight: 780; white-space: nowrap; }
.phone-link:hover { color: var(--teal-700); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.menu-button span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--blue-900); transition: .25s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.button {
  display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: 10px; padding: 0 21px;
  border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 800; letter-spacing: .005em;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal-600); color: var(--blue-950); box-shadow: 0 10px 26px rgba(9,168,174,.2); }
.button-primary:hover { background: var(--teal-500); box-shadow: var(--shadow-teal); }
.button-secondary { border-color: var(--line-strong); background: var(--white); color: var(--blue-900); }
.button-secondary:hover { border-color: var(--teal-500); background: var(--teal-50); }
.button-dark { background: var(--blue-900); color: var(--white); box-shadow: 0 14px 30px rgba(3,31,58,.15); }
.button-small { min-height: 43px; padding-inline: 16px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-700); font-size: 14px; font-weight: 800; }
.text-link i { font-style: normal; transition: transform .25s var(--ease); }
.text-link:hover i { transform: translateX(5px); }

/* Home hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(66px, 8vw, 112px) 0 clamp(72px, 8vw, 118px);
  border-bottom: 1px solid var(--line); background: linear-gradient(125deg, #fff 15%, #f7fbfc 62%, #edf9f9 100%);
}
.hero::before { position: absolute; z-index: -1; inset: 0; opacity: .22; content: ""; background-image: linear-gradient(rgba(11,49,85,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11,49,85,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000, transparent 52%); }
.hero::after { position: absolute; z-index: -1; width: 680px; height: 680px; top: -340px; right: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(20,185,189,.18), rgba(20,185,189,0) 68%); content: ""; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .88fr); gap: clamp(54px, 7vw, 98px); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 790px; margin-bottom: 24px; font-size: clamp(47px, 5.6vw, 80px); letter-spacing: -.055em; }
.hero h1 span { color: var(--teal-700); }
.hero-copy > p { max-width: 720px; margin-bottom: 30px; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 34px; color: var(--blue-700); font-size: 13px; font-weight: 720; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-size: 11px; font-style: normal; }
.hero-visual { position: relative; min-width: 0; padding: 22px 12px 26px 28px; }
.hero-visual::before { position: absolute; inset: 0 16% 12% 0; border: 1px solid rgba(9,168,174,.32); border-radius: 30px; content: ""; transform: translate(-18px, 18px); }
.hero-image-frame { position: relative; overflow: hidden; aspect-ratio: 5 / 5.1; border-radius: 28px 28px 90px 28px; box-shadow: var(--shadow); background: var(--blue-900); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; opacity: .92; transition: transform 1s var(--ease); }
.hero-image-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(3,20,38,.72)); content: ""; }
.hero:hover .hero-image-frame img { transform: scale(1.025); }
.image-label { position: absolute; z-index: 1; right: 25px; bottom: 23px; left: 25px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 720; }
.image-label i { width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 5px rgba(20,185,189,.34); }
.hero-card { position: absolute; z-index: 2; right: -18px; top: 54px; width: 208px; padding: 16px; border: 1px solid rgba(220,231,234,.9); border-radius: 16px; background: rgba(255,255,255,.93); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.hero-card small { display: block; margin-bottom: 6px; color: var(--teal-700); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero-card strong { display: block; color: var(--blue-900); font-size: 15px; line-height: 1.35; }
.hero-marker { position: absolute; z-index: 2; bottom: 0; left: 0; width: 142px; padding: 14px 16px; border-radius: 14px; background: var(--blue-900); color: #fff; box-shadow: var(--shadow); }
.hero-marker b { display: block; color: var(--teal-300); font-size: 26px; line-height: 1; }
.hero-marker span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.signal-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 17px; min-width: 0; padding: 27px 28px; border-left: 1px solid var(--line); }
.signal-grid > div:last-child { border-right: 1px solid var(--line); }
.signal-grid > div > span { color: var(--teal-700); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.signal-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.signal-grid strong { display: block; margin-bottom: 2px; color: var(--blue-900); font-size: 14px; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 20px; }
.service-card {
  position: relative; grid-column: span 4; min-height: 430px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: 0 1px 0 rgba(3,31,58,.02); transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover { transform: translateY(-7px); border-color: rgba(9,168,174,.45); box-shadow: var(--shadow); }
.service-card picture { display: block; height: 222px; overflow: hidden; background: var(--mist); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover img { transform: scale(1.045); }
.service-card.object-focus img { object-position: center 25%; }
.service-card.analysis-card img { object-position: center 43%; }
.service-content { padding: 26px; }
.service-number { display: inline-block; margin-bottom: 20px; color: var(--teal-700); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.service-card h3 { margin-bottom: 12px; font-size: clamp(25px, 2.1vw, 31px); }
.service-card p { min-height: 76px; margin-bottom: 19px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-card:nth-child(1), .service-card:nth-child(2) { grid-column: span 6; }
.service-card:nth-child(1) picture, .service-card:nth-child(2) picture { height: 250px; }

/* Process and brand blocks */
.process-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 8vw, 112px); align-items: start; }
.process-layout .section-title { font-size: clamp(38px, 4vw, 58px); }
.process-list { border-top: 1px solid var(--line-strong); }
.process-row { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-row > span { color: var(--teal-700); font-size: 12px; font-weight: 850; letter-spacing: .15em; }
.process-row h3 { margin-bottom: 8px; font-size: 24px; }
.process-row p { max-width: 640px; margin: 0; color: var(--muted); }
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 46px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.value-strip > div { padding: 26px; border-right: 1px solid var(--line); }
.value-strip > div:last-child { border-right: 0; }
.value-strip strong { display: block; margin-bottom: 6px; color: var(--blue-900); }
.value-strip span { color: var(--muted); font-size: 13px; }

.why-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(50px, 7vw, 94px); align-items: center; }
.why-media { position: relative; min-height: 580px; }
.why-media picture:first-child img { width: 82%; height: 505px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.why-media picture:nth-child(2) img { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border: 9px solid #fff; border-radius: 22px; box-shadow: var(--shadow-sm); }
.why-media::after { position: absolute; top: 42px; right: 6%; width: 100px; height: 100px; border: 1px solid rgba(9,168,174,.45); border-radius: 50%; content: ""; }
.check-list { display: grid; gap: 0; padding: 0; margin: 28px 0 34px; list-style: none; border-top: 1px solid var(--line); }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.check-list li > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-size: 12px; font-weight: 900; }
.check-list strong { display: block; color: var(--blue-900); }

/* Region radar */
.region-section { overflow: hidden; background: linear-gradient(135deg, #f4fbfb 0%, #fff 52%, #f2f8fa 100%); }
.region-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(440px,1.1fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.region-copy p { max-width: 570px; color: var(--muted); font-size: 18px; }
.region-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.region-links a, .region-links span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-800); font-size: 12px; font-weight: 750; }
.radar-shell { position: relative; display: grid; place-items: center; min-height: 550px; }
.radar { position: relative; width: min(520px, 92vw); aspect-ratio: 1; border: 1px solid rgba(9,168,174,.24); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 20%, rgba(9,168,174,.12) 20.3% 20.7%, transparent 21% 40%), linear-gradient(rgba(9,168,174,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(9,168,174,.12) 1px, transparent 1px), radial-gradient(circle, #fff 0 4%, rgba(223,247,247,.75) 4.5% 58%, rgba(255,255,255,.55) 59%); background-size: 100% 100%, 100% 50%, 50% 100%, 100% 100%; overflow: hidden; box-shadow: inset 0 0 70px rgba(9,168,174,.08), var(--shadow-sm); }
.radar::before { position: absolute; inset: -1px; border-radius: 50%; content: ""; background: conic-gradient(from 0deg, transparent 0deg 292deg, rgba(20,185,189,.02) 306deg, rgba(20,185,189,.36) 359deg, rgba(20,185,189,.5) 360deg); animation: radar-sweep 6s linear infinite; transform-origin: center; }
.radar::after { position: absolute; inset: 50% auto auto 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-600); box-shadow: 0 0 0 8px rgba(20,185,189,.13), 0 0 25px rgba(20,185,189,.35); content: ""; transform: translate(-50%,-50%); }
.radar-label { position: absolute; z-index: 3; padding: 8px 12px; border: 1px solid rgba(36,168,107,.55); border-radius: 999px; background: rgba(255,255,255,.93); color: #167a50; font-size: 11px; font-weight: 820; box-shadow: 0 9px 22px rgba(3,31,58,.08); }
.radar-label::before { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(36,168,107,.12); content: ""; animation: radar-ping 3s ease-out infinite; }
.radar-label.one { top: 26%; left: 50%; animation-delay: .4s; }
.radar-label.two { top: 57%; left: 15%; animation-delay: 1.4s; }
.radar-label.three { top: 70%; right: 10%; animation-delay: 2.2s; }
.radar-caption { position: absolute; z-index: 3; bottom: 3px; left: 50%; padding: 10px 14px; border-radius: 10px; background: var(--blue-900); color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }
@keyframes radar-sweep { to { transform: rotate(360deg); } }
@keyframes radar-ping { 50% { box-shadow: 0 0 0 8px rgba(36,168,107,0); } }

.cta-section { padding: clamp(68px, 8vw, 100px) 0; background: var(--white); }
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr auto; gap: 45px; align-items: center; padding: clamp(38px, 6vw, 70px); border-radius: 28px; background: var(--blue-900); color: #fff; box-shadow: var(--shadow); }
.cta-panel::after { position: absolute; right: -70px; top: -110px; width: 330px; height: 330px; border: 1px solid rgba(120,218,221,.24); border-radius: 50%; content: ""; box-shadow: 0 0 0 48px rgba(120,218,221,.05), 0 0 0 96px rgba(120,218,221,.03); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 770px; margin-bottom: 12px; color: #fff; font-size: clamp(34px, 4vw, 54px); }
.cta-panel p { max-width: 690px; margin: 0; color: #bfd0db; }

/* Page heroes */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 36px; color: var(--muted); font-size: 12px; font-weight: 650; }
.breadcrumbs a:hover { color: var(--teal-700); }
.breadcrumbs span[aria-current="page"] { color: var(--blue-800); }
.page-hero { position: relative; overflow: hidden; padding: 48px 0 clamp(72px, 9vw, 116px); border-bottom: 1px solid var(--line); background: linear-gradient(135deg,#fff 14%,#f5fafb 100%); }
.page-hero::after { position: absolute; z-index: 0; top: -270px; right: -180px; width: 630px; height: 630px; border: 1px solid rgba(9,168,174,.16); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(9,168,174,.03),0 0 0 140px rgba(9,168,174,.02); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,.78fr); gap: clamp(54px,8vw,104px); align-items: center; }
.page-hero h1 { max-width: 840px; margin-bottom: 22px; font-size: clamp(46px, 5.6vw, 76px); letter-spacing: -.052em; }
.page-baustelle .page-hero h1 { font-size: clamp(42px, 3.8vw, 54px); }
.page-hero-copy > p, .page-hero-grid > div > p { max-width: 690px; margin-bottom: 29px; color: var(--muted); font-size: 18px; }
.page-hero-media { position: relative; }
.page-hero-media picture { display: block; overflow: hidden; aspect-ratio: 4/3; border-radius: 24px 24px 72px 24px; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media.object-focus img { object-position: center 26%; }
.page-hero-media.analysis-focus img { object-position: 48% 48%; }
.page-hero-media::before { position: absolute; z-index: -1; inset: -16px 20px 20px -16px; border: 1px solid rgba(9,168,174,.35); border-radius: 24px; content: ""; }
.page-hero-note { position: absolute; right: -18px; bottom: 22px; max-width: 190px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); color: var(--blue-900); font-size: 12px; font-weight: 760; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--teal-700); font-size: 13px; font-weight: 800; }
.back-link:hover { gap: 12px; }

/* Unique service-page systems */
.content-intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px,8vw,110px); align-items: start; }
.content-intro-grid .lead { color: var(--muted); font-size: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.feature-card:hover { border-color: rgba(9,168,174,.55); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-card span { display: block; margin-bottom: 28px; color: var(--teal-700); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.feature-card h3 { margin-bottom: 10px; font-size: 23px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.matrix { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.matrix-item { padding: 30px; background: #fff; }
.matrix-item b { display: block; margin-bottom: 8px; color: var(--blue-900); font-size: 17px; }
.matrix-item p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline { position: relative; display: grid; gap: 18px; max-width: 880px; margin-inline: auto; }
.timeline::before { position: absolute; top: 18px; bottom: 18px; left: 27px; width: 1px; background: var(--teal-300); content: ""; }
.timeline-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.timeline-step { z-index: 1; display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid var(--teal-300); border-radius: 50%; background: #fff; color: var(--teal-700); font-size: 11px; font-weight: 850; }
.timeline-card { padding: 25px 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.timeline-card h3 { margin-bottom: 8px; font-size: 24px; }
.timeline-card p { margin: 0; color: var(--muted); }
.access-flow, .tech-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.flow-step { position: relative; padding: 31px 24px; border-right: 1px solid var(--line); }
.flow-step:last-child { border-right: 0; }
.flow-step::after { position: absolute; z-index: 2; top: 40px; right: -10px; display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--teal-700); content: "→"; font-size: 10px; }
.flow-step:last-child::after { display: none; }
.flow-step span { display: block; margin-bottom: 28px; color: var(--teal-700); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.flow-step h3 { margin-bottom: 8px; font-size: 21px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; }
.service-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--teal-50); }
.service-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 26px; }
.service-band strong { color: var(--blue-900); }
.service-band p { margin: 0; color: var(--muted); font-size: 14px; }
.service-nav { display: flex; justify-content: space-between; gap: 22px; padding: 34px 0; border-top: 1px solid var(--line); }
.service-nav a { display: flex; flex: 1; flex-direction: column; padding: 19px 21px; border: 1px solid var(--line); border-radius: 14px; transition: .25s ease; }
.service-nav a:last-child { text-align: right; }
.service-nav a:hover { border-color: var(--teal-500); background: var(--teal-50); }
.service-nav small { color: var(--muted); }
.service-nav strong { color: var(--blue-900); }

/* Analysis, service overview, region */
.analysis-dashboard { display: grid; grid-template-columns: .72fr 1.28fr; gap: 22px; }
.analysis-score { display: flex; min-height: 390px; flex-direction: column; justify-content: space-between; padding: 34px; border-radius: 22px; background: var(--blue-900); color: #fff; }
.analysis-score small { color: var(--teal-300); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.analysis-score h3 { max-width: 380px; color: #fff; font-size: clamp(30px,3.4vw,46px); }
.analysis-score p { margin: 0; color: #bdd0db; }
.analysis-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.analysis-field { display: flex; min-height: 188px; flex-direction: column; justify-content: space-between; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.analysis-field span { color: var(--teal-700); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.analysis-field strong { color: var(--blue-900); font-size: 20px; }
.region-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.region-detail-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.region-detail-card h3 { font-size: 23px; }
.region-detail-card p { margin: 0; color: var(--muted); }

/* Editorial content and FAQs */
.editorial-grid, .content-layout { display: grid; grid-template-columns: minmax(0,1.36fr) minmax(290px,.52fr); gap: clamp(45px,7vw,90px); align-items: start; }
.rich-copy { min-width: 0; }
.rich-copy > h2 { margin-top: 52px; margin-bottom: 16px; font-size: clamp(30px,3.1vw,43px); }
.rich-copy > h2:first-child { margin-top: 0; }
.rich-copy > h3 { margin-top: 30px; margin-bottom: 10px; font-size: 23px; }
.rich-copy > p { max-width: 780px; color: var(--muted); font-size: 17px; }
.rich-copy > ul { display: grid; gap: 11px; padding: 0; margin: 25px 0; list-style: none; }
.rich-copy > ul li { position: relative; padding-left: 30px; color: var(--muted); }
.rich-copy > ul li::before { position: absolute; top: .64em; left: 0; width: 8px; height: 8px; border: 2px solid var(--teal-600); border-radius: 50%; content: ""; }
.info-card { position: sticky; top: 118px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.info-card h3 { margin-bottom: 12px; font-size: 27px; }
.info-card p { color: var(--muted); }
.info-card .button { width: 100%; margin-top: 10px; }
.faq { margin-top: 22px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 21px 44px 21px 0; color: var(--blue-900); font-weight: 780; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 19px; right: 4px; color: var(--teal-700); content: "+"; font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 30px 20px 0; color: var(--muted); }

/* Contact and legal */
.contact-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(40px,7vw,84px); align-items: start; }
.contact-stack { display: grid; border-top: 1px solid var(--line-strong); }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; margin-bottom: 5px; color: var(--teal-700); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.contact-item a, .contact-item strong { color: var(--blue-900); font-size: 17px; }
.contact-form { padding: clamp(28px,4vw,46px); border: 1px solid var(--line); border-radius: 22px; background: var(--mist); }
.contact-form h2 { margin-bottom: 27px; font-size: clamp(31px,3vw,42px); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { min-width: 0; }
.field.full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 7px; color: var(--blue-800); font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--blue-900); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal-500); outline-offset: 1px; border-color: var(--teal-500); }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.notice { display: none; margin-top: 12px; padding: 12px; border-radius: 8px; background: var(--teal-100); color: var(--blue-900); font-size: 13px; }
.notice.is-visible { display: block; }
.legal-shell { max-width: 900px; }
.legal-notice { margin-bottom: 34px; padding: 22px 24px; border-left: 4px solid var(--teal-500); border-radius: 0 12px 12px 0; background: var(--teal-50); color: var(--blue-800); }
.legal-copy h2 { margin-top: 42px; font-size: 29px; }
.legal-copy h3 { margin-top: 25px; font-size: 20px; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--white); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr .95fr .9fr; gap: 50px; padding: 68px 0 48px; }
.footer-brand { max-width: 320px; }
.footer-logo { width: 272px; margin-bottom: 22px; }
.footer-grid p { font-size: 13px; }
.footer-grid h3 { margin: 4px 0 18px; color: var(--blue-900); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a { padding: 4px 0; color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: var(--teal-700); }
.footer-contact strong { color: var(--blue-900); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 21px 0 28px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-bottom a:hover { color: var(--teal-700); }

/* Motion-inspired, dependency-free reveals */
html.has-js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
html.has-js [data-reveal].is-visible { opacity: 1; transform: none; }
html.has-js [data-reveal="fade"] { transform: none; }
html.has-js [data-reveal="left"] { transform: translateX(-22px); }
html.has-js [data-reveal="right"] { transform: translateX(22px); }
.radar::before, .radar-label::before { animation-play-state: paused; }
.radar.is-active::before, .radar.is-active .radar-label::before { animation-play-state: running; }
.hover-line { position: relative; }
.hover-line::after { position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.hover-line:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 1120px) {
  .nav > a, .nav-group > a { padding-inline: 9px; }
  .phone-link { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(360px,.75fr); }
  .hero-card { right: -4px; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .95fr; }
  .footer-grid > div:last-child { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,auto); gap: 12px 28px; align-items: start; }
  .footer-grid > div:last-child h3 { grid-column: 1/-1; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .topline-location { display: none; }
  .topline-inner { justify-content: center; }
  .header-inner { height: 72px; }
  .header-actions .button { display: none; }
  .menu-button { display: block; }
  .nav {
    position: fixed; z-index: 49; top: 108px; right: 0; left: 0; max-height: calc(100vh - 108px); overflow-y: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 17px 28px; border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.99); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav-group > a { width: 100%; min-height: 50px; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav > a::after, .nav-group > a::after { display: none; }
  .nav-group { width: 100%; }
  .nav-group > a { justify-content: space-between; }
  .mega-menu { position: static; width: 100%; padding: 10px 0; display: grid; grid-template-columns: 1fr; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .mega-menu small { display: none; }
  .mega-menu a { padding: 8px 10px; }
  .hero { padding-top: 62px; }
  .hero-grid, .page-hero-grid, .why-grid, .region-grid, .process-layout, .content-intro-grid, .analysis-dashboard, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; }
  .hero-card { right: 0; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .signal-grid > div:last-child { border-bottom: 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(2) { grid-column: span 6; }
  .feature-grid, .region-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .value-strip { grid-template-columns: repeat(2,1fr); }
  .value-strip > div:nth-child(2) { border-right: 0; }
  .value-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why-media { max-width: 680px; }
  .region-grid { gap: 18px; }
  .radar-shell { min-height: 510px; }
  .page-hero-grid { gap: 52px; }
  .page-hero-media { max-width: 650px; }
  .editorial-grid, .content-layout { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .access-flow, .tech-flow { grid-template-columns: repeat(2,1fr); }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow-step:nth-child(2)::after { display: none; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.15fr 1fr 1fr; gap: 38px 25px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topline { display: none; }
  .nav { top: 72px; max-height: calc(100vh - 72px); }
  .logo { width: 182px; }
  .hero { padding: 48px 0 68px; }
  .hero h1, .page-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .page-baustelle .page-hero h1 { font-size: clamp(28px, 7.4vw, 34px); }
  .hero-copy > p { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr; }
  .hero-visual { padding: 14px 0 28px 10px; }
  .hero-image-frame { border-radius: 22px 22px 58px 22px; }
  .hero-card { top: 32px; width: 174px; }
  .hero-marker { left: -1px; width: 124px; }
  .section { padding: 72px 0; }
  .section-title { font-size: clamp(34px, 10vw, 48px); }
  .services-grid { display: grid; grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(2) { grid-column: 1; min-height: auto; }
  .service-card p { min-height: 0; }
  .process-row { grid-template-columns: 46px 1fr; gap: 10px; }
  .feature-grid, .region-detail-grid, .matrix, .analysis-fields, .form-grid { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip > div:last-child { border-bottom: 0; }
  .why-media { min-height: 430px; }
  .why-media picture:first-child img { width: 90%; height: 370px; }
  .why-media picture:nth-child(2) img { width: 48%; border-width: 6px; }
  .radar-shell { min-height: 390px; }
  .radar-label { padding: 6px 8px; font-size: 9px; }
  .radar-caption { font-size: 9px; white-space: nowrap; }
  .page-hero { padding: 28px 0 70px; }
  .breadcrumbs { margin-bottom: 28px; }
  .page-hero-media::before { inset: -10px 12px 12px -10px; }
  .page-hero-note { right: 8px; bottom: -20px; }
  .access-flow, .tech-flow { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .flow-step::after { display: none; }
  .service-band-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
  .service-nav { flex-direction: column; }
  .service-nav a:last-child { text-align: left; }
  .contact-form { padding: 24px 18px; }
  .field.full { grid-column: auto; }
  .cta-panel { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 52px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1/-1; }
  .footer-grid > div:last-child { display: flex; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  html.has-js [data-reveal] { opacity: 1; transform: none; }
  .radar::before, .radar-label::before { animation: none !important; }
}
