/* ===================== Design Tokens ===================== */
:root {
  --color-primary: #131920;
  --color-accent:  #C41029;
  --color-accent-dark: #a00d21;
  --color-text:    #6A6161;
  --color-text-strong: #131920;
  --color-soft:    #F5F5F5;
  --color-soft-2:  #EFEFEF;
  --color-border:  #E5E5E5;
  --color-white:   #ffffff;
  --color-star:    #FFB400;

  --radius:   14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow:    0 10px 30px -15px rgba(19,25,32,.15);
  --shadow-lg: 0 30px 60px -25px rgba(19,25,32,.25);

  --container: 1200px;
  --nav-h: 88px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { color: var(--color-text-strong); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0 0 1em; }
strong { color: var(--color-text-strong); font-weight: 600; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.section-title { text-align: left; color: var(--color-text-strong); }
.section-lead  { max-width: 62ch; color: var(--color-text); }
.accent { color: var(--color-accent); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn--primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }
.btn--outline { background: #F5F5F5; color: var(--color-text-strong); border-color: #F5F5F5; }
.btn--outline:hover { background: #ECECEC; border-color: #ECECEC; color: var(--color-text-strong); }
.btn--white { background: #fff; color: var(--color-text-strong); border-color: #fff; }
.btn--white svg { color: var(--color-accent); }
.btn--white:hover { background: #f1f1f1; color: var(--color-text-strong); }

/* ===================== Header ===================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
  min-height: var(--nav-h);
}
.logo img { height: 56px; width: auto; }

.nav ul {
  display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; justify-content: center;
}
.nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-text-strong);
  padding: .25rem 0;
}
.nav a:hover { color: var(--color-accent); }

.header__ctas { display: flex; align-items: center; gap: .75rem; }
.header__ctas .btn { padding: 12px 20px; font-size: .88rem; }
.header__ctas .btn--outline { background: #F5F5F5; border-color: #F5F5F5; }
.header__ctas .btn--primary svg { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: var(--color-text-strong); transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Mega Menu ===================== */
.nav__item--mega { position: static; }
.nav__item--mega > a { display: inline-flex; align-items: center; gap: .3rem; }
.nav__chev {
  width: 15px; height: 15px; flex: none;
  transition: transform .2s ease;
}
.nav__item--mega:hover > a .nav__chev,
.nav__item--mega:focus-within > a .nav__chev,
.nav__item--mega.is-open > a .nav__chev { transform: rotate(180deg); }

/* caret button only used on mobile */
.nav__caret { display: none; }

.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 55;
}
.nav__item--mega:hover > .mega,
.nav__item--mega:focus-within > .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega__inner {
  display: flex; align-items: flex-start; gap: 2.5rem;
  padding-top: 2rem; padding-bottom: 2rem;
}
.mega__cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(var(--mega-cols, 4), 1fr);
  gap: 1.75rem 2rem;
}
.mega__title {
  display: block; margin-bottom: .85rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--color-text-strong);
}
/* .mega .mega__links overrides the leaking `.nav ul { display:flex }` rule */
.mega .mega__links { display: block; list-style: none; margin: 0; padding: 0; }
.mega .mega__links--2 { columns: 2; column-gap: 1.5rem; }
.mega__links li { margin: 0 0 .1rem; break-inside: avoid; }
/* .mega-Präfix: höhere Spezifität, damit Flex auch mobil greift (sonst überschreibt .nav a{display:block}) */
.mega .mega__links a {
  display: flex; align-items: center; gap: .65rem; padding: .34rem 0;
  font-size: .9rem; font-weight: 500; line-height: 1.3; color: var(--color-text);
  transition: color .15s, transform .15s;
}
.mega__ico {
  display: block;
  flex: none; width: 18px; height: 18px; color: var(--color-accent);
  opacity: .8; transition: opacity .15s;
}
.mega__links a:hover { color: var(--color-accent); transform: translateX(3px); }
.mega__links a:hover .mega__ico { opacity: 1; }
.mega__cta {
  flex: none; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem;
  background: var(--color-soft); border-radius: 10px;
  font-weight: 600; font-size: .85rem; color: var(--color-text-strong);
  white-space: nowrap;
}
.mega__cta svg { width: 17px; height: 17px; color: var(--color-accent); }
.mega__cta:hover { background: var(--color-soft-2); color: var(--color-text-strong); }

@media (prefers-reduced-motion: reduce) {
  .mega, .nav__chev, .mega__links a { transition: none; }
}

/* ===================== Hero ===================== */
.hero { padding: 4rem 0 4rem; background: #fff; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "heading visual"
    "body    visual";
  gap: 1rem 3.5rem;
  align-items: start;
}
.hero__heading { grid-area: heading; }
.hero__body    { grid-area: body; }
.hero__visual  { grid-area: visual; align-self: center; }
.hero__heading h1 {
  font-size: clamp(1.75rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  color: var(--color-text-strong);
  margin-bottom: 0;
  letter-spacing: -.01em;
  font-weight: 500;
}
.hero .lead { font-size: .92rem; color: var(--color-text); max-width: none; margin-bottom: 1.5rem; line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.hero__meta { font-size: .82rem; color: var(--color-text); }

.hero__visual { position: relative; padding-bottom: 1rem; }

/* Glass frame wrapper — outer blurred image + inner crisp image */
.glass-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(19,25,32,.35);
  isolation: isolate;
}
.glass-frame__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(32px) brightness(1.05) saturate(1.1);
  transform: scale(1.25);
  z-index: 0;
}
.glass-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.35);
  z-index: 1;
  pointer-events: none;
}
.glass-frame__inner {
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
}
.glass-frame__inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Hero-specific aspect */
.hero__frame { aspect-ratio: 574 / 366; }

/* ===================== Page hero (sub pages) ===================== */
.page-hero { padding: 4rem 0 3rem; background: #fff; }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "heading visual"
    "body    visual";
  gap: 1.25rem 3.5rem;
  align-items: start;
}
.page-hero__heading { grid-area: heading; }
.page-hero__body    { grid-area: body; }
.page-hero__visual  { grid-area: visual; align-self: center; }
.page-hero__heading h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0;
}
.page-hero__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: right center;
  display: block;
  border-radius: 10px;
}
.page-hero__body .lead { font-size: .98rem; margin-bottom: 1.5rem; }
.page-hero__ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

@media (max-width: 860px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "heading"
      "visual"
      "body";
    gap: 1.5rem;
  }
  .page-hero__visual { align-self: start; }
}

/* ===================== Services category sections ===================== */
.services-category { padding: 4rem 0; background: #fff; }
.services-category--alt { background: #F5F5F5; }
.services-category__head { max-width: 720px; margin-bottom: 2.5rem; }
.services-category__head .section-title { font-size: clamp(1.7rem, 2.6vw, 2.15rem); margin-bottom: 1rem; }
.services-category__head .section-lead { font-size: .95rem; margin: 0; }

.services__grid--3 { grid-template-columns: repeat(3, 1fr); }
.services__grid--2 { grid-template-columns: repeat(3, 1fr); }
.services__grid--2 > * { grid-column: span 1; }

.service-card__desc {
  font-size: .88rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.55;
}

/* Alt background variant: cards bleiben weiß auf hellgrauem bg */
.services-category--alt .service-card { background: #fff; }

@media (max-width: 1024px) {
  .services__grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services__grid--3,
  .services__grid--2 { grid-template-columns: 1fr; }
}

/* Active nav state */
.nav a.is-active { color: var(--color-accent); }

/* ===================== Breadcrumbs ===================== */
.breadcrumbs { padding: 1rem 0 0; background: #fff; }
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem;
  font-size: .82rem; color: var(--color-text);
}
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #bbb; }
.breadcrumbs a { color: var(--color-text); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs [aria-current="page"] { color: var(--color-text-strong); font-weight: 500; }

/* ===================== Article / Detail page ===================== */
.article-section { padding: 3rem 0 4rem; background: #fff; }
.article-section__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
.toc {
  position: sticky; top: calc(var(--nav-h) + 1rem);
  background: #F5F5F5;
  border-radius: 12px;
  padding: 1.25rem 1.25rem;
  font-size: .85rem;
}
.toc strong { display: block; color: var(--color-text-strong); margin-bottom: .6rem; font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { color: var(--color-text); padding-left: 1.4rem; position: relative; display: block; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--color-accent); font-weight: 600; font-size: .72rem; }
.toc a:hover { color: var(--color-accent); }

.article h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-strong);
  margin: 2.5rem 0 1rem;
  letter-spacing: -.005em;
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1rem; margin: 1rem 0 .5rem; }
.article p, .article ul, .article ol { font-size: .95rem; line-height: 1.7; color: var(--color-text); }
.article a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { text-decoration: none; }
.article strong { color: var(--color-text-strong); font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1rem;
}
.feature {
  background: #F5F5F5;
  border-radius: 12px;
  padding: 1.25rem;
}
.feature__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--color-accent);
  display: grid; place-items: center; margin-bottom: .75rem;
}
.feature__icon svg { width: 18px; height: 18px; }
.feature h3 { font-size: .95rem; margin: 0 0 .35rem; color: var(--color-text-strong); font-weight: 600; }
.feature p  { font-size: .85rem; color: var(--color-text); margin: 0; line-height: 1.55; }

.process { list-style: none; counter-reset: proc; padding: 0; display: grid; gap: 1rem; margin: 1rem 0; }
.process li {
  counter-increment: proc;
  padding: 1rem 1.25rem 1rem 3.5rem;
  background: #F5F5F5;
  border-radius: 10px;
  position: relative;
}
.process li::before {
  content: counter(proc, decimal-leading-zero);
  position: absolute; left: 1rem; top: 1rem;
  color: var(--color-accent); font-weight: 700; font-size: .9rem;
}
.process li strong { display: block; color: var(--color-text-strong); margin-bottom: .15rem; }

.related {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-accent);
  background: #F5F5F5;
  border-radius: 0 10px 10px 0;
}
.related strong { display: block; margin-bottom: .5rem; color: var(--color-text-strong); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .9rem; }
.related a { color: var(--color-accent); text-decoration: none; }
.related a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .article-section__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .toc { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ===================== Cookie-Banner ===================== */
.cookie-banner {
  position: fixed;
  left: 50%; bottom: 1.25rem;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 720px);
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 30px 60px -25px rgba(19,25,32,.35);
  padding: 1.25rem 1.5rem;
  z-index: 90;
  display: none;
  gap: 1.25rem;
  align-items: center;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text {
  flex: 1;
  font-size: .88rem;
  line-height: 1.55;
}
.cookie-banner__text strong { color: var(--color-text-strong); display: block; margin-bottom: .25rem; font-size: .95rem; font-weight: 600; }
.cookie-banner__text a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-banner__actions .btn { padding: 10px 18px; font-size: .85rem; }

@media (max-width: 620px) {
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: .75rem; padding: 1rem 1.1rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* ===================== Legal pages ===================== */
.legal { padding: 4rem 0 5rem; background: #fff; }
.legal__container { max-width: 820px; margin: 0 auto; }
.legal h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.015em;
  margin: .5rem 0 1.25rem;
}
.legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-strong);
  margin: 2.25rem 0 .75rem;
}
.legal p,
.legal ul { color: var(--color-text); line-height: 1.7; font-size: .95rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal ul li { margin-bottom: .25rem; }
.legal a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { text-decoration: none; }
.legal em { color: var(--color-text); background: #F5F5F5; padding: 0 .35em; border-radius: 4px; font-style: normal; font-size: .9em; }
.legal strong { color: var(--color-text-strong); }
.legal__intro { font-size: 1rem; color: var(--color-text); margin-bottom: 1.5rem; max-width: 62ch; }
.legal__updated { margin-top: 3rem; color: var(--color-text); font-size: .85rem; }

/* ===================== Contact page ===================== */
.contact { padding: 4rem 0 5rem; background: #fff; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-areas:
    "head form"
    "meta form";
  gap: 2.5rem 4rem;
  align-items: start;
}
.contact__head      { grid-area: head; }
.contact__meta      { grid-area: meta; }
.contact__form-wrap { grid-area: form; align-self: start; }
.contact__head h1 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -.015em;
  margin-bottom: 1rem;
}
.contact__head .lead { font-size: 1rem; color: var(--color-text); margin: 0; max-width: 46ch; }
.contact__meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact__meta li { display: flex; align-items: flex-start; gap: 1rem; }
.contact__meta-icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: #F5F5F5;
  color: var(--color-accent);
  display: grid; place-items: center;
}
.contact__meta-icon svg { width: 18px; height: 18px; }
.contact__meta strong {
  display: block;
  font-weight: 600;
  color: var(--color-text-strong);
  margin-bottom: .15rem;
  font-size: .95rem;
}
.contact__meta span,
.contact__meta a { color: var(--color-text); font-size: .9rem; line-height: 1.5; }
.contact__meta a:hover { color: var(--color-accent); }

.contact__form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact__form-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  margin-bottom: .75rem;
  text-align: center;
}
.contact__form-card > p {
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  font-size: .95rem;
  max-width: 42ch;
  margin-inline: auto;
}

.contact-form { display: grid; gap: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #F7F5F5;
  color: var(--color-text-strong);
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9C9898;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn--block {
  justify-content: center;
  padding: 1rem 1.5rem;
  margin-top: .5rem;
  font-size: 1rem;
}
.contact-form button[disabled] { opacity: .65; cursor: progress; }
.contact-form__status {
  margin: 0; padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem; line-height: 1.5;
}
.contact-form__status.is-ok  { background: #E9F7EF; color: #1B7A43; border: 1px solid #BEE7CE; }
.contact-form__status.is-err { background: #FCEBED; color: var(--color-accent-dark); border: 1px solid #F3C6CD; }

@media (max-width: 860px) {
  .contact__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "form"
      "meta";
    gap: 2rem;
  }
  .contact__form-card { padding: 2rem 1.5rem; }
}
@media (max-width: 620px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .contact__form-card { padding: 1.5rem 1.25rem; }
}

/* Dark frosted-glass badge that sits over lower frame */
.hero__overlay {
  position: absolute;
  left: 12%; right: 5%;
  bottom: 24px;
  background: rgba(30, 35, 40, .35);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: .85rem 1rem .75rem;
  color: #fff;
  z-index: 3;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.35);
}
.hero__overlay-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .55rem; }
.hero__overlay-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: grid; place-items: center; flex: none;
}
.hero__overlay-icon svg { width: 14px; height: 14px; color: #fff; }
.hero__overlay-text { flex: 1; font-size: .88rem; font-weight: 500; color: #fff; }
.hero__overlay-percent { font-size: .95rem; font-weight: 600; color: #fff; }
.hero__overlay-bar {
  height: 5px;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
  overflow: hidden;
}
.hero__overlay-bar span {
  display: block; height: 100%;
  background: #fff;
  border-radius: 999px;
}

/* Mobil: Overlay-Banner (fast) volle Bildbreite → flacher */
@media (max-width: 620px) {
  .hero__overlay {
    left: 3%; right: 3%;
    bottom: 12px;
    padding: .5rem .7rem;
    border-radius: 12px;
  }
  .hero__overlay-row { gap: .5rem; margin-bottom: .4rem; }
  .hero__overlay-icon { width: 24px; height: 24px; }
  .hero__overlay-icon svg { width: 11px; height: 11px; }
  .hero__overlay-text { font-size: .8rem; line-height: 1.2; }
  .hero__overlay-percent { font-size: .82rem; }
  .hero__overlay-bar { height: 4px; }
}

/* ===================== Trust bar ===================== */
.trustbar {
  background: #fff;
  padding: 2rem 0 3.5rem;
}
.trustbar__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  justify-content: center;
}
.trust {
  display: flex; align-items: center; gap: .55rem;
  color: var(--color-text-strong);
  font-size: .88rem; font-weight: 500;
  background: #F5F5F5;
  padding: .65rem 1.1rem;
  border-radius: 999px;
}
.trust svg { width: 18px; height: 18px; color: var(--color-text-strong); flex: none; }
.trust--reviews { gap: .5rem; }
.trust .stars { color: var(--color-star); letter-spacing: 1px; font-size: .95rem; }

/* ===================== Partners ===================== */
.partners { background: var(--color-soft); padding: 3rem 0; }
.partners__title {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 2rem;
}
.partners__logos {
  display: flex; flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: center; justify-content: center;
  opacity: .9;
}
.partners__logos img { max-height: 70px; max-width: 160px; object-fit: contain; filter: grayscale(20%); }

/* ===================== Services ===================== */
.services { padding: 5rem 0; background: #fff; }
.services__head {
  margin-bottom: 3rem;
  max-width: 720px;
}
.services__head .section-title { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.services__sub { color: var(--color-text); font-size: .98rem; margin: 0; max-width: 56ch; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  grid-auto-rows: 1fr;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  /* Unten Platz für den Pfeil-Kreis reservieren, damit Text (auch 3-zeilig) nie überdeckt wird */
  padding: 1.25rem 1.25rem 3.75rem;
  position: relative;
  min-height: 120px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  color: var(--color-text-strong);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card__desc { flex: 1; }
.service-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow); }
.service-card__top { display: flex; align-items: center; gap: .75rem; }
.service-card__icon { display: grid; place-items: center; width: 28px; height: 28px; color: var(--color-accent); flex: none; }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: .98rem; font-weight: 600; margin: 0; color: var(--color-text-strong); }
/* "Mehr erfahren" sitzt unten rechts, links neben dem Pfeil-Kreis */
.service-card__link {
  position: absolute;
  right: calc(1rem + 36px + .6rem);
  bottom: 1.6rem;
  font-size: .85rem;
  color: var(--color-text);
  font-weight: 500;
  transition: color .2s;
}
.service-card:hover .service-card__link { color: var(--color-accent); }
.service-card__arrow {
  position: absolute; right: 1rem; bottom: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  display: grid; place-items: center;
  transition: transform .2s;
}
.service-card:hover .service-card__arrow { transform: scale(1.08); }
.service-card__arrow svg { width: 16px; height: 16px; }

/* ===================== Why ===================== */
.why { padding: 5rem 0; background: #fff; }
.why__head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.why__head .section-title { text-align: center; margin: 0 auto .75rem; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.why__head .section-lead { margin: 0 auto; text-align: center; }
.why__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 auto 1rem;
  max-width: 820px;
  grid-auto-rows: 1fr;
}
.why__row--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 540px;
  margin-inline: auto;
}
.why-card {
  background: #F5F5F5;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.why-card h3 { font-size: 1rem; }
.why-card p { font-size: .85rem; }
.why-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow); }
.why-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  margin: 0 auto 1.25rem;
  color: var(--color-text-strong);
}
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .75rem; }
.why-card p { font-size: .9rem; color: var(--color-text); margin: 0; }

/* ===================== Reviews ===================== */
.reviews { padding: 5rem 0; background: #fff; }
.reviews__head { text-align: center; margin-bottom: 3rem; }
.reviews__head .section-eyebrow { display: block; }
.reviews__head .section-title { text-align: center; margin: 0 auto; }
.reviews__viewport {
  overflow: hidden;
  margin-bottom: 2rem;
}
.reviews__track {
  display: flex;
  gap: 1.25rem;
  transition: transform .6s cubic-bezier(.65,.05,.25,1);
  will-change: transform;
}
.reviews__track .review {
  flex: 0 0 calc((100% - 2.5rem) / 3);
}
.review {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--color-text);
  font-size: .92rem;
}
.review__meta {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: 1rem;
}
.review__meta strong { color: var(--color-text-strong); font-weight: 600; display: block; margin-bottom: .2rem; }
.review__meta span  { font-size: .78rem; color: var(--color-text); line-height: 1.4; }
.review__score { display: inline-flex; align-items: center; gap: .25rem; color: var(--color-text-strong); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.review__score .star { color: var(--color-star); }
.review p { color: var(--color-text); line-height: 1.6; margin: 0; }

.reviews__nav {
  display: flex; justify-content: flex-end; gap: .75rem;
}
.reviews__arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--color-border);
  display: grid; place-items: center; cursor: pointer;
  color: var(--color-text-strong);
  transition: border-color .2s, background .2s;
}
.reviews__arrow:hover { border-color: var(--color-text-strong); }
.reviews__arrow svg { width: 20px; height: 20px; }

/* ===================== Audience ===================== */
.audience { padding: 5rem 0; background: #fff; }
.audience__head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.audience__head .section-title { text-align: center; margin: 0 auto .75rem; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.audience__head .section-lead { margin: 0 auto; text-align: center; }
.audience__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.audience-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.audience-card__media {
  position: relative;
  aspect-ratio: 459 / 266;
}
.audience-card__media.glass-frame { border-radius: 16px; }
.audience-card__media .glass-frame__inner { border-radius: 12px; }
.audience-card__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,.85);
  color: var(--color-text-strong);
  font-size: .78rem; font-weight: 500;
  padding: .45rem .85rem; border-radius: 8px;
  backdrop-filter: blur(6px);
  z-index: 3;
}
.audience-card__title {
  position: absolute; left: 1rem; bottom: 1rem;
  color: #fff; font-size: 1.4rem; font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  z-index: 3;
}
.audience-card > p { color: var(--color-text); font-size: .92rem; margin: 0; }
.audience-card .checklist { margin-bottom: .5rem; }
.audience-card .btn { align-self: flex-start; }

/* ===================== Checklist ===================== */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.checklist li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--color-text-strong);
  font-size: .92rem;
}
.checklist li::before {
  content: "•";
  position: absolute; left: 0; top: 0;
  color: var(--color-text);
  font-size: 1rem;
}
.checklist--circles li {
  padding-left: 2rem;
}
.checklist--circles li::before {
  content: "";
  position: absolute; left: 0; top: .2rem;
  width: 20px; height: 20px;
  background: url('assets/img/check-circle-svgrepo-com-1.svg') center/contain no-repeat;
}

/* ===================== Case / KNX ===================== */
.case { padding: 5rem 0; background: #fff; }
.case__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.case__header { margin-bottom: 1.25rem; }
.case__image { position: relative; aspect-ratio: 522 / 600; }
.case__knx-logo { height: 38px; width: auto; display: block; flex: none; }
.case__tags {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; gap: .5rem;
  z-index: 3;
}
.case__tags span {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  color: var(--color-text-strong);
  font-size: .78rem;
  font-weight: 500;
  padding: .4rem .9rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.6);
}
.case__knx-badge {
  position: absolute; left: 1rem; bottom: 1rem;
  z-index: 3;
  display: flex; align-items: center; gap: .75rem;
  background: #fff;
  border-radius: 12px;
  padding: .75rem 1rem .75rem .75rem;
  box-shadow: var(--shadow);
  font-size: .8rem;
  color: var(--color-text-strong);
  max-width: 80%;
}
.case__knx-mark {
  background: var(--color-text-strong);
  color: #fff;
  padding: .4rem .6rem;
  border-radius: 8px;
  font-size: .6rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 500;
  flex: none;
}
.case__knx-mark strong { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .05em; display: block; }

.case__header h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 0; letter-spacing: -.01em; }
.case__body p  { font-size: .95rem; }
.case__body .checklist { margin-top: 1.25rem; }

/* ===================== FAQ ===================== */
.faq { padding: 5rem 0; background: #fff; }
.faq__title { text-align: center; margin: 0 auto 3rem; font-size: clamp(1.8rem, 3vw, 2.25rem); }
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background .2s, border-color .2s;
}
.faq-item:hover { background: #F5F5F5; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 4rem 1.15rem 1.5rem;
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-text-strong);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__toggle {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  transition: background .2s;
}
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: ""; position: absolute; background: var(--color-text-strong);
  transition: transform .25s, background .2s;
}
.faq-item__toggle::before { width: 14px; height: 2px; }
.faq-item__toggle::after  { width: 2px; height: 14px; }
.faq-item[open] .faq-item__toggle::after { transform: scaleY(0); }

/* Hover only: black circle with white +/- */
.faq-item:hover .faq-item__toggle { background: var(--color-text-strong); }
.faq-item:hover .faq-item__toggle::before,
.faq-item:hover .faq-item__toggle::after { background: #fff; }
.faq-item__body { padding: 0 1.5rem 1.3rem; color: var(--color-text); font-size: .92rem; }

/* ===================== CTA ===================== */
.cta {
  background: #fff;
  padding: 4rem 0;
}
.cta__frame {
  position: relative;
  max-width: none;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(19,25,32,.35);
  isolation: isolate;
}
.cta__frame-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(32px) brightness(1.05) saturate(1.1);
  transform: scale(1.25);
  z-index: 0;
}
.cta__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.35);
  z-index: 1;
  pointer-events: none;
}
.cta__frame-inner {
  position: relative;
  margin: 4px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  /* Vertikales Padding wächst auf Desktop → mehr Hintergrund sichtbar (mobil via Override kompakt) */
  padding: clamp(3rem, 6vw, 6rem) 2rem;
  z-index: 2;
}
.cta__card {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(40, 45, 50, .28);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.cta__card h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: 1rem; letter-spacing: -.01em; max-width: 26ch; margin-inline: auto; line-height: 1.3; }
.cta__card p  { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 1.75rem; max-width: 56ch; margin-inline: auto; }
.cta__buttons { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

/* ===================== Footer ===================== */
.footer { background: #fff; padding: 4rem 0 0; color: var(--color-text); border-top: 1px solid var(--color-border); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__logo { height: 56px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .88rem; color: var(--color-text); max-width: 34ch; margin-bottom: 1.25rem; }
.footer__brand address { font-style: normal; font-size: .88rem; color: var(--color-text); }
.footer__brand address a { color: var(--color-text); }
.footer__brand address a:hover { color: var(--color-accent); }
.footer__social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  display: grid; place-items: center;
  color: var(--color-text-strong);
  transition: border-color .2s, color .2s;
}
.footer__social a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.footer__social svg { width: 16px; height: 16px; }

.footer__col h4 {
  color: var(--color-text-strong);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .88rem; color: var(--color-text); }
.footer__col a:hover { color: var(--color-accent); }

.footer__bottom { border-top: 1px solid var(--color-border); padding: 1.25rem 0; font-size: .85rem; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__bottom-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__track .review { flex-basis: calc((100% - 1.25rem) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .trustbar__grid { justify-content: center; }
  .services__head { grid-template-columns: 1fr; }
  .services__sub { justify-self: start; }
}

@media (max-width: 860px) {
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .logo { order: 1; margin-right: auto; }
  .header__ctas { order: 2; }
  .nav-toggle { order: 3; }

  /* Trustbar auf Mobil dichter an den Hero rücken */
  .trustbar { padding-top: .25rem; }

  /* Header auf Mobil: bei Runterscrollen ausblenden, bei Hochscrollen einblenden */
  .header { transition: transform .28s ease; will-change: transform; }
  .header.header--hidden { transform: translateY(-100%); }

  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "heading"
      "visual"
      "body";
    gap: 1.5rem;
  }
  .hero__visual { align-self: start; }
  .case__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .case__content { display: contents; }
  .case__header { order: 1; margin-bottom: 0; }
  .case__image  { order: 2; max-width: 440px; margin: 0; width: 100%; justify-self: start; }
  .case__body   { order: 3; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .header__ctas .btn:first-child { display: none; }
  .header__ctas .btn:last-child { padding: 10px 14px; }
  .nav-toggle { display: block; order: 3; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; padding: 1rem 1.5rem; }
  .nav li { border-bottom: 1px solid var(--color-border); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: .9rem 0; }

  /* Menü scrollbar halten, falls Mega-Panels aufgeklappt sind */
  .nav.is-open { max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }

  /* Mega menu → accordion on mobile */
  .nav__item--mega { display: flex; flex-wrap: wrap; align-items: center; }
  .nav__item--mega > a { flex: 1; }
  .nav__item--mega > a .nav__chev { display: none; }
  .nav__caret {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto;
    background: transparent; border: 0; padding: 0; cursor: pointer;
    color: var(--color-text-strong);
  }
  .nav__caret .nav__chev { width: 18px; height: 18px; transition: transform .2s; }
  .nav__item--mega.is-open .nav__caret .nav__chev { transform: rotate(180deg); }

  /* neutralise desktop panel positioning inside the mobile dropdown */
  .mega {
    position: static; width: 100%; order: 3;
    border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .nav__item--mega.is-open > .mega { display: block; }
  /* hover must not open the panel on touch layouts */
  .nav__item--mega:hover > .mega,
  .nav__item--mega:focus-within > .mega { display: none; }
  .nav__item--mega.is-open:hover > .mega,
  .nav__item--mega.is-open:focus-within > .mega { display: block; }

  .mega__inner { flex-direction: column; gap: 1.25rem; padding: .25rem 0 1rem; }
  .mega__cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .mega__links--2 { columns: 1; }
  .mega__title { margin-bottom: .5rem; }
  .mega__links a { padding: .5rem 0; border: 0; }
  .mega__cta { width: 100%; align-self: stretch; flex-direction: row; align-items: center; }

  .header__inner { position: relative; }
}

@media (max-width: 620px) {
  .services__grid,
  .why__row,
  .audience__grid { grid-template-columns: 1fr; }
  .reviews__track .review { flex-basis: 100%; }

  /* Phone button becomes a round icon */
  .header__ctas .btn--phone {
    width: 44px; height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .header__ctas .btn--phone .btn__label { display: none; }
  .header__ctas .btn--phone svg { width: 18px; height: 18px; }

  /* CTA: ein wenig mehr Breite auf Mobile */
  .cta .container { width: min(100% - 1.25rem, var(--container)); }
  .cta__frame-inner { padding: 1.5rem 1rem; }
  .cta__card { padding: 2.25rem 1.25rem; }
  .why__row--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__buttons { flex-direction: column; align-items: stretch; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; }
}
