/* IoT Systems GmbH — Design system
   Structure note: layout uses flex containers only, so every block maps
   onto a native Elementor container/widget during the WordPress rebuild. */

/* ---------- Tokens ---------- */
:root {
  --tief: #052a38;
  --tief-2: #0a3a4c;
  --tief-3: #10505f;
  --wasser: #007da9;
  --wasser-dunkel: #00658a;
  --eis: #cfe2ea;
  --nebel: #f1f6f8;
  --signal: #f9b233;
  --signal-dunkel: #e09c1d;
  --weiss: #ffffff;
  --text: #23424e;
  --text-leise: #4d6b78;
  --text-hell: #b3cedb;

  --font-display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 4px;
  --radius-klein: 3px;
  --wrap: 1200px;
  --gap: 32px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wasser); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wasser-dunkel); }

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

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--tief); color: var(--weiss);
  padding: 12px 20px; z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Typography ---------- */
.d1, .d2, .d3, .d4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--tief);
  text-wrap: balance;
  /* German compounds like "Wasserstandüberwachung" overflow narrow screens unbroken. */
  overflow-wrap: break-word;
  hyphens: auto;
}
.d1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); }
.d2 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
.d3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.1; }
.d4 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.2; }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-leise);
  max-width: 62ch;
  margin: 20px 0 0;
}
.fliess { max-width: 68ch; }
.fliess p { margin: 0 0 1.15em; }
.fliess p:last-child { margin-bottom: 0; }
.fliess h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.15; color: var(--tief); margin: 2.2em 0 .6em; }
.fliess h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--tief); margin: 1.8em 0 .5em; }
.fliess h2:first-child, .fliess h3:first-child { margin-top: 0; }

.auf-dunkel .d1, .auf-dunkel .d2, .auf-dunkel .d3, .auf-dunkel .d4 { color: var(--weiss); }
.auf-dunkel .lead, .auf-dunkel p { color: var(--text-hell); }
/* Scoped to prose only: a blanket `.auf-dunkel a` outranks the .btn colour rules. */
.auf-dunkel .fliess a { color: var(--signal); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--wasser);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--signal); flex: none; }
.auf-dunkel .eyebrow { color: var(--signal); }

/* Mono is reserved for measured values and figures, never for labels. */
.zahl {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--schmal { max-width: 860px; }

.section { padding: 88px 0; }
.section--eng { padding: 60px 0; }
.section--weit { padding: 112px 0; }
.section--nebel { background: var(--nebel); }
.section--tief { background: var(--tief); }
.section--rand { border-top: 1px solid var(--eis); }

.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.row--eng { gap: 20px; }
.row--weit { gap: 52px; }
.row--mitte { align-items: center; }
.row--oben { align-items: flex-start; }
.row--zentriert { justify-content: center; }

.col-2 { flex: 1 1 400px; min-width: 0; }
.col-3 { flex: 1 1 280px; min-width: 0; }
.col-4 { flex: 1 1 210px; min-width: 0; }
.col-breit { flex: 1.35 1 420px; min-width: 0; }
.col-schmal { flex: 1 1 300px; min-width: 0; }

.kopf { max-width: 58ch; margin-bottom: 52px; }
.stack { display: flex; flex-direction: column; }
.stack--12 { gap: 12px; }
.stack--20 { gap: 20px; }
.stack--32 { gap: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 16px 30px;
  border-radius: var(--radius-klein);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--signal { background: var(--signal); color: var(--tief); border-color: var(--signal); }
.btn--signal:hover { background: var(--signal-dunkel); border-color: var(--signal-dunkel); color: var(--tief); }
.btn--wasser { background: var(--wasser); color: var(--weiss); border-color: var(--wasser); }
.btn--wasser:hover { background: var(--wasser-dunkel); border-color: var(--wasser-dunkel); color: var(--weiss); }
.btn--linie { background: transparent; color: var(--tief); border-color: var(--eis); }
.btn--linie:hover { background: var(--tief); border-color: var(--tief); color: var(--weiss); }
.auf-dunkel .btn--linie { color: var(--weiss); border-color: rgba(255,255,255,.34); }
.auf-dunkel .btn--linie:hover { background: var(--weiss); border-color: var(--weiss); color: var(--tief); }

.textlink {
  display: inline-block;
  font-weight: 600;
  color: var(--wasser);
  text-decoration: none;
  border-bottom: 2px solid var(--eis);
  padding-bottom: 3px;
  transition: border-color .18s ease, color .18s ease;
}
.textlink:hover { color: var(--wasser-dunkel); border-bottom-color: var(--signal); }
.auf-dunkel .textlink { color: var(--signal); border-bottom-color: rgba(249,178,51,.4); }
.auf-dunkel .textlink:hover { color: var(--signal); border-bottom-color: var(--signal); }

/* ---------- Header ---------- */
.kopfzeile {
  position: sticky; top: 0; z-index: 100;
  background: var(--weiss);
  border-bottom: 1px solid var(--eis);
}
.kopfzeile__innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.marke { display: flex; align-items: center; flex: none; }
.marke img { width: 208px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: .9688rem; font-weight: 500; color: var(--tief);
  text-decoration: none; padding: 10px 14px; border-radius: var(--radius-klein);
  transition: color .16s ease, background-color .16s ease;
}
.nav__link:hover { color: var(--wasser); background: var(--nebel); }
.nav__link[aria-current="page"] { color: var(--wasser); font-weight: 600; box-shadow: inset 0 -2px 0 var(--signal); }
.nav__btn { margin-left: 12px; padding: 12px 24px; font-size: .9688rem; }
.nav__lang { display: flex; align-items: center; flex: none; margin-left: 8px; padding: 3px; border: 1px solid var(--eis); border-radius: 999px; }
.nav__lang a {
  padding: 5px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; line-height: 1;
  color: var(--text-leise); text-decoration: none; transition: color .16s ease, background-color .16s ease;
}
.nav__lang a:hover { color: var(--wasser); }
.nav__lang a[aria-current="true"] { background: var(--tief); color: var(--weiss); }

/* Solutions dropdown: opens on hover/focus on desktop, via the chevron button on touch and mobile */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__toggle {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 36px; margin-left: -10px; padding: 0;
  background: transparent; border: 0; border-radius: var(--radius-klein); color: var(--tief); cursor: pointer;
}
.nav__toggle svg { transition: transform .2s ease; }
.nav__toggle:focus-visible { outline: 2px solid var(--wasser); outline-offset: 1px; }
/* "Solutions" is a button that opens the dropdown (no page of its own) */
.nav__toggle--label {
  width: auto; height: auto; margin: 0; padding: 10px 14px; gap: 6px;
  font-family: inherit; font-size: .9688rem; font-weight: 500; line-height: inherit; color: var(--tief);
}
.nav__toggle--label:hover { color: var(--wasser); background: var(--nebel); }
.nav__toggle--label.is-current { color: var(--wasser); font-weight: 600; box-shadow: inset 0 -2px 0 var(--signal); }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110; min-width: 290px; margin: 0; padding: 8px; list-style: none;
  background: var(--weiss); border: 1px solid var(--eis); border-radius: 12px; box-shadow: 0 22px 40px -22px rgba(5,42,56,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.ist-offen .nav__sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease;
}
.nav__item:hover .nav__toggle svg, .nav__item.ist-offen .nav__toggle svg { transform: rotate(180deg); }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .9375rem; font-weight: 600; color: var(--tief); text-decoration: none; }
.nav__sub a small { display: block; margin-top: 1px; font-size: .8125rem; font-weight: 400; color: var(--text-leise); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--nebel); color: var(--wasser); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px;
  background: transparent; border: 1px solid var(--eis); border-radius: var(--radius-klein);
  cursor: pointer;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--tief); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* narrow desktops (1001–1140px): menu items never break onto two lines; slightly tighter spacing makes the German labels fit */
.nav__link, .nav__btn, .nav__toggle--label { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1140px) {
  .nav { gap: 0; }
  .nav__link, .nav__toggle--label { padding-left: 10px; padding-right: 10px; }
  .nav__btn { margin-left: 8px; padding-left: 18px; padding-right: 18px; }
  .nav__lang { margin-left: 4px; }
  .kopfzeile__innen { gap: 16px; }
}

@media (max-width: 1000px) {
  .burger { display: flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--weiss);
    border-bottom: 1px solid var(--eis);
    padding: 14px 24px 26px;
    box-shadow: 0 18px 30px -22px rgba(5,42,56,.5);
  }
  .nav.ist-offen { display: flex; }
  .nav__link { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--nebel); border-radius: 0; }
  .nav__btn { margin: 16px 0 0; padding: 15px 24px; }
  .nav__lang { align-self: flex-start; margin: 16px 0 0 4px; }
  .nav__lang a { padding: 8px 14px; font-size: .875rem; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--nebel); }
  .nav__item > .nav__link { flex: 1; border-bottom: 0; }
  .nav__toggle { width: 46px; height: 46px; margin: 0; }
  .nav__toggle--label { flex: 1; justify-content: space-between; width: auto; height: auto; padding: 14px 8px; font-size: 1.05rem; border-radius: 0; text-align: left; }
  .nav__toggle--label.is-current { box-shadow: none; }
  .nav__sub {
    position: static; display: none; width: 100%; min-width: 0; padding: 0 0 10px 10px;
    border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__sub::before { display: none; }
  .nav__item.ist-offen .nav__sub { display: block; }
  .nav__item:hover .nav__toggle svg { transform: none; }
  .nav__item.ist-offen .nav__toggle svg { transform: rotate(180deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--tief); overflow: hidden; }
.hero__bild {
  position: absolute; inset: 0;
  background-image: linear-gradient(105deg, rgba(5,42,56,.96) 22%, rgba(5,42,56,.72) 62%, rgba(5,42,56,.55) 100%), var(--hero-img);
  background-size: cover;
  background-position: center;
}
.hero__innen { position: relative; padding: 104px 0 0; }
.hero__text { max-width: 44ch; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__marke {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: .875rem; font-weight: 600; color: var(--signal);
  margin: 0 0 22px;
}
.hero__marke::before { content: ""; width: 24px; height: 2px; background: var(--signal); }

/* Facts strip — figures drawn from live customer projects */
.messwerte {
  position: relative;
  display: flex; flex-wrap: wrap;
  margin-top: 84px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.messwerte__feld {
  flex: 1 1 200px;
  padding: 28px 30px 30px 0;
  border-right: 1px solid rgba(255,255,255,.12);
}
.messwerte__feld:last-child { border-right: 0; }
.messwerte__wert { font-size: clamp(1.85rem, 3vw, 2.5rem); color: var(--weiss); display: block; }
.messwerte__wert em { font-style: normal; color: var(--signal); }
.messwerte__label { margin: 10px 0 0; font-size: .9375rem; color: var(--text-hell); line-height: 1.45; }
@media (max-width: 720px) {
  .messwerte__feld { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 22px 0; flex: 1 1 100%; }
  .messwerte__feld:last-child { border-bottom: 0; }
  .hero__innen { padding-top: 64px; }
  .messwerte { margin-top: 52px; }
}

/* Single orchestrated entrance, hero only */
.anim { opacity: 0; transform: translateY(14px); animation: auf .7s cubic-bezier(.22,.61,.36,1) forwards; }
.anim--1 { animation-delay: .05s; }
.anim--2 { animation-delay: .16s; }
.anim--3 { animation-delay: .27s; }
.anim--4 { animation-delay: .38s; }
@keyframes auf { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .anim { opacity: 1; transform: none; animation: none; } }

/* ---------- Page banner (inner pages) ---------- */
.banner { background: var(--tief); padding: 68px 0 72px; }
.banner__text { max-width: 60ch; }
.krumen { font-size: .9063rem; color: var(--text-hell); margin: 0 0 18px; }
.krumen a { color: var(--text-hell); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); }
.krumen a:hover { color: var(--weiss); border-bottom-color: var(--signal); }
.krumen span { color: rgba(255,255,255,.42); padding: 0 8px; }

/* ---------- Trust strip ---------- */
.partner { display: flex; flex-wrap: wrap; align-items: center; gap: 44px; }
.partner img { height: 54px; width: auto; opacity: .9; }
.partner__notiz { font-size: .9375rem; color: var(--text-leise); max-width: 26ch; line-height: 1.5; }

/* ---------- Service box ---------- */
.leistung {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--weiss);
  border: 1px solid var(--eis);
  border-top: 3px solid var(--wasser);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  transition: border-color .18s ease;
}
.leistung:hover { border-color: var(--wasser); border-top-color: var(--wasser); }
.leistung__icon { width: 62px; height: 62px; margin-bottom: 22px; }
.leistung__titel { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.12; color: var(--tief); margin: 0 0 12px; }
.leistung__text { margin: 0 0 20px; font-size: 1rem; color: var(--text-leise); }
.leistung__fuss { margin-top: auto; }

/* ---------- Icon list ---------- */
.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.liste li { position: relative; padding-left: 30px; font-size: 1.0313rem; line-height: 1.55; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 13px; height: 2px; background: var(--signal);
}
.liste--kompakt li { font-size: .9688rem; }
.auf-dunkel .liste li { color: var(--text-hell); }

/* ---------- Numbered process (content is a genuine sequence) ---------- */
.schritt { display: flex; flex-direction: column; gap: 14px; }
.schritt__nr {
  font-family: var(--font-mono); font-weight: 500; font-size: 1rem;
  color: var(--signal);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.schritt__titel { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.12; color: var(--weiss); margin: 0; }
.schritt__text { margin: 0; color: var(--text-hell); font-size: 1rem; }

/* ---------- Story / blog card ---------- */
.karte {
  display: flex; flex-direction: column; height: 100%;
  background: var(--weiss);
  border: 1px solid var(--eis);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease;
}
.karte:hover { border-color: var(--wasser); }
.karte__bild { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte__inhalt { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.karte__kat {
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--wasser); margin: 0 0 10px;
}
.karte__titel { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.16; margin: 0 0 12px; }
.karte__titel a { color: var(--tief); text-decoration: none; }
.karte__titel a:hover { color: var(--wasser); }
.karte__text { margin: 0 0 20px; font-size: .9688rem; color: var(--text-leise); }
.karte__fuss { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.karte__datum { font-size: .875rem; color: var(--text-leise); }

/* ---------- Featured story ---------- */
.story { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.story__bild { flex: 1 1 380px; min-width: 0; }
.story__bild img { border-radius: var(--radius); width: 100%; }
.story__text { flex: 1 1 380px; min-width: 0; }

/* ---------- Testimonial ---------- */
.stimme {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--weiss);
  border: 1px solid var(--eis);
  border-left: 3px solid var(--signal);
  border-radius: var(--radius);
  padding: 34px 32px;
  height: 100%;
}
.stimme__zitat {
  margin: 0; font-size: 1.0938rem; line-height: 1.6; color: var(--text);
}
.stimme__person { display: flex; flex-direction: column; gap: 3px; margin-top: auto; }
.stimme__name { font-weight: 600; color: var(--tief); }
.stimme__rolle { font-size: .9063rem; color: var(--text-leise); }
.sterne { display: flex; gap: 3px; color: var(--signal); }
.sterne svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Stats on light ---------- */
.kennzahl { display: flex; flex-direction: column; gap: 10px; }
.kennzahl__wert { font-size: clamp(2rem, 3.4vw, 2.75rem); color: var(--wasser); }
.kennzahl__label { font-size: .9688rem; color: var(--text-leise); line-height: 1.45; margin: 0; }

/* ---------- Accordion (native details — maps to Elementor Accordion) ---------- */
.akkordeon { border-top: 1px solid var(--eis); }
.akk { border-bottom: 1px solid var(--eis); }
.akk__kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.25; color: var(--tief);
}
.akk__kopf::-webkit-details-marker { display: none; }
.akk__kopf:hover { color: var(--wasser); }
.akk__zeichen { position: relative; width: 16px; height: 16px; flex: none; }
.akk__zeichen::before, .akk__zeichen::after {
  content: ""; position: absolute; background: var(--wasser);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.akk__zeichen::before { width: 16px; height: 2px; }
.akk__zeichen::after { width: 2px; height: 16px; transition: opacity .18s ease; }
.akk[open] .akk__zeichen::after { opacity: 0; }
.akk__inhalt { padding: 0 4px 26px; max-width: 72ch; color: var(--text-leise); }
.akk__inhalt p { margin: 0 0 1em; }
.akk__inhalt p:last-child { margin-bottom: 0; }

/* ---------- Form (markup ready for Elementor Forms) ---------- */
.formular { display: flex; flex-wrap: wrap; gap: 20px; }
.feld { display: flex; flex-direction: column; gap: 8px; flex: 1 1 260px; min-width: 0; }
.feld--voll { flex: 1 1 100%; }
.feld label { font-size: .9375rem; font-weight: 600; color: var(--tief); }
.feld input, .feld textarea, .feld select {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 14px 16px;
  background: var(--weiss);
  border: 1px solid var(--eis);
  border-radius: var(--radius-klein);
  width: 100%;
}
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--wasser); outline-offset: 1px; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld__hinweis { font-size: .8438rem; color: var(--text-leise); }
.zustimmung { display: flex; align-items: flex-start; gap: 12px; flex: 1 1 100%; }
.zustimmung input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--wasser); }
.zustimmung label { font-size: .9375rem; font-weight: 400; color: var(--text-leise); line-height: 1.5; }
.formular .btn { align-self: flex-start; }

/* ---------- Contact detail block ---------- */
.kontaktblock { display: flex; flex-direction: column; gap: 8px; }
.kontaktblock__titel { font-family: var(--font-display); font-size: 1.1875rem; color: var(--tief); margin: 0 0 4px; }
.kontaktblock p { margin: 0; color: var(--text-leise); }
.auf-dunkel .kontaktblock__titel { color: var(--weiss); }

/* ---------- CTA band ---------- */
.aufruf { background: var(--wasser); }
.aufruf__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px; padding-block: 64px; }
.aufruf__text { flex: 1 1 420px; min-width: 0; }
.aufruf__titel { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; color: var(--weiss); margin: 0 0 12px; }
.aufruf__sub { margin: 0; color: rgba(255,255,255,.88); font-size: 1.0938rem; max-width: 52ch; }
.aufruf__aktionen { display: flex; flex-wrap: wrap; gap: 14px; }
.aufruf .btn--linie { color: var(--weiss); border-color: rgba(255,255,255,.55); }
.aufruf .btn--linie:hover { background: var(--weiss); border-color: var(--weiss); color: var(--wasser); }

/* ---------- Footer ---------- */
.fuss { background: var(--tief); color: var(--text-hell); padding: 76px 0 0; }
.fuss__logo { width: 210px; margin-bottom: 20px; }
.fuss__slogan { margin: 0 0 10px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.005em; color: var(--signal); }
.fuss__text { font-size: .9688rem; color: var(--text-hell); margin: 0; max-width: 40ch; }
.fuss__titel { font-family: var(--font-display); font-size: 1.125rem; color: var(--weiss); margin: 0 0 18px; }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.fuss__liste a { color: var(--text-hell); text-decoration: none; font-size: .9688rem; }
.fuss__liste a:hover { color: var(--signal); }
.fuss__adresse { font-size: .9688rem; line-height: 1.6; margin: 0 0 18px; color: var(--text-hell); }
.fuss__adresse strong { color: var(--weiss); font-weight: 600; display: block; margin-bottom: 3px; }
.fuss__unten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 62px; padding: 26px 0 30px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .875rem; color: rgba(179,206,219,.78);
}
.fuss__unten p { margin: 0; }
.fuss__rechtslinks { display: flex; flex-wrap: wrap; gap: 24px; }
.fuss__rechtslinks a { color: rgba(179,206,219,.78); text-decoration: none; }
.fuss__rechtslinks a:hover { color: var(--signal); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-44 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.bild-rand { border-radius: var(--radius); width: 100%; }
.trenner { height: 1px; background: var(--eis); border: 0; margin: 0; }
.visuell-versteckt {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section--weit { padding: 72px 0; }
  .kopf { margin-bottom: 38px; }
  .story { gap: 32px; }
  .aufruf__innen { padding-block: 52px; }
  .fuss { padding-top: 58px; }
}

/* ============================================================
   Homepage (mockup design)
   Flex-only, every block maps to an Elementor container/widget.
   ============================================================ */
:root {
  --navy: #0d2437;
  --navy-tief: #081a29;
  --blau-flaeche: #eaf3f8;
  --pill: 999px;
}

.btn--pill { border-radius: var(--pill); padding: 15px 30px; }
.nav__btn { border-radius: var(--pill); }
.btn--weiss { background: var(--weiss); color: var(--navy); border-color: var(--weiss); }
.btn--weiss:hover { background: var(--nebel); border-color: var(--nebel); color: var(--navy); }

.eyebrow-caps {
  display: block;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--wasser); margin: 0 0 16px;
}
.eyebrow-caps--leise { color: #8aa7b8; }

.titel-gross {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08;
  color: var(--navy); margin: 0;
  overflow-wrap: break-word; hyphens: auto;
}
.titel-gross em { font-style: normal; color: var(--wasser); }

/* --- Hero --- */
.hero-alp { position: relative; overflow: hidden; background: var(--blau-flaeche); }
.hero-alp__bild {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
}
.hero-alp__schleier {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 32%, rgba(255,255,255,.35) 56%, rgba(255,255,255,0) 74%);
}
.hero-alp__innen { position: relative; padding-block: 104px 112px; }
.hero-alp__text { max-width: 40rem; }
.hero-alp__titel {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.35rem, 4.6vw, 3.65rem); line-height: 1.06;
  color: var(--navy); margin: 0 0 22px;
}
.hero-alp__titel span { color: var(--wasser); }
.hero-alp__sub { font-size: 1.0625rem; line-height: 1.6; color: #3f5a6b; margin: 0; max-width: 31rem; }
.hero-alp__aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@media (max-width: 880px) {
  .hero-alp__bild { background-position: 72% center; }
  .hero-alp__schleier { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 46%, rgba(255,255,255,.34) 100%); }
  .hero-alp__innen { padding-block: 64px 72px; }
}

/* --- Capability strip --- */
.faehig { background: var(--nebel); border-top: 1px solid var(--eis); border-bottom: 1px solid var(--eis); }
.faehig__innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 26px; padding-block: 24px; }
.faehig__item { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; }
.faehig__item svg { width: 26px; height: 26px; color: var(--wasser); flex: none; }
.faehig__label { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }

/* --- Section head with side link --- */
.sekkopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.sekkopf__text { flex: 1 1 420px; min-width: 0; }
.sekkopf__sub { margin: 12px 0 0; color: var(--text-leise); font-size: 1.0313rem; max-width: 46rem; }
.pfeillink { display: inline-flex; align-items: center; gap: 9px; font-size: .9375rem; font-weight: 600; color: var(--wasser); text-decoration: none; white-space: nowrap; }
.pfeillink:hover { color: var(--wasser-dunkel); }
.pfeillink svg { width: 15px; height: 15px; }

/* --- Solution card --- */
.lkarte {
  display: flex; flex-direction: column; height: 100%;
  background: var(--weiss); border: 1px solid var(--eis); border-radius: 10px; overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lkarte:hover { border-color: var(--wasser); box-shadow: 0 12px 28px -20px rgba(13,36,55,.45); }
.lkarte__bildbox { position: relative; }
.lkarte__bild { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.lkarte__abzeichen {
  position: absolute; left: 20px; bottom: -22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--weiss); border: 1px solid var(--eis);
  display: flex; align-items: center; justify-content: center;
}
.lkarte__abzeichen svg { width: 22px; height: 22px; color: var(--wasser); }
.lkarte__inhalt { display: flex; flex-direction: column; flex: 1; padding: 38px 22px 20px; }
.lkarte__titel { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.2; color: var(--navy); margin: 0 0 8px; }
.lkarte__text { margin: 0 0 18px; font-size: .9375rem; line-height: 1.55; color: var(--text-leise); }
.lkarte__fuss { margin-top: auto; display: flex; justify-content: flex-end; }
.rundpfeil {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--eis); color: var(--wasser); text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.rundpfeil svg { width: 15px; height: 15px; }
.rundpfeil:hover { background: var(--wasser); border-color: var(--wasser); color: var(--weiss); }

/* --- Dark data section --- */
.dunkel { position: relative; background: var(--navy); overflow: hidden; }
.dunkel__bild { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .17; }
.dunkel__schleier { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,36,55,.97) 30%, rgba(13,36,55,.72) 100%); }
.dunkel__innen { position: relative; padding-block: 76px; }
.dunkel__titel { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; color: var(--weiss); margin: 0 0 16px; }
.dunkel__text { color: #a9c3d2; font-size: 1.0313rem; line-height: 1.6; margin: 0; max-width: 34rem; }

/* --- Process chain --- */
.kette { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.kette__glied { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 78px; }
.kette__kreis { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.kette__kreis svg { width: 21px; height: 21px; }
.kette__label { font-size: .8125rem; text-align: center; line-height: 1.3; }
.kette__pfeil { display: flex; align-items: center; height: 42px; }
.kette__pfeil svg { width: 15px; height: 15px; }
.kette--dunkel .kette__kreis { background: rgba(255,255,255,.09); color: var(--weiss); }
.kette--dunkel .kette__label { color: #a9c3d2; }
.kette--dunkel .kette__pfeil { color: #5d7b8e; }
.kette--hell .kette__kreis { background: var(--weiss); border: 1px solid var(--eis); color: var(--wasser); }
.kette--hell .kette__label { color: var(--navy); }
.kette--hell .kette__pfeil { color: #9db6c4; }

/* --- Live values panel --- */
.panel { background: #0a1c2c; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 16px; display: flex; flex-wrap: wrap; gap: 14px; }
.panel__spalte { flex: 1 1 230px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.panel__kopf { font-size: .8125rem; font-weight: 600; color: var(--weiss); margin: 0 0 4px; }
.panel__zeile { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.05); border-radius: 8px; padding: 10px 12px; }
.panel__zeile svg { width: 17px; height: 17px; color: var(--wasser); flex: none; }
.panel__bez { flex: 1; min-width: 0; }
.panel__name { display: block; font-size: .8438rem; color: var(--weiss); line-height: 1.2; }
.panel__ort { display: block; font-size: .6875rem; color: #6f8ea2; }
.panel__wert { font-family: var(--font-mono); font-size: .875rem; color: var(--weiss); font-variant-numeric: tabular-nums; }
.panel__wert--gut { color: #52c08a; }
.panel__grafik { flex: 1 1 200px; min-width: 0; background: rgba(255,255,255,.05); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.panel__grafik svg { width: 100%; height: auto; display: block; }
.panel__notiz { font-size: .6875rem; color: #6f8ea2; margin: 10px 0 0; }

/* --- Platform (INWASO) --- */
.plattform__marke { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--navy); margin: 0 0 6px; }
.plattform__unter { font-size: 1.0625rem; font-weight: 600; color: var(--wasser); margin: 0 0 16px; }
.hakenliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hakenliste li { display: flex; align-items: flex-start; gap: 11px; font-size: .9688rem; color: var(--text); line-height: 1.45; }
.hakenliste svg { width: 19px; height: 19px; color: var(--wasser); flex: none; margin-top: 1px; }

/* --- Reference card --- */
.rkarte { display: flex; flex-direction: column; height: 100%; background: var(--weiss); border: 1px solid var(--eis); border-radius: 10px; overflow: hidden; transition: border-color .18s ease; }
.rkarte:hover { border-color: var(--wasser); }
.rkarte__bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.rkarte__inhalt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.rkarte__nr { font-family: var(--font-mono); font-size: .8125rem; color: #9db6c4; flex: none; }
.rkarte__text { flex: 1; min-width: 0; }
.rkarte__titel { font-size: .9688rem; font-weight: 600; color: var(--navy); margin: 0; line-height: 1.25; }
.rkarte__titel a { color: inherit; text-decoration: none; }
.rkarte__titel a:hover { color: var(--wasser); }
.rkarte__sub { font-size: .8125rem; color: var(--text-leise); margin: 3px 0 0; line-height: 1.3; }

/* --- Technology band --- */
.technik { background: linear-gradient(180deg, #dceaf4 0%, #eef5fa 55%, var(--weiss) 100%); }
.merkmal { display: flex; align-items: flex-start; gap: 12px; flex: 1 1 200px; min-width: 0; }
.merkmal svg { width: 24px; height: 24px; color: var(--wasser); flex: none; }
.merkmal__wert { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--wasser); line-height: 1.2; }
.merkmal__label { display: block; font-size: .875rem; color: var(--text-leise); margin-top: 2px; }

/* --- Dark CTA band --- */
.ctaband { background: var(--navy-tief); }
.ctaband__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 46px; }
.ctaband__titel { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.15; color: var(--weiss); margin: 0; }
.ctaband__titel em { font-style: normal; color: #4bb4e0; }

@media (max-width: 860px) {
  .dunkel__innen { padding-block: 56px; }
  .faehig__innen { justify-content: flex-start; gap: 18px 28px; }
  .ctaband__innen { padding-block: 40px; }
}

/* Card grids: explicit column counts so a trailing card never stretches to full width.
   Breakpoints chosen to line up with Elementor's tablet/mobile container settings. */
.karten4 > *, .karten3 > * { flex: 1 1 100%; max-width: 100%; }
@media (min-width: 620px) {
  .karten4 > * { flex: 1 1 calc(50% - 10px); max-width: calc(50% - 10px); }
}
@media (min-width: 1000px) {
  .karten4 > * { flex: 1 1 calc(25% - 15px); max-width: calc(25% - 15px); }
}
@media (min-width: 900px) {
  .karten3 > * { flex: 1 1 calc(33.333% - 13.34px); max-width: calc(33.333% - 13.34px); }
}

/* Two adjacent dark blocks otherwise read as one mass. */
.ctaband + .fuss { border-top: 1px solid rgba(255,255,255,.12); }

/* Blog post: date / category line under the lead */
.beitrag-datum { margin: 16px 0 0; font-size: .875rem; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.72); }

/* German: long compound words must never push headings out of the screen */
:lang(de) h1, :lang(de) h2, :lang(de) h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* Running text is justified on wider screens; automatic hyphenation keeps the word spacing even.
   Phones and very narrow card columns (under ~40 characters per line) stay left-aligned, where justifying would tear gaps. */
@media (min-width: 700px) {
  main p, .fuss__text { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  /* centred headings stay centred; narrow cards and texts inside the small UI mock-ups stay left-aligned */
  .hm-customers__head p, .uc-hub__title { text-align: center; }
  .ab-cert p, .sc-card p, .sc-notif p, [class*="hm-im-"] p { text-align: left; }
}
