:root {
  --ct-blue: #16324f;
  --ct-orange: #f28c28;
  --ct-light: #f3f5f7;
  --ct-dark: #22272b;
  --ct-white: #fff;
  --cassiopeia-color-primary: #16324f;
  --cassiopeia-color-link: #16324f;
  --cassiopeia-color-hover: #f28c28;
}

body {
  color: var(--ct-dark);
  background: var(--ct-white);
  font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

h1, h2, h3, h4, .site-grid .container-header {
  color: var(--ct-blue);
  font-family: Montserrat, Avenir, "Avenir Next", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
}

.container-header {
  position: relative;
  isolation: isolate;
  background: var(--ct-white);
  border-bottom: 1px solid #dfe5ea;
  box-shadow: 0 3px 18px rgba(22, 50, 79, .08);
}

.container-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("/images/camper-header-photo-v1.webp") 50% 52% / cover no-repeat;
  opacity: .18;
  pointer-events: none;
}

.container-header > * {
  position: relative;
  z-index: 1;
}

.container-header .navbar-brand img {
  width: min(440px, 74vw);
  height: 90px;
  min-width: 250px;
  object-fit: cover;
  object-position: center;
}

.container-header .mod-menu {
  color: var(--ct-blue);
  font-weight: 700;
}

.container-header .mod-menu > li > a {
  color: var(--ct-blue);
}

.container-header .mod-menu > li > button {
  color: var(--ct-blue);
  font-weight: inherit;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li > button:hover,
.container-header .mod-menu > li > button:focus,
.container-header .mod-menu > li > button[aria-expanded="true"] {
  color: var(--ct-orange);
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .28em;
}

.container-header .ct-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ct-blue);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.container-header .ct-phone__number {
  display: inline !important;
  color: var(--ct-blue) !important;
  font-size: 1rem !important;
  line-height: 1.25;
}

.container-header .ct-phone::before {
  content: "\260e";
  color: var(--ct-orange);
  font-size: 1.15em;
}

.container-header .ct-phone:hover,
.container-header .ct-phone:focus {
  color: var(--ct-orange);
}

/* Keine Bearbeitungswerkzeuge in der Frontend-Vorschau für angemeldete Administratoren. */
.jmodedit,
.com-content-article .icons {
  display: none !important;
}

@media (min-width: 992px) {
  .container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: nowrap;
    padding: .25rem max(2rem, calc((100vw - 1320px) / 2));
  }

  .container-header > .grid-child {
    width: auto;
    max-width: none;
    padding: 0;
  }

  .container-header > .grid-child:not(.container-topbar):not(.container-nav) {
    flex: 0 0 auto;
    order: 1;
    margin: 0;
  }

  .container-header .container-topbar {
    position: absolute;
    top: .2rem;
    right: max(2rem, calc((100vw - 1320px) / 2));
    order: 2;
    width: auto;
    min-width: 155px;
    max-width: none;
    padding: 0;
    overflow: visible;
  }

  .container-header .navbar-brand {
    margin: 0;
    padding: 0;
  }

  .container-header .container-nav {
    position: relative;
    right: auto;
    bottom: auto;
    flex: 1 1 auto;
    min-width: 0;
    order: 3;
    align-self: flex-end;
    justify-content: flex-end;
    padding: 0;
  }

  .container-header .container-nav .navbar {
    width: 100%;
    justify-content: flex-end;
  }

  .container-header .mod-menu {
    justify-content: flex-end;
    gap: .1rem;
    font-size: .91rem;
  }

  .container-header .metismenu.mod-menu .metismenu-item {
    padding-block: .25rem;
  }

  .container-header .mod-menu > li > a {
    padding-inline: .62rem;
  }

  .container-header .navbar-brand img {
    width: min(320px, 27vw);
    height: 66px;
  }

  .container-header .site-description {
    font-size: .8rem;
  }
}

.site-grid {
  grid-gap: 0;
}

.site-grid > .grid-child.container-component {
  max-width: none;
  padding: 0;
}

.com-content-article.item-page {
  overflow: hidden;
}

.com-content-article__body > .ct-page,
.com-content-article__body > .ct-home {
  margin-top: -1rem;
}

.ct-wrap {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.ct-hero {
  position: relative;
  isolation: isolate;
  width: min(1400px, calc(100% - 2rem));
  min-height: 590px;
  margin: 1.25rem auto 2rem;
  display: grid;
  align-items: center;
  background: #eef4f8 url("/images/camper-hero-vehicles-v2.webp") center / cover no-repeat;
  border: 1px solid rgba(22, 50, 79, .22);
  border-top: 4px solid var(--ct-orange);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(22, 50, 79, .13);
  overflow: hidden;
}

.ct-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 38%, rgba(255, 255, 255, .66) 58%, rgba(255, 255, 255, .18) 82%, rgba(255, 255, 255, .08) 100%);
}

.ct-hero::after {
  display: none;
}

.ct-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-block: 5rem;
}

.ct-eyebrow {
  margin: 0 0 .9rem;
  color: var(--ct-orange);
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ct-hero h1 {
  max-width: 800px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.55rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.ct-lead {
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.ct-hero__hint {
  margin: 1rem 0 0;
  color: #53616d;
  font-size: .95rem;
  font-weight: 650;
}

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.ct-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border: 2px solid var(--ct-orange);
  border-radius: .35rem;
  background: var(--ct-orange);
  color: #161616;
  font-weight: 800;
  text-decoration: none;
}

.ct-button:hover {
  background: #d87412;
  border-color: #d87412;
  color: #111;
}

.ct-button--secondary {
  background: transparent;
  border-color: var(--ct-blue);
  color: var(--ct-blue);
}

.ct-page__hero .ct-button--secondary {
  border-color: var(--ct-white);
  color: var(--ct-white);
}

.ct-page__hero .ct-button--secondary:hover,
.ct-page__hero .ct-button--secondary:focus {
  border-color: var(--ct-white);
  background: var(--ct-white);
  color: var(--ct-blue);
}

.ct-section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ct-section--light {
  background: var(--ct-light);
}

.ct-section--blue {
  background: var(--ct-blue);
  color: var(--ct-white);
}

.ct-section--blue h2,
.ct-section--blue h3 {
  color: var(--ct-white);
}

.ct-section--blue .ct-button--secondary {
  border-color: var(--ct-white);
  color: var(--ct-white);
}

.ct-section--blue .ct-button--secondary:hover {
  border-color: var(--ct-white);
  background: var(--ct-white);
  color: var(--ct-blue);
}

.ct-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.ct-heading h2 {
  margin-bottom: .8rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

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

.ct-card {
  padding: 1.65rem;
  border: 1px solid #dfe5ea;
  border-radius: .55rem;
  background: var(--ct-white);
  box-shadow: 0 9px 30px rgba(22, 50, 79, .07);
}

.ct-card h3 {
  font-size: 1.35rem;
}

.ct-card > :last-child {
  margin-bottom: 0;
}

.ct-card--service {
  border-top: 3px solid var(--ct-orange);
}

.ct-service-icon {
  position: relative;
  aspect-ratio: 3.35 / 1;
  overflow: hidden;
  margin-bottom: 1.15rem;
  border-radius: .35rem;
  background: var(--ct-white);
}

.ct-service-icon__image {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 84%;
  height: auto;
  transform: translate(-50%, -50%);
}

.ct-card__number {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ct-orange);
  color: #1b1b1b;
  font-weight: 900;
}

.ct-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 2rem;
  padding: 0;
  list-style: none;
}

.ct-checks li {
  position: relative;
  padding-left: 1.8rem;
}

.ct-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ct-orange);
  font-weight: 900;
}

.ct-page .ct-grid + .ct-checks {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.ct-page .ct-checks + .ct-note,
.ct-page .ct-grid + .ct-note {
  margin-top: 1.75rem;
}

.ct-page .ct-note + p {
  margin-top: 1rem;
}

.ct-quote {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 5px solid var(--ct-orange);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}

.ct-page__hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(120deg, var(--ct-blue), #244e74);
  color: var(--ct-white);
}

.ct-page__hero h1,
.ct-page__hero .ct-eyebrow {
  color: var(--ct-white);
}

.ct-page__hero h1 {
  max-width: 850px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.ct-page__hero .ct-wrap > p:not(.ct-eyebrow) {
  max-width: 760px;
  font-size: 1.25rem;
}

.ct-note {
  padding: 1.25rem 1.4rem;
  border-left: 5px solid var(--ct-orange);
  background: #fff5e8;
}

/* Helle Inhaltsflächen behalten ihren Kontrast auch in dunklen Abschnitten. */
.ct-card,
.ct-note,
.ct-contact-call,
.ct-contact-form,
.ct-form-section--choice {
  color: var(--ct-dark);
}

.ct-section--blue .ct-card h2,
.ct-section--blue .ct-card h3,
.ct-section--blue .ct-card h4,
.ct-section--blue .ct-note h2,
.ct-section--blue .ct-note h3,
.ct-section--blue .ct-note h4 {
  color: var(--ct-blue);
}

/* Kontakt- und Einsatzformular */
.ct-contact {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
}

.ct-contact-intro {
  margin-bottom: 2.25rem;
}

.ct-contact-intro h1 {
  max-width: 760px;
}

.ct-contact-call {
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid #dfe5ea;
  border-left: 5px solid var(--ct-orange);
  border-radius: .45rem;
  background: var(--ct-light);
}

.ct-contact-call .ct-eyebrow {
  margin-bottom: .35rem;
}

.ct-contact-call__number {
  margin-bottom: .5rem;
  font-family: Montserrat, Avenir, "Avenir Next", Arial, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
}

.ct-contact-call__number a {
  color: var(--ct-blue);
  text-decoration: none;
}

.ct-contact-call__number a:hover,
.ct-contact-call__number a:focus {
  color: var(--ct-orange);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.ct-contact-form {
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(22, 50, 79, .09);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.ct-form-section {
  border: 0;
  margin: 0 0 2rem;
  padding: 0;
}

.ct-form-section + .ct-form-section {
  border-top: 1px solid #e2e7eb;
  padding-top: 2rem;
}

.ct-form-section--choice {
  background: var(--ct-light);
  border: 1px solid rgba(22, 50, 79, .2);
  border-top: 4px solid var(--ct-orange);
  border-radius: 12px;
  padding: 1.25rem;
}

.ct-form-section--choice + [data-ct-followup] {
  margin-top: 2rem;
}

[data-ct-followup][hidden],
[data-ct-for][hidden] {
  display: none !important;
}

.ct-form-section legend {
  color: #16324f;
  font-family: Avenir, "Avenir Next LT Pro", Montserrat, Corbel, sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: .5rem;
}

.ct-form-help {
  color: #59636b;
  margin-bottom: 1.5rem;
}

.ct-contact-form .control-group {
  margin-bottom: 1.25rem;
}

.ct-contact-form label {
  color: #22272b;
  font-weight: 700;
  margin-bottom: .4rem;
}

.ct-contact-form input[type="text"],
.ct-contact-form input[type="email"],
.ct-contact-form input[type="tel"],
.ct-contact-form select,
.ct-contact-form textarea {
  border: 1px solid #aeb9c2;
  border-radius: 8px;
  min-height: 48px;
  padding: .7rem .85rem;
  width: 100%;
}

.ct-contact-form textarea {
  min-height: 150px;
}

.ct-contact-form input:focus,
.ct-contact-form select:focus,
.ct-contact-form textarea:focus {
  border-color: #f28c28;
  box-shadow: 0 0 0 3px rgba(242, 140, 40, .2);
  outline: 0;
}

.ct-contact-form .form-check,
.ct-contact-form .form-check-inline {
  margin: .55rem 1.25rem .55rem 0;
}

.ct-contact-form .form-check label {
  font-weight: 500;
}

.ct-contact-form .form-text {
  color: #59636b;
  display: block;
  margin-top: .35rem;
}

.ct-form-submit {
  border-top: 1px solid #e2e7eb;
  padding-top: 1.5rem;
}

.ct-form-submit p {
  color: #59636b;
  font-size: .95rem;
  margin: .75rem 0 0;
}

@media (max-width: 640px) {
  .ct-contact-form {
    border-radius: 12px;
    padding: 1.1rem;
  }

  .ct-form-submit .ct-button {
    width: 100%;
  }
}

.ct-footer-cta {
  text-align: center;
}

.ct-partner-section {
  padding: clamp(2rem, 5vw, 3.25rem) 1.5rem;
  background: var(--ct-light);
  border-top: 1px solid #dfe5ea;
}

.ct-partner-section__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  text-align: center;
}

.ct-partner-section h2 {
  margin: 0 0 1.25rem;
}

.ct-partner-card {
  display: flex;
  width: min(300px, 100%);
  min-height: 150px;
  margin: 0 auto;
  padding: 1.2rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  color: var(--ct-dark);
  background: var(--ct-white);
  border: 1px solid #dfe5ea;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(22, 50, 79, .08);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.ct-partner-card:hover,
.ct-partner-card:focus-visible {
  color: var(--ct-dark);
  border-color: var(--ct-orange);
  box-shadow: 0 9px 26px rgba(22, 50, 79, .14);
  transform: translateY(-2px);
}

.ct-partner-card img {
  display: block;
  width: min(180px, 100%);
  height: auto;
}

.ct-partner-card span {
  font-weight: 700;
  line-height: 1.35;
}

.container-footer {
  color: rgba(255, 255, 255, .76);
  background: var(--ct-dark);
  border-top: 3px solid var(--ct-blue);
  box-shadow: none;
}

.container-footer .grid-child {
  padding: 2rem 1.5rem;
}

.ct-site-footer {
  width: 100%;
  text-align: center;
  font-size: .9rem;
}

.ct-site-footer p {
  margin: 0;
}

.ct-site-footer a {
  color: var(--ct-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.ct-site-footer a:hover,
.ct-site-footer a:focus {
  color: var(--ct-white);
}

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

  .ct-hero::after {
    inset: 27% -18% 0 30%;
    opacity: .65;
  }
}

@media (max-width: 991px) {
  .container-header {
    position: relative;
    padding: .8rem 1rem 3.1rem;
  }

  .container-header::before {
    background-position: 58% 50%;
    background-size: cover;
    opacity: .16;
  }

  .container-header .navbar-brand img {
    width: min(220px, 68vw);
    height: 58px;
    min-width: 0;
  }

  .container-header .site-description {
    font-size: .72rem;
  }

  .container-header .container-topbar {
    position: absolute;
    top: auto;
    right: 1rem;
    bottom: .55rem;
    left: 1rem;
    display: flex;
    justify-content: center;
    width: auto;
    min-width: 170px;
    padding: 0;
    overflow: visible;
  }

  .container-header .container-nav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 0;
  }

  .container-header .container-nav .navbar {
    justify-content: flex-end;
  }

  .container-header .navbar-toggler {
    width: 46px;
    height: 42px;
    border: 2px solid var(--ct-blue);
    color: var(--ct-blue);
  }

  .container-header .navbar-toggler .icon-menu {
    display: none;
  }

  .container-header .navbar-toggler::before {
    content: "☰";
    font-size: 1.5rem;
    line-height: 1;
  }

  .container-header .navbar-collapse {
    position: absolute;
    top: 50px;
    right: 0;
    width: min(340px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid #dfe5ea;
    border-radius: .4rem;
    background: #fff;
    box-shadow: 0 14px 30px rgba(22, 50, 79, .16);
  }
}

@media (max-width: 650px) {
  .ct-hero {
    width: calc(100% - 1rem);
    min-height: 0;
    margin: .5rem auto 1.5rem;
    background-color: #eef4f8;
    background-position: center top;
    background-size: 100% auto;
    border-top-width: 3px;
    border-radius: 12px;
  }

  .ct-hero__content {
    padding: 3.5rem 0 4rem;
  }

  .ct-hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .64) 0%, rgba(255, 255, 255, .9) 22%, rgba(255, 255, 255, .98) 38%, rgba(255, 255, 255, 1) 58%);
  }

  .ct-checks {
    grid-template-columns: 1fr;
  }

  .ct-button {
    width: 100%;
    justify-content: center;
  }
}
