:root {
  --teal-dark: #0f6a6a;
  --teal: #0fa3a3;
  --teal-light: #5ad3d3;
  --footer-bg: #20262c;
}

/* Navbar + branding */
.brand-teal {
  color: var(--teal-dark) !important;
}

.navbar .nav-link {
  color: #212529;
}

.navbar .nav-link:hover {
  color: var(--teal) !important;
}

.navbar .navbar-brand:hover {
  color: var(--teal) !important;
  text-decoration: none;
}

.mail-badge {
  border-radius: 0.5rem;
}

.mail-badge:hover {
  color: var(--teal-dark) !important;
}

/* Buttons */
.btn-teal {
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  border: none;
  color: #fff;
}

.btn-teal:hover {
  filter: brightness(0.95);
  color: #fff;
}

.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: #fff;
}

/* Card titles in dark teal */
.card-title {
  color: var(--teal-dark);
}

/* Heroes */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.35);
  min-height: 70vh;
}

.subhero {
  background-size: cover;
  background-position: center;
  min-height: 40vh;
  position: relative;
}

.subhero-overlay {
  background: rgba(0, 0, 0, 0.35);
  min-height: 40vh;
  display: flex;
  align-items: end;
}

/* Single gradient contact card (no overlapping) */
.gradient-card {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 1rem;
}

/* Footer */
.text-teal {
  color: var(--teal);
}

.site-footer {
  background: var(--footer-bg);
}

.site-footer .footer-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.site-footer .footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.steps-section {
  padding: 64px 0 56px;
  background: #fff;
  color: var(--ink);
}

.steps-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* connector line behind the four step badges */
.steps-line {
  position: relative;
  margin-top: 18px;
  margin-bottom: 36px;
  min-height: 24px;
}

.steps-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(15, 118, 110, 0.25),
    rgba(39, 176, 176, 0.25)
  );
  border-radius: 2px;
}

/* round number badges */
.step-badge {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(180deg, #2b7aa5 0%, #27b0b0 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08),
    inset 0 0 0 6px rgba(255, 255, 255, 0.15);
}

/* icon tile */
.icon-tile {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-tile svg {
  width: 32px;
  height: 32px;
  stroke: #1f6c91;
}

.step-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 8px;
  color: #17334a;
}

.step-text {
  color: var(--muted);
  max-width: 320px;
  margin: 6px auto 0;
  line-height: 1.6;
  font-size: 0.98rem;
}

/* spacing tweaks for md+ */
@media (min-width: 768px) {
  .steps-line {
    margin-top: 26px;
    margin-bottom: 6px;
  }
}

/* Accordion Header – Teal Gradient + Hover */
.accordion-button {
  background: linear-gradient(135deg, #e5f9f7 0%, #c8efec 100%);
  /* light → soft teal */
  color: #0d6e6b !important;
  font-weight: 600;
  border: none;
  transition: all 0.25s ease-in-out !important;
}

/* Opened Accordion (active) */
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #d4f4f2 0%, #b9e9e5 100%);
  color: #0b5f5c !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* Hover Effect */
.accordion-button:hover {
  background: linear-gradient(135deg, #dff8f6 0%, #bcece7 100%);
  color: #0a5c59 !important;
  transform: translateY(-1px);
}

/* Remove annoying blue focus outline */
.accordion-button:focus {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 107, 0.25);
}

/* Accordion Chevron – local SVG resource */
.accordion-button::after {
  content: "";
  background-image: url("./assets/chevron.svg");
  /* LOCAL FILE */
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  transform: rotate(0deg);
  transition: transform 0.35s ease;
}

/* Drehen, wenn geöffnet */
.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

/* ===========================================
   NAVBAR ACTIVE + HOVER: TEAL 3PX BOTTOM BORDER
   =========================================== */

/* Add smooth space for the 3px bottom border
   --> Without this, the navbar jumps on hover */
.navbar {
  padding-bottom: 6px !important; /* added padding for smooth UX */
  /* ↑ ensures the teal underline does not push layout */
}

/* Default nav-link: reset border so items don’t shift */
.navbar .nav-link {
  border-bottom: 3px solid transparent !important; /* added */
  padding-bottom: 6px !important; /* added to align with border */
}

/* On hover: show teal underline (3px solid) */
.navbar .nav-link:hover {
  border-bottom: 3px solid var(--teal-dark) !important; /* added */
  color: var(--teal) !important; /* existing rule, now kept */
}

/* Active menu item (Bootstrap adds .active automatically)
   -> Strong teal underline to highlight the current page */
.navbar .nav-link.active {
  border-bottom: 3px solid var(--teal-dark) !important; /* added */
  color: var(--teal-dark) !important; /* visibly active */
}

