:root {
    --brand-blue-light: #add8e6;
    --brand-blue-main:  #4aa3d8;
    --brand-blue-dark:  #123a5c;
    --brand-purple:     #3e2a84;
    --bg-grey:          #f3f4f6;
    --text-main:        #1f2933;
    --text-muted:       #6b7280;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
}

.site-main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

section {
    padding: 4rem 0;
}

.navbar {
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    background-color: #ffffff;
}

.navbar-brand {
    gap: 0.6rem;
}

.navbar-brand img {
    height: 56px;
    display: block;
}

.navbar-brand-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-main);
    white-space: nowrap;
}

.nav-link {
    font-weight: 500;
    color: #374151 !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--brand-blue-dark) !important;
}

.btn-nav-contact,
.btn-primary-brand,
.btn-quality {
    background: var(--brand-blue-light) !important;
    background-image: none !important;
    border: none !important;
    color: #0b1723 !important;
    font-weight: 600;
    border-radius: 999px;
}

.btn-nav-contact {
    padding-inline: 1.4rem;
}

.btn-quality {
    padding-inline: 1.5rem;
    font-size: .9rem;
}

.btn-nav-contact:hover,
.btn-primary-brand:hover,
.btn-quality:hover {
    filter: brightness(0.95);
    color: #0b1723 !important;
}

.btn-outline-brand {
    border-color: var(--brand-blue-light);
    color: var(--brand-blue-dark);
    background: #ffffff;
}

.btn-outline-brand:hover {
    background: var(--brand-blue-light);
    color: #0b1723;
}

.page-header,
.hero-leistungen {
    padding: 4.5rem 0 2.5rem;
}

@media (min-width: 992px) {
    .page-header,
    .hero-leistungen {
        padding-top: 5.25rem;
        padding-bottom: 3rem;
    }
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .75rem;
    color: var(--text-muted);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 42rem;
}

.hero-box {
    border-radius: 1.15rem;
    background-color: var(--bg-grey);
    padding: 1.75rem 2rem;
}

.breadcrumb {
    margin-bottom: .5rem;
    font-size: .9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-muted);
}

.breadcrumb .active {
    color: var(--text-main);
}

.leistungen-grid-wrapper {
    background-color: var(--bg-grey);
    padding: 3rem 0 4rem;
}

.leistung-card {
    border-radius: 1rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1.6rem 1.6rem 1.5rem;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.leistung-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.08);
    border-color: var(--brand-blue-light);
}

.leistung-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-blue-dark);
    opacity: .75;
    margin-bottom: .4rem;
}

.leistung-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .35rem;
}

.leistung-text {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: .9rem;
}

.leistung-link {
    font-size: .9rem;
    font-weight: 600;
    color: var(--brand-blue-dark);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
}

.leistung-card.is-highlight {
    background-color: var(--brand-blue-light);
    border-color: rgba(18, 58, 92, 0.2);
}

.leistung-card.is-highlight:hover {
    border-color: rgba(18, 58, 92, 0.4);
}

.leistung-card.is-highlight .leistung-title,
.leistung-card.is-highlight .leistung-link {
    color: var(--brand-blue-dark);
}

.leistung-card.is-highlight .leistung-text {
    color: #1f2933;
}

.content-main img {
    border-radius: 1.2rem;
    width: 100%;
    height: auto;
    margin-bottom: 1.75rem;
    background: radial-gradient(circle at 20% 10%, var(--brand-blue-light), #e5e7eb);
}

.content-main p {
    margin-bottom: 1rem;
}

.section-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: .75rem;
}

.sidebar-card {
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h2 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .9rem;
}

.sidebar-card ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-card li + li {
    margin-top: .4rem;
}

.sidebar-card a {
    text-decoration: none;
    font-size: .95rem;
    color: #374151;
}

.sidebar-card a:hover {
    color: var(--brand-blue-dark);
}

.sidebar-divider {
    border-top: 1px solid #e5e7eb;
    margin: .5rem 0 .75rem;
}

.sidebar-contact {
    border-radius: 1rem;
    padding: 1.5rem 1.6rem;
    background: var(--brand-blue-light);
    color: #0b1723;
}

.sidebar-contact h3 {
    font-size: 1.05rem;
    margin-bottom: .35rem;
}

.sidebar-contact p {
    font-size: .9rem;
    margin-bottom: .8rem;
}

.btn-contact-sidebar {
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    border: none;
    padding-inline: 1.3rem;
    background-color: #ffffff;
    color: #0b1723;
}

.btn-contact-sidebar:hover {
    filter: brightness(0.98);
}

.quality-band {
    background-color: #e5e7eb;
    padding: 2rem 0;
    margin-top: 3rem;
}

.quality-card {
    background-color: #f7f7f7;
    border-radius: .9rem;
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero {
    padding: 4.5rem 0 4rem;
    background-color: var(--bg-grey);
}

@media (min-width: 992px) {
    .hero {
        padding-top: 5.5rem;
        padding-bottom: 5rem;
    }
}

.hero-kicker {
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .75rem;
    color: var(--brand-blue-dark);
    font-weight: 600;
    margin-bottom: .75rem;
}

.hero-title {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 38rem;
}

.hero-buttons .btn {
    min-width: 160px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(173,216,230,0.35);
    font-size: .85rem;
    margin-top: 1.1rem;
}

.hero-stats {
    margin-top: 2.4rem;
}

.hero-stat-number {
    font-size: 1.7rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: .9rem;
    color: var(--text-muted);
}

.hero-media-card {
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    padding: 1.4rem;
}

.hero-media-inner {
    position: relative;
    border-radius: 1rem;
    background: radial-gradient(circle at 20% 10%, var(--brand-blue-light), #e5e7eb);
    padding-top: 72%;
    overflow: hidden;
}

.services-section {
    background-color: var(--bg-grey);
}

.services-header-card {
    background-color: #ffffff;
    border-radius: 1.1rem;
    padding: 2rem 2rem 2.3rem;
    box-shadow: 0 18px 45px rgba(15,23,42,0.05);
}

.services-header-card .btn {
    margin-top: 1.25rem;
}

.service-tile {
    border-radius: 1rem;
    background-color: var(--brand-blue-main);
    color: #e5f3ff;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 12px 30px rgba(15,23,42,0.18);
    height: 100%;
}

.service-tile h3 {
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.service-tile p {
    font-size: .9rem;
    margin-bottom: 0;
}

.service-tile--light {
    background-color: #ffffff;
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(15,23,42,0.07);
}

.service-tile--light h3 {
    color: var(--brand-blue-dark);
}

.service-tile--highlight {
    background-color: var(--brand-blue-light);
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}

.service-tile--highlight h3 {
    color: var(--brand-blue-dark);
}

.about-section {
    background-color: #ffffff;
}

.about-card {
    border-radius: 1.1rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 2rem 2.1rem;
    box-shadow: 0 12px 32px rgba(15,23,42,0.04);
}

.about-pill {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .75rem;
}

.contact-section {
    background-color: var(--bg-grey);
}

.contact-card {
    border-radius: 1.1rem;
    background-color: #ffffff;
    padding: 2rem 2.1rem;
    box-shadow: 0 14px 36px rgba(15,23,42,0.06);
}

.contact-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--text-muted);
}

.contact-icon-pill {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(173,216,230,0.3);
    margin-right: .6rem;
}

.form-control,
.form-select {
    border-radius: .7rem;
}

footer {
    background-color: #add8e6;
    color: #000000;
    padding: 3rem 0 1.5rem;
    font-size: .9rem;
}

footer a {
    color: #000000;
    text-decoration: none;
}

footer a:hover {
    color: #000000;
    text-decoration: underline;
}

.footer-heading {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #000000;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(148,163,184,0.4);
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    font-size: .8rem;
}

.leistung-section-card {
    background-color: #ffffff;
    border-radius: 1.1rem;
    border: 1px solid #e5e7eb;
    padding: 1.75rem 2rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.04);
    margin-bottom: 1.75rem;
}

.leistung-section-card .lead {
    font-size: 1.05rem;
    color: var(--text-main);
}

.leistung-section-card ul {
    padding-left: 1.1rem;
}

.leistung-section-card ul li + li {
    margin-top: .35rem;
}

@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        text-align: right;
    }

    .navbar .navbar-nav {
        align-items: flex-end;
        text-align: right;
    }

    .navbar .navbar-nav .nav-link {
        text-align: right;
        width: 100%;
        padding-right: 0;
    }

    .navbar .navbar-collapse .btn-nav-contact {
        align-self: flex-end;
        display: inline-flex;
        justify-content: center;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .hero-highlight {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 0.6rem 0.9rem;
        border-radius: 0.8rem;
        font-size: 0.8rem;
        background: rgba(18, 58, 92, 0.08);
        max-width: 260px;
    }

    .hero-highlight strong {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 1px;
    }

    .hero-highlight span {
        font-size: 0.75rem;
        opacity: 0.85;
        display: block;
    }
}

.hero-box--highlight {
    background-color: var(--brand-blue-light);
}

.hero-box--highlight strong {
    color: var(--brand-blue-dark);
}

.hero-box--highlight p {
    color: var(--text-main);
}

.hero-box-muted {
    color: rgba(31, 41, 51, 0.75);
    font-size: 0.9rem;
}

.service-tile {
    background-color: #ffffff;
    color: var(--text-main);
}

@media (min-width: 992px) {
    .highlight-desktop {
        background-color: var(--brand-blue-light);
        box-shadow: 0 10px 25px rgba(15,23,42,0.08);
    }

    .highlight-desktop h3 {
        color: var(--brand-blue-dark);
    }
}

@media (max-width: 991.98px) {
    .highlight-mobile {
        background-color: var(--brand-blue-light);
        box-shadow: 0 10px 25px rgba(15,23,42,0.08);
    }

    .highlight-mobile h3 {
        color: var(--brand-blue-dark);
    }
}

@media (max-width: 991.98px) {

    .leistungen-grid-wrapper .leistung-card {
        background-color: #ffffff !important;
        border-color: #e5e7eb !important;
        color: var(--text-main);
    }

    .leistungen-grid-wrapper .row > div:nth-child(even) .leistung-card {
        background-color: var(--brand-blue-light) !important;
        border-color: rgba(18, 58, 92, 0.25) !important;
    }

    .leistungen-grid-wrapper
    .row > div:nth-child(even)
    .leistung-card .leistung-title,
    .leistungen-grid-wrapper
    .row > div:nth-child(even)
    .leistung-card .leistung-link {
        color: var(--brand-blue-dark);
    }

    .leistungen-grid-wrapper
    .row > div:nth-child(even)
    .leistung-card .leistung-text {
        color: #1f2933;
    }
}

.navbar-title-desktop {
    font-weight: 600;
    font-size: 1.25rem;
    margin-left: 0.6rem;
    white-space: nowrap;
}

.navbar-title-mobile {
    display: none;
}

@media (max-width: 991.98px) {

    .navbar {
        --navbar-top-row-height: 72px;
        position: relative;
    }

    .navbar-title-desktop {
        display: none;
    }

    .navbar-brand,
    .navbar-toggler {
        position: relative;
        z-index: 2;
    }

    .navbar-title-mobile {
        display: flex;
        align-items: center;
        justify-content: center;

        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);

        height: var(--navbar-top-row-height);
        font-weight: 600;
        font-size: 1.3rem;
        white-space: nowrap;
        pointer-events: none;
        z-index: 1;
    }

    .navbar .navbar-collapse {
        padding-top: 0.75rem;
    }
}

.btn-pill {
    border-radius: 999px;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.btn-outline-brand.btn-pill {
    background-color: #fff;
}

.job-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: reduce;
  padding: 24px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}

.job-modal.is-open {
  display: flex;
}

.job-modal__dialog {
  width: min(720px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

.job-modal__header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.job-modal__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
  color: #0f172a;
  opacity: 0.65;
}

.job-modal__close:hover {
  opacity: 1;
}

.job-modal__body {
  padding: 18px 20px 20px;
  color: #334155;
}

.job-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(74, 163, 216, 0.18);
  color: #0b4f6b;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.job-modal__text {
  margin: 0 0 14px;
  line-height: 1.55;
}

.job-modal__list {
  margin: 0 0 18px;
  padding-left: 18px;
}

.job-modal__list li {
  margin-bottom: 8px;
}

.job-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.job-modal__btn-primary {
  background: #4aa3d8;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.08);
}

.job-modal__btn-primary:hover {
  filter: brightness(0.98);
}

.job-modal__btn-ghost {
  background: #fff;
  color: #0f172a;
}

@media (max-width: 420px) {
  .job-modal__title { font-size: 1.05rem; }
  .job-modal__btn { width: 100%; }
}
