:root {
  --ink: #1e2430;
  --cloud: #f6f7fb;
  --line: #e6e8f0;
  --lavender: #e0e0f0;
  --powder: #b0c8e0;
  --sage: #dce6d6;
  --peach: #f2b8a2;

  --radius-pill: 32px;
  --radius-card: 20px;
  --shadow-soft: 0 10px 30px rgba(30, 36, 48, 0.08);
  --font-body: 'Outfit', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cloud);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  max-width: 1100px;
  margin: 40px auto 64px;
  padding: 0 24px;
}

.pill {
  border-radius: var(--radius-pill);
  background: white;
  box-shadow: var(--shadow-soft);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border: 1px solid var(--line);
  margin-bottom: 32px;
}

.site-header {
  position: sticky;
  top: 20px;
  z-index: 20;
  background: rgba(246, 247, 251, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  justify-content: flex-end;
  flex: 1;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  color: var(--ink);
}

main a:not(.primary-button):not(.secondary-link):not(.ghost-button):not(.fortbildung-pill):not(.panel-close) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(30, 36, 48, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

main a:not(.primary-button):not(.secondary-link):not(.ghost-button):not(.fortbildung-pill):not(.panel-close):hover,
main a:not(.primary-button):not(.secondary-link):not(.ghost-button):not(.fortbildung-pill):not(.panel-close):focus-visible {
  color: var(--ink);
  text-decoration-color: var(--ink);
  outline: none;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-footer a {
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  background: rgba(176, 200, 224, 0.4);
  box-shadow: inset 0 0 0 1px rgba(160, 170, 190, 0.5);
}

.site-footer {
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  align-items: center;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact a {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(30, 36, 48, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  text-decoration-color: var(--ink);
  outline: none;
}

.brand {
  font-weight: 600;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover,
.brand:focus-visible {
  background: rgba(176, 200, 224, 0.4);
  box-shadow: inset 0 0 0 1px rgba(160, 170, 190, 0.5);
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 10px;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.ghost-button {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(30, 36, 48, 0.08);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(30, 36, 48, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 48px;
  margin-bottom: 56px;
}

.hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  height: 460px;
  margin: 0;
}

.hero__text h1 {
  font-size: 44px;
  line-height: 52px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.hero__text .lede {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 24px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__media img {
  border-radius: 32px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  transform: translateY(var(--parallax-offset, 0px));
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  background: var(--ink);
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 36, 48, 0.25);
  outline: none;
}

.secondary-link {
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.secondary-link::after {
  content: '→';
  font-size: 16px;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 36, 48, 0.7);
  margin: 0;
}

.section {
  margin-bottom: 56px;
}

.section__header h2 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 8px;
}

.section__header p {
  margin-top: 0;
  color: rgba(30, 36, 48, 0.74);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.focus-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.focus-card:hover,
.focus-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(30, 36, 48, 0.15);
}

.focus-card:nth-child(1) { background: #ffffff; }
.focus-card:nth-child(2) { background: var(--lavender); }
.focus-card:nth-child(3) { background: var(--sage); }
.focus-card:nth-child(4) { background: var(--powder); }

.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(176, 200, 224, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle,
.icon-wave,
.icon-bridge,
.icon-spark {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.icon-wave {
  border-radius: 999px;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.icon-bridge {
  border-radius: 4px;
}

.icon-spark {
  border-radius: 50%;
  border-style: dashed;
}

.timeline {
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--lavender);
}

.timeline__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(30, 36, 48, 0.1);
  align-items: center;
}

.timeline__item:last-child {
  border-bottom: none;
}

.timeline__status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
}

.dot--active {
  background: var(--ink);
}

.chip--done {
  background: var(--sage);
  border-radius: 24px;
  padding: 8px 16px 8px 16px;
}

.chip--active {
  background: var(--powder);
  border-radius: 24px;
  padding: 8px 16px 8px 16px;

}

.fortbildung-helper {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(30, 36, 48, 0.7);
}

.fortbildungen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fortbildungen-grid li {
  list-style: none;
}

.fortbildung-pill {
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: white;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  --chip-accent: rgba(176, 200, 224, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.fortbildung-pill:hover {
  background: var(--chip-accent);
  box-shadow: inset 0 0 0 1px rgba(30, 36, 48, 0.08);
}

.fortbildung-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(30, 36, 48, 0.25);
}

.fortbildung-pill.is-active {
  border-color: var(--chip-accent);
  background: var(--chip-accent);
  box-shadow: inset 0 0 0 1px rgba(30, 36, 48, 0.12);
}

.fortbildung-pill[data-color="lavender"] {
  --chip-accent: var(--lavender);
}

.fortbildung-pill[data-color="powder"] {
  --chip-accent: rgba(176, 200, 224, 0.7);
}

.fortbildung-pill[data-color="sage"] {
  --chip-accent: var(--sage);
}

.fortbildung-pill[data-color="peach"] {
  --chip-accent: var(--peach);
}

.detail-region {
  margin-top: 24px;
  position: relative;
}

.detail-placeholder,
.detail-panel {
  border-radius: var(--radius-pill);
  border: 1px dashed var(--line);
  padding: 28px;
  text-align: center;
  color: rgba(30, 36, 48, 0.7);
}

.detail-placeholder {
  background: white;
}

.detail-panel {
  border-style: solid;
  border-color: var(--line);
  text-align: left;
  background: white;
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: none;
}

.detail-panel.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.detail-panel.is-hiding {
  opacity: 0;
  transform: translateY(12px);
}

.detail-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-panel__eyebrow {
  font-size: 12px;
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(30, 36, 48, 0.7);
}

.detail-panel__subtitle {
  margin: 4px 0 0;
  color: rgba(30, 36, 48, 0.75);
}

.panel-close {
  border: none;
  background: var(--cloud);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.panel-close:hover,
.panel-close:focus-visible {
  background: rgba(176, 200, 224, 0.4);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(30, 36, 48, 0.12);
}

.detail-panel__blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 24px;
}

.detail-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: white;
}

.detail-block__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(30, 36, 48, 0.6);
  margin-bottom: 6px;
}

.detail-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline__item {
    grid-template-columns: 1fr;
  }
}

.detail-panel[data-color="lavender"] .detail-block {
  background: var(--lavender);
  border-color: var(--lavender);
}

.detail-panel[data-color="powder"] .detail-block {
  background: rgba(176, 200, 224, 0.5);
  border-color: rgba(176, 200, 224, 0.6);
}

.detail-panel[data-color="sage"] .detail-block {
  background: var(--sage);
  border-color: var(--sage);
}

.detail-panel[data-color="peach"] .detail-block {
  background: var(--peach);
  border-color: var(--peach);
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: nowrap;
    gap: 12px;
    position: sticky;
    overflow: visible;
  }

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

  .site-nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: rgba(246, 247, 251, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
    z-index: 10;
  }

  .site-header.is-open .site-nav-panel {
    max-height: 420px;
    opacity: 1;
    padding: 24px;
    pointer-events: auto;
  }

  .site-nav {
    flex-direction: column;
    gap: 12px;
  }

  .site-nav a {
    width: 100%;
  }

  .ghost-button {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .hero__media {
    height: 260px;
  }

  .hero__media img {
    object-position: center 20%;
    transform: none;
  }
}
