/* Vom lokalen Bildmodus eingesetzte, deployment-fertige Bilder */
.hero-visual,
.card-thumb,
.gallery-tile,
.avatar {
  position: relative;
  overflow: hidden;
}

.content-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual > .content-image,
.card-thumb > .content-image,
.gallery-tile > .content-image {
  position: absolute;
  inset: 0;
}

.avatar > .content-image {
  border-radius: inherit;
}

.has-content-image > :not(.content-image) {
  visibility: hidden;
}

.gallery-tile.has-content-image > .cap {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  left: 8px;
  visibility: visible;
  width: auto;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-lilac);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px 16px;
  max-width: 1320px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

/* Mobile hamburger toggle (checkbox hack, no JS needed) */
.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px;
}

.main-nav a,
.nav-dropdown > summary {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 7px;
  border-radius: 999px;
  transition: background 0.15s ease;
  white-space: nowrap;
  color: var(--ink);
  cursor: pointer;
}

.main-nav a:hover,
.nav-dropdown > summary:hover {
  background: rgba(255, 255, 255, 0.6);
}

.main-nav a.active,
.nav-dropdown.active > summary {
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

/* "Inspiration" Dropdown (native <details>, funktioniert ohne JS) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "▾";
  margin-left: 5px;
  font-size: 0.7em;
}

.nav-dropdown[open] > summary::after {
  content: "▴";
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 8px;
}

.dropdown-panel a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.dropdown-panel a:hover {
  background: var(--bg-lavender);
}

.dropdown-panel a.active {
  background: var(--pink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  white-space: nowrap;
}

.header-button {
  padding: 9px 13px;
  border: 1px solid rgba(26, 16, 40, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(26, 16, 40, 0.1);
}

.header-button-dashboard {
  background: var(--white);
}

.header-button-applicant {
  background: var(--yellow);
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
}

.btn-pill.ghost {
  background: transparent;
  border: 2px solid var(--ink);
}

.hero-visual {
  flex: 1 1 340px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--peach), var(--pink) 55%, var(--sky));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  margin: 0 0 12px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.6;
}
.tint-lavender { background: var(--bg-lavender); }
.tint-pink { background: var(--pink); }
.tint-sky { background: var(--sky); }
.tint-yellow { background: var(--yellow); }
.tint-mint { background: var(--mint); }
.tint-peach { background: var(--peach); }
.sidebar-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.level-eyebrow {
  margin: 0 0 10px;
  color: var(--pink-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* ---------- Footer ---------- */
.site-footer {
  background: #ddd5ed;
  padding: 20px 0;
}

.site-footer .footer-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
}

.footer-nav a {
  padding: 8px 0;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.footer-logo:hover,
.footer-nav a:hover {
  opacity: 0.65;
}

.footer-logo:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .site-footer {
    padding: 26px 0;
  }

  .site-footer .footer-inner {
    min-height: 0;
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  .footer-nav {
    justify-content: center;
    gap: 4px 20px;
    text-align: center;
  }
}

#faq {
  scroll-margin-top: 110px;
}

/* ---------- FAQ-Accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 10px;
}

.faq-item {
  background: var(--bg-lavender);
  border-radius: var(--radius-md);
  padding: 0 22px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--pink-deep);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

/* ---------- Solo-Content-Seiten (z. B. Kontakt) ---------- */
.content-solo {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 90px;
}
/* Responsive Top-Navigation: ab hier Hamburger-Menü statt Nav-Zeile */
@media (max-width: 1040px) {
  .site-header .wrap {
    flex-wrap: wrap;
  }

  .nav-toggle-btn {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
  }

  .nav-toggle-checkbox:checked ~ .main-nav {
    display: flex;
  }

  .header-actions {
    display: none;
    order: 4;
    width: 100%;
    margin-left: 0;
    padding-top: 4px;
  }

  .nav-toggle-checkbox:checked ~ .header-actions {
    display: flex;
  }

  .header-button {
    flex: 1;
    padding: 12px 14px;
    text-align: center;
  }

  .main-nav a,
  .nav-dropdown > summary {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
  }

  .dropdown-panel {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 2px 0 2px 14px;
  }
}
