:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-2: #0b1624;
  --surface: #111d2d;
  --surface-2: #17253a;
  --surface-3: #0d1a2b;
  --line: rgba(190, 218, 255, 0.16);
  --line-strong: rgba(106, 218, 255, 0.34);
  --text: #f2f7fb;
  --muted: #b7c5d2;
  --cyan: #25d5ff;
  --cyan-2: #74e7ff;
  --gold: #f5b33e;
  --risk: #ff7557;
  --ok: #58d99b;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  max-width: 920px;
  margin-bottom: 1rem;
  font-size: 2.05rem;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: 1.85rem;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.skip-link {
  position: fixed;
  inset: 10px auto auto 10px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background: var(--cyan);
  color: #04101d;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(190, 218, 255, 0.12);
  background: rgba(5, 13, 24, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(116, 231, 255, 0.24);
  box-shadow: 0 0 22px rgba(37, 213, 255, 0.16);
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-text strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.site-nav {
  position: absolute;
  inset: 76px 16px auto 16px;
  display: none;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111f;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 0.72rem 0.75rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(37, 213, 255, 0.09);
  color: var(--text);
}

.header-actions {
  display: none;
}

.header-phone {
  align-items: center;
  gap: 0.4rem;
  color: #dceaf4;
  font-weight: 750;
  white-space: nowrap;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(116, 231, 255, 0.56);
  border-radius: 8px;
  background: linear-gradient(135deg, #1abfe7, #58e4ff);
  color: #031321;
  font-weight: 850;
  line-height: 1.2;
  box-shadow: 0 14px 32px rgba(37, 213, 255, 0.18);
}

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

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
}

.button-small {
  min-height: 38px;
  padding: 0.54rem 0.72rem;
  font-size: 0.86rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #07111f;
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(116, 231, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 231, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.78) 45%, rgba(7, 17, 31, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.12) 48%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding-block: 3.8rem 2.8rem;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  color: var(--cyan-2);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lead {
  max-width: 780px;
  color: #d8e6f0;
  font-size: 1.08rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.quick-links a,
.text-link,
.cta-stack a,
.related-links a,
.article-sidebar a,
.privacy-check a,
.footer-grid a {
  color: var(--cyan-2);
  font-weight: 760;
}

.hero-panel,
.signal-panel,
.contact-panel,
.inquiry-form,
.article-sidebar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 43, 0.84);
  box-shadow: var(--shadow);
}

.hero-panel {
  max-width: 380px;
  padding: 1.2rem;
}

.home-hero-card {
  width: min(100%, 520px);
  max-width: none;
  align-self: center;
  justify-self: end;
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(116, 231, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(13, 26, 43, 0.9);
}

.home-hero-card img,
.leistungen-hero-card img {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
}

.home-hero-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.home-hero-card-body span {
  display: block;
  margin: 0 0 0.55rem;
}

.home-hero-card-body ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.home-hero-card-body li::marker {
  color: var(--cyan-2);
}

.hero-panel span,
.signal-panel span {
  color: var(--gold);
  font-weight: 850;
}

.hero-panel ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.section {
  padding-block: 2.8rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 780px;
}

.trust-band,
.split-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-2);
}

.trust-grid,
.two-column,
.form-layout,
.hero-service-grid,
.article-layout {
  display: grid;
  gap: 2rem;
}

.benefit-list,
.region-list,
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.benefit-list span,
.region-list span,
.category-list a,
.issue-grid p,
.process-grid article,
.outcome-grid article,
.service-card,
.article-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.benefit-list span,
.region-list span,
.category-list a {
  padding: 0.76rem 0.86rem;
  color: #dcecf7;
  font-weight: 700;
}

.service-grid,
.article-grid,
.process-grid,
.issue-grid,
.outcome-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.service-card,
.article-card {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
}

.service-card p,
.article-card p {
  flex: 1;
}

.service-card:hover,
.article-card:hover,
.related-links a:hover {
  border-color: var(--line-strong);
  background: rgba(37, 213, 255, 0.055);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  background: rgba(37, 213, 255, 0.09);
  color: var(--cyan-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.problem-section {
  background:
    linear-gradient(120deg, rgba(255, 117, 87, 0.08), transparent 42%),
    #081320;
}

.issue-grid p {
  margin: 0;
  padding: 0.9rem;
  color: #f1d8cf;
  border-color: rgba(255, 117, 87, 0.25);
}

.process-grid article,
.outcome-grid article,
.faq-list details {
  padding: 1rem;
}

.process-grid span,
.card-meta,
.article-meta {
  color: var(--gold);
  font-weight: 850;
}

.process-grid h3 {
  margin: 0.4rem 0 0.45rem;
}

.process-grid p,
.outcome-grid p,
.article-card p,
.faq-list p {
  margin-bottom: 0;
}

.region-section {
  background: #081321;
}

.final-cta {
  padding-top: 2rem;
}

.cta-panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 213, 255, 0.12), rgba(245, 179, 62, 0.08)),
    #0b1727;
  box-shadow: var(--shadow);
}

.cta-stack {
  display: grid;
  gap: 0.75rem;
  align-content: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 4.6rem 3.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(37, 213, 255, 0.11), transparent 45%),
    linear-gradient(180deg, #0b1728, #07111f);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: rgba(183, 197, 210, 0.55);
}

.breadcrumb a {
  color: var(--cyan-2);
  font-weight: 720;
}

.signal-panel {
  padding: 1.2rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: #d7e5ef;
}

.check-list .icon {
  margin-top: 0.22rem;
  color: var(--cyan-2);
}

.problem-list .icon {
  color: var(--gold);
}

.related-section {
  padding-top: 0;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.form-layout {
  align-items: start;
}

.inquiry-form {
  padding: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label,
fieldset {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
  color: #d9e7f0;
  font-weight: 750;
}

fieldset {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding-inline: 0.35rem;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111f;
  color: var(--text);
  padding: 0.8rem 0.85rem;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--cyan-2);
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cyan-2) 50%),
    linear-gradient(135deg, var(--cyan-2) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

option {
  color: #07111f;
}

.choice,
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0;
  font-weight: 650;
  color: var(--muted);
}

.choice input,
.privacy-check input {
  width: auto;
  margin-top: 0.32rem;
}

.privacy-check input {
  accent-color: var(--cyan);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
}

.captcha-box {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.captcha-display {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(245, 179, 62, 0.3);
  border-radius: 8px;
  background: rgba(245, 179, 62, 0.08);
}

.captcha-display span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.captcha-display strong {
  font-size: 1.55rem;
  line-height: 1.1;
}

.alert {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.alert ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.alert.success {
  border: 1px solid rgba(88, 217, 155, 0.28);
  background: rgba(88, 217, 155, 0.12);
  color: #d7fff0;
}

.alert.error {
  border: 1px solid rgba(255, 117, 87, 0.3);
  background: rgba(255, 117, 87, 0.12);
  color: #ffd7ce;
}

.form-helper {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 520;
}

.form-note,
.form-message {
  margin: 0;
  font-size: 0.93rem;
}

.contact-panel,
.article-sidebar {
  padding: 1.15rem;
}

.contact-panel a,
.article-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  color: var(--muted);
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.article-page .page-hero {
  padding-bottom: 3rem;
}

.article-layout {
  padding-block: 2.8rem;
}

.article-content {
  max-width: 820px;
}

.article-content h2 {
  margin-top: 2.15rem;
  font-size: 1.48rem;
}

.article-content a {
  color: var(--cyan-2);
  font-weight: 760;
}

.article-meta {
  margin-top: 1.2rem;
}

.article-cta {
  margin-top: 2.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(37, 213, 255, 0.08);
}

.article-inline-image,
.article-download-block {
  overflow: hidden;
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.article-inline-image img {
  width: 100%;
  aspect-ratio: 40 / 21;
  object-fit: cover;
}

.article-download-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem;
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, rgba(37, 213, 255, 0.12), rgba(245, 179, 62, 0.07)),
    #0b1727;
}

.article-download-block h2 {
  margin-top: 0;
}

.article-download-block img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.author-box {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 2.1rem;
  padding: 1rem;
  border: 1px solid rgba(116, 231, 255, 0.34);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 213, 255, 0.1), rgba(245, 179, 62, 0.035)),
    rgba(17, 29, 45, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.author-box img {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(116, 231, 255, 0.78);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(37, 213, 255, 0.08);
}

.author-box p {
  margin: 0;
}

.author-box-title {
  color: var(--text);
  font-weight: 850;
}

.author-box-role {
  color: var(--cyan-2);
  font-size: 0.95rem;
  font-weight: 780;
}

.author-box-description {
  margin-top: 0.35rem !important;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-layout {
  max-width: 920px;
}

.search-form {
  display: grid;
  gap: 0.75rem;
}

.search-form label {
  color: var(--text);
  font-weight: 800;
}

.search-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: stretch;
  max-width: 100%;
}

.search-input-row input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #06101d;
  color: var(--text);
  font: inherit;
  padding: 0.78rem 0.95rem;
  outline: none;
}

.search-input-row input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(37, 213, 255, 0.16);
}

.search-input-row .button {
  min-width: 0;
}

.search-status {
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.search-results {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.search-result {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 29, 45, 0.78);
}

.search-result-meta {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-result h2 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.search-result a {
  color: var(--text);
}

.search-result a:hover {
  color: var(--cyan-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050d18;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}

.footer-grid h2 {
  font-size: 1rem;
}

.footer-grid > div:last-child {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-bottom {
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

@media (min-width: 680px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-grid,
  .trust-grid,
  .two-column,
  .hero-service-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    align-items: start;
  }

  .service-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .captcha-box {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
    align-items: end;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 1.6rem;
  }
}

@media (min-width: 980px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .hero {
    min-height: 600px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 820px) 310px;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.7fr) minmax(190px, 0.55fr);
  }
}

@media (min-width: 1240px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.05rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.52rem 0.42rem;
    font-size: 0.76rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }
}

@media (min-width: 1320px) {
  .site-nav a {
    padding-inline: 0.54rem;
    font-size: 0.8rem;
  }

  .header-phone {
    display: flex;
  }
}

@media (min-width: 1500px) {
  .site-nav {
    gap: 0.18rem;
  }

  .site-nav a {
    padding-inline: 0.68rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 1319px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1240px, calc(100% - 24px));
  }

  h1 {
    font-size: 1.72rem;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 0.96rem;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 3.5rem 2rem;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text small {
    display: none;
  }

  .button {
    width: 100%;
  }

  .search-input-row {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .lead {
    max-width: 100%;
  }

  .hero-copy .lead {
    max-width: 34ch;
  }

  .quick-links {
    display: grid;
    gap: 0.45rem;
  }

  .quick-links a {
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .site-nav {
    inset-inline: 12px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.62rem;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }
}


@media (max-width: 1499px) and (min-width: 1240px) {
  .brand-text small {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .service-hero .hero-service-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-card,
  .service-hero .visual-panel {
    width: min(100%, 640px);
    justify-self: start;
  }
}


/* Legal pages and refined header */
.header-inner {
  min-height: 68px;
  gap: 0.7rem;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

.brand-text strong {
  font-size: 0.96rem;
}

.site-nav a[aria-current="page"] {
  background: rgba(37, 213, 255, 0.08);
}

.button[aria-current="page"] {
  outline: 2px solid rgba(255, 255, 255, 0.36);
  outline-offset: 2px;
}

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

.legal-content {
  color: var(--muted);
}

.legal-content h2,
.legal-content h3 {
  color: var(--text);
}

.legal-content h2 {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 1.45rem;
}

.legal-content h3 {
  margin-top: 1.45rem;
  font-size: 1.08rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--cyan-2);
  overflow-wrap: anywhere;
}

.legal-content ul {
  padding-left: 1.2rem;
}

@media (min-width: 1240px) {
  .site-nav {
    gap: 0.08rem;
  }

  .site-nav a {
    padding: 0.46rem 0.5rem;
    font-size: 0.82rem;
  }

  .header-actions {
    display: flex;
  }

  .header-phone {
    display: none;
  }
}

@media (min-width: 1500px) {
  .site-nav {
    gap: 0.14rem;
  }

  .site-nav a {
    padding-inline: 0.58rem;
    font-size: 0.86rem;
  }

  .header-phone {
    display: flex;
  }
}

@media (max-width: 1499px) and (min-width: 1240px) {
  .brand-text small {
    display: none;
  }
}


/* 2026 image package */
.brand-logo {
  width: clamp(150px, 18vw, 216px);
  height: auto;
  aspect-ratio: 3 / 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.brand-text {
  display: none;
}

.visual-panel {
  overflow: hidden;
  padding: 0;
}

.visual-panel img,
.hero-inline-visual img,
.article-card-image,
.article-feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visual-panel img,
.hero-inline-visual img {
  aspect-ratio: 3 / 2;
}

.home-hero-card img,
.leistungen-hero-card img {
  aspect-ratio: 16 / 9;
}

.visual-panel span {
  display: block;
  margin: 1rem 1rem 0.35rem;
}

.visual-panel p {
  margin: 0 1rem 1rem;
}

.home-hero-card-body span {
  margin: 0 0 0.55rem;
}

.hero-inline-visual,
.article-feature-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.hero-inline-visual {
  margin: 1.6rem 0 0;
}

.hero-inline-visual img {
  max-height: 360px;
}

.article-card-image {
  max-width: none;
  width: calc(100% + 2.3rem);
  aspect-ratio: 40 / 21;
  margin: -1.15rem -1.15rem 1rem;
  border-bottom: 1px solid var(--line);
}

.article-feature-image {
  margin-top: -2rem;
  margin-bottom: 2rem;
}

.article-feature-image img {
  aspect-ratio: 40 / 21;
}

.article-feature-image img,
.article-inline-image img,
.article-content figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .brand-logo {
    width: min(148px, calc(100vw - 96px));
  }

  .search-page-body main .container {
    width: calc(100% - 64px);
  }

  .nav-toggle {
    right: auto;
    left: clamp(264px, calc(100vw - 56px), 330px);
  }

  .article-feature-image {
    margin-top: -1.3rem;
  }

  .home-hero-card-body {
    padding: 0.85rem 0.9rem 0.95rem;
  }

  .home-hero-card-body ul {
    font-size: 0.94rem;
  }

  .article-download-block {
    grid-template-columns: 1fr;
  }

  .article-download-block img {
    max-width: 240px;
  }

  .article-page .container,
  .article-page .page-hero,
  .article-page .article-content,
  .article-page .article-layout,
  .article-page .article-sidebar,
  .article-page .article-feature-image,
  .article-page .article-inline-image,
  .article-page .article-download-block,
  .article-page .author-box {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
  }

  .article-page h1,
  .article-page h2,
  .article-page p,
  .article-page li,
  .article-page .lead,
  .article-page .article-meta,
  .article-page .breadcrumb,
  .article-page .breadcrumb ol,
  .article-page .breadcrumb li,
  .author-box > div,
  .author-box p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .article-page h1 {
    max-width: 22ch;
    font-size: 1.46rem;
    line-height: 1.14;
  }

  .article-page .lead,
  .article-page .article-content p,
  .article-page .article-content li,
  .author-box p {
    max-width: 34ch;
  }

  .article-page .article-content h2 {
    max-width: 22ch;
    font-size: 1.38rem;
  }

  .article-page .article-meta,
  .author-box-role {
    max-width: 30ch;
  }

  .article-page .breadcrumb ol,
  .article-page .article-meta {
    display: block;
  }

  .article-page .breadcrumb li,
  .article-page .article-meta span {
    display: inline;
  }

  .article-page .breadcrumb li[aria-current="page"] {
    display: block;
    max-width: 30ch;
    margin-top: 0.25rem;
  }

  .aktuelles-index h1,
  .aktuelles-index h2 {
    max-width: 22ch;
  }

  .aktuelles-index .lead,
  .aktuelles-index .section p {
    max-width: 34ch;
    overflow-wrap: anywhere;
  }

  .author-box {
    grid-template-columns: 1fr;
    justify-items: start;
    max-width: calc(100vw - 24px);
  }

  .search-layout,
  .search-form,
  .search-input-row,
  .search-results,
  .search-result {
    max-width: calc(100vw - 24px);
  }

  .search-input-row input,
  .search-input-row .button {
    max-width: 100%;
  }

  .page-hero .lead,
  .search-result h2,
  .search-result p {
    overflow-wrap: anywhere;
  }

  .search-result h2 {
    font-size: 1.08rem;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 136px;
  }
}

@media (max-width: 1239px) {
  .header-inner {
    justify-content: space-between;
    padding-right: 0;
  }

  .nav-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 150;
    display: grid !important;
    flex: 0 0 44px;
    margin-left: 0;
    border-color: rgba(116, 231, 255, 0.85);
    background: var(--cyan);
    color: #031321;
    transform: none;
  }
}

/* Footer logo emphasis */
.footer-brand {
  display: inline-grid;
  justify-items: start;
  gap: 0.85rem;
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.footer-brand .brand-logo {
  width: clamp(260px, 28vw, 460px);
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

@media (max-width: 600px) {
  .footer-brand .brand-logo {
    width: min(320px, 100%);
  }
}

/* Article print and save actions */
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.25rem;
}

.article-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.58rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.article-action-button:hover {
  border-color: rgba(116, 231, 255, 0.8);
  background: rgba(37, 213, 255, 0.09);
}

@media print {
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html,
  body {
    background: #fff !important;
    color: #111 !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.45;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .nav-toggle,
  .article-actions,
  .article-sidebar,
  .article-cta,
  .cta-panel,
  .final-cta,
  .button {
    display: none !important;
  }

  main,
  article,
  section,
  .container,
  .page-hero,
  .article-hero,
  .article-page,
  .article-layout,
  .article-content,
  .aktuelles-article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
  }

  .article-layout {
    display: block !important;
  }

  .article-content {
    font-size: 11pt;
  }

  .eyebrow,
  .breadcrumb,
  .article-meta,
  .lead,
  .article-content p,
  .article-content li,
  .author-box p {
    color: #111 !important;
  }

  .breadcrumb {
    margin-bottom: 0.5rem !important;
  }

  h1,
  h2,
  h3 {
    color: #111 !important;
    break-after: avoid;
    page-break-after: avoid;
  }

  h1 {
    font-size: 22pt !important;
    line-height: 1.15 !important;
  }

  h2 {
    font-size: 16pt !important;
    margin-top: 1.2rem !important;
  }

  a {
    color: #111 !important;
    text-decoration: underline !important;
  }

  .article-content a[href^="http"]::after,
  .article-content a[href^="/"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    font-weight: 400;
    word-break: break-all;
  }

  img,
  .article-feature-image img,
  .article-inline-image img,
  .article-download-block img,
  .article-content figure img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .article-feature-image,
  .article-inline-image,
  .article-download-block,
  figure {
    overflow: visible !important;
    margin: 1rem 0 !important;
    border: 0 !important;
    background: #fff !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .author-box {
    margin: 1rem 0 !important;
    padding: 0.7rem 0 !important;
    border-block: 1px solid #ccc !important;
    background: #fff !important;
  }

  .author-box img {
    width: 56px !important;
    height: 56px !important;
  }
}



/* mdonner.com bridge site */
:root {
  --mdonner-deep: #050b14;
}

body.mdonner .site-header {
  background: rgba(5, 11, 20, 0.94);
}

body.mdonner .site-nav a {
  font-size: 0.9rem;
}

body.mdonner .brand-logo {
  width: clamp(150px, 18vw, 230px);
  height: auto;
  aspect-ratio: auto;
}

body.mdonner .hero {
  min-height: 620px;
}

body.mdonner .hero-media::after {
  background:
    radial-gradient(circle at 82% 24%, rgba(37, 213, 255, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(5, 11, 20, 0.98) 0%, rgba(7, 17, 31, 0.84) 44%, rgba(7, 17, 31, 0.46) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.08) 52%);
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(116, 231, 255, 0.34);
  border-radius: 999px;
  background: rgba(37, 213, 255, 0.08);
  color: #dff8ff;
  font-size: 0.9rem;
  font-weight: 760;
}

.domain-pill span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(245, 179, 62, 0.7);
}

.legacy-note {
  max-width: 760px;
  margin-top: 1.1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  color: #e7eef7;
  font-weight: 650;
}

.bridge-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 213, 255, 0.14), rgba(245, 179, 62, 0.07)),
    rgba(13, 26, 43, 0.92);
  box-shadow: var(--shadow);
}

.bridge-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.bridge-card strong {
  color: var(--gold);
  font-size: 0.96rem;
  text-transform: uppercase;
}

.bridge-card p {
  margin: 0;
}

.bridge-grid {
  display: grid;
  gap: 1rem;
}

.bridge-tile {
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.bridge-tile span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.bridge-tile p {
  margin-bottom: 0;
}

.legacy-band {
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 179, 62, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-2);
}

.domain-stack {
  display: grid;
  gap: 0.75rem;
}

.domain-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.domain-step b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(37, 213, 255, 0.1);
  color: var(--cyan-2);
}

.domain-step h3 {
  margin-bottom: 0.25rem;
}

.domain-step p {
  margin: 0;
}

.image-band {
  display: grid;
  gap: 1rem;
}

.image-band figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.image-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-band figcaption {
  padding: 0.8rem 0.95rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.external-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-edv-logo {
  max-width: 220px;
  margin-top: 1rem;
  opacity: 0.95;
}

@media (min-width: 760px) {
  .bridge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .image-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  body.mdonner .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
    align-items: center;
  }
  .domain-stack {
    gap: 0.9rem;
  }
}

@media (max-width: 600px) {
  body.mdonner .hero {
    min-height: auto;
  }
  .domain-step {
    grid-template-columns: 1fr;
  }
}
