/* crOSS Technologies – CI Variables (Starter)
   NOTE: Replace --brand-500 with your exact logo-blue hex once confirmed.
   The scale auto-derives tints/shades; you can tweak as needed.
*/
:root {
  --brand-50: #eef5ff;
  --brand-100: #d9e9ff;
  --brand-200: #b9d6ff;
  --brand-300: #8cbaff;
  --brand-400: #5897ff;
  --brand-500: #1f6fdf;
  /* TODO: set to exact logo-blue */
  --brand-600: #175ac0;
  --brand-700: #1447a0;
  --brand-800: #103a82;
  --brand-900: #0b2d66;

  --accent-500: #13c2c2;
  /* optional teal accent */
  --warning-500: #f59e0b;
  --success-500: #10b981;
  --danger-500: #ef4444;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --text: #0f172a;
  --muted: #475569;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(2, 6, 23, .08);
  --shadow-md: 0 6px 16px rgba(2, 6, 23, .10);
  --shadow-lg: 0 14px 30px rgba(2, 6, 23, .12);
}

h1,
h2,
h3 {
  font-family: "Poppins", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}



/****************************************************************************
  Custom Styles
***************************************************************************/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

li.nav-item.active a {
  color: var(--text) !important;
}

section li {
  margin: 20px;
}

.single-page-section {
  padding: 0;
}

.timeline>li:last-child {
  min-height: 130px !important;
}

.portfolio-section .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

.portfolio-section .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: var(--bg);
}

.portfolio-section .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

.portfolio-section .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
.portfolio-section .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

.portfolio-section .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: var(--bg);
}

.portfolio-section .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

.portfolio-section .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.portfolio-section .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

.portfolio-section .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: var(--brand-500);
}

.portfolio-section * {
  z-index: 2;
}

.site-main form textarea.form-control {
  height: 145px !important;
}

form button#sendMessageButton {
  margin-top: 35px;
}

h2.section-heading {
  margin-top: 50px;
}

footer .quicklinks a {
  color: var(--muted);
}

.timeline-body p {
  color: var(--bg-soft);
}

.fa-stack {
  width: 2em;
  transition: 0.3s;
}

.fa-stack:hover {
  transform: scale(1.1);
}

.fa-stack .fa-inverse {
  font-size: 0.9em;
}

footer .quicklinks a:hover {
  text-decoration: underline !important;
}

footer .quicklinks a:hover {
  text-decoration: none;
  color: var(--brand-600);
}

.team-member img {
  border: 7px solid rgba(0, 0, 0, .1);
  transition: 0.3s;
}

.team-member img:hover {
  transform: scale(1.1);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover img {
  width: 100% !important;
}

#portfolio {
  padding: 0;
}

.error.help-block {
  position: absolute;
  color: var(--danger-500);
  font-weight: 600;
}

.highed p {
  color: var(--accent-500) !important
}

.content #mainNav {
  background-color: var(--bg);
  padding-bottom: 0px;
  padding-top: 5px;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: var(--brand-700);
  font-size: 90%;
  font-weight: 400;
  letter-spacing: 1px;
  padding: .75em 0;
}

.content nav.fixed-top+section {
  padding-top: 150px;
  min-height: calc(100vh - 110px);
}

.timeline-image {
  transition: 0.3s;
}

.timeline-image:hover {
  transform: scale(1.1);
}

.timeline-image p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  line-height: 26px;
  width: 100%;
  font-weight: 700;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

@media (min-width: 1200px) {
  #portfolio .portfolio-item .portfolio-link {
    max-height: 263px;
    overflow: hidden;
  }
}

@media (min-width: 992px) {
  #portfolio .portfolio-item .portfolio-link {
    max-height: 217px;
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  #portfolio .portfolio-item .portfolio-link {
    max-height: 157px;
    overflow: hidden;
  }

  section,
  .portfolio {
    padding: 65px 0;
  }

  .timeline>li .timeline-image {
    width: 130px;
    height: 130px;
    margin-left: -65px;
  }
}

@media (min-width: 767px) {
  .portfolio-section .portfolio-item {
    margin: 0 0 30px;
  }
}

@media(max-width: 767px) {
  .timeline>li .timeline-image {
    border-width: 4px;
    width: 100px;
    height: 100px;
  }

  .timeline:before {
    left: 54px;
  }

  .timeline>li .timeline-panel,
  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 0 0 110px;
  }

  .error.help-block {
    font-size: 15px;
  }
}

@media (min-width:565px) {
  #portfolio .portfolio-item .portfolio-link {
    max-height: 180px;
    overflow: hidden;
  }
}

@media (max-width:992px) {

  section,
  .portfolio {
    padding: 50px 0;
  }

  section h3.section-subheading {
    margin-bottom: 40px;
  }

  .content nav.fixed-top+section {
    padding-top: 100px;
  }

  .timeline-image p {
    font-size: 14px;
    line-height: 17px;
  }
}

.content section {
  min-height: calc(100vh - 110px);
}

.frame-space-before-extra-small {
  margin-top: 0.5em;
}

.frame-space-before-small {
  margin-top: 1em;
}

.frame-space-before-medium {
  margin-top: 2em;
}

.frame-space-before-large {
  margin-top: 3em;
}

.frame-space-before-extra-large {
  margin-top: 4em;
}

.frame-space-after-extra-small {
  margin-bottom: 0.5em;
}

.frame-space-after-small {
  margin-bottom: 1em;
}

.frame-space-after-medium {
  margin-bottom: 2em;
}

.frame-space-after-large {
  margin-bottom: 3em;
}

.frame-space-after-extra-large {
  margin-bottom: 4em;
}

.site-main {
  padding-top: 65px;
}

/* cms page css */

.ce-align-left {
  text-align: left;
}

.ce-align-center {
  text-align: center;
}

.ce-align-right {
  text-align: right;
}

.ce-table td,
.ce-table th {
  vertical-align: top;
}

hr {
  border-top: solid 1px var(--bg);
}

.ce-textpic,
.ce-nowrap .ce-bodytext,
.ce-gallery,
.ce-row,
.ce-uploads li,
.ce-uploads div {
  overflow: hidden;
}

.ce-center .ce-outer {
  float: right;
  position: relative;
  right: 50%;
}

.ce-center .ce-inner {
  float: right;
  position: relative;
  right: -50%;
}

.ce-gallery figure {
  display: table;
  margin: auto;
}

.ce-gallery figcaption {
  caption-side: bottom;
  display: table-caption;
  hyphens: manual;
  word-break: break-all;
}

.ce-gallery img {
  display: block;
}

.ce-gallery iframe {
  border-width: 0;
}

.ce-border img,
.ce-border iframe {
  border: 2px solid #000;
  padding: 0;
}

.ce-intext.ce-right .ce-gallery,
.ce-intext.ce-left .ce-gallery,
.ce-above .ce-gallery,
.ce-below .ce-gallery {
  margin-bottom: 0;
}

.ce-intext.ce-right .ce-gallery {
  margin-top: 3px;
}

.ce-intext.ce-left .ce-gallery {
  margin-top: 3px;
}

.ce-intext.ce-right .ce-bodytext h5,
.ce-intext.ce-left .ce-bodytext h5 {
  margin-top: 4px;
}

.ce-above .ce-gallery {
  margin-top: 0;
}

.ce-below.ce-right .ce-gallery,
.ce-below.ce-left .ce-gallery,
.ce-below.ce-center .ce-gallery {
  margin-bottom: 0;
  margin-top: 0;
}

.ce-column {
  margin-bottom: 15px;
  margin-right: 15px;
}

.ce-column:last-child {
  margin-right: 0;
}

.ce-row {
  margin-bottom: 10px;
}

.ce-row:last-child {
  margin-bottom: 0;
}

.ce-above .ce-bodytext {
  clear: both;
}

.ce-intext.ce-left ol,
.ce-intext.ce-left ul {
  overflow: auto;
  padding-left: 40px;
}

.ce-intext.ce-left ul {
  padding-left: 0;
}

.ce-uploads img {
  margin-top: 5px;
}

.ce-uploads span {
  display: block;
}

.float-left img {
  margin-right: 20px;
}

.float-right img {
  margin-left: 20px;
}

.frame .ce-textpic {
  padding-bottom: 20px;
}

.frame .ce-textpic img {
  margin-bottom: 10px;
}

.frame .ce-textpic.ce-left {
  padding-bottom: 0;
}

.frame .ce-textpic.ce-left .ce-gallery img {
  margin-bottom: 0;
}

.button-group {
  margin: 20px auto;
}

.cc-window {
  flex-wrap: wrap;
}

.cc-message {
  margin-bottom: 10px;
}

.ce-right .ce-gallery,
.ce-left .ce-gallery {
  float: none;
  margin: 0 auto;
}

.ce-column {
  float: none;
}

.ce-image img {
  margin-bottom: 10px;
}

.video-section .ce-textpic {
  padding-bottom: 0;
}

.frame-space-after-extra-large {
  margin-bottom: 70px;
}

.frame-space-before-extra-large {
  margin-top: 70px;
}

.frame-space-after-large {
  margin-bottom: 50px;
}

.frame-space-before-large {
  margin-top: 50px;
}

.frame-space-after-medium {
  margin-bottom: 30px;
}

.frame-space-before-medium {
  margin-top: 30px;
}

.frame-space-after-small {
  margin-bottom: 20px;
}

.frame-space-before-small {
  margin-top: 20px;
}

.frame-space-after-extra-small {
  margin-bottom: 12px;
}

.frame-space-before-extra-small {
  margin-top: 12px;
}

header.masthead .intro-text .intro-lead-in {
  line-height: 30px;
}

@media screen and (min-width: 768px) {
  header.masthead .intro-text .intro-lead-in {
    line-height: 50px;
  }

  .frame-space-after-extra-large {
    margin-bottom: 130px;
  }

  .frame-space-before-extra-large {
    margin-top: 130px;
  }

  .frame-space-after-large {
    margin-bottom: 80px;
  }

  .frame-space-before-large {
    margin-top: 80px;
  }

  .frame-space-after-medium {
    margin-bottom: 50px;
  }

  .frame-space-before-medium {
    margin-top: 50px;
  }

  .frame-space-after-small {
    margin-bottom: 40px;
  }

  .frame-space-before-small {
    margin-top: 40px;
  }

  .frame-space-after-extra-small {
    margin-bottom: 25px;
  }

  .frame-space-before-extra-small {
    margin-top: 25px;
  }

  .ce-left .ce-gallery,
  .ce-column {
    float: left;
  }

  .ce-right .ce-gallery {
    float: right;
  }

  .ce-intext.ce-right .ce-gallery {
    margin-left: 50px;
  }

  .ce-intext.ce-left .ce-gallery {
    margin-right: 50px;
  }
}

#contact {
  margin-top: -80px;
}

#ns_basetheme_back_to_top {
  height: 40px;
  width: 40px;
  z-index: 1 !important;
  border-radius: 50%;
  box-shadow: 1px 2px 2px 0px;
  font-size: 25px;
  padding-top: 5px;
}

.angency-logo {
  width: 160px;
  height: 80px;
}

.btn-primary {
  background-color: var(--brand-500);
  border-color: var(--muted);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background-color: var(--brand-600) !important;
  border-color: var(--brand-900) !important;
  color: white;
}


.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(23, 90, 192, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(23, 90, 192, 0.5) !important;
}


a {
  color: var(--brand-500);
}

a:hover {
  color: var(--brand-600);
  text-decoration: none;
}

.text-primary {
  background-color: var(--text) !important;
  color: var(--brand-500) !important;
}

#mainNav {
  background-color: transparent;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: var(--brand-500);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand {
  color: var(--brand-500);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand.active,
#mainNav .navbar-brand:active,
#mainNav .navbar-brand:focus,
#mainNav .navbar-brand:hover {
  color: var(--accent-500);
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 90%;
  font-weight: 400;
  padding: 0.75em 0;
  letter-spacing: 1px;
  color: var(--brand-500);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: var(--brand-500);
}

/* Submenu Level 3 */
.navigation-menu .sub-menu-list .sub-menu-list__item.has-dropdown {
  position: relative;
}

.navigation-menu .sub-menu-list .sub-menu-list__item.has-dropdown:hover>ul.submenu-level-3 {
  opacity: 1;
  pointer-events: auto;
}

.navigation-menu .sub-menu-list .sub-menu-list__item.has-dropdown>ul.submenu-level-3 {
  background-color: var(--bg-soft);
  left: 100%;
  min-width: 200px;
  padding: 0;
  position: absolute;
  top: 0;
  list-style: none;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.2s ease 0s;
  pointer-events: none;
}

ul.sub-menu-list li {
  padding-block: 0;
}


.navigation-menu .nav-item.has-sub-menu>ul.sub-menu-list {
  background-color: var(--bg-soft);
  left: 0;
  min-width: 200px;
  padding: 0;
  position: absolute;
  top: 100%;
  list-style: none;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.2s ease 0s;
  pointer-events: none;
}

.frame>section {
background-image: 
    url(/fileadmin/cross/Background-Home.png);
background-size: cover; /* Streckt das Bild, um den gesamten Bereich abzudecken, ohne es zu verzerren */
  background-repeat: no-repeat; /* Verhindert, dass sich das Bild wiederholt */
  background-position: center center; /* Zentriert das Bild horizontal und vertikal */
  background-attachment: fixed;
  color: var(--bg);
}

.frame:has(> .form-container) {
  background-image: 
    url('/fileadmin/cross/Background-Home.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: var(--bg);
}

.form-container {
  max-width: 800px; /* Oder eine andere gewünschte Breite */
  margin: 0 auto;
  padding-top: 10px;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 10px;
  margin-top: 100px;
  margin-bottom: 200px;

}

.tx-er24-rechtstexte {
  margin-top: 5%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  background-image: 
    url('/fileadmin/cross/Background-Home.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: var(--bg);

}

form {
    display: block;
    margin-top: 0em;
    padding-bottom: 2em;
    unicode-bidi: isolate;
}
