/* DriveLink Solutions – main.css – Version 1.2.9 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F2EDE6;
  --cream-dark: #E8E1D8;
  --red: #CC1F2A;
  --red-light: #F5DADA;
  --navy: #1C2B3A;
  --white: #FFFFFF;
  --text: #1C2B3A;
  --muted: #5A6A7A;
  --border: #D8D0C6;
  --font: 'Barlow', sans-serif;
  --r: 16px;
  --r-sm: 10px;
  --sec-pad: 56px 80px;
  --container: 1200px;
  --header-logo-height: 48px;
  --header-logo-mobile-height: 38px;
  --header-logo-compact-height: 36px;
  --header-logo-max-width: 250px;
  --header-logo-tablet-max-width: 230px;
  --header-logo-mobile-max-width: 190px;
  --header-logo-compact-max-width: 174px;
  --header-height: max(72px, calc(var(--header-logo-height) + 20px));
  --admin-bar-offset: 0px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--cream); color: var(--text); line-height: 1.5; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ── HEADER & NAV ── */
.admin-bar { --admin-bar-offset: 32px; }
.dls-site-header {
  position: sticky; top: var(--admin-bar-offset); z-index: 1000;
  background: rgba(242,237,230,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .18s ease;
}
.dls-site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.header-inner {
  position: relative;
  width: 100%; max-width: calc(var(--container) + 160px); height: var(--header-height);
  margin-inline: auto; padding-inline: 80px;
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center; gap: clamp(20px, 2vw, 32px);
}
.site-branding {
  display: flex; align-items: center; justify-self: start;
  width: 100%; min-width: 0; max-width: var(--header-logo-max-width);
}
.dls-header-logo-link {
  display: inline-flex; align-items: center;
  height: var(--header-logo-height); max-width: 100%; text-decoration: none;
}
.dls-header-logo {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 100%; object-fit: contain; object-position: left center;
}
.nav-logo-text { overflow: hidden; color: var(--navy); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.primary-navigation { min-width: 0; justify-self: center; }
.nav-links {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 1.55vw, 28px); list-style: none; margin: 0; padding: 0;
}
.nav-links li { min-width: 0; }
.nav-links li a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav-links li a:hover { color: var(--red); }
.nav-links li.current-menu-item > a,
.nav-links li.current-menu-ancestor > a,
.nav-links li a.is-active { color: var(--red); font-weight: 600; }
.nav-cta-desktop { justify-self: end; }
.primary-navigation .nav-cta-mobile, .nav-toggle { display: none; }
.nav-toggle {
  width: 46px; height: 44px; border: 1.5px solid var(--border); border-radius: 12px;
  background: rgba(255,255,255,.5); color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle:hover { border-color: var(--navy); background: white; }
.nav-toggle-lines { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle-lines > span {
  position: absolute; left: 0; top: 0; display: block;
  width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: top .18s ease, transform .18s ease, opacity .18s ease;
}
.nav-toggle-lines > span:nth-child(2) { top: 6px; }
.nav-toggle-lines > span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-lines > span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-lines > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle-lines > span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.screen-reader-text,
.nav-toggle-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

#leistungen,
#mobility-services,
#websites-webanwendungen,
#digitalisierung,
#zielgruppen,
#kontakt {
  scroll-margin-top: calc(var(--header-height) + var(--admin-bar-offset) + 24px);
}

/* ── BUTTONS ── */
.btn-outline {
  padding: 12px 24px; border: 1.5px solid var(--navy); border-radius: 30px;
  background: transparent; color: var(--navy); font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: all .18s;
  text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap;
}
.btn-outline:hover { background: var(--navy); color: white; }
.btn-red, .nav-cta {
  padding: 12px 24px; background: var(--red); border: none; border-radius: 30px;
  color: white !important; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: background .18s;
  text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap;
}
.btn-red:hover, .nav-cta:hover { background: #b01820; }
.btn-ghost {
  display: inline-flex; align-items: center; padding: 11px 22px;
  border: 1.5px solid var(--navy); border-radius: 30px;
  background: transparent; color: var(--red); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: all .18s; text-decoration: none;
}
.btn-ghost:hover { background: var(--navy); color: white; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: var(--cream);
}

/* Full-width visual stage behind the content */
.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #E8E1D8 0%, #DDD5CA 45%, #D4C9BC 100%);
  display: block;
}
.hero-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(242,237,230,0.98) 0%, rgba(242,237,230,0.95) 27%, rgba(242,237,230,0.72) 48%, rgba(242,237,230,0.18) 72%, rgba(242,237,230,0.02) 100%),
    radial-gradient(ellipse at 76% 44%, rgba(204,31,42,.08) 0%, transparent 58%),
    radial-gradient(ellipse at 28% 80%, rgba(28,43,58,.05) 0%, transparent 48%);
  pointer-events: none;
}
.hero-svg-scene {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: .95;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 96px));
  margin-left: max(48px, calc((100vw - var(--container)) / 2));
  padding: 48px 0;
}
.hero-label { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--red); text-transform: uppercase; margin-bottom: 14px; }
.hero-title {
  font-size: clamp(44px, 5.2vw, 82px);
  font-weight: 900; line-height: 1.02; color: var(--navy);
  margin-bottom: 18px; letter-spacing: -.02em;
  max-width: 100%;
}
.hero-sub {
  font-size: 15px; color: var(--muted); margin-bottom: 28px; line-height: 1.65;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── SECTIONS ── */
.sec { padding: var(--sec-pad); }
.container { max-width: var(--container); margin: 0 auto; }

.sec-header { margin-bottom: 36px; }
.sec-label { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--red); text-transform: uppercase; margin-bottom: 14px; display: block; }
.sec-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900; line-height: 1.1; color: var(--navy); letter-spacing: -.02em;
  margin-bottom: 14px; text-wrap: balance;
}
/* Body text: full width, no artificial wrapping */
.sec-body {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  max-width: 100%; /* let it flow naturally */
}

/* ── LEISTUNGEN ── */
#leistungen { background: var(--cream); padding-top: 36px; padding-bottom: 56px; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 32px; }
.scard { background: white; border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; height: 100%; transition: box-shadow .2s, transform .2s; }
.scard:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-2px); }
.scard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.scard-num { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: .1em; }
.scard-vis { width: 64px; height: 52px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.scard-vis.m { background: linear-gradient(135deg,#C8A882,#D4956A,#CC4444); }
.scard-vis.d { background: linear-gradient(135deg,#2E4060,#1C2B3A); }
.scard-vis.a { background: linear-gradient(135deg,#8B9BAA,#4A6070,#1C2B3A); }
.scard-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
.scard-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.scard-link { font-size: 13px; font-weight: 600; color: var(--red); text-decoration: none; }
.scard-link:hover { text-decoration: underline; }

/* ── EINZELTHEMEN SLIDER ── */
#einzelthemen { background: var(--cream); padding: var(--sec-pad); }
.slider-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.slider-title-wrap, .slider-title { margin-bottom: 0; }
.slider-title-wrap { min-width: 0; }
.slider-arrows { display: flex; gap: 8px; align-items: flex-end; }
.arrow-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--navy); transition: all .18s; }
.arrow-btn:hover { border-color: var(--navy); background: var(--navy); color: white; }
.slider-wrap { overflow: hidden; border-radius: var(--r); margin-top: 24px; }
.slider-track { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.slide { display: grid; grid-template-columns: 1fr 1fr; min-width: 100%; gap: 14px; align-items: stretch; }
.slide-l { background: var(--navy); border-radius: var(--r); padding: 36px 40px; color: white; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
.snum { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.stitle { font-size: 22px; font-weight: 800; color: white; margin-bottom: 8px; }
.sdesc { font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.6; margin-bottom: 22px; }
.scta { display: inline-flex; align-items: center; padding: 10px 22px; border: 1px solid rgba(255,255,255,.28); border-radius: 30px; background: rgba(255,255,255,.07); color: white; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font); transition: background .18s; text-decoration: none; align-self: flex-start; }
.scta:hover { background: rgba(255,255,255,.14); }
.slide-r { border-radius: var(--r); overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.vis-arc { background: linear-gradient(135deg,#8BABB8,#6A8898,#4A6878); }
.vis-car { background: linear-gradient(135deg,#C8A882,#D4956A,#CC6633); }
.vis-dash { background: linear-gradient(135deg,#3A5068,#2A3A4A); }
.vis-web { background: linear-gradient(135deg,#7A8D9A,#5A7080,#2E4060); }
.vis-digi { background: linear-gradient(135deg,#D4956A,#AA6644,#884422); }
.slider-dots { display: flex; gap: 8px; margin-top: 18px; }
.dot { width: 12px; height: 12px; border: 2px solid var(--cream); border-radius: 50%; background: var(--border); cursor: pointer; padding: 0; transition: background .18s; }
.dot.on { background: var(--red); }

/* ── ZIELGRUPPEN ── */
#zielgruppen { background: var(--cream); padding: var(--sec-pad); }
.aud-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.aud-btn { min-height: 44px; padding: 10px 20px; border-radius: 30px; border: 1.5px solid var(--border); background: white; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--text); cursor: pointer; transition: border-color .18s, background .18s, color .18s; white-space: normal; }
.aud-btn:hover { border-color: var(--red); color: var(--red); }
.aud-btn.on { background: var(--red-light); border-color: var(--red); color: var(--red); font-weight: 600; }
.aud-panel { background: white; border-radius: var(--r); padding: 32px 36px; display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; }
.aud-vis { border-radius: var(--r-sm); aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg,#3A5068,#1C2B3A); display: flex; align-items: center; justify-content: center; }
.aud-info-label { font-size: 10px; font-weight: 700; letter-spacing: .15em; color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.aud-info-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.aud-info-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.alist { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.alist li { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.alist li::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--red); flex-shrink:0; }

/* ── ARBEITSWEISE ── */
#arbeitsweise { background: var(--cream); padding: var(--sec-pad); }
.steps-intro { margin-bottom: 44px; }
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.steps-row::before { content:''; position:absolute; top: 21px; left: 44px; right: 44px; height: 1px; background: var(--border); z-index: 0; }
.step { position: relative; z-index: 1; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--red-light); color: var(--red); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step-title { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; padding-right: 32px; }

/* ── WHY — in Container eingebunden, gleiche Breite wie andere Sektionen ── */
.why-wrap { padding: var(--sec-pad); }
.why-inner {
  background: var(--red); border-radius: 22px; padding: 60px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden;
  /* kein extra max-width — wird durch .container des umgebenden sec gesteuert */
}
.why-inner::before { content:''; position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,.05); top:-80px; right:-60px; }
.why-inner::after { content:''; position:absolute; width:200px; height:200px; border-radius:50%; background:rgba(255,255,255,.04); bottom:-60px; right:130px; }
.why-section { background: var(--cream); }
.why-label { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: rgba(255,255,255,.55); text-transform: uppercase; margin-bottom: 18px; display: block; }
.why-title { font-size: clamp(26px,3.2vw,44px); font-weight: 900; color: white; line-height: 1.06; margin-bottom: 14px; letter-spacing: -.02em; }
.why-sub { font-size: 14px; color: rgba(255,255,255,.68); line-height: 1.7; margin-bottom: 22px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.why-list li { font-size: 14px; color: rgba(255,255,255,.84); display: flex; align-items: center; gap: 10px; }
.why-list li::before { content:''; width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.45); flex-shrink:0; }
.why-vis-card { background: rgba(255,255,255,.11); border-radius: 20px; width: 210px; height: 152px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr 1fr auto; gap: 7px; padding: 18px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.13); position: relative; z-index: 1; margin: auto; }
.wb { border-radius: 7px; background: rgba(255,255,255,.11); }
.wb-dots { grid-column: 1/-1; display: flex; gap: 5px; align-items: center; background: transparent; }
.wb-dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.18); }
.wb-wide-primary { grid-column: 1/-1; height: 36px; background: rgba(255,255,255,.08); }
.wb-wide-secondary { grid-column: 1/-1; height: 26px; background: rgba(255,255,255,.05); }

/* ── KONTAKT ── */
#kontakt { background: white; padding: var(--sec-pad); }
.kontakt-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; margin-top: 32px; align-items: stretch; }
.kontakt-layout > *, .kontakt-left, .kinfo-row, .kcard { min-width: 0; }
.kcard { max-width: 100%; }
.kontakt-left { display: flex; flex-direction: column; gap: 10px; }
.kinfo-row { display: flex; flex-direction: column; gap: 8px; }
.kcard { background: var(--cream); border-radius: var(--r-sm); padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.kcard-link { text-decoration: none; color: inherit; transition: background .18s ease, transform .18s ease; }
.kcard-link:hover { background: #e9e3da; transform: translateY(-1px); }
.kcard-icon { width: 34px; height: 34px; border-radius: 8px; background: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kcard-icon svg { width: 16px; height: 16px; }
.kcard-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kcard-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.kcard-val { font-size: 13.5px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.knote { background: var(--navy); border-radius: var(--r); padding: 26px 28px; color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.7; font-weight: 500; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.knote p { margin: 0; max-width: 40ch; }
.knote p + p { margin-top: 12px; }
.kform { position: relative; background: var(--cream); border-radius: var(--r); padding: 28px 32px; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrp { display: flex; flex-direction: column; gap: 5px; }
.fgrp.full { grid-column: 1/-1; }
.flabel { font-size: 12px; font-weight: 600; color: var(--navy); }
.form-required { color: var(--red); font-weight: 800; }
.form-optional { color: var(--muted); font-size: 11px; font-weight: 500; }
.finput, .ftarea { padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: white; font-family: var(--font); font-size: 13px; color: var(--text); outline: none; transition: border-color .18s; width: 100%; }
.finput:focus, .ftarea:focus { border-color: var(--navy); }
.finput::placeholder, .ftarea::placeholder { color: #AAAAAA; }
.ftarea { resize: vertical; min-height: 100px; }
.fsubmit { width: 100%; margin-top: 14px; padding: 13px; background: transparent; border: 1.5px solid var(--navy); border-radius: 30px; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--red); cursor: pointer; transition: all .18s; }
.fsubmit:hover { background: var(--navy); color: white; }
.form-notice { border-radius: var(--r-sm); margin-bottom: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.5; }
.form-notice-success { background: #e3f1e8; color: #245d36; }
.form-notice-error { background: var(--red-light); color: #7d151c; }
.contact-form__privacy-notice { margin: 16px 0 12px; color: #53606d; font-size: 12px; line-height: 1.6; }
.contact-form__privacy-notice a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: .16em; }
.contact-form__privacy-notice a:hover { color: var(--navy); }
.contact-form__privacy-notice a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.dls-hp {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important; white-space: nowrap !important;
}

/* ── STANDARD- UND RECHTSTEXT-SEITEN ── */
.page-main { background: var(--cream); }
.content-shell {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding: clamp(48px, 6vw, 76px) 80px;
}
.legal-page .content-shell { max-width: 900px; padding-inline: 24px; }
.page-header { margin-bottom: 30px; }
.page-title {
  color: var(--navy); font-size: clamp(36px, 4.5vw, 56px); font-weight: 900;
  letter-spacing: -.02em; line-height: 1.08; overflow-wrap: anywhere;
}
.entry-content {
  color: var(--text); font-size: 16px; line-height: 1.72;
  overflow-wrap: anywhere; word-break: normal;
}
.entry-content > * { max-width: 100%; }
.entry-content > * + * { margin-top: 16px; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  color: var(--navy); font-weight: 800; letter-spacing: -.01em; line-height: 1.25;
}
.entry-content h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 36px; }
.entry-content h3 { font-size: clamp(19px, 2.4vw, 23px); margin-top: 28px; }
.entry-content h4 { font-size: 18px; margin-top: 24px; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: 12px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li + li { margin-top: 7px; }
.entry-content a { color: #B01820; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.entry-content a:hover { color: var(--navy); }
.entry-content blockquote { border-left: 4px solid var(--red); padding: 4px 0 4px 20px; }
.entry-content table { border-collapse: collapse; table-layout: fixed; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content pre, .entry-content .wp-block-table { max-width: 100%; overflow-x: auto; }

/* ── FOOTER ── */
.dls-footer {
  background: var(--cream); border-top: 1px solid var(--border);
  padding: clamp(56px,5vw,70px) 80px 30px; color: var(--navy);
}
.footer-main-grid, .footer-bottom { width: min(100%, 1200px); margin-inline: auto; }
.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr) minmax(0,.85fr);
  gap: clamp(48px,6vw,96px); align-items: start; padding-bottom: clamp(46px,4vw,58px);
}
.footer-main-grid.footer-columns-2 { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
.footer-main-grid.footer-columns-1 { grid-template-columns: minmax(0,1fr); }
.footer-column { min-width: 0; }
.footer-company-brand { max-width: 430px; }
.footer-brand-label, .fcol-title {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.footer-brand-label { margin-bottom: 10px; color: var(--red); }
.footer-tagline { margin-bottom: 10px; color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.35; }
.fbrand-desc { max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.footer-logo { max-width: 260px; margin-bottom: 14px; }
.footer-logo .custom-logo-link { display: inline-flex; align-items: center; max-width: 260px; }
.footer-logo .custom-logo {
  display: block; width: auto; height: auto; max-width: 260px; max-height: 60px; object-fit: contain;
}
.footer-company-navigation { margin-top: 22px; }
.fcol-title { margin: 0 0 13px; color: var(--navy); line-height: 1.3; }
.footer-contact-details { margin: 0; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.62; overflow-wrap: anywhere; }
.footer-contact-company { color: var(--navy); font-weight: 700; }
.footer-contact-channel { line-height: 1.35; }
.footer-contact-channel:first-of-type { margin-top: 8px; }
.footer-menu, .footer-menu .sub-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { min-width: 0; line-height: 1.4; }
.footer-menu > li + li { margin-top: 1px; }
.footer-menu .sub-menu {
  margin: 2px 0 4px 12px; padding-left: 12px; border-left: 1px solid var(--border);
}
.footer-menu .sub-menu li + li { margin-top: 1px; }
.footer-menu a, .footer-contact-link {
  display: inline-flex; align-items: center; max-width: 100%; min-height: 34px;
  color: var(--red); font-size: 13px; text-decoration: none;
  overflow-wrap: anywhere; white-space: normal; word-break: break-word;
}
.footer-contact-link { padding-block: 3px; }
.footer-menu .sub-menu a { font-size: 12px; }
.footer-menu a:hover, .footer-contact-link:hover {
  color: var(--navy); text-decoration: underline; text-underline-offset: .18em;
}
.dls-footer a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.footer-bottom {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.35fr);
  gap: 16px clamp(28px,5vw,72px); align-items: start;
  border-top: 1px solid var(--border); padding-top: 18px;
}
.footer-bottom:first-child { border-top: 0; padding-top: 0; }
.fcopy, .footer-bottom-notes { max-width: 100%; color: var(--muted); font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.footer-bottom-notes { justify-self: end; max-width: 680px; text-align: right; }
.fnote + .footer-legal-notice, .footer-legal-notice + .fnote { margin-top: 5px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  :root { --header-height: 64px; }
  body.nav-open { overflow: hidden; }
  .header-inner { grid-template-columns: minmax(0,1fr) auto; gap: 16px; }
  .site-branding { max-width: var(--header-logo-tablet-max-width); }
  .dls-header-logo-link { height: var(--header-logo-mobile-height); }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .primary-navigation {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1001;
    justify-self: stretch;
    display: none; max-height: calc(100vh - var(--header-height) - var(--admin-bar-offset));
    max-height: calc(100dvh - var(--header-height) - var(--admin-bar-offset));
    overflow-y: auto; background: var(--cream);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(28,43,58,.12);
  }
  .primary-navigation.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 80px 6px; }
  .nav-links li a {
    min-height: 48px; padding: 0 4px; border-bottom: 1px solid rgba(216,208,198,.7);
    font-size: 15px; white-space: normal;
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .primary-navigation .nav-cta-mobile {
    display: inline-flex;
    width: auto; min-height: 44px; margin: 10px 80px 20px;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  :root { --sec-pad: 48px 40px; }
  .header-inner { padding-inline: 40px; }
  .nav-links { padding-inline: 40px; }
  .primary-navigation .nav-cta-mobile { margin-inline: 40px; }
  .hero { min-height: 520px; }
  .hero-content { width: min(620px, calc(100% - 80px)); margin-left: 40px; padding: 40px 0; max-width: none; }
  .hero-title { font-size: clamp(36px,6vw,58px); }
  .hero-illustration { height: 100%; }
  .why-inner { grid-template-columns: 1fr; gap: 32px; }
  .why-vis-card { display: none; }
  .kontakt-layout { grid-template-columns: 1fr; }
  .dls-footer { padding-inline: 40px; }
  .footer-main-grid, .footer-main-grid.footer-columns-2 {
    grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 56px;
  }
  .footer-column-company { grid-column: 1 / -1; }
  .slide { grid-template-columns: 1fr; }
  .slide-r { display: none; }
  .aud-panel { grid-template-columns: 1fr; }
  .aud-vis { display: none; }
  .fg { grid-template-columns: 1fr; }
  .fgrp.full { grid-column: 1; }
}
@media (max-width: 820px) {
  .cards-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 26px; }
  .steps-row::before { display: none; }
  .step-desc { padding-right: 0; }
  .slide-l { min-height: 240px; padding: 30px 28px; }
}
@media (max-width: 640px) {
  :root { --sec-pad: 40px 20px; }
  .header-inner { padding-inline: 20px; }
  .site-branding { max-width: var(--header-logo-mobile-max-width); }
  .nav-links { padding-inline: 20px; }
  .primary-navigation .nav-cta-mobile { margin-inline: 20px; }
  .hero { min-height: 500px; }
  .hero-content { width: calc(100% - 40px); margin-left: 20px; padding: 28px 0 24px; }
  .dls-footer { padding: 46px 20px 24px; }
  .why-inner { padding: 36px 24px; }
  .aud-panel { padding: 26px 22px; }
  .kform { padding: 24px 20px; }
  .content-shell, .legal-page .content-shell { padding: 40px 20px; }
  .page-header { margin-bottom: 24px; }
  .entry-content { font-size: 15.5px; line-height: 1.7; }
  .entry-content h2 { margin-top: 32px; }
  .entry-content h3 { margin-top: 26px; }
  .footer-main-grid, .footer-main-grid.footer-columns-2, .footer-main-grid.footer-columns-1 {
    grid-template-columns: minmax(0,1fr); gap: 30px; padding-bottom: 38px;
  }
  .footer-column-company { grid-column: auto; }
  .footer-company-brand, .fbrand-desc { max-width: 100%; }
  .footer-logo, .footer-logo .custom-logo-link { max-width: 210px; }
  .footer-logo .custom-logo { max-width: 210px; max-height: 56px; }
  .footer-menu a, .footer-contact-link, .footer-logo .custom-logo-link { min-height: 44px; }
  .footer-bottom { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .footer-bottom-notes { justify-self: start; text-align: left; }
}

@media (max-width: 380px) {
  .header-inner { padding-inline: 16px; gap: 10px; }
  .site-branding { max-width: var(--header-logo-compact-max-width); }
  .dls-header-logo-link { height: min(var(--header-logo-mobile-height), var(--header-logo-compact-height)); }
  .slider-header { gap: 14px; }
}

@media (max-width: 782px) {
  .admin-bar { --admin-bar-offset: 46px; }
}

@media (max-width: 600px) {
  .admin-bar { --admin-bar-offset: 0px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
