/* digital & sicher Onepage Joomla Template - bereinigte Version */

:root {
  --ds-bg: #061a33;
  --ds-card: rgba(5, 20, 42, 0.72);
  --ds-text: #e5e7eb;
  --ds-muted: #cbd5e1;
  --ds-subtle: #94a3b8;
  --ds-blue: #2563eb;
  --ds-cyan: #22d3ee;
  --ds-border: rgba(103, 232, 249, 0.24);
  --ds-radius: 24px;
  --ds-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  --ds-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ds-bg);
  max-width: 100vw;
  overflow-x: hidden;
}

body.ds-site {
  margin: 0;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--ds-text);
  background-color: var(--ds-bg);
  background-image:
    linear-gradient(rgba(6, 26, 51, 0.72), rgba(4, 18, 38, 0.82)),
    url('/templates/tpl_digitalsicher_onepage/images/binary-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a { color: var(--ds-cyan); }

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

.ds-container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.ds-main { padding: 0 0 64px; }

.ds-onepage {
  max-width: var(--ds-width);
  margin: 0 auto;
  display: grid;
  gap: 70px;
  padding-top: 72px;
}

.ds-onepage section {
  width: 100%;
  max-width: var(--ds-width);
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 120px;
}

/* Header / Menü */

.ds-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  min-height: 88px;
  background: rgba(8, 28, 52, 0.96);
  border-bottom: 1px solid rgba(103, 232, 249, 0.35);
  backdrop-filter: blur(18px);
}

.ds-nav {
  min-height: 88px;
  display: grid;
  grid-template-columns: 240px 1fr 130px;
  align-items: center;
  gap: 20px;
}

.ds-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 240px;
  min-width: 0;
  overflow: visible;
  text-decoration: none;
}

.ds-logo {
  width: 220px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.ds-brand strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.05;
}

.ds-brand span { display: none; }

.ds-menu { justify-self: center; }

.ds-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 999px;
  color: #eaf4ff !important;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.ds-menu a:hover,
.ds-menu .current a,
.ds-menu .active a {
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  color: #00111f !important;
  box-shadow: 0 6px 18px rgba(34, 211, 238, 0.18);
  transform: translateY(-1px);
}

.ds-menu-toggle {
  display: none;
  border: 1px solid var(--ds-border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  color: var(--ds-text);
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
}

.ds-menu-toggle.is-open {
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  color: #00111f;
}

/* Typografie */

.ds-onepage h1,
.ds-onepage h2,
.ds-onepage h3,
.ds-brand strong { font-family: "Space Grotesk", sans-serif; }

.ds-onepage h1 {
  max-width: 920px;
  margin: 0 auto 32px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-align: center;
}

.ds-onepage h2 {
  margin: 0 0 26px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-align: center;
}

.ds-onepage h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ds-cyan);
  text-align: center;
}

.ds-onepage p,
.ds-onepage li,
.ds-box p,
.ds-contact p,
.ds-card p,
.ds-cta-box p,
.ds-cta-box li {
  color: var(--ds-muted);
  font-size: 1.10rem;
  line-height: 1.9;
}

.ds-legal p,
.ds-legal li {
  color: var(--ds-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.ds-lead {
  max-width: 920px;
  margin: 0 auto 20px;
  font-size: 1.10rem !important;
  line-height: 1.9;
}

.ds-kicker {
  margin: 0 0 22px;
  font-family: "Space Grotesk", sans-serif;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

/* Boxen / Cards */

.ds-hero,
.ds-card,
.ds-box,
.ds-contact,
.ds-legal,
.ds-cta-box,
.ds-highlight-box,
.ds-step,
.ds-inner-box {
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(15, 35, 65, 0.78), rgba(5, 20, 42, 0.70));
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ds-hero:hover,
.ds-cta-box:hover,
.ds-card:hover,
.ds-box:hover {
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ds-card:hover,
.ds-box:hover { transform: translateY(-2px); }

.ds-hero {
  max-width: 1120px;
  padding: 52px 48px;
  min-height: 190px;
}

.ds-hero > div { max-width: 980px; margin: 0 auto; }
.ds-hero p { max-width: 850px; margin-left: auto; margin-right: auto; }

.ds-hero-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.ds-hero-logo img {
  width: min(390px, 82%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.14));
}

.ds-trustline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 26px;
  margin-bottom: 44px;
}

.ds-trustline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.14);
  line-height: 1.3;
  font-size: 0.94rem;
}

.ds-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.ds-hero .ds-buttons::before { content: ""; display: block; width: 100%; }

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ds-blue), var(--ds-cyan));
  color: #00111f !important;
  box-shadow: 0 16px 38px rgba(34, 211, 238, 0.28);
  transition: all 0.2s ease;
}

.ds-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* IT Check */

.ds-itcheck,
.ds-itcheck * { text-align: center !important; }

.ds-itcheck,
.ds-cta-box { max-width: 1120px; margin-left: auto; margin-right: auto; }

.ds-cta-box { padding: 36px 42px; }

.ds-itcheck p,
.ds-itcheck ul { max-width: 880px; margin-left: auto; margin-right: auto; }
.ds-itcheck ul { list-style-position: inside; padding-left: 0; }

.ds-itcheck-price,
.ds-cta-price {
  max-width: 380px;
  margin: 36px auto 0;
  padding: 24px;
  background: rgba(2, 6, 23, 0.58);
  border: 1px solid var(--ds-border);
  border-radius: 22px;
  text-align: center !important;
}

.ds-itcheck-price strong,
.ds-cta-price strong {
  display: block;
  font-size: 3.6rem;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
}

.ds-itcheck-price span,
.ds-cta-price span { display: block; margin-bottom: 20px; color: var(--ds-muted); }
.ds-itcheck-price .ds-btn,
.ds-cta-price .ds-btn { width: 100%; }

.ds-grid {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ds-card { padding: 30px 26px; min-height: 190px; }

.ds-box,
.ds-contact,
.ds-legal {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 42px 34px 36px;
}

.ds-box h2,
.ds-contact h2,
.ds-legal h2 { margin-top: 0; margin-bottom: 34px; }

.ds-box ul { list-style-position: inside; padding-left: 0; text-align: center; }

.ds-contact { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ds-contact a { font-size: 1.12rem; font-weight: 700; }
.ds-legal { font-size: 0.95rem; word-break: break-word; }
.ds-legal p { max-width: 900px; margin-left: auto; margin-right: auto; }

.ds-inner-box { border-radius: 22px; padding: 36px 34px; }
.ds-inner-box h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ds-text); }

/* Weitere Sektionen */

.ds-highlight-box { padding: clamp(28px, 5vw, 52px); }
.ds-price { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; color: var(--ds-cyan); margin: 18px 0; }

.ds-checklist { display: grid; gap: 12px; margin: 28px auto; max-width: 680px; text-align: left; }
.ds-checklist span {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--ds-border);
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--ds-text);
}

.ds-review strong { display: block; color: var(--ds-cyan); margin-bottom: 12px; letter-spacing: 2px; }

.ds-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ds-step { padding: 26px; }
.ds-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--ds-blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.ds-step h3 { margin: 0 0 10px; }
.ds-step p { margin: 0; color: var(--ds-muted); }

/* Datenschutz Accordion */

.ds-accordion { width: 100%; }
.ds-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 35, 65, 0.78), rgba(5, 20, 42, 0.70));
  color: var(--ds-text);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  transition: all .2s ease;
}
.ds-accordion summary:hover { border-color: rgba(34, 211, 238, 0.5); }
.ds-accordion summary::-webkit-details-marker { display: none; }
.ds-accordion summary::after { content: " ▼"; color: var(--ds-cyan); }
.ds-accordion[open] summary::after { content: " ▲"; }
.ds-accordion-content { margin-top: 20px; }

/* Footer */

.ds-footer {
  position: static !important;
  border-top: 1px solid var(--ds-border);
  margin-top: 36px;
  padding: 22px 0 32px;
  color: var(--ds-subtle);
  background: transparent !important;
}
.ds-footer ul { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.ds-footer a { color: var(--ds-muted); }

.ds-scrolltop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  color: #00111f;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.32);
  z-index: 9999;
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}
.ds-scrolltop:hover { transform: translateY(-3px); filter: brightness(1.08); }

/* =========================
   TABLET / HANDY QUERFORMAT
   Burger-Menü ab 1100px
   ========================= */

@media screen and (max-width: 1100px) {
  html,
  body,
  .ds-site {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .ds-container { width: calc(100% - 24px) !important; }

  .ds-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    min-height: 74px !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .ds-nav {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 74px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    grid-template-columns: none !important;
    padding: 8px 0 !important;
    overflow-x: hidden !important;
  }

  .ds-brand {
    flex: 0 1 auto !important;
    max-width: 160px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .ds-logo {
    width: 135px !important;
    max-width: 135px !important;
    height: auto !important;
    max-height: 50px !important;
  }

  .ds-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 40px !important;
    padding: 8px 14px !important;
  }

  .ds-menu {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 8px !important;
    overflow-x: hidden !important;
  }

  .ds-menu.is-open {
    display: block !important;
    max-height: calc(100dvh - 74px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 18px !important;
  }

  .ds-menu ul {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 8px 0 18px !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  .ds-menu li {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ds-menu a {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    justify-content: center !important;
    white-space: normal !important;
    font-size: 1rem !important;
    padding: 10px 14px !important;
    background: rgba(15, 23, 42, 0.7);
  }

  .ds-onepage section {
    scroll-margin-top: 100px !important;
  }
}

/* Mobile */

@media screen and (max-width: 700px) {
  body.ds-site {
    background-color: #061a33 !important;
    background-image: none !important;
    background-attachment: scroll !important;
  }

  body.ds-site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(rgba(6, 26, 51, 0.88), rgba(4, 18, 38, 0.94)),
      repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.08) 0 1px, transparent 1px 42px),
      repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.06) 0 1px, transparent 1px 42px);
  }

  .ds-main { padding-bottom: 42px !important; }

  .ds-onepage {
    padding-top: 18px !important;
    gap: 32px !important;
  }

  .ds-hero,
  .ds-card,
  .ds-box,
  .ds-contact,
  .ds-legal,
  .ds-cta-box,
  .ds-inner-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  .ds-hero-logo { margin-bottom: 16px !important; }
  .ds-hero-logo img { width: min(220px, 82%) !important; }

  .ds-onepage h1 {
    font-size: 1.95rem !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 14px !important;
  }

  .ds-onepage h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }

  .ds-onepage h3 {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }

  .ds-kicker {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    letter-spacing: 0.12em !important;
  }

  .ds-onepage p,
  .ds-onepage li,
  .ds-card p,
  .ds-box p,
  .ds-contact p,
  .ds-legal p,
  .ds-cta-box p,
  .ds-cta-box li {
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
  }

  .ds-lead {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }

  .ds-trustline {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
    margin-bottom: 18px !important;
  }

  .ds-trustline span {
    width: 100% !important;
    min-height: 38px !important;
    padding: 7px 12px !important;
    white-space: normal !important;
    font-size: 0.9rem !important;
  }

  .ds-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .ds-btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.98rem !important;
    padding: 12px 16px !important;
  }

  .ds-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .ds-steps { grid-template-columns: 1fr !important; }

  .ds-itcheck-price,
  .ds-cta-price {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px !important;
  }

  .ds-itcheck-price strong,
  .ds-cta-price strong { font-size: 3rem !important; }

  .ds-legal {
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .ds-legal p,
  .ds-legal li {
    font-size: 0.98rem !important;
    line-height: 1.8 !important;
  }

  .ds-scrolltop {
    width: 48px;
    height: 48px;
    right: 14px;
    bottom: 14px;
    font-size: 1.35rem;
  }
}

@media screen and (max-width: 420px) {
  .ds-container { width: calc(100% - 20px) !important; }
  .ds-onepage h1 { font-size: 1.85rem !important; }
  .ds-onepage h2 { font-size: 1.55rem !important; }
}

/* =========================
   TABLET / HANDY QUERFORMAT
   FINAL BEREINIGT
   ========================= */

/* Tablet quer: Header normal kompakt, Inhalt auf echte Containerbreite */
@media screen and (min-width: 701px) and (max-width: 1366px) {

  html,
  body,
  body.ds-site {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .ds-container,
  .ds-main > .ds-container {
    width: min(100% - 32px, 1180px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .com-content-article,
  .item-page,
  .com-content-article__body,
  .ds-onepage {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
  }

  .ds-onepage section,
  .ds-hero,
  .ds-box,
  .ds-contact,
  .ds-legal,
  .ds-cta-box,
  .ds-inner-box,
  .ds-grid {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .ds-card {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Tablet quer und mittlere Breiten: Desktop-Menü kompakt anzeigen */
@media screen and (min-width: 901px) and (max-width: 1366px) {

  .ds-header {
    position: sticky !important;
    min-height: 82px !important;
    overflow: visible !important;
  }

  .ds-nav {
    min-height: 82px !important;
    display: grid !important;
    grid-template-columns: 170px 1fr !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .ds-brand {
    max-width: 170px !important;
    overflow: visible !important;
  }

  .ds-logo {
    width: 155px !important;
    max-width: 155px !important;
    max-height: 56px !important;
  }

  .ds-menu-toggle {
    display: none !important;
  }

  .ds-menu {
    display: flex !important;
    justify-self: end !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .ds-menu ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .ds-menu li {
    width: auto !important;
  }

  .ds-menu a {
    width: auto !important;
    min-height: 36px !important;
    padding: 7px 9px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  .ds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Handy und kleine Tablets: Burger-Menü */
@media screen and (max-width: 900px) {

  .ds-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    max-height: 100dvh !important;
    min-height: 74px !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .ds-nav {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 74px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    grid-template-columns: none !important;
    padding: 8px 0 !important;
    overflow-x: hidden !important;
  }

  .ds-brand {
    flex: 0 1 auto !important;
    max-width: 160px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .ds-logo {
    width: 135px !important;
    max-width: 135px !important;
    height: auto !important;
    max-height: 50px !important;
  }

  .ds-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 40px !important;
    padding: 8px 14px !important;
  }

  .ds-menu {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 8px !important;
    overflow-x: hidden !important;
  }

  .ds-menu.is-open {
    display: block !important;
    max-height: calc(100dvh - 74px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 18px !important;
  }

  .ds-menu ul {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 8px 0 18px !important;
    margin: 0 !important;
  }

  .ds-menu li {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ds-menu a {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    justify-content: center !important;
    white-space: normal !important;
    font-size: 1rem !important;
    padding: 10px 14px !important;
    background: rgba(15, 23, 42, 0.7);
  }

  .ds-onepage section {
    scroll-margin-top: 100px !important;
  }
}
/* FIX: Content-Breite für Handy quer + Tablet hoch */

@media screen and (min-width: 701px) and (max-width: 950px) {

  .ds-container {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ds-main,
  .ds-main > .ds-container,
  .com-content-article,
  .item-page,
  .com-content-article__body,
  .ds-onepage {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
  }

  .ds-onepage section,
  .ds-hero,
  .ds-box,
  .ds-contact,
  .ds-legal,
  .ds-cta-box,
  .ds-inner-box,
  .ds-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ds-grid,
  .ds-steps {
    grid-template-columns: 1fr !important;
  }

  .ds-hero {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}
/* FINAL FIX: Handy quer + Tablet hoch Content begrenzen */

@media screen and (min-width: 701px) and (max-width: 1100px) {

  .ds-main > .ds-container,
  .com-content-article,
  .item-page,
  .com-content-article__body,
  .ds-onepage {
    width: 100% !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: visible !important;
  }

  .ds-onepage section,
  .ds-hero,
  .ds-box,
  .ds-contact,
  .ds-legal,
  .ds-cta-box,
  .ds-inner-box,
  .ds-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ds-grid,
  .ds-steps {
    grid-template-columns: 1fr !important;
  }

  .ds-hero {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}