/* ============================================================
   DZENGEL.IT – Main Stylesheet
   ============================================================ */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- CSS Variables ---------- */
:root {
  --green: #2d8a4e;
  --green-light: #e6f4ec;
  --green-dark: #1e6635;
  --red: #d92b2b;
  --red-hover: #b71c1c;
  --gray-bg: #f7f8fa;
  --text-muted: #5a6475;
  --header-h: 136px;
}

/* ---------- Container ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn--red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn--outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--outline-green:hover {
  background: var(--green);
  color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Top-Bar */
.header__top {
  background: #fff;
  padding: 12px 0;
}

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Quick-Links in der Top-Bar */
.header__quicklinks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__ql {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.header__ql:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.header__ql--blue   { background: #2b2d3a; }
.header__ql--red    { background: var(--red); }
.header__ql--purple { background: #2b2d3a; }

/* Nav-Bar (grün) */
.header__nav-bar {
  background: var(--green);
  position: relative;
  overflow: visible;
  height: 52px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 60px;
  width: auto;
  display: block;
}

.logo__name {
  color: #1a1a2e;
}

.logo__dot {
  color: var(--green);
}

/* Drawer-Backdrop (Mobile Menü) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 998;
  transition: background 0.38s ease;
}
.nav-backdrop.visible {
  display: block;
  background: rgba(0,0,0,0.55);
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  z-index: 1;
}

.nav__list {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.nav__list > li {
  position: relative;
}

.nav__list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav__list > li > a:hover,
.nav__list > li > a:focus {
  color: #fff;
  background: rgba(255,255,255,0.18);
}

.nav__list > li > a i {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

/* ============================================================
   DROPDOWN (standard, einspaltig)
   ============================================================ */
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover > a i,
.has-dropdown:focus-within > a i {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  border-top: 3px solid var(--green);
  padding: 8px 0 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1100;
}

/* Nur einspaltige Dropdowns */
.dropdown:not(.dropdown--mega) > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 16px;
  font-size: 0.875rem;
  color: #333;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, padding-left 0.15s, border-color 0.15s;
}

.dropdown:not(.dropdown--mega) > li > a i {
  color: var(--green);
  font-size: 0.82rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown:not(.dropdown--mega) > li > a:hover {
  background: var(--green-light);
  color: var(--green);
  padding-left: 22px;
  border-left-color: var(--green);
}

/* ============================================================
   MEGA PANEL – großes schwebendes Panel
   ============================================================ */

/* li mit mega-panel darf kein Containing Block sein → nav-bar übernimmt */
.has-dropdown:has(> .mega-panel) {
  position: static;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1200px, 96vw);
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.20);
  border-top: 4px solid var(--green);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s;
  z-index: 1100;
}

.has-dropdown:hover > .mega-panel,
.has-dropdown:focus-within > .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-panel__grid {
  display: grid;
  padding: 52px 56px 36px;
  gap: 0;
}

.mega-panel__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mega-panel__grid--3 { grid-template-columns: repeat(3, 1fr); }

.mega-group {
  padding: 0 48px 12px 0;
}

.mega-group + .mega-group {
  padding-left: 48px;
  padding-right: 48px;
  border-left: 1px solid #edf0f3;
}

.mega-group:last-child {
  padding-right: 0;
}

.mega-group__head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.mega-group__head i {
  color: var(--green);
  font-size: 1.4rem;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

.mega-group__rule {
  border: none;
  border-top: 2px solid var(--green-light);
  margin: 0 0 16px;
}

.mega-group__links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.mega-group__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #2d4a3e;
  transition: color 0.15s, padding-left 0.15s;
  padding-left: 0;
}

.mega-group__links a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  transition: transform 0.15s;
}

.mega-group__links a:hover {
  color: var(--green);
  padding-left: 4px;
}

.mega-group__links a:hover::before {
  transform: scale(1.4);
}

.mega-panel__footer {
  background: #f4f7f5;
  border-top: 1px solid #e2ede8;
  padding: 18px 56px;
  font-size: 1rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mega-panel__footer i {
  color: var(--green);
  font-size: 1.15rem;
}

.mega-panel__footer strong {
  color: #1a1a2e;
  font-size: 1.05rem;
}
.header__actions {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  height: calc(100vh - var(--header-h));
  background: url('../img/hero-bg.svg') center/cover no-repeat;
  background-color: #0d1b2a;
  display: flex;
  align-items: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13,27,42,0.82) 40%, rgba(13,27,42,0.30) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "content lottie"
    "cta     lottie";
  gap: 24px 48px;
  align-items: start;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero__content  { grid-area: content; color: #fff; }
.hero__lottie   { grid-area: lottie; }
.hero__cta-group { grid-area: cta; }

.hero__lottie {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__lottie lottie-player {
  width: 100%;
  max-width: 520px;
  height: 420px;
}

.hero__content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
}

.hero__list {
  margin-bottom: 36px;
}

.hero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.hero__list li i {
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--gray-bg);
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section__grid--reverse {
  /* HTML order: [text, image] → text LEFT, lottie RIGHT */
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section__text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
  color: #1a1a2e;
}

.section__text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.97rem;
}

.section__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section__list li .fas.fa-check {
  color: var(--green);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.section__tagline {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  border-left: 3px solid var(--red);
  padding-left: 12px;
  margin-bottom: 24px !important;
  line-height: 1.5;
}

/* Trust Metrics */
.trust-metrics {
  display: flex;
  gap: 24px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.trust-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 100px;
  flex: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}

.trust-metric:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.trust-metric__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 4px;
}

.trust-metric__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section__image lottie-player {
  width: 100%;
  max-width: 420px;
  height: 340px;
  margin: 0 auto;
}

.section__image img {
  max-height: 340px;
  width: 100%;
  object-fit: contain;
}

.highlight {
  color: var(--red);
}

/* Check list */
.check-list {
  margin-bottom: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.check-list li i {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list--compact li {
  font-size: 0.88rem;
  margin-bottom: 7px;
}

/* ============================================================
   INFRASTRUKTUR SECTION
   ============================================================ */
.infra__problem {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--green-dark);
  line-height: 1.6;
}

.infra__section-title {
  text-align: center;
  margin-bottom: 36px;
}

.infra__section-title h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.infra__section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.infra__services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.infra__service-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 14px;
  padding: 24px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.infra__service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.infra__service-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.infra__service-icon i {
  color: var(--green);
  font-size: 1.35rem;
}

.infra__service-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.3;
}

.infra__service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.infra__bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.infra__bottom-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 14px;
  padding: 26px 22px;
}

.infra__bottom-card--accent {
  border-color: var(--green);
  background: var(--green-light);
}

.infra__bottom-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.infra__bottom-card h4 i {
  color: var(--green);
  font-size: 0.95rem;
}

.infra__bottom-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.5;
}

.infra__bottom-card p strong {
  color: #1a1a2e;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services {
  padding: 70px 0;
  background: #fff;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services__col {
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 28px 26px;
  border-top: 3px solid var(--green);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.services__col:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
  border-top-color: var(--red);
}

.services__col h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services__col h3 i {
  color: var(--green);
}

.services__col ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.services__col ul li i {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta {
  background: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  display: none;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.cta__text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.97rem;
}

.cta__image img {
  max-width: 220px;
  opacity: 0.85;
}

.cta .btn--red {
  font-size: 1rem;
  padding: 14px 34px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #14202e;
  color: #c5cdd8;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.footer__col ul li {
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: #8fa0b4;
}

.footer__col ul li a {
  color: #8fa0b4;
}

.footer__col ul li a:hover {
  color: var(--green);
}

.social li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social li a i {
  font-size: 1rem;
  color: var(--green);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #5a6880;
}

.footer__disclaimer {
  margin-top: 8px;
  font-size: 0.72rem;
  color: #7a8899;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header shadow on scroll */
.header--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Nav active link */
.nav__list a.active {
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
}

@media (max-width: 768px) {
  .nav__list a.active {
    color: var(--green);
    background: var(--green-light);
  }
}

/* ============================================================
   SVG PLACEHOLDER ILLUSTRATIONS
   Inline SVG used when external images are missing
   ============================================================ */
.section__image img[src$=".svg"],
.cta__image img[src$=".svg"] {
  background: var(--green-light);
  border-radius: 16px;
  padding: 24px;
}

/* ============================================================
   HERO – NEUE ELEMENTE
   ============================================================ */
.hero__subline {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  margin-top: -16px;
  margin-bottom: 28px;
}

.hero__cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
  font-weight: 700;
}

.btn--white:hover {
  background: #e6f4ec;
  color: var(--green-dark);
  border-color: #e6f4ec;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #eaedf2;
  padding: 22px 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: background 0.2s;
}

.trust-bar__item:hover {
  background: var(--gray-bg);
}

.trust-bar__icon {
  font-size: 1.6rem;
  color: var(--green);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.trust-bar__stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.trust-bar__stars i {
  color: #f5a623;
  font-size: 1rem;
}

.trust-bar__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.trust-bar__text strong {
  font-size: 0.93rem;
  font-weight: 700;
  color: #1a1a2e;
}

.trust-bar__text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   PROBLEM LINE (IT-Sicherheit)
   ============================================================ */
.problem-line {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff3f3;
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #b71c1c;
  margin-bottom: 14px;
}

.problem-line i {
  flex-shrink: 0;
  color: var(--red);
}

/* ============================================================
   ZIELGRUPPEN
   ============================================================ */
.target-groups {
  background: var(--gray-bg);
}

.target-groups__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.target-groups__intro {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
}

.target-groups__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.target-groups__card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #e8ecf0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.target-groups__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.target-groups__card > i {
  font-size: 2rem;
  color: var(--green);
  display: block;
  margin-bottom: 14px;
}

.target-groups__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.target-groups__card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA Button-Gruppe */
.cta__btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   INFRA PREMIUM BLOCK
   ============================================================ */
.infra__premium-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.infra__premium-header h2 { margin-bottom: 10px; }
.infra__sub-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.infra__premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.infra__premium-card {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-top: 3px solid #e5e9f0;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow .25s, transform .25s, border-top-color .25s;
}
.infra__premium-card:hover {
  box-shadow: 0 6px 24px rgba(45,138,78,0.12);
  transform: translateY(-3px);
  border-top-color: var(--red);
}
.infra__premium-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--green);
}
.infra__premium-card h3 {
  color: #1a1a2e;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.infra__premium-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.infra__premium-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  background: var(--gray-bg);
  border-radius: 14px;
  padding: 32px;
}
.infra__sub-block h4 {
  color: #1a1a2e;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.infra__sub-block h4 i {
  color: var(--green);
}
.infra__sub-cta {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.infra__sub-cta p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .target-groups__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra__services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra__premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra__premium-subgrid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .infra__sub-cta {
    grid-column: 1 / -1;
  }

  .infra__bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__lottie {
    display: none;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__list li {
    justify-content: center;
  }

  .section__grid,
  .section__grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .section__image {
    order: -1;
  }

  .cta__inner {
    grid-template-columns: 1fr;
  }

  .cta__image {
    display: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 84px; /* Logo 56px + 14+14px Padding */
  }

  /* Mobile Logo – etwas größer für mehr Präsenz */
  .logo__img {
    height: 56px;
  }

  /* Mehr Padding im Header-Top für volle Höhe */
  .header__top {
    padding: 14px 0;
  }

  /* Grüner Akzentstreifen am unteren Header-Rand (ersetzt die Nav-Bar optisch) */
  .header {
    border-bottom: 3px solid var(--green);
  }

  .trust-bar__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-bar__item {
    padding: 8px 12px;
  }

  .target-groups__grid {
    grid-template-columns: 1fr;
  }

  .infra__services-grid {
    grid-template-columns: 1fr;
  }

  .infra__premium-grid {
    grid-template-columns: 1fr;
  }

  .infra__premium-subgrid {
    grid-template-columns: 1fr;
  }

  .infra__sub-cta {
    grid-column: auto;
  }

  .infra__bottom-grid {
    grid-template-columns: 1fr;
  }

  .infra__grid {
    grid-template-columns: 1fr;
  }

  .hero__subline {
    justify-content: center;
    text-align: center;
  }

  /* Lottie auf Mobile wieder einblenden, kleiner */
  .hero__lottie {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
  }

  .hero__lottie lottie-player {
    width: 100%;
    max-width: 260px;
    height: 200px;
  }

  .header__nav-bar {
    display: none;
  }

  /* ── Mobile Nav – komplett ausgeblendet ── */
  .nav {
    display: none;
  }

  /* ── Liste ── */
  .nav__list {
    flex-direction: column;
    flex: 1;
    gap: 0;
    align-items: stretch;
    padding: 8px 0 48px;
  }

  .nav__list > li {
    width: 100%;
  }

  /* ── Top-Level Links ── */
  .nav__list > li > a {
    padding: 15px 24px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 1rem;
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    letter-spacing: 0.01em;
  }

  /* Chevron rechtsbündig, dreht sich beim Öffnen */
  .nav__list > li > a i.fa-chevron-down {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    transition: transform 0.25s ease, color 0.2s;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav__list > li.is-open > a i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--green);
  }

  .nav__list > li > a:hover,
  .nav__list > li > a:focus {
    color: #fff;
    background: rgba(255,255,255,0.05);
  }

  .nav__list > li.is-open > a {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-bottom-color: transparent;
  }

  /* ── Dropdown (einspaltig, z.B. Support/Unternehmen) ── */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    display: none;
    min-width: unset;
    width: 100%;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .has-dropdown.is-open > .dropdown {
    display: flex;
    flex-direction: column;
  }

  .dropdown:not(.dropdown--mega) > li > a {
    padding: 12px 24px 12px 44px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    border-left: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .dropdown:not(.dropdown--mega) > li:last-child > a {
    border-bottom: none;
    padding-bottom: 14px;
  }

  .dropdown:not(.dropdown--mega) > li > a i {
    color: var(--green);
    width: 14px;
    flex-shrink: 0;
  }

  .dropdown:not(.dropdown--mega) > li > a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-left-color: var(--green);
    padding-left: 46px;
  }

  /* ── Mega-Panel (IT-Lösungen / IT-Sicherheit / IT-Infrastruktur) ── */
  .mega-panel {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border-radius: 0;
    border: none;
    width: 100%;
    display: none;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .has-dropdown.is-open > .mega-panel {
    display: block;
  }

  .mega-panel__grid {
    grid-template-columns: 1fr !important;
    padding: 4px 0 8px;
    gap: 0;
  }

  .mega-group {
    padding: 12px 0 4px;
  }

  .mega-group__head {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 0 24px 6px 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
  }

  .mega-group__head i {
    color: var(--green);
    font-size: 0.75rem;
  }

  .mega-group__rule {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin: 0 24px 8px 44px;
  }

  .mega-group + .mega-group {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 4px;
    padding-top: 12px;
  }

  .mega-group__links {
    flex-direction: column;
    gap: 0;
  }

  .mega-group__links a {
    padding: 10px 24px 10px 44px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    border-left: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mega-group__links a::before {
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
  }

  .mega-group__links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
    padding-left: 46px;
  }

  .mega-group__links a:hover::before {
    background: var(--green);
    transform: scale(1.4);
  }

  .mega-panel__footer {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .header__quicklinks {
    display: none;
  }

  /* ── Burger ── */
  .burger {
    display: none;
  }

  .burger span {
    width: 24px;
    height: 2.5px;
    background: #1a1a2e;
    border-radius: 3px;
    transition: background 0.2s, transform 0.2s, opacity 0.2s;
  }

  .burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 540px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
    height: calc(100svh - var(--header-h));
  }
}

/* ============================================================
   UNTERSEITEN – Page Hero, Legal Pages
   ============================================================ */

/* ---------- Page Hero (Seitenbanner) ---------- */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  padding: 32px 0 28px;
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-hero h1 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero h1 i {
  color: var(--green);
}

.page-hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.breadcrumb a {
  color: var(--green);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb i {
  font-size: 0.65rem;
}

/* ---------- Legal Page ---------- */
.legal-page {
  padding: 60px 0 80px;
}

.legal-page__inner {
  max-width: 820px;
}

.legal-page__inner h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-light);
}

.legal-page__inner h2:first-of-type {
  margin-top: 0;
}

.legal-page__inner h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 24px 0 10px;
}

.legal-page__inner p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.75;
}

.legal-page__inner a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__inner a:hover {
  color: var(--green-dark);
}

.legal-page__inner code {
  background: var(--gray-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--green-dark);
}

/* ---------- Info Box ---------- */
.legal-info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-bottom: 36px;
}

.legal-info-box i {
  color: var(--green);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-info-box p {
  margin: 0;
  color: #1a1a2e;
  font-size: 0.95rem;
}

/* ---------- Table of Contents ---------- */
.legal-toc {
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.legal-toc h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-toc h3 i {
  color: var(--green);
}

.legal-toc ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
}

.legal-toc ul li a {
  color: var(--green-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-toc ul li a::before {
  content: '›';
  color: var(--green);
  font-weight: 700;
}

.legal-toc ul li a:hover {
  color: var(--green);
}

/* ---------- Legal List ---------- */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-list li {
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- Definition List ---------- */
.legal-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  margin-bottom: 20px;
}

.legal-dl dt {
  font-weight: 600;
  color: #1a1a2e;
  padding-top: 2px;
}

.legal-dl dd {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Address Block ---------- */
.legal-address {
  font-style: normal;
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 8px;
  color: var(--text-muted);
  line-height: 2;
}

.legal-address strong {
  color: #1a1a2e;
  font-size: 1.05rem;
}

.legal-address a {
  color: var(--green) !important;
  text-decoration: none;
}

/* ---------- Footer Note ---------- */
.legal-footer-note {
  margin-top: 48px;
  padding: 16px 20px;
  background: var(--gray-bg);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-footer-note i {
  color: var(--green);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  .page-hero {
    padding: 32px 0 24px;
  }

  .legal-dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .legal-dl dt {
    margin-top: 12px;
  }

  .legal-dl dt:first-child {
    margin-top: 0;
  }

  .legal-toc ul {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   COOKIE CONSENT MODAL
   ============================================================ */

.ck-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ck-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}

.ck-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ck-modal.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.ck-modal-inner {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Tabs */
.ck-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 24px;
  flex-shrink: 0;
}

.ck-tab {
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 16px 18px 14px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  margin-bottom: -1px;
}

.ck-tab:hover {
  color: #1a1a2e;
}

.ck-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Panes */
.ck-pane {
  padding: 24px 28px 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.ck-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.ck-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.ck-text:last-child {
  margin-bottom: 0;
}

.ck-legal-links {
  margin-top: 14px;
  font-size: 0.8rem;
}

.ck-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.ck-link:hover {
  color: var(--green-dark);
}

/* Categories */
.ck-category {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--gray-bg);
}

.ck-category:last-child {
  margin-bottom: 0;
}

.ck-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ck-category-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ck-category-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
}

.ck-category-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.ck-category-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Toggle switch */
.ck-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.ck-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.ck-toggle-track {
  position: absolute;
  inset: 0;
  background: #e5e7eb;
  border-radius: 50px;
  transition: background 0.25s;
}

.ck-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.25s;
}

.ck-toggle input:checked + .ck-toggle-track {
  background: var(--green);
}

.ck-toggle input:checked + .ck-toggle-track::after {
  transform: translateX(20px);
}

.ck-toggle input:disabled + .ck-toggle-track {
  background: var(--green);
  opacity: 0.6;
  cursor: not-allowed;
}

.ck-toggle input:disabled + .ck-toggle-track::after {
  transform: translateX(20px);
}

/* Actions */
.ck-actions {
  display: flex;
  gap: 8px;
  padding: 16px 28px 22px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.ck-btn {
  flex: 1;
  min-width: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.3;
}

.ck-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid #e5e7eb;
}

.ck-btn-ghost:hover {
  background: var(--gray-bg);
  color: #1a1a2e;
}

.ck-btn-secondary {
  background: var(--gray-bg);
  color: #1a1a2e;
  border: 1.5px solid #e5e7eb;
}

.ck-btn-secondary:hover {
  background: #e5e7eb;
}

.ck-btn-primary {
  background: var(--green);
  color: #fff;
  border: 1.5px solid transparent;
}

.ck-btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(45,138,78,0.3);
}

/* Widerruf-Button – durch Sidebar ersetzt, dauerhaft ausblenden */
.ck-reopen {
  display: none !important;
}

/* Footer Cookie-Button */
.footer__cookie-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  transition: color 0.2s;
}

.footer__cookie-btn:hover {
  color: rgba(255,255,255,0.85);
}

/* Responsive */
@media (max-width: 540px) {
  .ck-tabs {
    padding: 0 16px;
  }

  .ck-tab {
    padding: 14px 10px 12px;
    font-size: 0.82rem;
  }

  .ck-pane {
    padding: 20px 20px 12px;
  }

  .ck-actions {
    padding: 14px 20px 18px;
    gap: 6px;
  }

  .ck-btn {
    font-size: 0.8rem;
    padding: 10px 10px;
    min-width: 80px;
  }
}

/* ============================================================
   STICKY LEFT SIDEBAR NAV
   ============================================================ */

.side-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-nav__item {
  display: flex;
  align-items: center;
  gap: 0;
  color: #fff;
  text-decoration: none;
  height: 52px;
  overflow: hidden;
  max-width: 44px;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.15);
  transition: max-width 0.28s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

/* Button-Reset für Cookie-Item */
.side-nav__item--btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.side-nav__item { background: #2b2d3a; border-left: 3px solid transparent; }
.side-nav__item:nth-child(2) { background: var(--red); border-left-color: #b71c1c; }

.side-nav__item:hover {
  background: #3d3f52;
  border-left-color: transparent;
  max-width: 200px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.35);
}
.side-nav__item:nth-child(2):hover {
  background: var(--red-hover);
  border-left-color: #b71c1c;
}

.side-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 52px;
  font-size: 1.1rem;
}

.side-nav__label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding-right: 16px;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease 0.06s, transform 0.2s ease 0.06s;
}

.side-nav__item:hover .side-nav__label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */

/* Backdrop */
.cm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cm-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}

/* Modal wrapper */
.cm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  z-index: 2001;
  width: min(920px, 96vw);
  max-height: 98vh;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(10, 12, 20, 0.32), 0 8px 24px rgba(10, 12, 20, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cm-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}

/* Two-column layout */
.cm-inner {
  display: flex;
  min-height: 0;
}

/* ── Left Sidebar ── */
.cm-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #d92b2b 0%, #7a0000 100%);
  color: #fff;
  border-radius: 20px 0 0 20px;
  padding: 2.2rem 1.6rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.cm-sidebar::before,
.cm-sidebar::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.cm-sidebar::before {
  width: 220px;
  height: 220px;
  bottom: -70px;
  right: -70px;
}
.cm-sidebar::after {
  width: 130px;
  height: 130px;
  top: -40px;
  left: -40px;
}

.cm-sidebar__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.cm-sidebar__brand h2 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  color: #fff;
}
.cm-sidebar__brand p {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.cm-sidebar__usps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.cm-sidebar__usps li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.9);
}
.cm-sidebar__usps li i {
  font-size: 0.78rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cm-sidebar__foot {
  margin-top: auto;
}
.cm-sidebar__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.cm-sidebar__tel:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── Right form body ── */
.cm-body {
  flex: 1;
  min-width: 0;
  padding: 1.6rem 1.9rem 1.5rem;
  position: relative;
  overflow-y: auto;
  max-height: 98vh;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}
.cm-body::-webkit-scrollbar {
  width: 5px;
}
.cm-body::-webkit-scrollbar-thumb {
  background: #dde0e8;
  border-radius: 4px;
}

/* Close button */
.cm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gray-bg);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}
.cm-close:hover {
  background: var(--red);
  color: #fff;
}

/* Modal header */
.cm-header {
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}
.cm-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.2rem;
}
.cm-header p {
  color: var(--text-muted);
  font-size: 0.83rem;
}

/* Alert */
.cm-alert {
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.cm-alert--success {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid #b2d9c1;
}
.cm-alert--error {
  background: #fdf0f0;
  color: var(--red);
  border: 1px solid #f5c0c0;
}

/* Honeypot – komplett versteckt */
.cm-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

/* Form layout */
.cm-row {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.cm-row--2 {
  grid-template-columns: 1fr 1fr;
}

.cm-field {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  margin-bottom: 0.65rem;
}
.cm-field label {
  font-size: 0.79rem;
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: 0.01em;
}
.cm-req {
  color: var(--red);
}
.cm-field input,
.cm-field select,
.cm-field textarea {
  padding: 0.52rem 0.85rem;
  border: 1.5px solid #dde0e8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.875rem;
  color: #1a1a2e;
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cm-field input:focus,
.cm-field select:focus,
.cm-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 43, 43, 0.12);
  background: #fff;
}
.cm-field input.is-invalid,
.cm-field select.is-invalid,
.cm-field textarea.is-invalid {
  border-color: var(--red);
}
.cm-field textarea {
  resize: vertical;
  min-height: 120px;
}
.cm-charcount {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.15rem;
}

/* Privacy checkbox */
.cm-field--privacy {
  margin: 0;
}

/* Trennlinie + Footer-Bereich (Datenschutz + Absenden) */
.cm-footer {
  border-top: 1.5px solid #eef0f4;
  margin-top: 0.8rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cm-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.cm-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
  border-radius: 4px;
}
.cm-checkbox a {
  color: var(--red);
  text-decoration: underline;
}

/* Actions */
.cm-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cm-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.9rem;
  background: linear-gradient(135deg, var(--red) 0%, #b71c1c 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(217, 43, 43, 0.35);
}
.cm-btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(217, 43, 43, 0.42);
}
.cm-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.cm-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   PARTNER SECTION – PFALZDATA  (deutlich als Werbung erkennbar)
   ============================================================ */

.pfd {
  background: linear-gradient(135deg, #0f1829 0%, #1a2744 60%, #0f1829 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 0 0 5rem;
}

@media (max-width: 768px) {
  .pfd {
    padding: 0 0 3rem;
  }

  .pfd__ad-bar {
    margin-bottom: 2rem;
  }

  .pfd__intro {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .pfd {
    padding: 0 0 2.5rem;
  }
}

/* Dezentes Muster im Hintergrund */
.pfd::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(217,43,43,0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Anzeigen-Banner oben */
.pfd__ad-bar {
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 3rem;
}

.pfd__ad-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pfd__ad-label i {
  color: var(--red);
  font-size: 0.7rem;
}

/* Partner-Badge */
.pfd__partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
  width: fit-content;
}

.pfd__partner-badge i {
  color: var(--red);
}

/* Split intro */
.pfd__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.pfd__intro-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.pfd__intro-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* Highlight-Box rechts */
.pfd__intro-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 2rem 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.pfd__intro-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, #ff6b6b 100%);
  border-radius: 18px 18px 0 0;
}

.pfd__intro-box__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}

.pfd__intro-box__claim {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.pfd__intro-box__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pfd__intro-box__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.pfd__intro-box__list li i {
  color: var(--green);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Pfalzdata CTA-Button */
.btn--pfd {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}
.btn--pfd:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

/* Horizontal service cards – 2-col grid */
.pfd__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  position: relative;
}

.pfd__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.pfd__card:hover {
  border-color: rgba(217,43,43,0.5);
  background: rgba(255,255,255,0.09);
  transform: translateY(-2px);
}

.pfd__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfd__icon i {
  color: var(--red);
  font-size: 1.1rem;
}

.pfd__card-text h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.pfd__card-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .pfd__intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 580px) {
  .pfd__grid {
    grid-template-columns: 1fr;
  }
}

/* header__ql als button */
button.header__ql {
  border: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
button.side-nav__item {
  font-family: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 680px) {
  .cm-modal {
    overflow-y: auto;
    max-height: 96dvh;
  }
  .cm-inner {
    flex-direction: column;
  }
  .cm-sidebar {
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 1.1rem 1.4rem;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: nowrap;
  }
  .cm-sidebar::before,
  .cm-sidebar::after { display: none; }
  .cm-sidebar__icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 9px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .cm-sidebar__brand {
    flex: 1;
  }
  .cm-sidebar__brand h2 {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
  .cm-sidebar__brand p,
  .cm-sidebar__usps,
  .cm-sidebar__foot { display: none; }
  .cm-body {
    padding: 1.2rem 1.1rem 1.1rem;
    max-height: none;
  }
  .cm-row--2 {
    grid-template-columns: 1fr;
  }
  .cm-header h2 {
    font-size: 1.1rem;
  }
}

/* ============================================================
   MOBILE OPTIMIERUNGEN – Umfassend
   ============================================================ */

/* ---------- Tablet / mittlere Bildschirme (≤ 768px) ---------- */
@media (max-width: 768px) {

  /* Allgemeines Spacing */
  .section {
    padding: 48px 0;
  }

  .services {
    padding: 40px 0;
  }

  .cta {
    padding: 40px 0;
  }

  .footer {
    padding: 40px 0 0;
  }

  /* Hero auf Mobile – Vollbild, einspaltig, Buttons nach Lottie */
  .hero {
    min-height: calc(100svh - var(--header-h));
    height: calc(100svh - var(--header-h));
    padding: 0;
    align-items: center;
    overflow: hidden;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "content"
      "lottie"
      "cta";
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 14px;
  }

  .hero__content h1 {
    font-size: clamp(1.55rem, 6vw, 2.2rem);
    margin-bottom: 12px;
  }

  .hero__subline {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .hero__list {
    margin-bottom: 14px;
  }

  .hero__list li {
    font-size: 0.93rem;
    justify-content: center;
  }

  .hero__lottie lottie-player {
    height: 150px;
    max-width: 200px;
  }

  .hero__cta-group {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero__cta-group .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    text-align: center;
  }

  /* Buttons: Touch-optimiert (mind. 44px Höhe) */
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
  }

  /* Logo */
  .logo__img {
    height: 48px;
  }

  /* Header Top-Bar */
  .header__top {
    padding: 8px 0;
  }

  /* Services-Grid */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services__col {
    padding: 22px 20px;
  }

  /* Trust Metrics */
  .trust-metrics {
    gap: 10px;
  }

  .trust-metric {
    padding: 12px 14px;
    min-width: 80px;
  }

  .trust-metric__value {
    font-size: 1.3rem;
  }

  /* CTA-Bereich */
  .cta__text h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .cta__btn-group .btn--red {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  /* Sektion-Grid-Abstände */
  .section__grid {
    gap: 28px;
  }

  .section__text h2 {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }

  /* Infra-Karten */
  .infra__services-grid {
    gap: 12px;
  }

  .infra__service-card {
    padding: 18px 16px;
  }

  .infra__premium-grid {
    gap: 12px;
  }

  .infra__premium-card {
    padding: 20px 18px;
  }

  .infra__premium-subgrid {
    padding: 20px 16px;
    gap: 16px;
  }

  /* Pfalzdata-Karten */
  .pfd__card {
    padding: 1rem 1.1rem;
  }

  /* Target-Groups-Karten */
  .target-groups__card {
    padding: 20px 16px;
  }

  /* Footer */
  .footer__grid {
    gap: 20px;
    padding-bottom: 32px;
  }

  .footer__col h4 {
    margin-bottom: 10px;
  }

  /* Lottie-Animationen kleiner halten */
  .section__image lottie-player {
    height: 260px;
  }

  /* Problem-Highlight */
  .infra__problem {
    font-size: 0.9rem;
    padding: 10px 14px;
  }
}

/* ---------- Mobile (≤ 480px) ---------- */
@media (max-width: 480px) {

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Abstände */
  .section {
    padding: 36px 0;
  }

  .services {
    padding: 32px 0;
  }

  .cta {
    padding: 32px 0;
  }

  .footer {
    padding: 36px 0 0;
  }

  /* Hero */
  .hero {
    min-height: calc(100svh - var(--header-h));
    height: calc(100svh - var(--header-h));
    padding: 0;
  }

  .hero__inner {
    gap: 16px;
  }

  .hero__content h1 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }

  .hero__subline {
    font-size: 0.92rem;
  }

  .hero__list li {
    font-size: 0.9rem;
  }

  .hero__cta-group .btn {
    max-width: 100%;
    font-size: 0.95rem;
  }

  /* Header */
  .logo__img {
    height: 42px;
  }

  /* Sektionen */
  .section__grid {
    gap: 20px;
  }

  .section__text p {
    font-size: 0.92rem;
  }

  /* Lottie */
  .section__image lottie-player {
    height: 220px;
  }

  /* Services */
  .services__col {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .services__col h3 {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .services__col ul li {
    font-size: 0.88rem;
  }

  /* Infra */
  .infra__service-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .infra__service-card h4 {
    font-size: 0.9rem;
  }

  .infra__service-card p {
    font-size: 0.82rem;
  }

  .infra__service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  /* Target Groups */
  .target-groups__card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  /* Trust Bar */
  .trust-bar__item {
    padding: 6px 10px;
  }

  .trust-bar__text strong {
    font-size: 0.88rem;
  }

  .trust-bar__text span {
    font-size: 0.78rem;
  }

  /* Pfalzdata */
  .pfd__intro-box {
    padding: 1.4rem 1.2rem 1.2rem;
  }

  .pfd__intro-box__claim {
    font-size: 1.35rem;
  }

  .pfd__card {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .pfd__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .pfd__card-text h3 {
    font-size: 0.88rem;
  }

  .pfd__card-text p {
    font-size: 0.79rem;
  }

  /* CTA */
  .cta__text h2 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .cta__text p {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer__grid {
    gap: 16px;
    padding-bottom: 28px;
  }

  .footer__col ul li {
    font-size: 0.84rem;
    margin-bottom: 6px;
  }

  .footer__bottom {
    font-size: 0.76rem;
    padding: 16px 0;
  }

  .footer__disclaimer {
    font-size: 0.68rem;
    margin-top: 6px;
  }

  /* Trust Metrics */
  .trust-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .trust-metric {
    flex: 1 1 calc(50% - 8px);
    padding: 10px 12px;
    min-width: 120px;
  }

  /* Check-Liste */
  .check-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  /* Sektions-Label */
  .section__label {
    font-size: 0.76rem;
    padding: 4px 10px;
  }

  /* Infra Premium */
  .infra__premium-subgrid {
    gap: 12px;
    padding: 16px 14px;
  }
}

/* ---------- Sehr kleine Bildschirme (≤ 360px) ---------- */
@media (max-width: 360px) {

  .container {
    padding: 0 12px;
  }

  .section {
    padding: 28px 0;
  }

  .hero__content h1 {
    font-size: 1.35rem;
  }

  .hero__cta-group .btn {
    font-size: 0.9rem;
    padding: 11px 16px;
  }

  .logo__img {
    height: 38px;
  }

  .section__text h2 {
    font-size: clamp(1.2rem, 7vw, 1.5rem);
  }

  .services__col h3 {
    font-size: 0.9rem;
  }

  .services__col ul li {
    font-size: 0.84rem;
  }

  .trust-metric {
    flex: 1 1 100%;
  }

  .pfd__intro-box__claim {
    font-size: 1.2rem;
  }

  .cta__text h2 {
    font-size: 1.2rem;
  }

  /* Burger etwas größer für Touch */
  .burger {
    padding: 10px;
  }

  .burger span {
    width: 28px;
  }
}

/* ---------- Mobile: Lottie-Nutzer (Touch-Hover deaktivieren) ---------- */
@media (hover: none) and (pointer: coarse) {
  .infra__service-card:hover,
  .pfd__card:hover,
  .services__col:hover,
  .trust-metric:hover {
    transform: none;
    box-shadow: none;
  }

  .btn:hover {
    transform: none;
  }

  /* Burger-Bereich größerer Touch-Target */
  .burger {
    padding: 10px 8px;
  }
}

/* ---------- Safe-Area für Geräte mit Notch / Home-Bar ---------- */
@supports (padding: env(safe-area-inset-bottom)) {
  .header {
    padding-top: env(safe-area-inset-top);
  }

  .footer__bottom {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  @supports (padding: env(safe-area-inset-bottom)) {
    .nav {
      padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
  }
}