:root {
  --ip-navy: #25346f;
  --ip-navy-dark: #1e2b5d;
  --ip-blue: #a9c4e8;
  --ip-turquoise: #10b4c0;
  --ip-purple: #913b96;
  --ip-orange: #f28a00;
  --ip-light: #f5f7fb;
  --ip-text: #24304f;
}

/* ============================================
   BODY
============================================= */

body {
  color: var(--ip-text);
}

/* ============================================
   FARBKLASSEN
============================================= */

.bg-ip-navy {
  background-color: var(--ip-navy) !important;
}

.bg-ip-light {
  background-color: var(--ip-light) !important;
}

.text-ip-navy {
  color: var(--ip-navy) !important;
}

.text-ip-blue {
  color: var(--ip-blue) !important;
}

.text-ip-turquoise {
  color: var(--ip-turquoise) !important;
}

/* ============================================
   NAVIGATION
============================================= */

.navbar {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(169, 196, 232, 0.22),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--ip-navy),
      var(--ip-navy-dark)
    );
}

.navbar-brand img {
  max-height: 58px;
  width: auto;
}

.navbar .nav-link {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--ip-orange);
}

/* ============================================
   HERO
============================================= */

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #ffffff;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(169, 196, 232, 0.22),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--ip-navy),
      var(--ip-navy-dark)
    );
}

.hero-logo {
  max-width: 650px;
  width: 100%;
}

.hero-script {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
}

/* ============================================
   SECTION TITLE
============================================= */

.section-title {
  color: var(--ip-navy);
  font-weight: 700;
}

/* ============================================
   SECTION INTRO
============================================= */

.section-intro {
  max-width: 950px;
}

/* ============================================
   CONTENT
============================================= */

.content-section {
  padding: 5rem 0;
}

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

.page-header {
  background: var(--ip-navy);
  color: #ffffff;
}

/* ============================================
   BUTTON
============================================= */

.btn-ip {
  background-color: var(--ip-orange);
  border-color: var(--ip-orange);
  color: #ffffff;
  font-weight: 700;
}

.btn-ip:hover {
  background-color: #d97700;
  border-color: #d97700;
  color: #ffffff;
}

/* ============================================
   KONTAKT CTA
============================================= */

.contact-cta {
  position: relative;
  width: 100%;
  padding: 50px 0; /* Padding für den Bereich */
  background-color: #25346f; /* Hintergrundfarbe */
}

/* ============================================
   KONTAKT CTA
   CONTAINER
============================================= */

.contact-cta-container {
  position: relative;
  width: 100%;
  z-index: 3;
}


/* ============================================
   KONTAKT CTA
   Hintergrundbild
============================================= */

.contact-cta {

  position: relative;

  width: 100%;

  min-height: 500px;

  display: flex;

  align-items: center;

  overflow: hidden;

  background-image: url("/assets/contact-bg7.png");

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;

}


/* ============================================
   KONTAKT CTA CONTAINER
============================================= */

.contact-cta-container {

  position: relative;

  width: 100%;

  z-index: 2;

}


/* ============================================
   KONTAKT CONTENT
   Inhalt auf der rechten Seite
============================================= */

.contact-content {

  max-width: 600px;

  margin-left: auto;

  padding: 40px;

  text-align: center;

}


/* ============================================
   KONTAKT ÜBERSCHRIFT
============================================= */

.contact-content h3 {

  font-size: clamp(1.8rem, 3vw, 2.7rem);

  line-height: 1.25;

  font-weight: 600;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);

}


/* ============================================
   KONTAKT TEXT
============================================= */

.contact-content .lead {

  font-size: 1.3rem;

  font-weight: 500;

  line-height: 1.6;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);

}


/* ============================================
   KONTAKT BUTTON
============================================= */

.btn-contact {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 13px 30px;

  background-color: var(--ip-orange);

  border: 2px solid var(--ip-orange);

  color: #ffffff !important;

  font-size: 1.05rem;

  font-weight: 600;

  border-radius: 8px;

  box-shadow: 0 6px 18px rgba(242, 138, 0, 0.25);

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;

}

.btn-contact:hover,
.btn-contact:focus {

  background-color: #d97800;

  border-color: #d97800;

  color: #ffffff !important;

  transform: translateY(-2px);

  box-shadow: 0 9px 24px rgba(242, 138, 0, 0.35);

}


/* ============================================
   MOBILE
============================================= */

@media (max-width: 767.98px) {

  .contact-cta {

    min-height: 600px;

    background-position: 30% center;

    align-items: flex-end;

  }

  .contact-content {

    max-width: 100%;

    margin: 0 auto;

    padding: 30px 20px;

    background: rgba(37, 52, 111, 0.85);

    border-radius: 18px;

    margin-bottom: 25px;

  }

  .contact-content h3 {

    font-size: 1.8rem;

  }

  .contact-content .lead {

    font-size: 1.1rem;

  }

}

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

ul {
  padding-left: 2rem;
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 950px;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-secondary-rgb),var(--bs-text-opacity)) !important;
}

/* ============================================
   PARTNER
============================================= */

.partner-card {
  height: 100%;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 40px 30px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
}

.partner-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.partner-card p {
  color: #666;
  margin-bottom: 0;
}

.partner-intro {
  max-width: 850px;
  margin: 0 auto;
}

.partner-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--ip-navy);
}

.partner-highlight {
  border-left: 4px solid var(--ip-navy);
}

/* ============================================
   PARTNER LOGOS
============================================= */

.partner-logo-card {
  min-height: 150px;
  background: #ffffff;
  border-radius: 18px;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 63, 124, 0.08);
  border: 1px solid rgba(37, 63, 124, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(37, 63, 124, 0.13);
}

.partner-logo {
  max-width: 100%;
  height: auto;
  max-height: 105px;
  object-fit: contain;
}

.partner-logo-pflege {
  width: 390px;
}

.partner-logo-mobil {
  width: 390px;
}

/* ============================================
   TRENNLINIE
============================================= */

.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 600;
  padding-top: 40px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(37, 63, 124, 0.15);
}

.section-divider p {
  flex-shrink: 0;
}

/* ============================================
   SERVICE CARDS
============================================= */

.service-card {
  position: relative;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(37, 63, 124, 0.08);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(37, 63, 124, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(37, 63, 124, 0.12);
  border-color: rgba(37, 63, 124, 0.18);
}

.service-card h3 {
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}

.service-card p {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   SERVICE ICON
============================================= */

.service-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(37, 63, 124, 0.08);
  color: #253f7c;
  font-size: 30px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--ip-orange);
  color: #ffffff;
  transform: scale(1.05);
}

/* ============================================
   FOOTER
============================================= */

footer {
  background: var(--ip-navy-dark);
  color: #ffffff;
}

footer a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
}

footer a:hover {
  color: var(--ip-orange);
}