.elementor-3162 .elementor-element.elementor-element-08fefb2 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:20px;}.elementor-3162 .elementor-element.elementor-element-08fefb2 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-3162 .elementor-element.elementor-element-fac2097 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:0px;}body.elementor-page-3162{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-9852468 *//* ==========================================
   AMS SANDIENST & BONIMED
   HEADER & FOOTER – MASTER CSS V1.2
   Elementor Canvas
   ========================================== */


/* ==========================================
   01 – GEMEINSAME GRUNDLAGEN
   ========================================== */

#ams-site-header,
#ams-site-footer {
  --ams-hf-red: #e6002e;
  --ams-hf-navy: #071c37;
  --ams-hf-text: #173556;
  font-family:
    system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

#ams-site-header,
#ams-site-footer,
#ams-site-header *,
#ams-site-footer * {
  box-sizing: border-box;
}

#ams-site-header a,
#ams-site-footer a {
  text-decoration: none;
}

#ams-site-header a:focus-visible,
#ams-site-header summary:focus-visible,
#ams-site-footer a:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 4px;
}

#ams-site-header .ams-h-container,
#ams-site-footer .ams-f-container {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}


/* ==========================================
   02 – HEADER
   ========================================== */

#ams-site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #fff;
  color: #173556;
}

/* TOPBAR */

#ams-site-header .ams-h-topbar {
  width: 100%;
  background: #0c294a;
  color: #d8e4f0;
}

#ams-site-header .ams-h-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 39px;
}

#ams-site-header .ams-h-region {
  color: #c6d6e7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

#ams-site-header .ams-h-top-contact {
  display: flex;
  align-items: center;
  gap: 28px;
}

#ams-site-header .ams-h-top-contact a {
  color: #e4edf6;
  font-size: 11px;
  font-weight: 550;
}

#ams-site-header .ams-h-top-contact a:hover {
  color: #fff;
}


/* ==========================================
   03 – HAUPTNAVIGATION
   ========================================== */

#ams-site-header .ams-h-main {
  position: relative;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e6ecf1;
  box-shadow: 0 4px 20px rgba(8,32,57,.05);
}

#ams-site-header .ams-h-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 91px;
}


/* LOGO / WORTMARKE */

#ams-site-header .ams-h-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  color: #133454;
  white-space: nowrap;
}

#ams-site-header .ams-h-logo-mark {
  display: block;
  color: #e6002e;
  font-size: 38px;
  font-weight: 850;
  letter-spacing: -.085em;
  line-height: 1;
}

#ams-site-header .ams-h-logo-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid #dce4ec;
}

#ams-site-header .ams-h-logo-name strong {
  display: block;
  color: #123557;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.04em;
}

#ams-site-header .ams-h-logo-name small {
  display: block;
  color: #718196;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
}


/* DESKTOP LINKS */

#ams-site-header .ams-h-desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.35vw, 27px);
  min-width: 0;
  margin-left: auto;
}

#ams-site-header .ams-h-navlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  color: #233b55;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}

#ams-site-header .ams-h-navlink:hover {
  color: #e6002e;
}


/* ==========================================
   04 – DESKTOP DROPDOWN
   ========================================== */

#ams-site-header .ams-h-dropdown {
  position: relative;
  display: block;
}

#ams-site-header .ams-h-dropdown summary {
  list-style: none;
}

#ams-site-header .ams-h-dropdown summary::marker {
  content: "";
}

#ams-site-header
.ams-h-dropdown summary::-webkit-details-marker {
  display: none;
}

#ams-site-header .ams-h-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

#ams-site-header .ams-h-dropdown[open]
.ams-h-chevron {
  transform: rotate(225deg) translate(-2px,-2px);
}

#ams-site-header .ams-h-dropdown-panel {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 6px);
  left: -22px;
  width: 350px;
  max-width: 90vw;
  padding: 10px;
  border: 1px solid #e1e7ee;
  border-top: 3px solid #e6002e;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(9,30,55,.16);
}

#ams-site-header .ams-h-dropdown-panel a {
  display: block;
  padding: 14px 16px;
  border-radius: 4px;
  transition: background .2s ease;
}

#ams-site-header .ams-h-dropdown-panel a:hover {
  background: #f3f6fa;
}

#ams-site-header .ams-h-dropdown-panel strong {
  display: block;
  margin-bottom: 4px;
  color: #173556;
  font-size: 14px;
  font-weight: 700;
}

#ams-site-header .ams-h-dropdown-panel small {
  display: block;
  color: #748396;
  font-size: 11px;
  line-height: 1.5;
}


/* ==========================================
   05 – HEADER CTA
   ========================================== */

#ams-site-header .ams-h-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-shrink: 0;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 4px;
  background: #e6002e;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background .2s ease,
    transform .2s ease;
}

#ams-site-header .ams-h-cta:hover {
  background: #bd0026;
  color: #fff;
  transform: translateY(-2px);
}


/* MOBILE MENU STANDARDMÄSSIG VERSTECKEN */

#ams-site-header .ams-h-mobile-menu {
  display: none;
}


/* ==========================================
   06 – FOOTER
   ========================================== */

#ams-site-footer {
  position: relative;
  width: 100%;
  background: #071c37;
  color: #c6d4e3;
  overflow-wrap: break-word;
}

#ams-site-footer .ams-f-main {
  padding: 89px 0 82px;
}

#ams-site-footer .ams-f-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(0, 1fr)
    minmax(0, .9fr)
    minmax(0, 1.1fr);
  gap: clamp(25px, 3vw, 60px);
}

#ams-site-footer .ams-f-grid > * {
  min-width: 0;
}


/* ==========================================
   07 – FOOTER BRAND
   ========================================== */

#ams-site-footer .ams-f-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 37px;
  color: #fff;
}

#ams-site-footer .ams-f-logo-mark {
  color: #fff;
  font-size: 41px;
  font-weight: 850;
  letter-spacing: -.085em;
  line-height: 1;
}

#ams-site-footer .ams-f-logo-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid #60758c;
}

#ams-site-footer .ams-f-logo-name strong {
  color: #fff;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.035em;
}

#ams-site-footer .ams-f-logo-name small {
  color: #b9ccdf;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
}

#ams-site-footer .ams-f-brand h2 {
  max-width: 350px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 570;
  line-height: 1.18;
  letter-spacing: -.045em;
}

#ams-site-footer .ams-f-brand h2 span {
  color: #ff718a;
}

#ams-site-footer .ams-f-brand p {
  max-width: 365px;
  margin: 0 0 25px;
  color: #bbcbdc;
  font-size: 13px;
  line-height: 1.85;
}

#ams-site-footer .ams-f-location {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #9fb5ca;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
}

#ams-site-footer .ams-f-location-dot {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #e6002e;
}


/* ==========================================
   08 – FOOTER LINK-SPALTEN
   ========================================== */

#ams-site-footer .ams-f-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

#ams-site-footer .ams-f-column h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

#ams-site-footer .ams-f-column a {
  color: #bdcddd;
  font-size: 13px;
  line-height: 1.6;
  transition: color .2s ease;
}

#ams-site-footer .ams-f-column a:hover {
  color: #ff718a;
}


/* ==========================================
   09 – FOOTER KONTAKT
   ========================================== */

#ams-site-footer .ams-f-contact-label {
  margin-top: 5px;
  color: #ff718a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}

#ams-site-footer .ams-f-contact-value {
  color: #e2ebf3;
  font-size: 13px;
  line-height: 1.6;
}

#ams-site-footer .ams-f-contact
a:not(.ams-f-contact-button) {
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
}

#ams-site-footer .ams-f-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 50px;
  margin-top: 18px;
  padding: 14px 20px;
  background: #e6002e;
  border-radius: 4px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 750;
  transition:
    background .2s ease,
    transform .2s ease;
}

#ams-site-footer .ams-f-contact-button:hover {
  background: #bd0026;
  transform: translateY(-2px);
}


/* ==========================================
   10 – FOOTER UNTEN
   ========================================== */

#ams-site-footer .ams-f-bottom {
  background: #05172c;
  border-top: 1px solid #29435e;
}

#ams-site-footer .ams-f-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 76px;
  padding: 18px 0;
}

#ams-site-footer .ams-f-copyright {
  color: #aabbcc;
  font-size: 11px;
}

#ams-site-footer .ams-f-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

#ams-site-footer .ams-f-legal a {
  color: #bccddd;
  font-size: 11px;
}

#ams-site-footer .ams-f-legal a:hover {
  color: #fff;
}


/* ==========================================
   11 – TABLET / MOBILE HEADER
   ========================================== */

@media (max-width: 1100px) {

  #ams-site-header .ams-h-desktop-nav,
  #ams-site-header .ams-h-cta {
    display: none;
  }

  #ams-site-header .ams-h-inner {
    min-height: 79px;
  }

  #ams-site-header .ams-h-mobile-menu {
    display: block;
    position: static;
    margin-left: auto;
  }

  /* HAMBURGER BUTTON */

  #ams-site-header .ams-h-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 100px;
    min-height: 47px;
    padding: 10px 14px;
    border: 1px solid #dfe6ee;
    border-radius: 4px;
    background: #fff;
    color: #173556;
    cursor: pointer;
    list-style: none;
  }

  #ams-site-header .ams-h-menu-toggle::marker {
    content: "";
  }

  #ams-site-header
  .ams-h-menu-toggle::-webkit-details-marker {
    display: none;
  }

  #ams-site-header .ams-h-menu-label {
    font-size: 13px;
    font-weight: 700;
  }

  #ams-site-header .ams-h-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 23px;
    height: 23px;
  }

  #ams-site-header .ams-h-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #173556;
    transition:
      transform .2s ease,
      opacity .2s ease;
  }

  /* HAMBURGER ZU X */

  #ams-site-header
  .ams-h-mobile-menu[open]
  .ams-h-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #ams-site-header
  .ams-h-mobile-menu[open]
  .ams-h-hamburger span:nth-child(2) {
    opacity: 0;
  }

  #ams-site-header
  .ams-h-mobile-menu[open]
  .ams-h-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* MOBILES NAVIGATIONSPANEL */

  #ams-site-header .ams-h-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100dvh - 78px);
    padding: 18px max(30px, calc((100vw - 1320px)/2));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #e8edf3;
    background: #fff;
    box-shadow: 0 20px 40px rgba(8,30,55,.17);
  }

  #ams-site-header .ams-h-mobile-panel > a,
  #ams-site-header
  .ams-h-mobile-submenu > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 53px;
    padding: 13px 7px;
    border-bottom: 1px solid #e9eef3;
    color: #173556;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
    cursor: pointer;
  }

  #ams-site-header .ams-h-mobile-submenu > summary {
    list-style: none;
  }

  #ams-site-header
  .ams-h-mobile-submenu > summary::marker {
    content: "";
  }

  #ams-site-header
  .ams-h-mobile-submenu >
  summary::-webkit-details-marker {
    display: none;
  }

  #ams-site-header .ams-h-mobile-submenu-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    background: #f4f7fa;
  }

  #ams-site-header .ams-h-mobile-submenu-links a {
    display: block;
    padding: 12px 15px;
    color: #24415f;
    font-size: 14px;
    line-height: 1.5;
  }

  #ams-site-header .ams-h-mobile-submenu-links a:hover {
    color: #e6002e;
  }

  /* MOBILE CTA */

  #ams-site-header
  .ams-h-mobile-panel > .ams-h-mobile-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 55px;
    margin-top: 20px;
    padding: 15px 20px;
    border: 0;
    border-radius: 4px;
    background: #e6002e;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
  }

  #ams-site-header
  .ams-h-mobile-panel > .ams-h-mobile-cta:hover {
    color: #fff;
    background: #bd0026;
  }

  #ams-site-header .ams-h-mobile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    padding: 24px 7px 8px;
  }

  #ams-site-header .ams-h-mobile-contact a {
    color: #52677d;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  /* FOOTER TABLET */

  #ams-site-footer .ams-f-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 45px;
  }

}


/* ==========================================
   12 – SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-site-header .ams-h-container,
  #ams-site-footer .ams-f-container {
    width: calc(100% - 38px);
  }

  /* HEADER */

  #ams-site-header .ams-h-topbar {
    display: none;
  }

  #ams-site-header .ams-h-inner {
    min-height: 73px;
    gap: 12px;
  }

  #ams-site-header .ams-h-logo {
    gap: 9px;
  }

  #ams-site-header .ams-h-logo-mark {
    font-size: 32px;
  }

  #ams-site-header .ams-h-logo-name {
    gap: 1px;
    padding-left: 9px;
  }

  #ams-site-header .ams-h-logo-name strong {
    font-size: 17px;
  }

  #ams-site-header .ams-h-logo-name small {
    font-size: 9px;
  }

  #ams-site-header .ams-h-menu-toggle {
    min-width: 47px;
    width: 47px;
    min-height: 45px;
    padding: 9px;
  }

  #ams-site-header .ams-h-menu-label {
    display: none;
  }

  #ams-site-header .ams-h-mobile-panel {
    max-height: calc(100dvh - 73px);
    padding: 12px 19px 24px;
  }

  /* FOOTER */

  #ams-site-footer .ams-f-main {
    padding: 67px 0 61px;
  }

  #ams-site-footer .ams-f-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  #ams-site-footer .ams-f-logo {
    margin-bottom: 29px;
  }

  #ams-site-footer .ams-f-brand h2 {
    font-size: 36px;
  }

  #ams-site-footer .ams-f-brand p {
    font-size: 13px;
  }

  #ams-site-footer .ams-f-column {
    gap: 13px;
  }

  #ams-site-footer .ams-f-column h3 {
    margin-bottom: 8px;
  }

  #ams-site-footer .ams-f-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 25px 0;
  }

  #ams-site-footer .ams-f-legal {
    gap: 19px;
  }

}


/* ==========================================
   13 – SEHR KLEINE SMARTPHONES
   ========================================== */

@media (max-width: 370px) {

  #ams-site-header .ams-h-logo-mark {
    font-size: 28px;
  }

  #ams-site-header .ams-h-logo-name strong {
    font-size: 15px;
  }

  #ams-site-header .ams-h-logo-name small {
    font-size: 8px;
  }

  #ams-site-header .ams-h-hamburger span {
    width: 20px;
  }

}


/* ==========================================
   14 – BARRIEREFREIHEIT
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  #ams-site-header *,
  #ams-site-footer * {
    transition: none !important;
  }

}/* End custom CSS */
/* Start custom CSS */.ams-section,
#ams-hero {
  --ams-red: #e6002e;
  --ams-red-hover: #bf0027;
  --ams-navy: #071c37;
  --ams-text: #14243b;
  --ams-muted: #657484;
  --ams-light: #f5f7f8;
  --ams-white: #ffffff;
  --ams-container-width: 1320px;
}

.ams-section,
.ams-section *,
#ams-hero,
#ams-hero * {
  box-sizing: border-box;
}

.ams-section {
  width: 100%;
  position: relative;
  overflow-wrap: break-word;
}

.ams-container {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}

.ams-section-title {
  color: #14243b;
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  line-height: 1.12;
  font-weight: 580;
  letter-spacing: -.055em;
  margin: 0 0 28px;
}

.ams-text-red {
  color: #e6002e;
}

.ams-section-text {
  color: #657484;
  line-height: 1.8;
  font-size: 1rem;
}

.ams-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 750;
}

.ams-section-eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #e6002e;
  flex-shrink: 0;
}


/* ==========================================
   02. SHARED BUTTONS
   ========================================== */

.ams-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 58px;
  padding: 16px 26px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ams-btn-red {
  background: #e6002e;
  color: #fff;
}

.ams-btn-red:hover {
  background: #bf0027;
  color: #fff;
  transform: translateY(-2px);
}

.ams-btn:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 4px;
}


/* ==========================================
   03. HERO â€“ BASE
   ========================================== */

#ams-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  background: #071c37;
  color: #ffffff;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}


/* HERO IMAGE */

#ams-hero .ams-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

#ams-hero .ams-hero-photo img {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}


/* HERO OVERLAY â€“ WEICHER ÃœBERGANG */

#ams-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      0deg,
      rgba(7, 28, 55, .25) 0%,
      transparent 42%
    ),
    linear-gradient(
      90deg,
      #071c37 0%,
      #071c37 20%,
      rgba(7, 28, 55, .98) 32%,
      rgba(7, 28, 55, .90) 43%,
      rgba(7, 28, 55, .72) 57%,
      rgba(7, 28, 55, .42) 75%,
      rgba(7, 28, 55, .12) 100%
    );
}


/* HERO LAYOUT */

#ams-hero .ams-hero-container {
  width: min(1320px, calc(100% - 96px));
  margin: 0 auto;
  padding: 135px 0 110px;
}

#ams-hero .ams-hero-content {
  max-width: 890px;
  width: 80%;
}


/* HERO KICKER */

#ams-hero .ams-hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #e7eef7;
}

#ams-hero .ams-hero-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #e6002e;
  flex-shrink: 0;
}


/* HERO HEADING */

#ams-hero h1 {
  max-width: 870px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 730;
  line-height: 1.055;
  letter-spacing: -.068em;
  overflow-wrap: break-word;
}


/* HERO DESCRIPTION */

#ams-hero .ams-hero-description {
  max-width: 590px;
  margin: 0 0 34px;
  color: #d8e2ef;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.75;
}


/* HERO ACTIONS */

#ams-hero .ams-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

#ams-hero .ams-hero-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 16px 26px;
  border-radius: 4px;
  background: #e6002e;
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition:
    background .2s ease,
    transform .2s ease;
}

#ams-hero .ams-hero-button:hover {
  background: #bf0027;
  color: #ffffff;
  transform: translateY(-2px);
}

#ams-hero .ams-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

#ams-hero .ams-hero-link:hover {
  color: #ffb9c5;
}

#ams-hero a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}


/* HERO FOOTER */

#ams-hero .ams-hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(
    48px,
    calc((100vw - 1320px) / 2)
  );
  color: #c3d3e4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}


/* ==========================================
   04. TABLET
   ========================================== */

@media (max-width: 900px) {

  .ams-container {
    width: calc(100% - 48px);
  }

  #ams-hero {
    min-height: 700px;
  }

  #ams-hero .ams-hero-photo img {
    object-position: 68% center;
  }

  #ams-hero .ams-hero-content {
    width: 100%;
  }

  #ams-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(7, 28, 55, .98) 0%,
        rgba(7, 28, 55, .90) 24%,
        rgba(7, 28, 55, .72) 55%,
        rgba(7, 28, 55, .38) 100%
      );
  }

}


/* ==========================================
   05. SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  .ams-container {
    width: calc(100% - 38px);
  }

  .ams-section-title {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  #ams-hero {
    min-height: 690px;
  }

  #ams-hero .ams-hero-photo img {
    object-position: 70% center;
  }

  #ams-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(7, 28, 55, .62) 0%,
        rgba(7, 28, 55, .60) 25%,
        rgba(7, 28, 55, .72) 55%,
        rgba(7, 28, 55, .94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(7, 28, 55, .60) 0%,
        rgba(7, 28, 55, .15) 100%
      );
  }

  #ams-hero .ams-hero-container {
    width: calc(100% - 38px);
    padding: 110px 0 100px;
  }

  #ams-hero .ams-hero-kicker {
    font-size: 10px;
    letter-spacing: .10em;
  }

  #ams-hero h1 {
    font-size: clamp(3rem, 9vw, 4.8rem);
  }

  #ams-hero .ams-hero-description {
    font-size: 15px;
  }

  #ams-hero .ams-hero-bottom {
    padding: 0 19px;
    font-size: 9px;
    letter-spacing: .05em;
  }

}


/* ==========================================
   06. SMALL SMARTPHONES
   ========================================== */

@media (max-width: 480px) {

  #ams-hero .ams-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  #ams-hero .ams-hero-button {
    width: 100%;
    justify-content: space-between;
  }

  #ams-hero h1 {
    font-size: clamp(2.8rem, 11vw, 3.8rem);
  }

}


/* ==========================================
   07. ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  .ams-btn,
  #ams-hero .ams-hero-button {
    transition: none;
  }

}



/* ==========================================
   AMS MODUL 02 â€“ VERTRAUENSLEISTE
   ========================================== */

#ams-trust {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 47px 0;
  border-bottom: 1px solid #e9edf2;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}

/* 4-spaltiges Desktop-Raster */

#ams-trust .ams-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

/* Einzelnes Vertrauenselement */

#ams-trust .ams-trust-item {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 28px 5px 35px;
  border-right: 1px solid #e4eaf0;
}

/* Erstes Element */

#ams-trust .ams-trust-item:first-child {
  padding-left: 0;
}

/* Letztes Element */

#ams-trust .ams-trust-item:last-child {
  border-right: none;
}

/* Dezente rote Akzentlinie */

#ams-trust .ams-trust-item::before {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  margin-bottom: 9px;
  background: #e6002e;
}

/* Kleine Kategorie */

#ams-trust .ams-trust-label {
  color: #788596;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Hauptaussage */

#ams-trust .ams-trust-value {
  display: block;
  color: #0b2544;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}

/* Beschreibung */

#ams-trust .ams-trust-description {
  color: #667587;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: break-word;
}


/* ==========================================
   TABLET â€“ 2 SPALTEN
   ========================================== */

@media (max-width: 1024px) {

  #ams-trust {
    padding: 34px 0;
  }

  #ams-trust .ams-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }

  #ams-trust .ams-trust-item {
    padding: 5px 20px 5px 0;
  }

  #ams-trust .ams-trust-item:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid #e4eaf0;
  }

  #ams-trust .ams-trust-item:nth-child(even) {
    padding-left: 24px;
    border-right: none;
  }

  #ams-trust .ams-trust-value {
    font-size: 25px;
  }

}


/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-trust {
    padding: 32px 0;
  }

  #ams-trust .ams-trust-grid {
    gap: 24px 10px;
  }

  #ams-trust .ams-trust-item {
    gap: 6px;
    padding: 3px 10px 3px 0;
  }

  #ams-trust .ams-trust-item:nth-child(even) {
    padding-left: 12px;
  }

  #ams-trust .ams-trust-item::before {
    width: 20px;
    margin-bottom: 7px;
  }

  #ams-trust .ams-trust-label {
    font-size: 9px;
    letter-spacing: .06em;
  }

  #ams-trust .ams-trust-value {
    font-size: clamp(18px, 5vw, 23px);
    line-height: 1.2;
  }

  #ams-trust .ams-trust-description {
    font-size: 11px;
    line-height: 1.5;
  }

}



/* ==========================================
   AMS MODUL 03 â€“ LEISTUNGSÃœBERSICHT
   ========================================== */

#leistungen {
  background: #ffffff;
  padding: 108px 0 104px;
  scroll-margin-top: 110px;
  font-family:
    system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

/* AbschnittsÃ¼berschrift */

#leistungen .ams-services-head {
  display: grid;
  grid-template-columns: 1.2fr .65fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 46px;
}

#leistungen .ams-services-head h2 {
  max-width: 810px;
  margin: 20px 0 0;
  font-size: clamp(2.65rem, 4.1vw, 4.9rem);
  line-height: 1.12;
  font-weight: 580;
  letter-spacing: -.055em;
}

#leistungen .ams-services-intro {
  max-width: 410px;
  margin: 0 0 7px;
  color: #556781;
  font-size: 15px;
  line-height: 1.85;
}


/* ==========================================
   LEISTUNGSKARTEN
   ========================================== */

#leistungen .ams-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

#leistungen .ams-service-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 4px;
  background: #19355b;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 2px 3px rgba(21, 43, 66, .07);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

/* Bilder */

#leistungen .ams-service-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  max-width: none;

  filter: saturate(.96) contrast(1.06);

  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

/* Dunkler Verlauf fÃ¼r lesbare Inhalte */

#leistungen .ams-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(8, 19, 40, .24) 0%,
    rgba(10, 27, 52, .08) 30%,
    rgba(11, 25, 48, .56) 65%,
    rgba(8, 20, 40, .96) 100%
  );
}

/* Obere Nummerierung */

#leistungen .ams-service-top {
  position: absolute;
  top: 29px;
  left: 38px;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 14px;

  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
}

#leistungen .ams-service-number {
  font-size: 12px;
  font-weight: 750;
}

#leistungen .ams-service-line {
  width: 31px;
  height: 1px;
  background: rgba(255,255,255,.7);
}

/* Textbereich unten */

#leistungen .ams-service-content {
  position: absolute;
  bottom: 36px;
  left: 38px;
  right: 38px;
  z-index: 2;
  min-width: 0;
}

#leistungen .ams-service-content h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(29px, 2.7vw, 49px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.06em;
  overflow-wrap: normal;
  hyphens: manual;
}

#leistungen .ams-service-content p {
  max-width: 490px;
  min-height: 48px;
  margin: 0;
  color: #e3eaf4;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

/* Link mit rotem Pfeil */

#leistungen .ams-service-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;

  color: #ffffff;
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: .10em;
}

#leistungen .ams-service-arrow {
  display: grid;
  place-items: center;

  width: 35px;
  height: 35px;
  border-radius: 50%;

  background: #e6002e;
  color: #ffffff;
  font-size: 20px;
  font-weight: 450;

  transition: transform .25s ease;
}

/* Hover-Effekte */

@media (hover: hover) {

  #leistungen .ams-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(21,43,66,.2);
  }

  #leistungen .ams-service-card:hover img {
    transform: scale(1.045);
  }

  #leistungen .ams-service-card:hover
  .ams-service-arrow {
    transform: translate(3px, -3px);
  }
}

#leistungen a:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 4px;
}


/* ==========================================
   KURSBUCHUNGSBEREICH
   ========================================== */

#leistungen .ams-course-box {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(240px,.78fr);
  align-items: center;
  gap: 40px;

  margin-top: 38px;
  padding: 36px 40px;

  background: #f4f7fa;
  border: 1px solid #dce5ed;
  border-left: 4px solid #e6002e;
  border-radius: 10px;
}

#leistungen .ams-course-label {
  display: block;
  margin-bottom: 12px;

  color: #ba1735;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .14em;
}

#leistungen .ams-course-copy h3 {
  margin: 0 0 13px;

  color: #17345d;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.035em;
}

#leistungen .ams-course-copy h3 span {
  color: #e6002e;
}

#leistungen .ams-course-copy p {
  max-width: 670px;
  margin: 0;

  color: #4b5d71;
  font-size: 15px;
  line-height: 1.75;
}

#leistungen .ams-course-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  min-width: 0;
}

#leistungen .ams-course-actions .ams-btn {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
}

#leistungen .ams-course-textlink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 9px 2px;

  color: #17345d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

#leistungen .ams-course-textlink:hover {
  color: #e6002e;
}

/* Hinweis unter den Kacheln */

#leistungen .ams-services-note {
  margin: 29px 0 0;
  color: #63768e;
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}

#leistungen .ams-services-note span {
  margin-right: 7px;
  color: #7290aa;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #leistungen {
    padding: 86px 0;
  }

  #leistungen .ams-services-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
  }

  #leistungen .ams-services-intro {
    max-width: 690px;
  }

  #leistungen .ams-service-card {
    min-height: 380px;
  }

  #leistungen .ams-service-top {
    top: 25px;
    left: 26px;
  }

  #leistungen .ams-service-content {
    bottom: 28px;
    left: 26px;
    right: 26px;
  }

  #leistungen .ams-service-content h3 {
    font-size: clamp(25px, 3vw, 36px);
  }

  #leistungen .ams-course-box {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  #leistungen .ams-course-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

}


/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #leistungen {
    padding: 76px 0;
  }

  #leistungen .ams-services-head {
    margin-bottom: 30px;
  }

  #leistungen .ams-services-head h2 {
    font-size: clamp(36px, 8.5vw, 54px);
    line-height: 1.13;
  }

  #leistungen .ams-services-intro {
    font-size: 14px;
    line-height: 1.75;
  }

  #leistungen .ams-services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  #leistungen .ams-service-card {
    min-height: 365px;
  }

  #leistungen .ams-service-content h3 {
    font-size: clamp(28px, 7vw, 39px);
  }

  #leistungen .ams-service-content p {
    font-size: 13px;
    min-height: 0;
  }

  #leistungen .ams-course-box {
    margin-top: 26px;
    padding: 25px 20px;
    gap: 22px;
  }

  #leistungen .ams-course-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #leistungen .ams-course-actions .ams-btn {
    width: 100%;
    min-width: 0;
  }

  #leistungen .ams-course-textlink {
    width: 100%;
  }

}


/* ==========================================
   KLEINE SMARTPHONES
   ========================================== */

@media (max-width: 380px) {

  #leistungen .ams-service-card {
    min-height: 355px;
  }

  #leistungen .ams-service-content {
    left: 22px;
    right: 22px;
  }

  #leistungen .ams-service-top {
    left: 22px;
  }

  #leistungen .ams-service-content h3 {
    font-size: 27px;
  }

  #leistungen .ams-course-box {
    padding: 22px 16px;
  }

}


/* ==========================================
   BARRIEREFREIHEIT
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  #leistungen .ams-service-card,
  #leistungen .ams-service-card img,
  #leistungen .ams-service-arrow {
    transition: none;
  }

}


/* ==========================================
   AMS MODUL 04 â€“ ÃœBER UNS
   ========================================== */

#ams-about {
  position: relative;
  width: 100%;
  padding: 115px 0;
  background: #f5f7fa;
  color: #14243b;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}

/* ==========================================
   ZWEISPALTIGES LAYOUT
   ========================================== */

#ams-about .ams-about-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .95fr)
    minmax(0, 1fr);
  gap: clamp(45px, 6vw, 105px);
  align-items: center;
}

#ams-about .ams-about-visual,
#ams-about .ams-about-content {
  min-width: 0;
}

/* ==========================================
   BILDBEREICH
   ========================================== */

#ams-about .ams-about-visual {
  position: relative;
  padding: 22px 22px 22px 0;
}

/* Dezenter Hintergrundrahmen */

#ams-about .ams-about-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 60px;
  left: 45px;
  background: #e4eaf1;
  border-radius: 5px;
}

/* Roter Designakzent */

#ams-about .ams-about-visual::after {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  width: 80px;
  height: 4px;
  background: #e6002e;
}

/* Bildcontainer */

#ams-about .ams-about-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 590px;
  overflow: hidden;
  border-radius: 5px;
  background: #102b4b;
  box-shadow:
    0 20px 50px rgba(12, 38, 65, .11);
}

/* Originalfoto */

#ams-about .ams-about-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 55% center;
  transition: transform .7s ease;
}

/* Sanfte Abdunklung am Bildende */

#ams-about .ams-about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(7, 28, 55, .12) 67%,
    rgba(7, 28, 55, .86) 100%
  );
}

/* Bildbeschriftung */

#ams-about .ams-about-photo-label {
  position: absolute;
  z-index: 2;
  bottom: 36px;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  color: #fff;
}

#ams-about .ams-about-photo-line {
  display: block;
  width: 3px;
  height: 44px;
  flex-shrink: 0;
  background: #e6002e;
}

#ams-about .ams-about-photo-small {
  display: block;
  margin-bottom: 10px;
  color: #dee7f3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

#ams-about .ams-about-photo-label strong {
  display: block;
  max-width: 330px;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.035em;
}

/* ==========================================
   TEXTBEREICH
   ========================================== */

#ams-about .ams-about-content {
  padding: 8px 0;
}

#ams-about .ams-section-eyebrow {
  color: #6d7a8c;
}

#ams-about .ams-section-title {
  max-width: 680px;
  margin: 23px 0 30px;
  color: #14243b;
  font-size: clamp(37px, 3.8vw, 61px);
  font-weight: 570;
  line-height: 1.13;
  letter-spacing: -.055em;
}

#ams-about .ams-text-red {
  color: #e6002e;
}

#ams-about .ams-about-lead {
  margin: 0 0 22px;
  color: #223b59;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.65;
}

#ams-about .ams-about-text {
  margin: 0 0 19px;
  color: #596b7f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

/* ==========================================
   QUALITÃ„TSMERKMALE
   ========================================== */

#ams-about .ams-about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 34px 0 35px;
  padding: 0;
  list-style: none;
}

#ams-about .ams-about-values li {
  position: relative;
  min-width: 0;
  padding-left: 23px;
  list-style: none;
}

#ams-about .ams-about-values li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 3px;
  height: 34px;
  background: #e6002e;
  border-radius: 2px;
}

#ams-about .ams-about-values strong {
  display: block;
  margin-bottom: 5px;
  color: #17345d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

#ams-about .ams-about-values span {
  display: block;
  color: #69798b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

/* ==========================================
   TEAM-LINK
   ========================================== */

#ams-about .ams-about-link {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  max-width: 100%;
  color: #15375e;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease;
}

#ams-about .ams-about-link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #e6002e;
  color: #fff;
  font-size: 22px;
  font-weight: 450;
  transition:
    transform .25s ease,
    background .25s ease;
}

#ams-about .ams-about-link:hover {
  color: #e6002e;
}

#ams-about .ams-about-link:hover
.ams-about-link-icon {
  transform: translate(3px, -3px);
  background: #bf0027;
}

#ams-about .ams-about-link:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 5px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #ams-about {
    padding: 88px 0;
  }

  #ams-about .ams-about-grid {
    grid-template-columns:
      minmax(0, .9fr)
      minmax(0, 1fr);
    gap: 38px;
  }

  #ams-about .ams-about-frame {
    min-height: 550px;
  }

  #ams-about .ams-section-title {
    font-size: clamp(34px, 4vw, 48px);
  }

  #ams-about .ams-about-lead {
    font-size: 17px;
  }

}

/* ==========================================
   SCHMALES TABLET
   ========================================== */

@media (max-width: 850px) {

  #ams-about .ams-about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 47px;
  }

  #ams-about .ams-about-visual {
    max-width: 700px;
    width: 100%;
    margin-inline: auto;
  }

  #ams-about .ams-about-frame {
    min-height: 440px;
  }

  #ams-about .ams-about-content {
    max-width: 700px;
    padding: 0;
    margin-inline: auto;
  }

  #ams-about .ams-section-title {
    max-width: 650px;
    font-size: clamp(37px, 5vw, 53px);
  }

}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-about {
    padding: 76px 0;
  }

  #ams-about .ams-about-grid {
    gap: 34px;
  }

  #ams-about .ams-about-visual {
    padding: 12px 12px 12px 0;
  }

  #ams-about .ams-about-visual::before {
    left: 25px;
    bottom: 35px;
  }

  #ams-about .ams-about-visual::after {
    right: 12px;
    width: 50px;
    height: 3px;
  }

  #ams-about .ams-about-frame {
    min-height: 360px;
  }

  #ams-about .ams-about-frame img {
    object-position: 55% center;
  }

  #ams-about .ams-about-photo-label {
    left: 23px;
    right: 20px;
    bottom: 23px;
    gap: 12px;
  }

  #ams-about .ams-about-photo-line {
    height: 39px;
  }

  #ams-about .ams-about-photo-small {
    font-size: 9px;
    letter-spacing: .10em;
  }

  #ams-about .ams-about-photo-label strong {
    font-size: 23px;
  }

  #ams-about .ams-section-title {
    margin: 20px 0 26px;
    font-size: clamp(35px, 8.7vw, 46px);
    line-height: 1.14;
  }

  #ams-about .ams-about-lead {
    font-size: 17px;
    line-height: 1.65;
  }

  #ams-about .ams-about-text {
    font-size: 14px;
    line-height: 1.8;
  }

  #ams-about .ams-about-values {
    gap: 22px;
    margin: 30px 0;
  }

  #ams-about .ams-about-values strong {
    font-size: 14px;
  }

  #ams-about .ams-about-values span {
    font-size: 12px;
  }

}

/* ==========================================
   KLEINE SMARTPHONES
   ========================================== */

@media (max-width: 380px) {

  #ams-about .ams-about-frame {
    min-height: 315px;
  }

  #ams-about .ams-section-title {
    font-size: 33px;
  }

  #ams-about .ams-about-photo-label strong {
    font-size: 20px;
  }

}

/* ==========================================
   REDUZIERTE BEWEGUNG
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  #ams-about .ams-about-frame img,
  #ams-about .ams-about-link,
  #ams-about .ams-about-link-icon {
    transition: none;
  }

}


/* ==========================================
   AMS MODUL 05 â€“ QUALITÃ„T & AUSSTATTUNG
   ========================================== */

#ams-quality {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 116px;
  background: #071c37;
  color: #ffffff;
  font-family:
    system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

#ams-quality,
#ams-quality * {
  box-sizing: border-box;
}

/* Dezenter Hintergrundverlauf */

#ams-quality::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 90% 10%,
      rgba(31, 83, 132, .35),
      transparent 58%
    );
}

/* ==========================================
   ÃœBERSCHRIFT
   ========================================== */

#ams-quality .ams-quality-header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(0, .7fr);
  align-items: end;
  gap: 65px;
  margin-bottom: 50px;
}

#ams-quality .ams-section-eyebrow {
  color: #aebed1;
}

#ams-quality .ams-section-title {
  max-width: 790px;
  margin: 24px 0 0;
  color: #ffffff;
  font-size: clamp(42px, 4.4vw, 72px);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.055em;
}

#ams-quality .ams-section-title span {
  display: block;
  color: #ff4364;
}

#ams-quality .ams-quality-intro {
  max-width: 420px;
  margin: 0 0 6px;
  color: #b8c9dc;
  font-size: 15px;
  line-height: 1.85;
}

/* ==========================================
   DREI QUALITÃ„TSKARTEN
   ========================================== */

#ams-quality .ams-quality-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#ams-quality .ams-quality-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 320px;
  padding: 32px 31px;

  background: rgba(23, 58, 93, .6);
  border: 1px solid rgba(184, 206, 230, .17);
  border-radius: 5px;

  transition:
    background .25s ease,
    border-color .25s ease;
}

#ams-quality .ams-quality-number {
  display: block;
  margin-bottom: 55px;
  color: #fb6a82;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.5;
}

#ams-quality .ams-quality-card-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#ams-quality .ams-quality-card h3 {
  margin: 0 0 17px;
  max-width: 320px;
  color: #ffffff;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -.045em;
}

#ams-quality .ams-quality-card p {
  max-width: 350px;
  margin: 0;
  color: #b9c9db;
  font-size: 13px;
  line-height: 1.85;
}

#ams-quality .ams-quality-card-mark {
  position: absolute;
  top: 29px;
  right: 30px;
  color: rgba(255,255,255,.35);
  font-size: 23px;
  line-height: 1;
}

@media (hover: hover) {
  #ams-quality .ams-quality-card:hover {
    background: rgba(29, 70, 109, .8);
    border-color: rgba(240, 80, 107, .45);
  }
}

/* ==========================================
   AUSSTATTUNG â€“ SHOWCASE
   ========================================== */

#ams-quality .ams-quality-showcase {
  display: grid;
  grid-template-columns:
    minmax(0, .88fr)
    minmax(0, 1fr);
  min-width: 0;
  margin-top: 22px;
  background: #ffffff;
  border-radius: 5px;
  overflow: hidden;
}

/* Bild */

#ams-quality .ams-quality-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #17345a;
}

#ams-quality .ams-quality-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

#ams-quality .ams-quality-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(5, 23, 47, .78) 100%
  );
}

/* Beschriftung auf dem Bild */

#ams-quality .ams-quality-image-label {
  position: absolute;
  z-index: 2;
  bottom: 27px;
  left: 32px;
  right: 20px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .15em;
  line-height: 1.5;
}

/* Rechter Textbereich */

#ams-quality .ams-quality-showcase-content {
  min-width: 0;
  padding: clamp(32px, 4vw, 64px);
}

#ams-quality .ams-quality-showcase-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #d20a32;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#ams-quality .ams-quality-showcase-eyebrow::before {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  flex-shrink: 0;
  background: #e6002e;
}

#ams-quality .ams-quality-showcase-content h3 {
  margin: 0 0 24px;
  color: #142b49;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 570;
  line-height: 1.15;
  letter-spacing: -.05em;
}

#ams-quality .ams-quality-showcase-content h3 span {
  color: #e6002e;
}

#ams-quality .ams-quality-showcase-content p {
  margin: 0 0 15px;
  color: #586b7f;
  font-size: 14px;
  line-height: 1.85;
}

/* Ausstattung als Stichwortliste */

#ams-quality .ams-quality-equipment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px 19px;
  margin: 28px 0 32px;
  padding: 22px 0;
  border-top: 1px solid #e3e9ef;
  border-bottom: 1px solid #e3e9ef;
}

#ams-quality .ams-quality-equipment span {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  color: #24415f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}

#ams-quality .ams-quality-equipment span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e6002e;
}

/* Links */

#ams-quality .ams-quality-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 27px;
}

#ams-quality .ams-quality-primary-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 50px;
  padding: 13px 20px;
  background: #e6002e;
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease;
}

#ams-quality .ams-quality-primary-link:hover {
  background: #bf0027;
  color: #ffffff;
}

#ams-quality .ams-quality-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #193957;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

#ams-quality .ams-quality-secondary-link:hover {
  color: #e6002e;
}

#ams-quality a:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 4px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #ams-quality {
    padding: 90px 0;
  }

  #ams-quality .ams-quality-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  #ams-quality .ams-quality-intro {
    max-width: 680px;
  }

  #ams-quality .ams-quality-card {
    min-height: 330px;
    padding: 27px 23px;
  }

  #ams-quality .ams-quality-card h3 {
    font-size: 27px;
  }

  #ams-quality .ams-quality-showcase {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  }

  #ams-quality .ams-quality-showcase-content {
    padding: 32px;
  }

}

/* ==========================================
   SCHMALES TABLET
   ========================================== */

@media (max-width: 850px) {

  #ams-quality .ams-quality-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  #ams-quality .ams-quality-card {
    min-height: 0;
    padding: 27px 29px;
  }

  #ams-quality .ams-quality-number {
    margin-bottom: 24px;
  }

  #ams-quality .ams-quality-card h3 {
    max-width: none;
    font-size: 30px;
  }

  #ams-quality .ams-quality-card p {
    max-width: 650px;
  }

  #ams-quality .ams-quality-showcase {
    grid-template-columns: 1fr;
  }

  #ams-quality .ams-quality-image {
    min-height: 370px;
  }

}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-quality {
    padding: 76px 0;
  }

  #ams-quality .ams-section-title {
    font-size: clamp(35px, 8.5vw, 49px);
    line-height: 1.14;
  }

  #ams-quality .ams-quality-intro {
    font-size: 14px;
    line-height: 1.8;
  }

  #ams-quality .ams-quality-card {
    padding: 26px 23px;
  }

  #ams-quality .ams-quality-card h3 {
    font-size: 27px;
  }

  #ams-quality .ams-quality-card p {
    font-size: 13px;
  }

  #ams-quality .ams-quality-image {
    min-height: 260px;
  }

  #ams-quality .ams-quality-image-label {
    left: 22px;
    bottom: 20px;
    font-size: 9px;
  }

  #ams-quality .ams-quality-showcase-content {
    padding: 30px 23px;
  }

  #ams-quality .ams-quality-showcase-content h3 {
    font-size: clamp(30px, 7vw, 39px);
  }

  #ams-quality .ams-quality-equipment {
    gap: 12px;
  }

  #ams-quality .ams-quality-links {
    flex-direction: column;
    align-items: stretch;
  }

  #ams-quality .ams-quality-primary-link {
    width: 100%;
  }

}

/* ==========================================
   KLEINE SMARTPHONES
   ========================================== */

@media (max-width: 380px) {

  #ams-quality .ams-quality-equipment {
    grid-template-columns: 1fr;
  }

  #ams-quality .ams-quality-card h3 {
    font-size: 25px;
  }

}

/* ==========================================
   REDUZIERTE BEWEGUNG
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  #ams-quality .ams-quality-card,
  #ams-quality .ams-quality-primary-link {
    transition: none;
  }

}


/* ==========================================
   AMS MODUL 06 â€“ ZENTRALER CTA
   ========================================== */

#ams-cta {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding: 112px 0 105px;
  background: linear-gradient(
    110deg,
    #be0027 0%,
    #e6002e 55%,
    #d2002c 100%
  );
  color: #ffffff;
  font-family:
    system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

#ams-cta,
#ams-cta * {
  box-sizing: border-box;
}

/* Dezente Hintergrundelemente */

#ams-cta::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -180px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}

#ams-cta::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -75px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
}

/* Inhalt */

#ams-cta .ams-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Kleine Ãœberschrift */

#ams-cta .ams-cta-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  margin-bottom: 30px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .19em;
  text-transform: uppercase;
}

#ams-cta .ams-cta-eyebrow span {
  display: block;
  flex-shrink: 0;
  width: 27px;
  height: 1px;
  background: rgba(255,255,255,.8);
}

/* HauptÃ¼berschrift */

#ams-cta h2 {
  max-width: 900px;
  margin: 0 0 26px;
  color: #ffffff;
  font-size: clamp(43px, 5.2vw, 77px);
  font-weight: 580;
  line-height: 1.13;
  letter-spacing: -.06em;
}

#ams-cta h2 span {
  color: #ffffff;
  font-weight: 750;
}

/* Beschreibung */

#ams-cta .ams-cta-description {
  max-width: 650px;
  margin: 0 auto 37px;
  color: #ffffff;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.85;
}

/* ==========================================
   BUTTONS
   ========================================== */

#ams-cta .ams-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

#ams-cta .ams-cta-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  min-height: 62px;
  max-width: 100%;
  padding: 18px 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  text-align: left;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

/* WeiÃŸer Hauptbutton */

#ams-cta .ams-cta-button-primary {
  background: #ffffff;
  color: #14243b;
}

#ams-cta .ams-cta-button-primary:hover {
  background: #f0f3f7;
  color: #14243b;
  transform: translateY(-3px);
}

/* Transparenter Telefonbutton */

#ams-cta .ams-cta-button-outline {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.85);
  color: #ffffff;
}

#ams-cta .ams-cta-button-outline:hover {
  background: rgba(255,255,255,.17);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Tastatur-Fokus */

#ams-cta .ams-cta-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

/* ==========================================
   VERTRAUENSHINWEIS
   ========================================== */

#ams-cta .ams-cta-note {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 31px 0 0;
  color: #ffe0e7;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

#ams-cta .ams-cta-note span {
  opacity: .65;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #ams-cta {
    padding: 90px 0;
  }

  #ams-cta h2 {
    font-size: clamp(42px, 6vw, 62px);
  }

  #ams-cta::before {
    right: -400px;
  }

  #ams-cta::after {
    right: -290px;
  }
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-cta {
    padding: 77px 0 75px;
  }

  #ams-cta .ams-cta-eyebrow {
    gap: 10px;
    margin-bottom: 25px;
    font-size: 10px;
    letter-spacing: .1em;
  }

  #ams-cta .ams-cta-eyebrow span {
    width: 18px;
  }

  #ams-cta h2 {
    margin-bottom: 25px;
    font-size: clamp(36px, 8.8vw, 50px);
    line-height: 1.14;
  }

  #ams-cta .ams-cta-description {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.75;
  }

  #ams-cta .ams-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #ams-cta .ams-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 59px;
    padding: 17px 20px;
    font-size: 13px;
    gap: 12px;
  }

  #ams-cta .ams-cta-note {
    margin-top: 26px;
    gap: 7px;
    font-size: 10px;
  }

  #ams-cta::before,
  #ams-cta::after {
    opacity: .55;
  }
}

/* ==========================================
   REDUZIERTE BEWEGUNG
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  #ams-cta .ams-cta-button {
    transition: none;
  }
}


/* ==========================================
   AMS MODUL 07 â€“ ABLAUF
   ========================================== */

#ams-process {
  position: relative;
  padding: 110px 0 105px;
  background: #f5f7fa;
  color: #14243b;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}

#ams-process,
#ams-process * {
  box-sizing: border-box;
}


/* ==========================================
   HEADER
   ========================================== */

#ams-process .ams-process-header {
  max-width: 800px;
  margin: 0 auto 66px;
  text-align: center;
}

#ams-process .ams-section-eyebrow {
  justify-content: center;
  color: #697b8f;
}

#ams-process .ams-section-title {
  margin: 25px 0 25px;
  color: #14243b;
  font-size: clamp(42px, 4.5vw, 67px);
  font-weight: 570;
  line-height: 1.13;
  letter-spacing: -.055em;
}

#ams-process .ams-text-red {
  color: #e6002e;
}

#ams-process .ams-process-intro {
  max-width: 650px;
  margin: 0 auto;
  color: #627489;
  font-size: 16px;
  line-height: 1.85;
}


/* ==========================================
   DREISTUFIGER ABLAUF
   ========================================== */

#ams-process .ams-process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Verbindungslinie */

#ams-process .ams-process-steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 35px;
  left: 16.6667%;
  right: 16.6667%;
  height: 1px;
  background: linear-gradient(
    90deg,
    #e6002e 0%,
    #d8e0e8 18%,
    #d8e0e8 82%,
    #e6002e 100%
  );
}

/* Einzelner Schritt */

#ams-process .ams-process-step {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  text-align: center;
  list-style: none;
}

/* Nummernkreis */

#ams-process .ams-process-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  margin-bottom: 30px;

  border: 1px solid #e0e5ec;
  border-radius: 50%;
  background: #ffffff;

  color: #e6002e;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.05em;

  box-shadow: 0 6px 25px rgba(14, 38, 65, .04);
}

/* Schrittinhalt */

#ams-process .ams-process-content {
  min-width: 0;
  max-width: 340px;
}

/* Kleine Schrittbezeichnung */

#ams-process .ams-process-label {
  display: block;
  margin-bottom: 14px;
  color: #d20a32;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Ãœberschrift */

#ams-process .ams-process-step h3 {
  margin: 0 0 18px;
  color: #142b49;
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -.045em;
}

/* Beschreibung */

#ams-process .ams-process-step p {
  margin: 0;
  color: #667789;
  font-size: 14px;
  line-height: 1.85;
}


/* ==========================================
   ABSCHLUSSHINWEIS
   ========================================== */

#ams-process .ams-process-footer {
  max-width: 740px;
  margin: 65px auto 0;
  text-align: center;
}

#ams-process .ams-process-footer-line {
  width: 50px;
  height: 2px;
  margin: 0 auto 24px;
  background: #e6002e;
}

#ams-process .ams-process-footer p {
  margin: 0;
  color: #63758a;
  font-size: 13px;
  line-height: 1.8;
}

#ams-process .ams-process-footer strong {
  display: block;
  margin-bottom: 5px;
  color: #193653;
  font-size: 15px;
  font-weight: 700;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #ams-process {
    padding: 88px 0;
  }

  #ams-process .ams-process-header {
    margin-bottom: 55px;
  }

  #ams-process .ams-process-steps {
    gap: 18px;
  }

  #ams-process .ams-process-step {
    padding: 0 6px;
  }

  #ams-process .ams-process-step h3 {
    font-size: 25px;
  }

  #ams-process .ams-process-step p {
    font-size: 13px;
  }
}


/* ==========================================
   MOBILE â€“ VERTIKALER ABLAUF
   ========================================== */

@media (max-width: 800px) {

  #ams-process .ams-process-steps {
    grid-template-columns: 1fr;
    gap: 38px;
    max-width: 600px;
    margin: 0 auto;
  }

  /* Vertikale Verbindungslinie */

  #ams-process .ams-process-steps::before {
    top: 28px;
    bottom: 40px;
    left: 28px;
    right: auto;
    width: 1px;
    height: auto;
    background: #d8e0e8;
  }

  /* Schritt linksbÃ¼ndig */

  #ams-process .ams-process-step {
    display: block;
    min-height: 105px;
    padding: 0 0 0 82px;
    text-align: left;
  }

  /* Nummer links */

  #ams-process .ams-process-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 20px;
  }

  #ams-process .ams-process-content {
    max-width: none;
  }

  #ams-process .ams-process-label {
    margin-bottom: 9px;
  }

  #ams-process .ams-process-step h3 {
    margin-bottom: 12px;
    font-size: 27px;
  }

  #ams-process .ams-process-step p {
    max-width: 490px;
    font-size: 14px;
  }
}


/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-process {
    padding: 76px 0;
  }

  #ams-process .ams-process-header {
    margin-bottom: 48px;
  }

  #ams-process .ams-section-title {
    margin: 22px 0;
    font-size: clamp(35px, 8.5vw, 48px);
    line-height: 1.15;
  }

  #ams-process .ams-process-intro {
    font-size: 14px;
    line-height: 1.8;
  }

  #ams-process .ams-process-steps {
    gap: 38px;
  }

  #ams-process .ams-process-step {
    padding-left: 76px;
  }

  #ams-process .ams-process-step h3 {
    font-size: 24px;
  }

  #ams-process .ams-process-step p {
    font-size: 13px;
    line-height: 1.8;
  }

  #ams-process .ams-process-footer {
    margin-top: 50px;
  }
}


/* ==========================================
   KLEINE SMARTPHONES
   ========================================== */

@media (max-width: 380px) {

  #ams-process .ams-process-step {
    padding-left: 68px;
  }

  #ams-process .ams-process-number {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  #ams-process .ams-process-steps::before {
    left: 25px;
  }

  #ams-process .ams-process-step h3 {
    font-size: 22px;
  }

  #ams-process .ams-section-title {
    font-size: 33px;
  }
}


/* ==========================================
   AMS MODUL 08 â€“ EINSATZGEBIETE
   ========================================== */

#ams-regions {
  position: relative;
  padding: 110px 0 100px;
  background: #ffffff;
  color: #14243b;
  font-family:
    system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

#ams-regions,
#ams-regions * {
  box-sizing: border-box;
}

/* ==========================================
   ÃœBERSCHRIFT
   ========================================== */

#ams-regions .ams-regions-header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, .7fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
}

#ams-regions .ams-section-eyebrow {
  color: #718093;
}

#ams-regions .ams-section-title {
  max-width: 770px;
  margin: 23px 0 0;
  color: #14243b;
  font-size: clamp(40px, 4.1vw, 67px);
  font-weight: 570;
  line-height: 1.13;
  letter-spacing: -.055em;
}

#ams-regions .ams-text-red {
  color: #e6002e;
}

#ams-regions .ams-regions-intro {
  max-width: 420px;
  margin: 0 0 6px;
  color: #617287;
  font-size: 15px;
  line-height: 1.85;
}

/* ==========================================
   ZWEISPALTIGES LAYOUT
   ========================================== */

#ams-regions .ams-regions-layout {
  display: grid;
  grid-template-columns:
    minmax(0, .85fr)
    minmax(0, 1.15fr);
  gap: 23px;
  align-items: stretch;
}

/* ==========================================
   BOTTROP â€“ STANDORTKARTE
   ========================================== */

#ams-regions .ams-regions-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 490px;
  padding: 38px;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    #071c37 0%,
    #123c65 100%
  );
  color: #ffffff;
}

/* Dekorative Kreise */

#ams-regions .ams-regions-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 500px;
  height: 500px;
  top: 13%;
  right: -280px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px rgba(255,255,255,.025),
    0 0 0 150px rgba(255,255,255,.018);
  pointer-events: none;
}

/* Obere Kennzeichnung */

#ams-regions .ams-regions-feature-top {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d3e0ed;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

#ams-regions .ams-regions-feature-line {
  width: 29px;
  height: 2px;
  background: #e6002e;
}

/* Standortinformation */

#ams-regions .ams-regions-feature-body {
  position: relative;
  z-index: 1;
}

#ams-regions .ams-regions-feature-label {
  display: block;
  margin-bottom: 17px;
  color: #b8cbdf;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

#ams-regions .ams-regions-feature h3 {
  margin: 0 0 17px;
  color: #ffffff;
  font-size: clamp(54px, 6vw, 91px);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -.07em;
}

#ams-regions .ams-regions-feature h3 span {
  color: #ff4867;
}

#ams-regions .ams-regions-feature-body p {
  max-width: 340px;
  margin: 0;
  color: #cfdfec;
  font-size: 16px;
  line-height: 1.7;
}

/* Unterer Kartenbereich */

#ams-regions .ams-regions-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: #e5edf6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#ams-regions .ams-regions-feature-footer
span:last-child {
  color: #ff617c;
  font-size: 24px;
  line-height: 1;
}

/* ==========================================
   RECHTE SPALTE
   ========================================== */

#ams-regions .ams-regions-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#ams-regions .ams-regions-list-header {
  margin-bottom: 25px;
}

#ams-regions .ams-regions-list-header h3 {
  margin: 0 0 8px;
  color: #173556;
  font-size: 24px;
  font-weight: 640;
  letter-spacing: -.035em;
}

#ams-regions .ams-regions-list-header p {
  max-width: 520px;
  margin: 0;
  color: #6a7a8b;
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================
   REGIONENKARTEN
   ========================================== */

#ams-regions .ams-regions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
}

#ams-regions .ams-region-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 184px;
  padding: 24px;
  border: 1px solid #e1e7ee;
  border-radius: 5px;
  background: #f6f8fa;
  text-decoration: none;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

#ams-regions .ams-region-card-index {
  display: block;
  color: #8391a0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
}

#ams-regions .ams-region-card strong {
  display: block;
  margin: 22px 0;
  color: #173556;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 630;
  line-height: 1.2;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}

#ams-regions .ams-region-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #647689;
  font-size: 12px;
  line-height: 1.5;
}

#ams-regions .ams-region-card-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e6002e;
  color: #ffffff;
  font-size: 18px;
  transition: transform .25s ease;
}

/* Hover */

@media (hover: hover) {
  #ams-regions .ams-region-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: #d4a2ad;
  }

  #ams-regions .ams-region-card:hover
  .ams-region-card-arrow {
    transform: translate(2px, -2px);
  }
}

/* ==========================================
   UNTERER KONTAKTBEREICH
   ========================================== */

#ams-regions .ams-regions-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin-top: 29px;
  padding: 28px 0 0;
  border-top: 1px solid #e7ebf0;
}

#ams-regions .ams-regions-bottom-text {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-width: 0;
}

#ams-regions .ams-regions-bottom-marker {
  display: block;
  flex-shrink: 0;
  width: 3px;
  height: 42px;
  background: #e6002e;
}

#ams-regions .ams-regions-bottom-text p {
  max-width: 680px;
  margin: 0;
  color: #647689;
  font-size: 14px;
  line-height: 1.75;
}

#ams-regions .ams-regions-bottom-text strong {
  display: block;
  margin-bottom: 3px;
  color: #193653;
  font-weight: 700;
}

#ams-regions .ams-regions-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  flex-shrink: 0;
  padding: 14px 20px;
  min-height: 52px;
  border: 1px solid #dbe3ec;
  border-radius: 4px;
  color: #173556;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition:
    color .2s ease,
    border-color .2s ease;
}

#ams-regions .ams-regions-contact:hover {
  color: #e6002e;
  border-color: #e6002e;
}

#ams-regions a:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 4px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #ams-regions {
    padding: 88px 0;
  }

  #ams-regions .ams-regions-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  #ams-regions .ams-regions-intro {
    max-width: 700px;
  }

  #ams-regions .ams-regions-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #ams-regions .ams-regions-feature {
    min-height: 320px;
  }

  #ams-regions .ams-regions-feature h3 {
    font-size: 69px;
  }

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

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-regions {
    padding: 76px 0;
  }

  #ams-regions .ams-section-title {
    font-size: clamp(35px, 8.5vw, 49px);
    line-height: 1.14;
  }

  #ams-regions .ams-regions-intro {
    font-size: 14px;
    line-height: 1.8;
  }

  #ams-regions .ams-regions-feature {
    min-height: 360px;
    padding: 27px;
  }

  #ams-regions .ams-regions-feature h3 {
    font-size: clamp(55px, 13vw, 74px);
  }

  #ams-regions .ams-regions-feature-body p {
    font-size: 14px;
  }

  #ams-regions .ams-regions-list-header h3 {
    font-size: 22px;
  }

  #ams-regions .ams-regions-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
  }

  #ams-regions .ams-regions-contact {
    width: 100%;
  }
}

/* ==========================================
   KLEINE SMARTPHONES
   ========================================== */

@media (max-width: 480px) {

  #ams-regions .ams-regions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #ams-regions .ams-region-card {
    min-height: 132px;
    padding: 19px 21px;
  }

  #ams-regions .ams-region-card strong {
    margin: 15px 0;
    font-size: 27px;
  }

  #ams-regions .ams-regions-feature {
    min-height: 335px;
    padding: 25px;
  }

  #ams-regions .ams-regions-feature h3 {
    font-size: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {

  #ams-regions .ams-region-card,
  #ams-regions .ams-region-card-arrow,
  #ams-regions .ams-regions-contact {
    transition: none;
  }
}


/* ==========================================
   AMS MODUL 09 â€“ FAQ
   SEO / GEO / AEO
   ========================================== */

#ams-faq {
  padding: 115px 0;
  background: #f5f7fa;
  color: #14243b;
  scroll-margin-top: 110px;
  font-family:
    system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

#ams-faq,
#ams-faq * {
  box-sizing: border-box;
}

/* ==========================================
   ÃœBERSCHRIFT
   ========================================== */

#ams-faq .ams-faq-header {
  max-width: 960px;
  margin: 0 auto 60px;
  text-align: center;
}

#ams-faq .ams-section-eyebrow {
  justify-content: center;
  color: #718093;
}

#ams-faq .ams-section-title {
  margin: 25px 0;
  color: #14243b;
  font-size: clamp(39px, 4.2vw, 65px);
  font-weight: 570;
  line-height: 1.13;
  letter-spacing: -.055em;
}

#ams-faq .ams-text-red {
  color: #e6002e;
}

#ams-faq .ams-faq-intro {
  max-width: 735px;
  margin: 0 auto;
  color: #63758a;
  font-size: 15px;
  line-height: 1.85;
}

/* ==========================================
   ZWEISPALTIGES LAYOUT
   ========================================== */

#ams-faq .ams-faq-layout {
  display: grid;
  grid-template-columns:
    minmax(0, .72fr)
    minmax(0, 1.45fr);
  align-items: start;
  gap: 32px;
}

/* ==========================================
   KONTAKTKARTE LINKS
   ========================================== */

#ams-faq .ams-faq-aside {
  min-width: 0;
}

#ams-faq .ams-faq-contact-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 420px;
  padding: 38px;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    #071c37 0%,
    #143c63 100%
  );
  color: #ffffff;
}

/* Dekorativer Kreis */

#ams-faq .ams-faq-contact-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -230px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  pointer-events: none;
}

/* Rote Linie */

#ams-faq .ams-faq-contact-line {
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 24px;
  background: #ff4867;
}

/* Kleine Beschriftung */

#ams-faq .ams-faq-contact-label {
  color: #b5cce0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* KontaktÃ¼berschrift */

#ams-faq .ams-faq-contact-card h3 {
  margin: 22px 0;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 580;
  line-height: 1.15;
  letter-spacing: -.045em;
}

#ams-faq .ams-faq-contact-card h3 span {
  display: block;
  color: #ff6680;
}

/* Beschreibung */

#ams-faq .ams-faq-contact-card p {
  max-width: 310px;
  margin: 0 0 29px;
  color: #ccd9e7;
  font-size: 14px;
  line-height: 1.8;
}

/* Kontaktbutton */

#ams-faq .ams-faq-contact-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: #e6002e;
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background .2s ease,
    transform .2s ease;
}

#ams-faq .ams-faq-contact-button:hover {
  background: #bf0027;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Unterer Bereich */

#ams-faq .ams-faq-contact-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding-top: 40px;
  color: #adbed0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ==========================================
   FAQ LISTE
   ========================================== */

#ams-faq .ams-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* Einzelnes FAQ */

#ams-faq .ams-faq-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e7ee;
  border-radius: 5px;
  background: #ffffff;
  scroll-margin-top: 120px;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

/* GeÃ¶ffneter Zustand */

#ams-faq .ams-faq-item[open] {
  border-color: #d6e0eb;
  box-shadow:
    0 9px 27px rgba(15,39,65,.05);
}

/* ==========================================
   FRAGE / SUMMARY
   ========================================== */

#ams-faq .ams-faq-item summary {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 86px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  color: #173556;
}

/* Browserstandard-Marker entfernen */

#ams-faq .ams-faq-item summary::-webkit-details-marker {
  display: none;
}

#ams-faq .ams-faq-item summary::marker {
  content: "";
}

/* Nummer */

#ams-faq .ams-faq-number {
  flex-shrink: 0;
  color: #d20a32;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .10em;
}

/* Frage als echte H3 */

#ams-faq .ams-faq-item h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #173556;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.018em;
  overflow-wrap: break-word;
}

/* ==========================================
   PLUS / MINUS ICON
   ========================================== */

#ams-faq .ams-faq-toggle {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f3f7;
}

/* Horizontale Linie */

#ams-faq .ams-faq-toggle::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 9px;
  width: 12px;
  height: 2px;
  background: #173556;
}

/* Vertikale Linie */

#ams-faq .ams-faq-toggle::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 14px;
  width: 2px;
  height: 12px;
  background: #173556;
  transition: transform .2s ease;
}

/* GeÃ¶ffnet = Minus */

#ams-faq .ams-faq-item[open]
.ams-faq-toggle {
  background: #e6002e;
}

#ams-faq .ams-faq-item[open]
.ams-faq-toggle::before,
#ams-faq .ams-faq-item[open]
.ams-faq-toggle::after {
  background: #ffffff;
}

#ams-faq .ams-faq-item[open]
.ams-faq-toggle::after {
  transform: rotate(90deg);
}

/* ==========================================
   ANTWORTEN
   ========================================== */

#ams-faq .ams-faq-answer {
  margin: 0 26px 0 59px;
  padding: 0 0 27px;
  border-top: 1px solid #edf0f4;
}

#ams-faq .ams-faq-answer p {
  margin: 20px 0 16px;
  color: #5c6f82;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

/* WeiterfÃ¼hrende Links */

#ams-faq .ams-faq-answer a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #cf092f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

#ams-faq .ams-faq-answer a:hover {
  color: #98102b;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Tastaturbedienung */

#ams-faq summary:focus-visible,
#ams-faq a:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 3px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #ams-faq {
    padding: 90px 0;
  }

  #ams-faq .ams-faq-layout {
    grid-template-columns:
      minmax(0, .7fr)
      minmax(0, 1.3fr);
    gap: 20px;
  }

  #ams-faq .ams-faq-contact-card {
    padding: 27px;
  }

  #ams-faq .ams-faq-item summary {
    gap: 14px;
    padding: 20px;
  }

  #ams-faq .ams-faq-item h3 {
    font-size: 16px;
  }

  #ams-faq .ams-faq-answer {
    margin-left: 46px;
    margin-right: 20px;
  }

}

/* ==========================================
   KLEINES TABLET
   ========================================== */

@media (max-width: 850px) {

  #ams-faq .ams-faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #ams-faq .ams-faq-contact-card {
    min-height: 0;
    padding: 32px;
  }

  #ams-faq .ams-faq-contact-bottom {
    padding-top: 25px;
  }

}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-faq {
    padding: 76px 0;
  }

  #ams-faq .ams-faq-header {
    margin-bottom: 38px;
  }

  #ams-faq .ams-section-title {
    margin: 22px 0;
    font-size: clamp(34px, 8vw, 46px);
    line-height: 1.15;
  }

  #ams-faq .ams-faq-intro {
    font-size: 14px;
    line-height: 1.8;
  }

  #ams-faq .ams-faq-contact-card {
    padding: 28px 25px;
  }

  #ams-faq .ams-faq-contact-card h3 {
    font-size: 34px;
  }

  #ams-faq .ams-faq-list {
    gap: 10px;
  }

  #ams-faq .ams-faq-item summary {
    gap: 12px;
    min-height: 76px;
    padding: 18px 16px;
  }

  #ams-faq .ams-faq-number {
    font-size: 10px;
  }

  #ams-faq .ams-faq-item h3 {
    font-size: 14px;
    line-height: 1.5;
  }

  #ams-faq .ams-faq-toggle {
    width: 27px;
    height: 27px;
  }

  #ams-faq .ams-faq-toggle::before {
    top: 12.5px;
    left: 8px;
    width: 11px;
  }

  #ams-faq .ams-faq-toggle::after {
    top: 8px;
    left: 12.5px;
    height: 11px;
  }

  #ams-faq .ams-faq-answer {
    margin: 0 16px;
    padding-bottom: 22px;
  }

  #ams-faq .ams-faq-answer p {
    font-size: 13px;
    line-height: 1.8;
  }

  #ams-faq .ams-faq-answer a {
    font-size: 12px;
  }

}

/* ==========================================
   REDUZIERTE BEWEGUNG
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  #ams-faq .ams-faq-item,
  #ams-faq .ams-faq-toggle::after,
  #ams-faq .ams-faq-contact-button {
    transition: none;
  }

}


/* ==========================================
   AMS MODUL 10 â€“ KONTAKT & FORMULAR
   ========================================== */

#ams-contact {
  padding: 110px 0 115px;
  background: #ffffff;
  color: #14243b;
  font-family: system-ui, -apple-system,
    "Segoe UI", Arial, sans-serif;
}

#ams-contact,
#ams-contact * {
  box-sizing: border-box;
}

/* ==========================================
   ABSCHNITTSÃœBERSCHRIFT
   ========================================== */

#ams-contact .ams-contact-header {
  max-width: 870px;
  margin: 0 auto 52px;
  text-align: center;
}

#ams-contact .ams-section-eyebrow {
  justify-content: center;
  color: #718093;
}

#ams-contact .ams-section-title {
  margin: 22px 0 24px;
  font-size: clamp(39px, 4.5vw, 67px);
  font-weight: 570;
  line-height: 1.13;
  letter-spacing: -.055em;
}

#ams-contact .ams-contact-intro {
  max-width: 690px;
  margin: 0 auto;
  color: #657589;
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================================
   ZWEISPALTIGES LAYOUT
   ========================================== */

#ams-contact .ams-contact-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .85fr)
    minmax(0, 1.15fr);
  align-items: stretch;
  gap: 22px;
}

/* ==========================================
   LINKE KONTAKTKARTE
   ========================================== */

#ams-contact .ams-contact-info {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 45px;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    #071c37,
    #143b62
  );
  color: #ffffff;
}

#ams-contact .ams-contact-info::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -210px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}

#ams-contact .ams-contact-info-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

#ams-contact .ams-contact-accent {
  width: 28px;
  height: 2px;
  background: #ff5875;
}

#ams-contact .ams-contact-kicker {
  color: #c3d5e6;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#ams-contact .ams-contact-info h3 {
  max-width: 440px;
  margin: 0 0 25px;
  color: #ffffff;
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: -.055em;
}

#ams-contact .ams-contact-info h3 span {
  color: #ff6b86;
}

#ams-contact .ams-contact-info-text {
  max-width: 390px;
  margin: 0 0 42px;
  color: #c9d8e7;
  font-size: 15px;
  line-height: 1.85;
}

/* KONTAKTDATEN */

#ams-contact .ams-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

#ams-contact .ams-contact-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

#ams-contact .ams-contact-method-label {
  color: #ff718a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
}

#ams-contact .ams-contact-method a,
#ams-contact .ams-contact-method-value {
  color: #ffffff;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 550;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

#ams-contact .ams-contact-method a:hover {
  color: #ff9daf;
}

/* UNTERER KARTENBEREICH */

#ams-contact .ams-contact-info-bottom {
  margin-top: auto;
  padding-top: 60px;
}

#ams-contact .ams-contact-bottom-line {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 20px;
  background: #ff5875;
}

#ams-contact .ams-contact-info-bottom p {
  max-width: 330px;
  margin: 0;
  color: #c3d2e2;
  font-size: 12px;
  line-height: 1.85;
}

/* ==========================================
   RECHTES FORMULARPANEL
   ========================================== */

#ams-contact .ams-contact-form-panel {
  min-width: 0;
  padding: 45px;
  border: 1px solid #e1e8ef;
  border-radius: 5px;
  background: #f7f9fb;
}

#ams-contact .ams-contact-form-header {
  margin-bottom: 32px;
}

#ams-contact .ams-contact-form-kicker {
  display: block;
  margin-bottom: 15px;
  color: #d00a32;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#ams-contact .ams-contact-form-header h3 {
  margin: 0 0 15px;
  color: #142b49;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 580;
  line-height: 1.17;
  letter-spacing: -.05em;
}

#ams-contact .ams-contact-form-header h3 span {
  color: #e6002e;
}

#ams-contact .ams-contact-form-header p {
  margin: 0;
  color: #657589;
  font-size: 14px;
  line-height: 1.8;
}

/* ==========================================
   FORMULARFELDER
   ========================================== */

#ams-contact .ams-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

#ams-contact .ams-form-row {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0,1fr));
  gap: 16px;
}

#ams-contact .ams-field {
  min-width: 0;
}

#ams-contact .ams-field > label {
  display: block;
  margin-bottom: 9px;
  color: #26405d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

#ams-contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

#ams-contact .ams-field input,
#ams-contact .ams-field select,
#ams-contact .ams-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #d9e2ec;
  border-radius: 4px;
  outline: none;
  background: #ffffff;
  color: #173556;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: none;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

#ams-contact .ams-field textarea {
  min-height: 135px;
  resize: vertical;
}

#ams-contact .ams-field input:focus,
#ams-contact .ams-field select:focus,
#ams-contact .ams-field textarea:focus {
  border-color: #e6002e;
  box-shadow: 0 0 0 3px rgba(230,0,46,.09);
}

#ams-contact .ams-field input::placeholder,
#ams-contact .ams-field textarea::placeholder {
  color: #98a4b2;
}

/* ==========================================
   BEDARFSGERECHTE ANFRAGEVARIANTEN
   ========================================== */

#ams-contact .ams-form-variant {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 3px 0;
  padding: 22px;
  border: 1px solid #dce5ef;
  border-left: 3px solid #e6002e;
  border-radius: 4px;
  background: #ffffff;
}

#ams-contact .ams-form-variant[hidden] {
  display: none !important;
}

#ams-contact .ams-form-variant h4 {
  margin: 0 0 3px;
  color: #183957;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

/* ==========================================
   DATENSCHUTZ
   ========================================== */

#ams-contact .ams-form-privacy {
  color: #52677c;
  font-size: 12px;
  line-height: 1.7;
}

#ams-contact .ams-form-privacy
.wpcf7-list-item {
  margin: 0;
}

#ams-contact .ams-form-privacy
.wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

#ams-contact .ams-form-privacy input[type="checkbox"] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: #e6002e;
}

#ams-contact .ams-form-privacy a {
  color: #cf092f;
  font-weight: 700;
  text-decoration: underline;
}

#ams-contact .ams-form-sensitive-note {
  margin: -6px 0 0;
  color: #738397;
  font-size: 11px;
  line-height: 1.6;
}

/* ==========================================
   ABSENDEBUTTON
   ========================================== */

#ams-contact .ams-form-submit-wrap {
  margin-top: 5px;
}

#ams-contact .ams-form-submit {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 16px 22px;
  border: 1px solid #e6002e;
  border-radius: 4px;
  background: #e6002e;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background .2s ease,
    transform .2s ease;
}

#ams-contact .ams-form-submit:hover {
  background: #bf0027;
  border-color: #bf0027;
  color: #ffffff;
  transform: translateY(-2px);
}

#ams-contact .ams-form-required {
  margin: -6px 0 0;
  color: #8794a3;
  font-size: 11px;
}

/* ==========================================
   FORMULARFEHLER & BESTÃ„TIGUNG
   ========================================== */

#ams-contact .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #bf1535;
  font-size: 11px;
}

#ams-contact .wpcf7 form
.wpcf7-response-output {
  margin: 20px 0 0;
  padding: 15px 18px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
}

#ams-contact a:focus-visible,
#ams-contact button:focus-visible {
  outline: 3px solid #e6002e;
  outline-offset: 4px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

  #ams-contact {
    padding: 88px 0;
  }

  #ams-contact .ams-contact-grid {
    grid-template-columns:
      minmax(0,.8fr)
      minmax(0,1.2fr);
  }

  #ams-contact .ams-contact-info,
  #ams-contact .ams-contact-form-panel {
    padding: 32px;
  }

  #ams-contact .ams-form-row {
    grid-template-columns: 1fr;
  }

}

/* ==========================================
   SCHMALES TABLET
   ========================================== */

@media (max-width: 850px) {

  #ams-contact .ams-contact-grid {
    grid-template-columns: 1fr;
  }

  #ams-contact .ams-contact-info {
    min-height: 0;
  }

  #ams-contact .ams-contact-info-bottom {
    padding-top: 36px;
  }

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

}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  #ams-contact {
    padding: 76px 0;
  }

  #ams-contact .ams-contact-header {
    margin-bottom: 36px;
  }

  #ams-contact .ams-section-title {
    font-size: clamp(34px,8.5vw,47px);
  }

  #ams-contact .ams-contact-intro {
    font-size: 14px;
  }

  #ams-contact .ams-contact-grid {
    gap: 16px;
  }

  #ams-contact .ams-contact-info,
  #ams-contact .ams-contact-form-panel {
    padding: 27px 23px;
  }

  #ams-contact .ams-contact-info h3 {
    font-size: clamp(32px,8vw,43px);
  }

  #ams-contact .ams-contact-info-text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  #ams-contact .ams-form-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  #ams-contact .ams-contact-form-header h3 {
    font-size: 32px;
  }

  #ams-contact .ams-form-variant {
    padding: 19px 16px;
  }

  #ams-contact .ams-field input,
  #ams-contact .ams-field select,
  #ams-contact .ams-field textarea {
    font-size: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {

  #ams-contact .ams-form-submit,
  #ams-contact .ams-field input,
  #ams-contact .ams-field select,
  #ams-contact .ams-field textarea {
    transition: none;
  }

}




/* ============================================================
   AMS SANDIENST | HEADER & FOOTER | CONSOLIDATED CSS V1.5
   Isoliert von den Modulen 01â€“10 fÃ¼r die Elementor-Canvas-Testseite
   ============================================================ */
#ams-site-header, #ams-site-footer {
  --ams-nav-blue:#0c294a;
  --ams-nav-dark:#071c37;
  --ams-nav-red:#e6002e;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
#ams-site-header, #ams-site-footer,
#ams-site-header *, #ams-site-footer * { box-sizing:border-box; }
#ams-site-header a, #ams-site-footer a { text-decoration:none; }
#ams-site-header a:focus-visible, #ams-site-header summary:focus-visible,
#ams-site-footer a:focus-visible { outline:3px solid #e6002e;outline-offset:3px; }
#ams-site-header .ams-h-container,
#ams-site-footer .ams-f-container { width:min(1320px,calc(100% - 64px));margin-inline:auto; }

/* TOPBAR */
#ams-site-header { position:relative;z-index:900;width:100%;color:#19334f;background:#fff; }
#ams-site-header .ams-h-topbar { display:block;background:var(--ams-nav-blue);color:#fff; }
#ams-site-header .ams-h-top-inner { display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:53px;padding:7px 0; }
#ams-site-header .ams-h-region { font-size:10px;letter-spacing:.14em;font-weight:750;color:#d3e1ed;white-space:nowrap; }
#ams-site-header .ams-h-top-contact { display:flex;align-items:center;justify-content:flex-end;gap:22px;min-width:0; }
#ams-site-header .ams-h-direct-link { display:inline-flex;align-items:center;gap:8px;color:#f2f6fc;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap; }
#ams-site-header .ams-h-direct-link:hover { color:#fff; }
#ams-site-header .ams-h-direct-link svg { display:block;width:15px;height:15px;min-width:15px;max-width:none;flex-shrink:0;stroke:currentColor; }

/* Wichtig: GrÃ¶ÃŸe der Social-Symbole explizit definieren. */
#ams-site-header .ams-h-socials { display:flex;align-items:center;gap:10px;padding-left:20px;border-left:1px solid rgba(255,255,255,.27); }
#ams-site-header .ams-h-social-link {
  display:inline-flex;justify-content:center;align-items:center;flex:0 0 34px;
  width:34px;height:34px;min-width:34px;min-height:34px;padding:0;
  background:rgba(255,255,255,.075);color:#fff;
  border:1px solid rgba(255,255,255,.32);border-radius:50%;
  opacity:1;visibility:visible;line-height:1;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
#ams-site-header .ams-h-social-link svg { display:block;flex:0 0 19px;width:19px;height:19px;min-width:19px;min-height:19px;max-width:none;max-height:none;opacity:1;visibility:visible; }
#ams-site-header .ams-h-social-link .ams-h-facebook-icon { fill:currentColor;stroke:none; }
#ams-site-header .ams-h-social-link .ams-h-instagram-icon { fill:none;stroke:currentColor; }
#ams-site-header .ams-h-social-link:hover { color:#fff;background:var(--ams-nav-red);border-color:var(--ams-nav-red);transform:translateY(-2px); }

/* DESKTOP MAIN NAVIGATION */
#ams-site-header .ams-h-main { position:relative;background:#fff;border-bottom:1px solid #e5ebf1;box-shadow:0 4px 20px rgba(8,32,57,.045); }
#ams-site-header .ams-h-inner { display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:94px; }
#ams-site-header .ams-h-logo { display:flex;align-items:center;flex:0 0 auto;width:clamp(178px,18vw,245px);max-width:100%; }
#ams-site-header .ams-h-logo img { display:block;width:100%;height:auto;max-height:82px;max-width:100%;object-fit:contain;object-position:left center; }
#ams-site-header .ams-h-desktop-nav { display:flex;align-items:center;gap:clamp(15px,1.5vw,27px);min-width:0;margin-left:auto; }
#ams-site-header .ams-h-navlink { display:inline-flex;align-items:center;gap:8px;padding:14px 0;color:#233b55;font-size:13px;font-weight:650;line-height:1.5;white-space:nowrap;cursor:pointer; }
#ams-site-header .ams-h-navlink:hover,#ams-site-header .ams-h-dropdown[open] > .ams-h-navlink { color:var(--ams-nav-red); }
#ams-site-header .ams-h-dropdown { position:relative; }
#ams-site-header .ams-h-dropdown summary { list-style:none; }
#ams-site-header .ams-h-dropdown summary::-webkit-details-marker { display:none; }
#ams-site-header .ams-h-dropdown summary::marker { content:""; }
#ams-site-header .ams-h-chevron { width:8px;height:8px;margin-top:-4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg); }
#ams-site-header .ams-h-dropdown[open] .ams-h-chevron { transform:rotate(225deg);margin-top:4px; }
#ams-site-header .ams-h-dropdown-panel { position:absolute;z-index:1000;top:calc(100% + 6px);left:-22px;width:350px;max-width:90vw;padding:9px;background:#fff;border:1px solid #e1e7ee;border-top:3px solid var(--ams-nav-red);border-radius:5px;box-shadow:0 20px 48px rgba(9,30,55,.17); }
#ams-site-header .ams-h-dropdown-panel a { display:block;padding:13px 15px;border-radius:4px; }
#ams-site-header .ams-h-dropdown-panel a:hover { background:#f3f6fa; }
#ams-site-header .ams-h-dropdown-panel strong { display:block;margin-bottom:4px;color:#173556;font-size:13px;font-weight:750; }
#ams-site-header .ams-h-dropdown-panel small { display:block;color:#748396;font-size:11px;line-height:1.5; }
#ams-site-header .ams-h-cta { display:inline-flex;align-items:center;justify-content:space-between;gap:20px;flex:0 0 auto;min-height:51px;padding:14px 21px;border-radius:4px;background:var(--ams-nav-red);color:#fff;font-size:13px;font-weight:750;line-height:1.4;white-space:nowrap; }
#ams-site-header .ams-h-cta:hover { background:#bf0027;color:#fff; }
#ams-site-header .ams-h-mobile-menu { display:none; }

/* MOBILE / TABLET MENU */
@media (max-width:1180px) {
  #ams-site-header .ams-h-desktop-nav,#ams-site-header .ams-h-cta { display:none; }
  #ams-site-header .ams-h-inner { min-height:82px; }
  #ams-site-header .ams-h-mobile-menu { display:block;margin-left:auto; }
  #ams-site-header .ams-h-menu-toggle { display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:96px;min-height:46px;padding:10px 13px;border:1px solid #dce5ef;border-radius:5px;background:#fff;color:#173556;cursor:pointer;list-style:none; }
  #ams-site-header .ams-h-menu-toggle::-webkit-details-marker { display:none; }
  #ams-site-header .ams-h-menu-toggle::marker { content:""; }
  #ams-site-header .ams-h-menu-label { font-size:13px;font-weight:750; }
  #ams-site-header .ams-h-hamburger { display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:24px;height:24px; }
  #ams-site-header .ams-h-hamburger span { display:block;width:22px;height:2px;background:#173556;border-radius:2px;transition:transform .2s ease,opacity .2s ease; }
  #ams-site-header .ams-h-mobile-menu[open] .ams-h-hamburger span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  #ams-site-header .ams-h-mobile-menu[open] .ams-h-hamburger span:nth-child(2) { opacity:0; }
  #ams-site-header .ams-h-mobile-menu[open] .ams-h-hamburger span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
  #ams-site-header .ams-h-mobile-menu:not([open]) .ams-h-mobile-panel { display:none; }
  #ams-site-header .ams-h-mobile-panel { position:absolute;top:100%;left:0;right:0;z-index:1050;display:flex;flex-direction:column;width:100%;max-height:calc(100dvh - 135px);padding:16px max(32px,calc((100vw - 1320px)/2)) max(28px,env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:#fff;border-top:1px solid #e8edf3;box-shadow:0 20px 40px rgba(8,30,55,.16); }
  #ams-site-header .ams-h-mobile-panel > a,#ams-site-header .ams-h-mobile-submenu > summary { display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;width:100%;padding:14px 7px;border-bottom:1px solid #e8edf3;color:#173556;font-size:15px;font-weight:650;line-height:1.45;cursor:pointer; }
  #ams-site-header .ams-h-mobile-submenu > summary { list-style:none; }
  #ams-site-header .ams-h-mobile-submenu > summary::-webkit-details-marker { display:none; }
  #ams-site-header .ams-h-mobile-submenu > summary::marker { content:""; }
  #ams-site-header .ams-h-mobile-submenu-links { display:flex;flex-direction:column;gap:1px;margin:0 0 6px;padding:6px;background:#f4f7fa; }
  #ams-site-header .ams-h-mobile-submenu-links a { display:block;padding:12px 14px;color:#24415f;font-size:14px; }
  #ams-site-header .ams-h-mobile-submenu-links a:hover { color:var(--ams-nav-red); }
  #ams-site-header .ams-h-mobile-panel > .ams-h-mobile-cta { display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding:16px 20px;min-height:55px;background:var(--ams-nav-red);border:0;border-radius:4px;color:#fff;font-size:14px;font-weight:750; }
  #ams-site-header .ams-h-mobile-panel > .ams-h-mobile-cta:hover { color:#fff;background:#bf0027; }
  #ams-site-header .ams-h-mobile-contact { display:flex;gap:12px 24px;flex-wrap:wrap;padding:23px 7px 12px; }
  #ams-site-header .ams-h-mobile-contact a { color:#52677d;font-size:12px;overflow-wrap:anywhere; }
  #ams-site-header .ams-h-mobile-socials { display:block;margin-top:14px;padding:20px 7px 6px;border-top:1px solid #e5ebf1; }
  #ams-site-header .ams-h-mobile-social-label { display:block;margin-bottom:14px;color:#718096;font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase; }
  #ams-site-header .ams-h-mobile-social-links { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
  #ams-site-header .ams-h-mobile-social-links a { display:flex;align-items:center;justify-content:flex-start;gap:11px;min-height:54px;min-width:0;padding:12px 16px;border:1px solid #dce5ee;border-radius:5px;background:#f5f7fa;color:#173556;font-size:14px;font-weight:700; }
  #ams-site-header .ams-h-mobile-social-links a:hover { color:var(--ams-nav-red);border-color:var(--ams-nav-red);background:#fff; }
  #ams-site-header .ams-h-mobile-social-links svg { display:block;flex:0 0 22px;width:22px;height:22px;min-width:22px;max-width:none;max-height:none; }
}

@media (max-width:900px) {
  #ams-site-header .ams-h-region { display:none; }
  #ams-site-header .ams-h-top-inner { justify-content:center; }
}
@media (max-width:700px) {
  #ams-site-header .ams-h-container,#ams-site-footer .ams-f-container { width:calc(100% - 38px); }
  #ams-site-header .ams-h-topbar { display:block; }
  #ams-site-header .ams-h-top-inner { padding:9px 0;min-height:46px; }
  #ams-site-header .ams-h-top-contact { justify-content:space-between;width:100%;gap:12px; }
  #ams-site-header .ams-h-direct-link { font-size:clamp(10px,2.55vw,12px);gap:5px; }
  #ams-site-header .ams-h-direct-link svg { width:13px;height:13px;min-width:13px; }
  #ams-site-header .ams-h-topbar .ams-h-socials { display:none; }
  #ams-site-header .ams-h-inner { min-height:75px;gap:12px; }
  #ams-site-header .ams-h-logo { width:min(205px,calc(100% - 60px));flex-shrink:1; }
  #ams-site-header .ams-h-logo img { max-height:66px; }
  #ams-site-header .ams-h-menu-toggle { min-width:46px;width:46px;min-height:45px;padding:9px; }
  #ams-site-header .ams-h-menu-label { display:none; }
  #ams-site-header .ams-h-mobile-panel { max-height:calc(100dvh - 122px);padding:12px 19px max(28px,env(safe-area-inset-bottom)); }
  #ams-site-header .ams-h-mobile-social-links a { min-height:51px;padding:12px 13px;font-size:13px; }
  #ams-site-header .ams-h-mobile-social-links svg { flex-basis:20px;width:20px;height:20px;min-width:20px; }
}
@media (max-width:460px) {
  /* Telefon und E-Mail bleiben ohne Ã¼berlaufende Kleinstschrift erreichbar. */
  #ams-site-header .ams-h-top-inner { padding:9px 0; }
  #ams-site-header .ams-h-top-contact { flex-direction:column;align-items:center;gap:5px; }
  #ams-site-header .ams-h-direct-link { font-size:11px; }
  #ams-site-header .ams-h-mobile-panel { max-height:calc(100dvh - 140px); }
}
@media (max-width:370px) {
  #ams-site-header .ams-h-logo { width:min(175px,calc(100% - 59px)); }
  #ams-site-header .ams-h-mobile-social-links a { gap:7px;padding:11px 9px;font-size:12px; }
}

/* FOOTER: Komplettregeln inklusive Original-Logo und Social Media */
#ams-site-footer { width:100%;color:#c1d0e1;background:#071c37;overflow-wrap:break-word; }
#ams-site-footer .ams-f-main { padding:85px 0 80px; }
#ams-site-footer .ams-f-grid { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,3vw,55px); }
#ams-site-footer .ams-f-grid > * { min-width:0; }
#ams-site-footer .ams-f-logo { display:inline-flex;align-items:center;width:245px;max-width:100%;margin-bottom:34px; }
#ams-site-footer .ams-f-logo-image { display:block;width:100%;max-width:100%;height:auto;max-height:110px;object-fit:contain;object-position:left center;filter:none; }
#ams-site-footer .ams-f-brand h2 { max-width:360px;margin:0 0 22px;color:#fff;font-size:clamp(28px,2.6vw,39px);font-weight:570;line-height:1.18;letter-spacing:-.045em; }
#ams-site-footer .ams-f-brand h2 span { color:#ff718a; }
#ams-site-footer .ams-f-brand p { max-width:365px;margin:0 0 23px;color:#bccddd;font-size:13px;line-height:1.85; }
#ams-site-footer .ams-f-location { display:flex;align-items:flex-start;gap:11px;color:#9fb5ca;font-size:11px;font-weight:600;line-height:1.7; }
#ams-site-footer .ams-f-location-dot { flex:0 0 8px;width:8px;height:8px;margin-top:5px;border-radius:50%;background:#e6002e; }
#ams-site-footer .ams-f-column { display:flex;flex-direction:column;align-items:flex-start;gap:15px; }
#ams-site-footer .ams-f-column h3 { margin:0 0 13px;color:#fff;font-size:16px;font-weight:700;line-height:1.4; }
#ams-site-footer .ams-f-column a { color:#bdcddd;font-size:13px;line-height:1.6;overflow-wrap:anywhere; }
#ams-site-footer .ams-f-column a:hover { color:#ff718a; }
#ams-site-footer .ams-f-contact-label { margin-top:5px;color:#ff718a;font-size:10px;font-weight:750;letter-spacing:.14em; }
#ams-site-footer .ams-f-contact-value { color:#e2ebf3;font-size:13px;line-height:1.6; }
#ams-site-footer .ams-f-contact a:not(.ams-f-contact-button) { color:#fff;font-weight:600; }
#ams-site-footer .ams-f-contact-button { display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:50px;margin-top:16px;padding:13px 18px;border-radius:4px;background:#e6002e;color:#fff;font-size:13px;font-weight:750; }
#ams-site-footer .ams-f-contact-button:hover { background:#bf0027;color:#fff; }
#ams-site-footer .ams-f-social { display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:30px;padding-top:25px;border-top:1px solid rgba(255,255,255,.14); }
#ams-site-footer .ams-f-social-title { color:#aebfd1;font-size:10px;font-weight:750;letter-spacing:.15em;text-transform:uppercase; }
#ams-site-footer .ams-f-social-links { display:flex;align-items:center;flex-wrap:wrap;gap:11px; }
#ams-site-footer .ams-f-social-link { display:inline-flex;justify-content:center;align-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.23);border-radius:50%;background:rgba(255,255,255,.055);color:#fff;transition:background .2s ease,border-color .2s ease,transform .2s ease; }
#ams-site-footer .ams-f-social-link svg { display:block;width:20px;height:20px;max-width:none;fill:none;stroke:currentColor; }
#ams-site-footer .ams-f-social-link:hover { color:#fff;background:#e6002e;border-color:#e6002e;transform:translateY(-2px); }
#ams-site-footer .ams-f-bottom { border-top:1px solid #29435e;background:#05172c; }
#ams-site-footer .ams-f-bottom-inner { display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:76px;padding:18px 0; }
#ams-site-footer .ams-f-copyright { color:#aabbcc;font-size:11px; }
#ams-site-footer .ams-f-legal { display:flex;align-items:center;flex-wrap:wrap;gap:25px; }
#ams-site-footer .ams-f-legal a { color:#bccddd;font-size:11px; }
#ams-site-footer .ams-f-legal a:hover { color:#fff; }
@media (max-width:1024px) {
  #ams-site-footer .ams-f-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:45px 35px; }
}
@media (max-width:700px) {
  #ams-site-footer .ams-f-main { padding:64px 0 60px; }
  #ams-site-footer .ams-f-grid { grid-template-columns:1fr;gap:40px; }
  #ams-site-footer .ams-f-logo { width:225px;margin-bottom:28px; }
  #ams-site-footer .ams-f-brand h2 { font-size:34px; }
  #ams-site-footer .ams-f-column { gap:13px; }
  #ams-site-footer .ams-f-bottom-inner { flex-direction:column;align-items:flex-start;gap:16px; }
  #ams-site-footer .ams-f-legal { gap:17px; }
}
@media (prefers-reduced-motion:reduce) {
  #ams-site-header *,#ams-site-footer * { transition:none !important; }
}/* End custom CSS */