.lebenslauf-form input::placeholder,
.lebenslauf-form textarea::placeholder {
  color: #64748b;
  font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.99rem;
  font-style: italic;
  opacity: 0.95;
  letter-spacing: 0.01em;
}
/* Lebenslauf-Formular Struktur */
.lebenslauf-form-outer {
  max-width: 700px;
  margin: 2.2rem auto 2.2rem auto;
  padding: 2.2rem 2rem 2.2rem 2rem;
  background: #fff;
  border-radius: 1.1em;
  box-shadow: 0 2px 18px #e0e7ef33;
}
.lebenslauf-form-title {
  text-align: center;
  color: #2563eb;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.lebenslauf-form {
  width: 100%;
}
.lebenslauf-form-row {
  display: flex;
  gap: 1.2em;
  margin-bottom: 1.2em;
}
.lebenslauf-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lebenslauf-form-group-full {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2em;
}
.lebenslauf-form input,
.lebenslauf-form textarea {
  margin-top: 0.3em;
  padding: 0.5em 0.7em;
  border: 1px solid #cbd5e1;
  border-radius: 0.5em;
  font-size: 1.05rem;
  background: #f8fafc;
  transition: border-color 0.2s;
}
.lebenslauf-form input:focus,
.lebenslauf-form textarea:focus {
  border-color: #2563eb;
  outline: none;
}
.lebenslauf-form-btn {
  font-size: 1.13rem;
  padding: 0.7em 2.2em;
}

.lebenslauf-form-actions {
  margin-top: 1.7em;
  text-align: center;
}

.lebenslauf-form-status {
  margin-top: 1.1em;
  text-align: center;
  color: #22c55e;
  font-weight: 600;
  display: none;
}
@media (max-width: 700px) {
  .lebenslauf-form-row {
    flex-direction: column;
    gap: 0.7em;
  }
  .lebenslauf-form-outer {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
}
/* Einheitlicher AzubiMatch Header */

.azubimatch-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2.2rem;
  margin-bottom: 2.2rem;
  background: #f8f9fa;
  padding: 2.7rem 0 2.7rem 0;
  border-radius: 1.1em;
  box-shadow: 0 2px 18px #e0e7ef22;
  width: 100%;
  max-width: 100vw;
}
.azubimatch-header-title {
  display: inline-block;
  text-align: center;
  margin-bottom: 0.7rem;
  font-size: 2.15rem;
  font-weight: 800;
  color: #23272f;
  letter-spacing: 0.01em;
  line-height: 1.18;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}
.azubimatch-header-badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #555a65;
  background: #e9ecef;
  border-radius: 0.7em;
  padding: 0.22em 1.15em;
  opacity: 0.97;
  box-shadow: 0 1px 8px #e0e7ef11;
  letter-spacing: 0.04em;
}
.azubimatch-header-sub {
  text-align: center;
  width: 90vw;
  max-width: 900px;
  font-size: 1.13rem;
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
  color: #555a65;
  opacity: 0.97;
  font-weight: 400;
  margin-top: 0.2rem;
}

@media (max-width: 700px) {
  .azubimatch-header {
    padding: 1.5rem 0 1.5rem 0;
    margin-top: 1.1rem;
    margin-bottom: 1.1rem;
  }
  .azubimatch-header-title {
    font-size: 1.25rem;
  }
  .azubimatch-header-badge {
    font-size: 0.98rem;
    padding: 0.18em 0.8em;
  }
  .azubimatch-header-sub {
    font-size: 0.98rem;
  }
}
/* Zusätzliche Berufs-Doodles */
.doodle-baker {
  top: 70%;
  left: 7%;
  transform: rotate(-8deg);
}
.doodle-nurse {
  top: 30%;
  left: 12%;
  transform: rotate(5deg);
}
.doodle-mechanic {
  bottom: 12%;
  right: 8%;
  transform: rotate(-10deg);
}
.doodle-programmer {
  top: 45%;
  right: 12%;
  transform: rotate(7deg);
}
.doodle-painter {
  bottom: 22%;
  left: 15%;
  transform: rotate(6deg);
}
/* Responsive Anpassung für Haupt-Wrapper und Panels */
.start-wrapper,
.panel,
.ausbildungsplaetze-info,
.prinzip-info,
.inclusion-info {
  width: 96vw;
  max-width: 980px;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .start-wrapper,
  .panel,
  .ausbildungsplaetze-info,
  .prinzip-info,
  .inclusion-info {
    max-width: 1200px;
  }
}

@media (max-width: 700px) {
  .start-wrapper,
  .panel,
  .ausbildungsplaetze-info,
  .prinzip-info,
  .inclusion-info {
    width: 100vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
.start-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 1.5rem 0;
}

.logo-icon-big {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,130,229,0.10);
}
:root {
  --ink: #182033;
  --paper: #ffffff;
  --home-max-width: 980px;
  --home-panel-max-width: 700px;
  --home-cta-max-width: 760px;
  --lux-title-start: #173459;
  --lux-title-mid: #365f90;
  --lux-title-end: #b7c6d9;
  --lux-title-shadow: rgba(23, 52, 89, 0.16);
  --accent: #2563eb;
  --accent-2: #22c3ff;
  --accent-3: #22c55e;
  --accent-4: #f59e0b;
  --accent-5: #ff5db1;
  --accent-soft: #dbeafe;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.24);
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 60px rgba(12, 24, 48, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: #23272f;
  background: #f5f6f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms ease, filter 260ms ease;
}

body.page-ready {
  opacity: 1;
  transform: translateY(0);
}

body.page-leave {
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  filter: blur(4px);
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
  line-height: 1.2;
  color: #23272f;
  background: none;
  text-shadow: none;
}

.lead-accent {
  display: inline-block;
  font-weight: 600;
  color: #495057;
  background: #f3f4f6;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 0.1rem 0.48rem;
  margin: 0 auto 0.45rem;
}

.lead-main-text {
  display: block;
  font-weight: 700;
  color: #23272f;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
}

.trend-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.theme-photos {
  width: min(920px, 100%);
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.theme-photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d9e3f2;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f6ff 0%, #f8f9ff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transition: box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.theme-photo-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
  z-index: 10;
}

.theme-photo-card:hover,
.theme-photo-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.15);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(135deg, #e0f2fe 0%, #eff6ff 100%);
}

.theme-photo-card:hover::after,
.theme-photo-card:focus-within::after {
  transform: scaleX(1);
}

.theme-photo-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.02);
}

.theme-photo-card figcaption {
  position: absolute;
  left: 0.55rem;
  bottom: 0.5rem;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.trend-tag {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dce7f7;
  color: #334155;
  font-size: 0.84rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.cta-panel-main {
  width: min(var(--home-cta-max-width), 100%);
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.65rem;
  padding: 0.95rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.15), rgba(34, 195, 255, 0.12) 46%, rgba(255, 93, 177, 0.08) 100%);
  border: 1px solid #d5e5ff;
  border-radius: 26px;
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.16);
  text-align: center;
}

.cta-kicker {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #172554;
}

.cta-actions {
  margin-top: 0.65rem;
  gap: 0.9rem;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.cta-btn {
  width: min(520px, 100%);
  min-width: 0;
  min-height: 70px;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  border-radius: 14px;
}

.panel {
  margin-top: 0.65rem;
  background: #f8f9fa;
  border-radius: 22px;
  border: 1px solid #e0e0e0;
  padding: 0.8rem;
  width: min(700px, 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-page .panel {
  width: min(var(--home-panel-max-width), 100%);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(248, 251, 255, 0.9) 0%, rgba(247, 252, 251, 0.9) 100%);
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 0.65rem;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(160deg, rgba(224, 242, 254, 0.95) 0%, rgba(239, 246, 255, 0.95) 100%);
}

.feature-card:hover::after,
.feature-card:focus-within::after {
  transform: scaleX(1);
}

.secondary-info {
  background: linear-gradient(160deg, rgba(252, 254, 255, 0.9) 0%, rgba(245, 249, 255, 0.82) 100%);
  border-color: #d7e1ec;
  overflow: hidden;
  max-height: 96px;
  transition: max-height 760ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 460ms ease, border-color 460ms ease;
}

.timeline h2,
.secondary-info .vorteile-title {
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.timeline h2,
.secondary-info .vorteile-title,
.stats-section h2 {
  background: linear-gradient(100deg, var(--lux-title-start) 0%, var(--lux-title-mid) 52%, var(--lux-title-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timeline h2 {
  font-size: clamp(1.28rem, 2.7vw, 1.75rem);
}

.secondary-info .vorteile-title {
  grid-column: 1 / -1;
  margin: 0 0 0.2rem;
  text-align: center;
}

.secondary-info .feature-card {
  background: linear-gradient(160deg, #fcfdff 0%, #f4f7fb 100%);
  border-color: #d8e1eb;
  box-shadow: none;
  max-height: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  filter: blur(1.4px);
  pointer-events: none;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  margin: 0;
  overflow: hidden;
  transition: max-height 700ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease, padding 380ms ease, border-width 380ms ease;
}

.secondary-info:hover,
.secondary-info:focus-within {
  max-height: 920px;
  border-color: #b6c7da;
  box-shadow: 0 14px 30px rgba(33, 56, 94, 0.12);
}

.secondary-info:hover .feature-card,
.secondary-info:focus-within .feature-card {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-width: 1px;
}

.secondary-info:hover .feature-card:nth-of-type(1),
.secondary-info:focus-within .feature-card:nth-of-type(1) {
  transition-delay: 90ms;
}

.secondary-info:hover .feature-card:nth-of-type(2),
.secondary-info:focus-within .feature-card:nth-of-type(2) {
  transition-delay: 180ms;
}

.secondary-info:hover .feature-card:nth-of-type(3),
.secondary-info:focus-within .feature-card:nth-of-type(3) {
  transition-delay: 270ms;
}

.secondary-info .feature-card h2 {
  color: #2a415f;
  font-size: 0.94rem;
}

.secondary-info .feature-card p {
  color: #5e7289;
  font-size: 0.88rem;
}

.secondary-info .feature-card:nth-of-type(1) {
  border-top-color: #8ea6c1;
}

.secondary-info .feature-card:nth-of-type(2) {
  border-top-color: #7694b7;
}

.secondary-info .feature-card:nth-of-type(3) {
  border-top-color: #9bb0c8;
}

.feature-card:nth-child(1) {
  border-top: 4px solid var(--accent-2);
}

.feature-card:nth-child(2) {
  border-top: 4px solid var(--accent-3);
}

.feature-card:nth-child(3) {
  border-top: 4px solid var(--accent-4);
}

.feature-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
}


.beruf-grid-outer {
  width: min(var(--home-max-width), 92vw);
  margin: 0 auto 0.8rem;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.beruf-grid-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.7rem;
  text-align: center;
}

.beruf-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 8px;
}

.beruf-track {
  display: flex;
  gap: 0.8rem;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.beruf-track .beruf-card {
  flex-shrink: 0;
  min-width: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #dbeafe;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
  transition: background 180ms, box-shadow 180ms, transform 180ms;
}

.carousel-btn:hover:not(:disabled) {
  background: #eff6ff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
  transform: scale(1.06);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

.beruf-icon {
  width: 100%;
  height: 170px;
  border-radius: 12px;
  border: 1px solid #dbe4ef;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  -webkit-user-select: none;
  user-select: none;
}

.beruf-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 251, 255, 0.9) 100%);
  border: 1px solid #cbdcf3;
  border-top: 5px solid var(--accent);
  border-radius: 18px;
  padding: 0.95rem;
  margin-top: 0;
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.beruf-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
  z-index: 10;
}

.beruf-card:hover,
.beruf-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(29, 78, 216, 0.18);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(165deg, rgba(239, 246, 255, 0.96) 0%, rgba(224, 242, 254, 0.92) 100%);
}

.beruf-card:hover::after,
.beruf-card:focus-within::after {
  transform: scaleX(1);
}

.beruf-card-link {
  cursor: pointer;
}

.beruf-card-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

.beruf-card h3 {
  margin: 0 0 0.5rem;
  color: #1e3a8a;
  font-size: 1.05rem;
  font-weight: 700;
}

.beruf-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #dbe4ef;
  margin-bottom: 0.85rem;
  display: block;
  background: #f0f5ff;
}

.beruf-card p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  font-size: 0.94rem;
}

.timeline h2,
.cta-panel h2 {
  margin: 0 0 0.6rem;
}

.timeline {
  width: min(700px, 100%);
  padding: 0.6rem;
  background: linear-gradient(160deg, rgba(252, 254, 255, 0.9) 0%, rgba(245, 249, 255, 0.82) 100%);
  border-color: #d7e1ec;
  overflow: hidden;
  max-height: 96px;
  transition: max-height 700ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease, border-color 420ms ease;
}

.timeline h2 {
  text-align: center;
  margin-bottom: 0.55rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: max-height 760ms cubic-bezier(0.16, 1, 0.3, 1), opacity 560ms ease, transform 560ms ease;
}

.timeline:hover,
.timeline:focus-within {
  max-height: 520px;
  border-color: #b6c7da;
  box-shadow: 0 14px 30px rgba(33, 56, 94, 0.12);
}

.timeline:hover .steps-grid,
.timeline:focus-within .steps-grid {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.step-card {
  text-align: left;
  background: linear-gradient(160deg, #fcfdff 0%, #f4f7fb 100%);
  border: 1px solid #d8e1eb;
  border-top: 4px solid #8ea6c1;
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 10px 22px rgba(33, 56, 94, 0.1);
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  filter: blur(1.4px);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease;
}

.timeline:hover .step-card,
.timeline:focus-within .step-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.timeline:hover .step-card:nth-child(1),
.timeline:focus-within .step-card:nth-child(1) {
  transition-delay: 80ms;
}

.timeline:hover .step-card:nth-child(2),
.timeline:focus-within .step-card:nth-child(2) {
  transition-delay: 170ms;
}

.timeline:hover .step-card:nth-child(3),
.timeline:focus-within .step-card:nth-child(3) {
  transition-delay: 260ms;
}

.step-card h3 {
  margin: 0.25rem 0 0.3rem;
  font-size: 0.9rem;
  color: #2a415f;
}

.step-card p {
  margin: 0;
  color: #5e7289;
  line-height: 1.4;
  font-size: 0.85rem;
}

.step-illustration {
  width: 100%;
  height: 75px;
  border-radius: 12px;
  border: 1px solid #d8e1eb;
  background: #f3f6fb;
  color: #355b86;
  display: grid;
  place-items: center;
}

.step-illustration svg {
  width: 70px;
  height: 55px;
}

.cta-panel p {
  margin: 0 0 0.85rem;
  color: #475569;
}

.panel h2 {
  margin: 0;
  font-size: 1.1rem;
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8rem;
}

.cta-panel-main .cta-actions {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.cta-panel-main .cta-btn {
  width: min(560px, 100%);
  min-width: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 24px rgba(30, 58, 110, 0.16);
}

.cta-panel-main .primary.cta-btn {
  background: linear-gradient(135deg, #2457c9 0%, #3a74e8 100%);
  border-radius: 20px;
}

.cta-panel-main .primary.cta-btn:hover {
  background: linear-gradient(135deg, #1f4db5 0%, #3468d3 100%);
  transform: translateY(-2px) scale(1.01);
}

.cta-panel-main .ghost.cta-btn {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid #b9c8da;
  color: #2f4157;
  border-radius: 20px;
}

.cta-panel-main .ghost.cta-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: #8ea5c2;
  transform: translateY(-2px) scale(1.01);
}

/* ===== Accessibility: Skip-Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.6rem 1.1rem;
  background: #1e3a5f;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.12s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ui-space-xs);
  position: relative;
  isolation: isolate;
  text-align: center;
  text-decoration: none;
  border: none;
  padding: calc(0.72rem + 0.1 * var(--ui-space-xs)) calc(0.98rem + 0.35 * var(--ui-space-sm));
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease, opacity 220ms ease;
  min-width: min(100%, var(--ui-button-min));
  max-width: 100%;
  min-height: var(--ui-touch-min);
  font-size: var(--ui-font-sm);
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -120% auto -120% -35%;
  width: 40%;
  transform: rotate(18deg) translateX(-180%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.2);
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
  animation: button-glint 720ms ease forwards;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.primary {
  color: #ffffff;
  background: #2563eb;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.24);
}

.primary:hover {
  background: #1d4ed8;
}

.ghost {
  background: transparent;
  border: 1.5px solid #d1d5db;
  color: #374151;
  box-shadow: none;
}

.ghost:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: none;
}

@keyframes button-glint {
  0% {
    transform: rotate(18deg) translateX(-180%);
  }
  100% {
    transform: rotate(18deg) translateX(430%);
  }
}

.status {
  margin: 0.8rem 0 0;
  color: #6b7280;
  font-size: var(--ui-font-sm);
  font-weight: 500;
  max-width: 48ch;
  line-height: 1.5;
}

.status--success {
  color: #166534;
}

@keyframes internship-save-confirmation-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.internship-save-confirmation {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.98), rgba(240, 253, 244, 0.94));
  box-shadow: 0 16px 32px rgba(22, 101, 52, 0.08);
  max-width: 48rem;
}

.internship-save-confirmation.is-visible {
  animation: internship-save-confirmation-in 220ms ease;
}

.internship-save-confirmation:focus {
  outline: 2px solid rgba(34, 197, 94, 0.34);
  outline-offset: 3px;
}

.internship-save-confirmation__title {
  margin: 0;
  color: #166534;
  font-size: 1rem;
  font-weight: 700;
}

.internship-save-confirmation__meta {
  margin: 0.35rem 0 0;
  color: #355268;
  font-size: 0.93rem;
  line-height: 1.55;
}

.portal-page {
  margin-top: 36px;
}

.portal-form {
  text-align: left;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

.portal-form:hover,
.portal-form:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.11) !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

.portal-form h2 {
  color: #111827;
  font-size: var(--ui-font-xl);
  margin-bottom: 0.5rem;
  font-weight: 800;
  line-height: 1.18;
}

.portal-form > p:first-of-type {
  color: #6b7280;
  font-size: var(--ui-font-sm);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.result-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.result-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: clamp(10px, 1vw, 16px);
  padding: var(--ui-card-pad);
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.result-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.result-card:hover,
.result-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
  border-color: rgba(96, 165, 250, 0.45);
  background: #f0f6ff;
}

.result-card:hover::after,
.result-card:focus-within::after {
  transform: scaleX(1);
}

.result-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--ui-font-md);
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
}

.result-card p {
  margin: 0.25rem 0;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ui-space-xs);
  margin: 0.5rem 0;
}

.profile-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #dbe4ef;
  margin-bottom: 0.75rem;
}

.profile-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eef8;
  color: #94a3b8;
  font-size: 2.5rem;
  font-weight: 700;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #dbe4ef;
  margin-bottom: 0.75rem;
}

/* ---- PROFIL PAGE ---- */
.profil-page {
  gap: 0;
}

.profil-account-bar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  margin-bottom: 0.7rem;
}

.profil-account-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.profil-account-greeting {
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
}

.profil-account-email-chip {
  color: var(--muted);
  font-size: 0.83rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}

.profil-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.profil-account-actions .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  white-space: nowrap;
  align-self: center;
}

.profil-card-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.profil-card-area--short-profile {
  width: 100%;
  align-items: stretch;
}

.profil-card-area--short-profile > * {
  width: 100%;
}

/* Hero banner card */
.profil-hero-card {
  background: linear-gradient(135deg, #3b6fd4 0%, #4a9af5 45%, #a78bfa 100%);
  border-radius: var(--ui-card-radius);
  padding: calc(var(--ui-card-pad) + 0.2rem) calc(var(--ui-card-pad) + 0.1rem);
  display: flex;
  align-items: center;
  gap: var(--ui-space-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(74, 154, 245, 0.28);
}

.profil-hero-card--short-profile {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  padding: clamp(1.15rem, 2vw, 1.55rem);
}

.profil-hero-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  flex: 0 0 auto;
  width: 100%;
  align-items: center;
  column-gap: clamp(0.85rem, 1.8vw, 1.1rem);
  row-gap: 0.75rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.profil-hero-card__top > button:not(.profil-float-edit-btn) {
  grid-column: 1 / -1;
  justify-self: start;
  margin-left: 0 !important;
}

.profil-hero-card__sections {
  display: grid;
  flex: 1 1 auto;
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  margin-left: 0;
}

/* Kurzprofil-Daten collapsible accordion */
.profil-data-accordion {
  width: 100%;
  background: #fff;
  border-radius: var(--ui-card-radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.profil-data-accordion__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(0.85rem, 1.6vw, 1.1rem) clamp(1rem, 1.8vw, 1.35rem);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s;
}

.profil-data-accordion__toggle:hover {
  background: rgba(37, 99, 235, 0.04);
}

.profil-data-accordion__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.profil-data-accordion__icon {
  font-size: 1.05em;
}

.profil-data-accordion__chevron {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  margin-top: -4px;
  opacity: 0.55;
}

.profil-data-accordion[data-open="true"] .profil-data-accordion__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.profil-data-accordion__body {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.profil-data-accordion[data-open="true"] .profil-data-accordion__body {
  max-height: 2200px;
}

.profil-data-accordion__body-inner {
  overflow: visible;
  min-height: 0;
  display: grid;
  gap: 0.7rem;
  padding: 0 clamp(1rem, 1.8vw, 1.35rem);
}

.profil-data-accordion[data-open="true"] .profil-data-accordion__body-inner {
  padding-bottom: clamp(1rem, 1.8vw, 1.35rem);
}


.profil-hero-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -70px;
  right: -50px;
  pointer-events: none;
}

.profil-hero-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -45px;
  left: 130px;
  pointer-events: none;
}

.profil-avatar-wrap {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  align-self: start;
}

.profil-avatar-wrap .profile-avatar,
.profil-avatar-wrap .profile-avatar--placeholder {
  width: clamp(72px, 9vw, 88px);
  height: clamp(72px, 9vw, 88px);
  margin-bottom: 0;
  border: 3px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.profil-avatar-wrap .profile-avatar--placeholder {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.profil-hero-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
}

.profil-code-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: var(--ui-font-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.7rem;
  color: #bae6fd;
  margin-bottom: 0.5rem;
}

.profil-display-name {
  margin: 0 0 0.22rem;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.profil-display-beruf {
  margin: 0 0 0.18rem;
  font-size: var(--ui-font-sm);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.profil-display-city {
  margin: 0 0 0.45rem;
  font-size: var(--ui-font-xs);
  color: rgba(255, 255, 255, 0.68);
}

.profil-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ui-space-xs);
}

.profil-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: var(--ui-font-xs);
  font-weight: 700;
}

.psb-green {
  background: rgba(34, 197, 94, 0.22);
  border: 1px solid rgba(34, 197, 94, 0.38);
  color: #bbf7d0;
}

.psb-yellow {
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.psb-orange {
  background: rgba(249, 115, 22, 0.22);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fed7aa;
}

/* Info chip sections */
.profil-chips-section {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: calc(var(--ui-card-pad) - 0.15rem) calc(var(--ui-card-pad) - 0.05rem);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.profile-info-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.profile-info-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.profile-info-card:hover,
.profile-info-card:focus-within,
.profile-info-card[data-open="true"] {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.profile-info-card:hover::after,
.profile-info-card:focus-within::after,
.profile-info-card[data-open="true"]::after {
  transform: scaleX(1);
}

.profile-info-card__toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.profile-info-card__header-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.profile-info-card__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7c8fa6;
  text-transform: uppercase;
}

.profile-info-card__headline {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.profile-info-card__subheadline {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.profile-info-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.09);
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.profile-info-card__hint::after {
  content: '▼';
  font-size: 0.78em;
  transition: transform 0.2s ease;
}

.profile-info-card:hover .profile-info-card__hint::after,
.profile-info-card:focus-within .profile-info-card__hint::after,
.profile-info-card[data-open="true"] .profile-info-card__hint::after {
  transform: rotate(180deg);
}

.profile-info-card__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0.58;
  margin-top: 0;
  transition: grid-template-rows 0.26s ease, opacity 0.22s ease, margin-top 0.26s ease;
}

.profile-info-card:hover .profile-info-card__body,
.profile-info-card:focus-within .profile-info-card__body,
.profile-info-card[data-open="true"] .profile-info-card__body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.85rem;
}

#studentRetentionCheckinSection:hover .profile-info-card__hint::after,
#studentRetentionCheckinSection:focus-within .profile-info-card__hint::after,
#studentDropoutSupportSection:hover .profile-info-card__hint::after,
#studentDropoutSupportSection:focus-within .profile-info-card__hint::after {
  transform: none;
}

#studentRetentionCheckinSection[data-open="true"] .profile-info-card__hint::after,
#studentDropoutSupportSection[data-open="true"] .profile-info-card__hint::after {
  transform: rotate(180deg);
}

#studentRetentionCheckinSection:hover .profile-info-card__body,
#studentRetentionCheckinSection:focus-within .profile-info-card__body,
#studentDropoutSupportSection:hover .profile-info-card__body,
#studentDropoutSupportSection:focus-within .profile-info-card__body {
  grid-template-rows: 0fr;
  opacity: 0.58;
  margin-top: 0;
}

#studentRetentionCheckinSection[data-open="true"] .profile-info-card__body,
#studentDropoutSupportSection[data-open="true"] .profile-info-card__body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.85rem;
}

.profile-info-card__body-inner {
  min-height: 0;
  overflow: hidden;
}

.profile-info-card__body-inner p {
  margin: 0.55rem 0 0;
}

.profile-info-card__body-inner p:first-child {
  margin-top: 0;
}

.profile-info-card__body-inner hr {
  margin: 0.85rem 0;
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.profil-card-area--short-profile .profil-chips-section {
  padding: clamp(0.9rem, 1.7vw, 1.15rem) clamp(1rem, 1.8vw, 1.25rem);
}

.profil-card-area--short-profile .profile-info-card:hover,
.profil-card-area--short-profile .profile-info-card:focus-within {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.profil-card-area--short-profile .profile-info-card:hover::after,
.profil-card-area--short-profile .profile-info-card:focus-within::after {
  transform: scaleX(0);
}

.profil-card-area--short-profile .profile-info-card[data-open="true"] {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.profil-card-area--short-profile .profile-info-card[data-open="true"]::after {
  transform: scaleX(1);
}

.profil-card-area--short-profile .profile-info-card:hover .profile-info-card__hint::after,
.profil-card-area--short-profile .profile-info-card:focus-within .profile-info-card__hint::after {
  transform: none;
}

.profil-card-area--short-profile .profile-info-card[data-open="true"] .profile-info-card__hint::after {
  transform: rotate(180deg);
}

.profil-card-area--short-profile .profile-info-card:hover .profile-info-card__body,
.profil-card-area--short-profile .profile-info-card:focus-within .profile-info-card__body {
  grid-template-rows: 0fr;
  opacity: 0.58;
  margin-top: 0;
}

.profil-card-area--short-profile .profile-info-card[data-open="true"] .profile-info-card__body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.72rem;
}

.profil-card-area--short-profile .profile-info-card__toggle {
  align-items: center;
}

.profil-card-area--short-profile .profile-info-card__subheadline {
  max-width: 38ch;
}

.firm-quick-profile-preview {
  display: grid;
  gap: 0.95rem;
}

.firm-quick-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.firm-quick-profile-grid strong,
.firm-quick-profile-preview strong,
.firm-quick-profile-editor__label {
  display: block;
  margin-bottom: 0.3rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.firm-quick-profile-grid span {
  color: #0f172a;
  line-height: 1.5;
}

.firm-quick-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.firm-quick-profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.8);
  color: #1d4ed8;
  font-size: 0.88rem;
  line-height: 1.35;
}

.firm-quick-profile-chip--benefit {
  background: rgba(220, 252, 231, 0.85);
  color: #166534;
}

.firm-quick-profile-chip--muted {
  background: rgba(241, 245, 249, 0.92);
  color: #64748b;
}

.firm-quick-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.firm-quick-profile-status {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(219, 234, 254, 0.72);
  color: #1d4ed8;
  line-height: 1.55;
}

.firm-quick-profile-note {
  margin: 1rem 0 0;
  color: #64748b;
  line-height: 1.6;
}

.firm-quick-profile-editor {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.firm-quick-profile-editor__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.firm-quick-profile-editor__field {
  min-width: 0;
}

.firm-quick-profile-editor__field--full {
  grid-column: 1 / -1;
}

.firm-quick-profile-editor__field--readonly {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.9);
}

.firm-quick-profile-editor__static {
  margin: 0;
  color: #0f172a;
  line-height: 1.5;
}

.firm-quick-profile-editor__textarea {
  min-height: 110px;
  resize: vertical;
}

.profil-chips-label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #7c8fa6;
  text-transform: uppercase;
}

.profil-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.profil-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.chip-blue   { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.chip-purple { background: #f5f3ff; border-color: #ddd6fe; color: #6d28d9; }
.chip-green  { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.chip-teal   { background: #f0fdfa; border-color: #99f6e4; color: #0f766e; }
.chip-orange { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.chip-pink   { background: #fdf2f8; border-color: #f9a8d4; color: #be185d; }

/* Document buttons */
.profil-docs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profil-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.52rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  border: 1.5px solid #c7d7f4;
  color: #1d4ed8;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  min-width: 0;
}

.profil-doc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
  background: #eff6ff;
}

.profil-doc-btn small {
  font-weight: 400;
  opacity: 0.75;
  font-size: 0.8rem;
}

/* Section heading for messages */
.profil-section-heading {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #1e3a8a;
}

.profil-messages-panel {
  margin-top: 0;
}

/* Greeting toast */
.profil-greeting-toast {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(-14px);
  background: linear-gradient(135deg, #3b6fd4, #4a9af5 60%, #a78bfa);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
  z-index: 200;
  white-space: nowrap;
}

.profil-greeting-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Floating edit button on hero card */
.profil-float-edit-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, transform 160ms ease;
  line-height: 1;
}

.profil-float-edit-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.1);
}

/* Inline edit form */
.profil-edit-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.1rem 1rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.profil-edit-hint {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

.profil-edit-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Beruf list for firm portal */
.beruf-add-wrapper {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.beruf-add-wrapper .input {
  flex: 1;
  margin: 0;
}

.beruf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
  min-height: 24px;
}

.beruf-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.beruf-name {
  display: block;
}

.beruf-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  border: none;
  background: rgba(156, 163, 175, 0.15);
  color: #6b7280;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.beruf-remove-btn:hover {
  background: rgba(156, 163, 175, 0.3);
  color: #374151;
  transform: scale(1.1);
}

@media (max-width: 860px) {
  .profil-card-area--short-profile {
    width: 100%;
  }

  .profil-hero-card--short-profile {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .profil-hero-card__top {
    flex-basis: auto;
  }

  .profil-hero-card__sections {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .profil-hero-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.2rem 1rem;
  }

  .profil-hero-card__top {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .profil-account-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .profil-account-actions {
    width: 100%;
  }

  .profil-account-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    white-space: normal;
  }
}

.btn.small {
  min-width: 0;
  padding: 0.65rem 1rem;
  font-size: var(--ui-font-sm);
  min-height: calc(var(--ui-touch-min) - 0.25rem);
  border-radius: 8px;
}

.auth-actions {
  justify-content: flex-start;
}

.auth-actions .btn.primary {
  min-width: auto;
  padding: 0.75rem 1.5rem;
}

.auth-register-extra {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.auth-register-extra .form-label {
  margin: 0;
}

.auth-register-extra .input,
.auth-register-extra .password-field,
.auth-register-extra .bewerber-checkbox-row,
.auth-register-extra .firma-checkbox-row,
.auth-register-extra .actions {
  width: 100%;
}

.bewerber-auth-card .actions.auth-actions,
.firma-auth-card .actions.auth-actions {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.bewerber-auth-card .actions.auth-actions .btn,
.firma-auth-card .actions.auth-actions .btn {
  width: 100%;
  justify-content: center;
}

.auth-register-extra .field-hint,
.auth-register-extra .status {
  margin: 0;
}

.auth-register-extra .actions {
  margin-top: 0.2rem;
}

.auth-register-extra .actions .btn {
  width: 100%;
  justify-content: center;
}

.bewerber-auth-card.is-registering,
.firma-auth-card.is-registering {
  gap: 0.65rem;
}

.bewerber-auth-card.is-registering .auth-register-extra,
.firma-auth-card.is-registering .auth-register-extra {
  margin-top: 0.15rem;
  gap: 0.68rem;
  border-color: rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
}

.bewerber-auth-card.is-registering > .auth-actions,
.firma-auth-card.is-registering > .auth-actions {
  margin-top: 0.1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.bewerber-auth-card.is-registering #btnShowRegister,
.firma-auth-card.is-registering #btnFirmShowRegister {
  display: none;
}

.bewerber-auth-card.is-registering .input,
.bewerber-auth-card.is-registering .password-field,
.firma-auth-card.is-registering .input,
.firma-auth-card.is-registering .password-field {
  width: 100%;
}

.animated-disclosure {
  display: block !important;
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  padding: 0 0.8rem;
  border-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: max-height 300ms ease, opacity 220ms ease, transform 220ms ease, margin 220ms ease, padding 220ms ease, border-width 220ms ease;
}

.animated-disclosure.is-open {
  max-height: 60rem;
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-width: 1px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.panel-entrance {
  animation: panel-entrance 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes panel-entrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.message-box {
  min-height: 90px;
  resize: vertical;
}

.form-label {
  display: block;
  margin: 1rem 0 0.45rem;
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.96rem;
  background: #ffffff;
  color: #1f2937;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.input::placeholder {
  color: #9ca3af;
}

.input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background-color: #f9fafb;
}

.password-field {
  position: relative;
}

.password-field .input {
  padding-right: 2.9rem;
}

.pw-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #2563eb;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.pw-toggle:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.pw-toggle:active {
  transform: translateY(-50%) scale(0.97);
}

.pw-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.link-btn {
  line-height: 1.4;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideHeadline {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.04);
  }
}

.site-header,
.hero > * {
  opacity: 0;
  transform: translateY(16px);
}

.hero > .casual-title {
  transform: translateX(-34px);
}

body.page-ready .site-header {
  animation: rise 500ms ease-out forwards;
}

body.page-ready .hero > * {
  animation: rise 500ms ease-out forwards;
}

body.page-ready .hero > *:nth-child(1) { animation: rise 500ms 70ms ease-out forwards; }
body.page-ready .hero > *:nth-child(2) { animation: rise 500ms 130ms ease-out forwards; }
body.page-ready .hero > *:nth-child(3) { animation: rise 500ms 190ms ease-out forwards; }
body.page-ready .hero > *:nth-child(4) { animation: rise 500ms 250ms ease-out forwards; }
body.page-ready .hero > *:nth-child(5) { animation: rise 500ms 310ms ease-out forwards; }
body.page-ready .hero > *:nth-child(6) { animation: rise 500ms 370ms ease-out forwards; }
body.page-ready .hero > *:nth-child(7) { animation: rise 500ms 430ms ease-out forwards; }
body.page-ready .hero > *:nth-child(8) { animation: rise 500ms 490ms ease-out forwards; }
body.page-ready .hero > *:nth-child(9) { animation: rise 500ms 550ms ease-out forwards; }
body.page-ready .hero > *:nth-child(10) { animation: rise 500ms 610ms ease-out forwards; }

body.page-ready .hero > .casual-title {
  animation: slideHeadline 680ms 130ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stats-section {
  margin-top: 1.6rem;
  text-align: center;
  overflow: hidden;
  max-height: 98px;
  transition: max-height 700ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease, border-color 420ms ease;
}

.stats-section h2 {
  margin: 0;
  font-size: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: max-height 760ms cubic-bezier(0.16, 1, 0.3, 1), opacity 560ms ease, transform 560ms ease;
}

.stats-section:hover,
.stats-section:focus-within {
  max-height: 560px;
  border-color: #b6c7da;
  box-shadow: 0 14px 30px rgba(33, 56, 94, 0.12);
}

.stats-section:hover .stats-grid,
.stats-section:focus-within .stats-grid {
  margin-top: 1.2rem;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.1) 0%, rgba(255, 93, 177, 0.05) 100%);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1vw, 18px);
  padding: calc(var(--ui-card-pad) - 0.1rem) calc(var(--ui-card-pad) - 0.25rem);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  filter: blur(1.4px);
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.stats-section:hover .stat-card,
.stats-section:focus-within .stat-card {
  opacity: 1;
  transform: translateY(-4px) scale(1);
  filter: blur(0);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.15) 0%, rgba(243, 232, 255, 0.08) 100%);
}

.stats-section:hover .stat-card::after,
.stats-section:focus-within .stat-card::after {
  transform: scaleX(1);
}

.stats-section:hover .stat-card:nth-child(1),
.stats-section:focus-within .stat-card:nth-child(1) {
  transition-delay: 90ms;
}

.stats-section:hover .stat-card:nth-child(2),
.stats-section:focus-within .stat-card:nth-child(2) {
  transition-delay: 180ms;
}

.stats-section:hover .stat-card:nth-child(3),
.stats-section:focus-within .stat-card:nth-child(3) {
  transition-delay: 270ms;
}

.stats-section:hover .stat-card:nth-child(4),
.stats-section:focus-within .stat-card:nth-child(4) {
  transition-delay: 360ms;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.stat-number {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lehrberufe-page {
  padding-bottom: 3rem;
}

.lehrberufe-page .site-header,
.lehrberufe-page .hero,
.lehrberufe-grid-outer {
  width: min(1120px, 92vw);
}

.lehrberufe-hero {
  margin-bottom: 1.2rem;
}

.lehrberufe-filters {
  width: min(1120px, 92vw);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 auto 0.95rem;
  justify-content: center;
}

.lehrberufe-chip {
  border: 1px solid #c9d7e8;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 255, 0.9));
  color: #2d4869;
  border-radius: 999px;
  padding: 0.38rem 0.76rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.lehrberufe-chip:hover {
  transform: translateY(-1px);
  border-color: #9eb5cf;
  box-shadow: 0 8px 16px rgba(29, 58, 94, 0.12);
}

.lehrberufe-chip:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.lehrberufe-chip.is-active {
  color: #f8fbff;
  border-color: #315882;
  background: linear-gradient(135deg, #214670 0%, #3d6898 100%);
  box-shadow: 0 10px 20px rgba(33, 70, 112, 0.2);
}

.lehrberufe-grid-outer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lehrberuf-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(253, 255, 255, 0.92) 0%, rgba(245, 249, 255, 0.9) 100%);
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(30, 58, 110, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.lehrberuf-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.lehrberuf-card:hover,
.lehrberuf-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 18px 36px rgba(30, 58, 110, 0.15);
  background: linear-gradient(160deg, rgba(224, 242, 254, 0.96) 0%, rgba(239, 246, 255, 0.94) 100%);
}

.lehrberuf-card:hover::after,
.lehrberuf-card:focus-within::after {
  transform: scaleX(1);
}

.lehrberuf-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.lehrberuf-card p {
  margin: 0 0 0.7rem;
  color: #435266;
  line-height: 1.55;
}

.lehrberuf-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #334155;
  display: grid;
  gap: 0.35rem;
}

.lehrberuf-card.is-selected {
  border-color: #4f7aa6;
  box-shadow: 0 0 0 2px rgba(79, 122, 166, 0.2), 0 20px 34px rgba(26, 51, 84, 0.16);
  transform: translateY(-2px);
}

.lehrberuf-card.is-recommended {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 22px 36px rgba(30, 64, 175, 0.14);
}

@media (max-width: 920px) {
  .lehrberufe-filters {
    justify-content: flex-start;
  }

  .lehrberufe-grid-outer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 10px;
  }

  .page-doodle {
    display: none;
  }

  .top-nav {
    gap: 0.7rem;
  }

  .hero {
    padding: 0.85rem;
    margin-top: 14px;
  }

  .trend-tags {
    justify-content: center;
  }

  .theme-photos {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .theme-photo-card img {
    height: 130px;
  }

  .actions {
    flex-direction: column;
  }

  .cta-panel-main {
    padding: 0.8rem;
    border-radius: 18px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .cta-btn {
    min-height: 62px;
    font-size: 1.02rem;
  }

  .beruf-carousel {
    gap: 0.3rem;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  .timeline {
    max-height: none;
  }

  .steps-grid {
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .step-card {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .secondary-info {
    max-height: none;
  }

  .secondary-info .feature-card {
    max-height: none;
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    border-width: 1px;
    transition: none;
  }

  .stats-section {
    max-height: none;
  }

  .stats-grid {
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 1.2rem;
  }

  .stat-card {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ============================================================
   STARTSEITE / LANDING PAGE
   ============================================================ */

/* ============================================================
   UNIFIED PROJECT THEME 2026
   ============================================================ */

:root {
  --theme-bg-top: #f7fbff;
  --theme-bg-mid: #eef4ff;
  --theme-bg-bottom: #f8fafc;
  --theme-surface: rgba(255, 255, 255, 0.9);
  --theme-surface-strong: rgba(255, 255, 255, 0.96);
  --theme-border: rgba(148, 163, 184, 0.18);
  --theme-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
  --theme-shadow-soft: 0 10px 30px rgba(37, 99, 235, 0.1);
  --theme-title: #14233b;
  --theme-text: #334155;
  --theme-muted: #64748b;
  --ui-font-xs: clamp(0.74rem, 0.2vw + 0.71rem, 0.88rem);
  --ui-font-sm: clamp(0.88rem, 0.28vw + 0.82rem, 1rem);
  --ui-font-md: clamp(0.98rem, 0.38vw + 0.9rem, 1.12rem);
  --ui-font-lg: clamp(1.08rem, 0.62vw + 0.95rem, 1.35rem);
  --ui-font-xl: clamp(1.24rem, 1vw + 1rem, 1.8rem);
  --ui-space-xs: clamp(0.4rem, 0.4vw, 0.68rem);
  --ui-space-sm: clamp(0.65rem, 0.72vw, 1rem);
  --ui-space-md: clamp(0.95rem, 0.95vw, 1.35rem);
  --ui-space-lg: clamp(1.2rem, 1.45vw, 1.8rem);
  --ui-card-pad: clamp(0.95rem, 0.78vw + 0.72rem, 1.45rem);
  --ui-card-radius: clamp(16px, 1.2vw, 24px);
  --ui-touch-min: clamp(2.65rem, 1.3vw + 2.2rem, 3.15rem);
  --ui-button-min: clamp(10.5rem, 22vw, 18rem);
  --shell-max: 1180px;
  --shell-wide-max: 1240px;
  --shell-narrow-max: 760px;
  --shell-gutter: clamp(16px, 2.4vw, 32px);
}

@media (max-height: 620px), (min-aspect-ratio: 21/9) and (max-height: 900px) {
  :root {
    --ui-font-xs: clamp(0.7rem, 0.16vw + 0.68rem, 0.82rem);
    --ui-font-sm: clamp(0.82rem, 0.24vw + 0.78rem, 0.94rem);
    --ui-font-md: clamp(0.92rem, 0.32vw + 0.86rem, 1.04rem);
    --ui-font-lg: clamp(1rem, 0.45vw + 0.9rem, 1.22rem);
    --ui-font-xl: clamp(1.12rem, 0.72vw + 0.96rem, 1.55rem);
    --ui-space-xs: clamp(0.32rem, 0.28vw, 0.52rem);
    --ui-space-sm: clamp(0.52rem, 0.45vw, 0.8rem);
    --ui-space-md: clamp(0.8rem, 0.62vw, 1.08rem);
    --ui-space-lg: clamp(0.95rem, 0.9vw, 1.35rem);
    --ui-card-pad: clamp(0.82rem, 0.55vw + 0.62rem, 1.15rem);
    --ui-button-min: clamp(8.75rem, 16vw, 13rem);
    --ui-touch-min: clamp(2.35rem, 1vw + 2rem, 2.8rem);
  }
}

@media (max-aspect-ratio: 4/5) {
  :root {
    --ui-font-xs: clamp(0.72rem, 0.34vw + 0.68rem, 0.84rem);
    --ui-font-sm: clamp(0.84rem, 0.46vw + 0.78rem, 0.96rem);
    --ui-font-md: clamp(0.94rem, 0.6vw + 0.84rem, 1.06rem);
    --ui-font-lg: clamp(1.02rem, 0.84vw + 0.9rem, 1.26rem);
    --ui-font-xl: clamp(1.16rem, 1.12vw + 0.96rem, 1.6rem);
    --ui-space-sm: clamp(0.58rem, 0.65vw, 0.88rem);
    --ui-space-md: clamp(0.84rem, 0.82vw, 1.16rem);
    --ui-card-pad: clamp(0.88rem, 0.75vw + 0.66rem, 1.2rem);
    --ui-button-min: clamp(8.9rem, 44vw, 13.5rem);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(191, 219, 254, 0.45), transparent 28%),
    radial-gradient(circle at top right, rgba(224, 231, 255, 0.52), transparent 24%),
    linear-gradient(180deg, var(--theme-bg-top) 0%, var(--theme-bg-mid) 45%, var(--theme-bg-bottom) 100%) !important;
  color: var(--theme-text);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.085) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.08) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.08) 55%, transparent 100%);
  opacity: 0.75;
}

.azubimatch-header {
  position: relative;
  width: min(var(--shell-max), calc(100vw - var(--shell-gutter))) !important;
  max-width: var(--shell-max) !important;
  margin: 1.35rem auto 1.45rem !important;
  padding: clamp(1.7rem, 4vw, 2.9rem) clamp(1rem, 4vw, 2.4rem) !important;
  border-radius: 32px !important;
  border: 1px solid rgba(191, 219, 254, 0.95) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 248, 255, 0.95) 54%, rgba(235, 243, 255, 0.92) 100%) !important;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.1), 0 10px 24px rgba(37, 99, 235, 0.08) !important;
  overflow: hidden;
  isolation: isolate;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.azubimatch-header::before,
.azubimatch-header::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  opacity: 0.7;
}

.azubimatch-header::before {
  width: 220px;
  height: 220px;
  top: -110px;
  right: -40px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.24) 0%, rgba(96, 165, 250, 0.05) 60%, transparent 72%);
}

.azubimatch-header::after {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.34) 0%, rgba(191, 219, 254, 0.05) 64%, transparent 78%);
}

.azubimatch-header h1 {
  margin: 0;
}

.azubimatch-header-title,
.azubimatch-header h1,
.azubimatch-header h1 span {
  color: var(--theme-title) !important;
  font-size: clamp(1.8rem, 3vw, 2.7rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
  font-weight: 800 !important;
  overflow-wrap: anywhere;
}

.azubimatch-header-badge {
  margin-top: 1rem;
  margin-bottom: 1rem !important;
  padding: 0.45rem 1rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: #1d4ed8 !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 20px rgba(59, 130, 246, 0.08);
}

.azubimatch-header-sub {
  max-width: 760px !important;
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
  color: var(--theme-muted) !important;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem) !important;
  line-height: 1.65 !important;
}

.azubimatch-header > p:not(.azubimatch-header-sub) {
  max-width: 760px !important;
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
  color: var(--theme-muted) !important;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem) !important;
  line-height: 1.65 !important;
}

.start-wrapper,
.hero,
.portal-page,
.training-list,
.login-container,
.company-info-box,
.lehrberufe-grid-outer,
.lehrberufe-filters,
.profil-panel,
.profil-account-bar,
main[style*="max-width:1100px"],
main[style*="max-width:1200px"] {
  width: min(var(--shell-max), calc(100vw - var(--shell-gutter))) !important;
  max-width: var(--shell-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-header,
.profil-account-bar,
.company-info-box,
.login-container,
.training-list,
.admin-header,
.admin-tabs,
.user-table,
.accordion-info,
.accordion-content,
.lehrberufe-filters,
.lehrberufe-grid-outer,
.panel,
.timeline,
.stats-section,
.cta-panel-main,
.beruf-card,
.feature-card,
.secondary-info,
.step-card,
.theme-photo-card,
.admin-stat-card {
  background: var(--theme-surface-strong) !important;
  border: 1px solid var(--theme-border) !important;
  border-radius: 24px !important;
  box-shadow: var(--theme-shadow) !important;
}

.site-header,
.company-info-box,
.login-container,
.training-list,
.lehrberufe-filters,
.lehrberufe-grid-outer,
.admin-header,
.admin-tabs {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero,
.portal-page {
  position: relative;
  z-index: 1;
}

.portal-page,
.hero.portal-page,
.hero.single-column,
.hero.lehrberufe-hero,
.hero.profil-page {
  padding: 0 0 2.25rem !important;
}

.eyebrow {
  color: #2563eb !important;
  letter-spacing: 0.16em !important;
  font-weight: 800 !important;
  font-size: 0.83rem !important;
  text-transform: uppercase;
}

.lead {
  color: var(--theme-muted) !important;
  line-height: 1.72 !important;
}

.panel {
  padding: 1.15rem !important;
}

.panel h2,
.login-container h2,
.training-list h1,
.admin-header h2,
.admin-main h1,
.admin-main h2,
.admin-main h3 {
  color: var(--theme-title) !important;
}

.btn,
button,
.login-container button,
.admin-nav button,
.admin-tabs button,
.edit-btn,
.save-btn,
.cancel-btn {
  border-radius: 14px !important;
}

.btn.primary,
.login-container button,
.edit-btn,
.save-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(37, 99, 235, 0.9) !important;
  box-shadow: var(--theme-shadow-soft) !important;
}

.btn.ghost,
.cancel-btn,
.admin-tabs button,
.admin-nav button {
  background: rgba(248, 250, 252, 0.92) !important;
  color: #334155 !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
}

.input,
input,
select,
textarea,
.login-container input,
.user-table input {
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  background: rgba(248, 250, 252, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.input:focus,
input:focus,
select:focus,
textarea:focus,
.login-container input:focus,
.user-table input:focus {
  border-color: rgba(37, 99, 235, 0.62) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}

body.auth-page .login-container,
body.admin-page .admin-header,
body.admin-page .admin-tabs,
body.admin-page .admin-stat-card,
body.admin-page .user-table,
body.admin-page .admin-main {
  position: relative;
  z-index: 1;
}

body.admin-page .admin-layout {
  background: transparent !important;
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  min-height: 100vh;
  width: 100%;
}

body.admin-page .admin-layout[hidden] {
  display: none !important;
}

body.admin-page .admin-sidebar {
  background: linear-gradient(180deg, #10233d 0%, #162f52 100%) !important;
  border-right: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
  padding: 0.55rem clamp(0.8rem, 2.2vw, 1.3rem);
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

body.admin-page .admin-main {
  padding: clamp(0.65rem, 1.9vw, 1.1rem) clamp(0.85rem, 2.2vw, 1.4rem) !important;
  max-width: 1240px;
  margin: 0 auto;
}

body.admin-page .admin-stat-card,
body.admin-page .admin-header,
body.admin-page .admin-tabs {
  background: rgba(255, 255, 255, 0.94) !important;
}

body.admin-page .admin-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  flex: 1 1 auto;
}

body.admin-page .admin-nav li {
  margin: 0;
  width: auto;
  flex: 0 0 auto;
}

body.admin-page .admin-nav .admin-nav-btn,
body.admin-page .admin-nav button {
  display: flex !important;
  align-items: center;
  gap: var(--ui-space-sm);
  width: auto;
  min-width: 0;
  justify-content: center;
  text-align: center;
  padding: 0.34rem 0.58rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  min-height: 1.84rem;
  box-sizing: border-box;
  white-space: nowrap;
}

body.admin-page .admin-nav-label {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: 0;
}

body.admin-page .admin-nav-item--logout {
  margin-left: auto;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.admin-page .admin-nav .admin-nav-btn.active,
body.admin-page .admin-nav button.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  border-color: rgba(37, 99, 235, 0.9) !important;
}

body.admin-page .admin-nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

body.admin-page .admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.admin-page .admin-header--hero {
  background: linear-gradient(90deg, #2563eb 0%, #22c3ff 100%) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.07) !important;
  padding: 0.62rem 0.85rem !important;
  gap: 0.55rem !important;
  border-radius: 12px !important;
}

body.admin-page .admin-header__copy {
  min-width: 0;
}

body.admin-page .admin-header__meta {
  margin: 0.35rem 0 0;
  color: #64748b;
  line-height: 1.55;
}

body.admin-page .admin-header__meta--hero {
  color: rgba(255, 255, 255, 0.84);
  margin-top: 0.18rem !important;
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
}

body.admin-page .admin-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

body.admin-page .admin-header-link {
  text-decoration: none;
}

body.admin-page .admin-header-title--hero {
  color: #fff !important;
}

body.admin-page .admin-header--hero .admin-header-title--hero {
  font-size: clamp(1.18rem, 0.7vw + 1rem, 1.45rem) !important;
  line-height: 1.12 !important;
}

body.admin-page .admin-tab .admin-header--hero .admin-header-title--hero {
  font-size: clamp(1.08rem, 0.5vw + 0.94rem, 1.3rem) !important;
  line-height: 1.08 !important;
  margin-bottom: 0.2rem !important;
}

body.admin-page .admin-header--hero .admin-header-link {
  min-height: 1.95rem !important;
  padding: 0.42rem 0.7rem !important;
  font-size: 0.82rem !important;
  border-radius: 10px !important;
}

body.admin-page .admin-tab--hidden,
body.admin-page .admin-empty--hidden {
  display: none;
}

body.admin-page .admin-section-divider {
  margin: 2em 0;
}

body.admin-page .admin-settings-form {
  max-width: 400px;
}

body.admin-page .admin-settings-submit {
  width: 100%;
  margin-top: 1rem;
}

body.admin-page .admin-settings-status {
  margin-top: 1rem;
}

body.admin-page .admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

body.admin-page .admin-dashboard-panel {
  min-height: 100%;
}

body.admin-page .admin-dashboard-panel__header {
  margin-bottom: 1rem;
}

body.admin-page .admin-dashboard-panel__header h3 {
  margin: 0;
}

body.admin-page .admin-dashboard-panel__header p {
  margin: 0.35rem 0 0;
  color: #64748b;
}

body.admin-page .admin-dashboard-priority-list,
body.admin-page .admin-dashboard-activity-list {
  display: grid;
  gap: 0.85rem;
}

body.admin-page .admin-priority-item,
body.admin-page .admin-activity-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.88);
}

body.admin-page .admin-priority-item--urgent {
  border-color: rgba(239, 68, 68, 0.22);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.96));
}

body.admin-page .admin-priority-item--warning {
  border-color: rgba(245, 158, 11, 0.22);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.92), rgba(255, 255, 255, 0.96));
}

body.admin-page .admin-priority-item--info {
  border-color: rgba(37, 99, 235, 0.16);
}

body.admin-page .admin-priority-item__content,
body.admin-page .admin-activity-item__content {
  min-width: 0;
}

body.admin-page .admin-priority-item__title,
body.admin-page .admin-activity-item__title {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}

body.admin-page .admin-priority-item__text,
body.admin-page .admin-activity-item__text {
  margin: 0.35rem 0 0;
  color: #475569;
  line-height: 1.45;
}

body.admin-page .admin-priority-item__count,
body.admin-page .admin-activity-item__time {
  white-space: nowrap;
  font-weight: 700;
  color: #1d4ed8;
}

body.admin-page .admin-dashboard-empty {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.88);
  color: #64748b;
  border: 1px dashed rgba(148, 163, 184, 0.34);
}

body.admin-page .admin-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

body.admin-page .admin-item__main {
  min-width: 0;
}

body.admin-page .admin-item__quick-action {
  margin-top: 0.7em;
}

body.admin-page .admin-folder-item {
  background: #eff6ff !important;
  border: 1px dashed #93c5fd !important;
}

body.admin-page .admin-folder-item__title {
  margin: 0;
  color: #1e3a8a !important;
}

body.admin-page .admin-folder-item__text {
  margin: 0.35rem 0 0;
  color: #475569 !important;
}

body.admin-page .admin-documents-box {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

body.admin-page .admin-documents-box__title {
  margin: 0 0 0.6rem;
  font-weight: 600;
  color: #1f2937;
}

body.admin-page .admin-documents-box__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

body.admin-page .admin-documents-box__summary-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 600;
}

body.admin-page .admin-documents-box__list {
  display: grid;
  gap: 0.6rem;
}

body.admin-page .admin-documents-box__item {
  padding: 0.75rem 0.8rem;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
}

body.admin-page .admin-documents-box__item--missing {
  border-color: #fde68a;
  background: #fffbeb;
}

body.admin-page .admin-documents-box__item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

body.admin-page .admin-documents-box__item-title {
  color: #0f172a;
  font-weight: 600;
}

body.admin-page .admin-documents-box__item-meta {
  margin: 0.45rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.admin-page .admin-documents-box__item-action {
  border: none;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

body.admin-page .admin-documents-box__item-action:hover {
  background: #1d4ed8;
}

body.admin-page .admin-documents-box__item-action--passive {
  background: #e2e8f0;
  color: #475569;
  cursor: default;
}

body.admin-page .admin-documents-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.admin-page .admin-documents-box__followup {
  margin-top: 0.8rem;
}

body.admin-page .admin-documents-box__followup--compact {
  margin-top: 0.55rem;
}

body.admin-page .admin-documents-box__result {
  margin-top: 0.8rem;
}

body.admin-page .admin-firm-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 0.35rem;
}

body.admin-page .admin-match-empty {
  color: #64748b;
  text-align: center;
}

body.admin-page .admin-match-summary {
  text-align: center;
  font-size: 1.08rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 0.7em;
}

body.admin-page .admin-match-summary__count {
  font-size: 1.13rem;
  font-weight: 700;
}

body.admin-page .admin-match-card {
  background: #f1f5fa;
  border-radius: clamp(12px, 1vw, 18px);
  padding: calc(var(--ui-card-pad) - 0.05rem) calc(var(--ui-card-pad) + 0.1rem);
  margin-bottom: 1.1rem;
  box-shadow: 0 1px 6px #e0e7ef22;
  border: 2.5px solid #2563eb33;
  min-width: 0;
  max-width: none;
  width: 100%;
}

body.admin-page .admin-match-card__title {
  font-size: var(--ui-font-md);
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.7rem;
}

body.admin-page .admin-match-card__badge {
  margin-left: 1em;
  font-size: var(--ui-font-sm);
  font-weight: 500;
  color: #0e7490;
  background: #cffafe;
  padding: 0.18em 0.8em;
  border-radius: 999px;
  vertical-align: middle;
}

body.admin-page .admin-match-card__content {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

body.admin-page .admin-match-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.admin-page .admin-match-list__item {
  margin-bottom: 0.7em;
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  flex-wrap: wrap;
}

body.admin-page .admin-match-list__empty {
  color: #cbd5e1;
}

body.admin-page .admin-match-tag {
  display: inline-block;
  padding: 0.18em 0.7em;
  border-radius: 8px;
  font-size: var(--ui-font-sm);
  font-weight: 600;
}

body.admin-page .admin-match-tag--firm {
  background: #dbeafe;
  color: #2563eb;
}

body.admin-page .admin-match-tag--student {
  background: #fef9c3;
  color: #b45309;
}

body.admin-page .admin-match-tag--inclusion {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

body.admin-page .admin-match-name {
  font-size: var(--ui-font-md);
  font-weight: 700;
  color: #1e293b;
}

body.admin-page .admin-match-profession {
  color: #64748b;
  font-size: var(--ui-font-sm);
}

body.admin-page .admin-match-separator {
  margin: 0 0.5em;
}

body.auth-page .login-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 2rem 1.7rem !important;
}

body.matching-page .portal-page,
body.lehrberufe-page .hero,
body.home-page .hero,
body.startseite-page .start-wrapper {
  width: min(1180px, calc(100vw - 32px)) !important;
  max-width: 1180px !important;
}

.firm-match-tile {
  margin: 0 auto 1.2rem auto;
  padding: 1.2rem 1.2rem 1rem 1.2rem;
  max-width: 860px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243,247,252,0.95));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.firm-match-locked-callout {
  margin: 0 auto 1.2rem auto;
  padding: 1.2rem;
  max-width: 860px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.94) 54%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 1rem;
}

.firm-match-locked-callout__hero {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.firm-match-locked-callout__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(219, 234, 254, 0.7));
  border: 1px solid rgba(96, 165, 250, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.firm-match-locked-callout__eyebrow {
  margin: 0 0 0.28rem;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.firm-match-locked-callout__count {
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
}

.firm-match-locked-callout__count-label {
  margin: 0.35rem 0 0;
  color: #1e3a8a;
  font-size: 0.95rem;
  font-weight: 700;
}

.firm-match-locked-callout__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

.firm-match-locked-callout__title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.1rem, 1vw + 0.95rem, 1.45rem);
  line-height: 1.18;
}

.firm-match-locked-callout__text {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.firm-match-locked-callout__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.firm-match-locked-callout__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
}

.firm-match-locked-callout__chip--strong {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
  color: #1d4ed8;
}

.firm-match-locked-callout__preview {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.firm-match-locked-callout__preview-label {
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

.firm-match-locked-callout__preview-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.firm-match-locked-callout__preview-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #475569;
  line-height: 1.6;
}

.firm-match-locked-callout__preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.firm-match-tile:hover,
.firm-match-tile:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.28);
}

.firm-match-tile__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.firm-match-tile__eyebrow,
.student-request-card__eyebrow {
  margin: 0 0 0.2rem 0;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.firm-match-tile__title,
.student-request-card__title {
  margin: 0;
  color: #0f172a;
}

.firm-match-tile__subtitle {
  margin: 0.28rem 0 0 0;
  color: #475569;
}

.firm-match-tile__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.firm-match-tile__compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(56, 189, 248, 0.22));
  border: 1px solid rgba(96, 165, 250, 0.45);
}

.firm-match-tile__compact-title {
  margin: 0;
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 800;
}

.firm-match-tile__hint {
  margin: 0.45rem 0 0 0;
  color: #475569;
  font-size: 0.9rem;
}

.firm-match-chip,
.student-request-benefit,
.firm-student-document-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.75);
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.firm-match-chip--primary {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.firm-match-chip--inclusion {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

.firm-match-tile__inclusion-detail {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding: 0.4rem 0.7rem;
  background: rgba(220, 252, 231, 0.55);
  border: 1px solid rgba(134, 239, 172, 0.7);
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.firm-match-tile__inclusion-label {
  font-weight: 700;
  color: #166534;
  white-space: nowrap;
}

.firm-match-tile__inclusion-label::after {
  content: ':';
}

.firm-match-tile__inclusion-value {
  color: #14532d;
}

.firm-match-chip--alternative {
  background: rgba(243, 232, 255, 0.96);
  color: #7c3aed;
}

.firm-match-chip--activated {
  background: rgba(204, 251, 241, 0.96);
  color: #0f766e;
}

.firm-match-chip--score-strong {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.firm-match-chip--score-medium {
  background: rgba(254, 243, 199, 0.96);
  color: #b45309;
}

.firm-match-chip--score-light {
  background: rgba(226, 232, 240, 0.92);
  color: #475569;
}

.firm-match-tile__details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0.7;
  transition: grid-template-rows 0.26s ease, opacity 0.2s ease, margin-top 0.26s ease;
  margin-top: 0.35rem;
}

.firm-match-tile.is-expanded .firm-match-tile__details {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 1rem;
}

.firm-match-tile__details-inner {
  min-height: 0;
  overflow: hidden;
}

.firm-match-detail-grid {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.firm-match-detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.firm-match-detail-grid > div strong,
.student-request-company-grid > div strong {
  color: #0f172a;
  font-size: 0.92rem;
}

.firm-match-detail-grid > div span,
.student-request-company-grid > div span,
.student-request-card__hint,
.student-request-card__date,
.firm-match-request-info {
  color: #475569;
}

.firm-match-detail-grid__full {
  grid-column: 1 / -1;
}

.firm-match-tile__footer {
  margin-top: 1rem;
}

.request-btn-area {
  display: flex;
  justify-content: center;
}

.firm-match-request-info {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(219, 234, 254, 0.8);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-weight: 600;
  text-align: center;
}

.firm-match-request-info--success {
  background: rgba(220, 252, 231, 0.86);
  border-color: rgba(34, 197, 94, 0.35);
  color: #166534;
}

.firm-match-request-info--payment {
  background: rgba(254, 249, 195, 0.92);
  border-color: rgba(245, 158, 11, 0.35);
  color: #92400e;
}

.firm-match-request-info__inline {
  display: inline-block;
  margin-top: 0.35rem;
  color: #166534;
}

.firm-billing-overview-shell {
  margin-top: 1rem;
}

.firm-billing-metrics,
.firm-billing-panels {
  display: grid;
  gap: 0.9rem;
}

.firm-billing-metrics {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.firm-billing-metric,
.firm-billing-panel,
.firm-billing-month-card,
.firm-billing-entry,
.firm-billing-empty {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.firm-billing-metric,
.firm-billing-panel,
.firm-billing-empty {
  padding: 1rem 1.05rem;
}

.firm-billing-metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.firm-billing-metric__label,
.firm-billing-entry__meta {
  color: #64748b;
  font-size: 0.9rem;
}

.firm-billing-metric__value,
.firm-billing-month-card__amount,
.firm-billing-entry__amount {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
}

.firm-billing-metric__meta,
.firm-billing-month-card__head span {
  color: #475569;
  font-size: 0.88rem;
}

.firm-billing-panel__title {
  margin: 0 0 0.85rem;
  color: #0f172a;
  font-size: 1rem;
}

.firm-billing-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.firm-billing-panel__header .firm-billing-panel__title,
.firm-billing-panel__header .section-collapse-toggle {
  margin-top: 0;
  margin-bottom: 0;
}

.firm-billing-panel__content {
  display: grid;
  gap: 0.8rem;
}

.firm-billing-month-card,
.firm-billing-entry {
  padding: 0.9rem 1rem;
}

.firm-billing-month-card + .firm-billing-month-card,
.firm-billing-entry + .firm-billing-entry {
  margin-top: 0.7rem;
}

.firm-billing-month-card__head,
.firm-billing-entry__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.firm-billing-entry__head {
  align-items: flex-start;
}

.firm-billing-entry__meta,
.firm-billing-entry__amount {
  margin: 0.35rem 0 0;
}

.firm-billing-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.firm-billing-plan-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.firm-billing-plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.firm-billing-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.firm-billing-plan-card__eyebrow {
  margin: 0 0 0.18rem;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.firm-billing-plan-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.68rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.firm-billing-plan-card__badge--active {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

.firm-billing-plan-card__badge--pending {
  background: rgba(254, 249, 195, 0.96);
  color: #92400e;
}

.firm-billing-plan-card__note,
.firm-billing-action-note__text {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

.firm-billing-plan-card__button {
  width: 100%;
  margin-top: auto;
}

.firm-billing-action-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.firm-billing-action-note--success {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(240, 253, 250, 0.92));
  border-color: rgba(16, 185, 129, 0.22);
}

.firm-billing-action-note--info {
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.92));
  border-color: rgba(245, 158, 11, 0.24);
}

.firm-billing-action-note--warning {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.96), rgba(254, 242, 242, 0.92));
  border-color: rgba(249, 115, 22, 0.24);
}

.firm-billing-action-note strong {
  color: #0f172a;
}

.firm-billing-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.firm-billing-status--awaiting {
  background: rgba(254, 249, 195, 0.95);
  color: #92400e;
}

@media (max-width: 680px) {
  .firm-billing-action-note {
    flex-direction: column;
  }

  .firm-billing-action-note .btn {
    width: 100%;
  }
}

.firm-billing-status--billable,
.firm-billing-status--invoiced {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

.firm-billing-status--subscription {
  background: rgba(219, 234, 254, 0.96);
  color: #1d4ed8;
}

.firm-billing-status--cancelled {
  background: rgba(241, 245, 249, 0.95);
  color: #475569;
}

.admin-billing-entry__status--subscription {
  background: rgba(219, 234, 254, 0.96);
  color: #1d4ed8;
}

.firm-match-request-info__inline--alternative {
  color: #7c3aed;
}

.firm-match-toolbar,
.student-match-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.9rem;
  margin: 1rem 0 1.1rem;
}

.firm-match-toggle {
  min-width: 10.5rem;
}

.firm-match-filter-panel {
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  background: #f8fafc;
}

.firm-match-filter-toggle {
  cursor: pointer;
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e3a5f;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-user-select: none;
  user-select: none;
}

.firm-match-filter-toggle::-webkit-details-marker { display: none; }

.firm-match-filter-toggle__arrow {
  transition: transform 200ms ease;
  display: inline-block;
}

details.firm-match-filter-panel[open] .firm-match-filter-toggle__arrow {
  transform: rotate(90deg);
}

.firm-match-filter-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid #e2e8f0;
  align-items: end;
}

.firm-match-filter-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e3a5f;
}

.firm-match-filter-row .input {
  min-width: 160px;
}

.firm-match-filter-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  cursor: pointer;
  margin-top: 0.2rem;
}

.firm-match-results-panel {
  overflow: hidden;
  max-height: 400rem;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 320ms ease, opacity 220ms ease, transform 220ms ease;
}

.firm-match-results-panel.is-collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.firm-radius-filter,
.student-radius-filter {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: min(280px, 100%);
  color: #0f172a;
  font-weight: 700;
}

.firm-radius-filter span,
.student-radius-filter span {
  font-size: 0.92rem;
}

.firm-radius-filter .input,
.student-radius-filter .input {
  margin: 0;
}

.student-match-meta {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}
.section-collapse-toggle {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.section-collapse-toggle::after {
  content: '▾';
  font-size: 0.82rem;
  line-height: 1;
  transition: transform 220ms ease;
}

.section-collapse-toggle[aria-expanded="false"]::after {
  transform: rotate(-90deg);
}
.section-collapse-panel {
  overflow: hidden;
  max-height: 400rem;
  opacity: 1;
  transform: translateY(0);
  margin-top: 1rem;
  transition: max-height 320ms ease, opacity 220ms ease, transform 220ms ease, margin-top 220ms ease;
}
.section-collapse-panel.is-collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  margin-top: 0;
  pointer-events: none;
}

body.student-profile-page [data-collapse-card],
body.firm-profile-page [data-collapse-card] {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

body.student-profile-page [data-collapse-card][data-collapse-state="open"],
body.firm-profile-page [data-collapse-card][data-collapse-state="open"] {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(96, 165, 250, 0.34);
}

body.student-profile-page [data-collapse-card][data-collapse-state="collapsed"],
body.firm-profile-page [data-collapse-card][data-collapse-state="collapsed"] {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.student-request-card__header,
.student-request-card__actions,
.student-request-company-grid,
.student-request-benefits,
.firm-student-documents {
  display: flex;
  gap: 0.8rem;
}

.student-request-card__header {
  align-items: flex-start;
  justify-content: space-between;
}

.student-request-card__hint {
  margin: 0.65rem 0 1rem 0;
}

.firm-match-tile__summary-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

.firm-match-tile__toggle {
  min-width: 8.75rem;
}
.student-request-company-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.student-request-company-grid {
  flex-wrap: wrap;
}

.student-request-company-grid > div {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.student-request-benefits,
.firm-student-documents,
.student-request-card__actions {
  flex-wrap: wrap;
}

.student-request-benefits {
  margin-top: 0.85rem;
}

.student-request-benefit--muted {
  background: rgba(226, 232, 240, 0.55);
  color: #64748b;
}

.student-request-benefit--alternative {
  background: rgba(243, 232, 255, 0.96);
  color: #7c3aed;
}

.student-request-benefit--activated {
  background: rgba(204, 251, 241, 0.96);
  color: #0f766e;
}

.student-request-card__actions {
  margin-top: 1rem;
  align-items: center;
}

.student-contact-card__actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.firm-student-documents {
  margin-top: 0.45rem;
}

.firm-student-document-link {
  background: rgba(191, 219, 254, 0.6);
  color: #1d4ed8;
}

/* ---- Contact / Match group headers ---- */
.contact-group {
  margin-top: 1.5rem;
}
.contact-group + .contact-group {
  margin-top: 1rem;
}
.contact-group__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  background: #f1f5f9;
  color: #334155;
  border-left: 4px solid #94a3b8;
}
.contact-group__icon {
  font-size: 1em;
}
.contact-group__count {
  margin-left: auto;
  font-weight: 400;
  font-size: 0.85em;
  color: #64748b;
}
.contact-group--confirmed .contact-group__header {
  background: #f0fdf4;
  color: #166534;
  border-left-color: #22c55e;
}
.contact-group--proposed .contact-group__header {
  background: #eff6ff;
  color: #1d4ed8;
  border-left-color: #3b82f6;
}
.contact-group--active .contact-group__header {
  background: #f0f9ff;
  color: #0369a1;
  border-left-color: #38bdf8;
}
.contact-group--pending .contact-group__header {
  background: #fefce8;
  color: #854d0e;
  border-left-color: #f59e0b;
}
.contact-group--open .contact-group__header {
  background: #f8fafc;
  color: #475569;
  border-left-color: #cbd5e1;
}

/* ---- Message feed filter tabs ---- */
.feed-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.feed-filter-tab {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.feed-filter-tab:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.feed-filter-tab--active {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
  font-weight: 600;
}

.firm-release-summary {
  display: grid;
  gap: 1rem;
}

.firm-release-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.firm-release-summary__title {
  margin: 0.12rem 0 0;
  color: #14532d;
  font-size: 1.35rem;
  line-height: 1.24;
}

.firm-release-summary__text,
.firm-release-summary__more,
.firm-release-summary__no-docs {
  margin: 0.35rem 0 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.firm-release-summary__list {
  display: grid;
  gap: 0.8rem;
}

.firm-release-summary__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fff8 0%, #ecfdf5 100%);
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.07);
}

.firm-release-summary__item-title {
  margin: 0;
  color: #14532d;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.firm-release-summary__item-meta {
  margin: 0.2rem 0 0;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.firm-release-summary__note,
.firm-release-summary__billing {
  margin: 0.55rem 0 0;
  padding: 0.72rem 0.82rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(134, 239, 172, 0.72);
  color: #166534;
  font-size: 0.92rem;
  line-height: 1.6;
}

.firm-release-summary__billing {
  background: rgba(255, 251, 235, 0.92);
  border-color: rgba(251, 191, 36, 0.5);
  color: #92400e;
}

.firm-release-summary__documents {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (max-width: 720px) {
  .firm-release-summary__head,
  .firm-release-summary__item {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .firm-release-summary__documents {
    justify-content: flex-start;
  }
}

.firm-message-card {
  margin-bottom: 1rem;
  padding: 1.15rem 1.1rem;
  border-radius: 22px;
  border: 1px solid #cfe0ff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
  display: grid;
  gap: 0.95rem;
}

.firm-message-card--open {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.firm-message-card--active {
  border-color: #7dd3fc;
  background: linear-gradient(180deg, #f5fbff 0%, #e0f2fe 100%);
}

.firm-message-card--proposed {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f8fbff 0%, #dbeafe 100%);
}

.firm-message-card--confirmed {
  border-color: #86efac;
  background: linear-gradient(180deg, #f7fff8 0%, #dcfce7 100%);
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.08);
}

.firm-message-card--rejection {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fff7f7 0%, #fee2e2 100%);
  box-shadow: 0 18px 36px rgba(239, 68, 68, 0.08);
}

.firm-message-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.firm-message-card__header-main {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.firm-message-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.firm-message-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.firm-message-card__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.28;
}

.firm-message-card--rejection .firm-message-card__title {
  color: #991b1b;
}

.firm-message-card__subtitle {
  margin: 0;
  color: #2563eb;
  font-size: 0.88rem;
  font-weight: 700;
}

.firm-message-card__time {
  flex-shrink: 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.firm-message-card--rejection .firm-message-card__time {
  color: #b91c1c;
}

.firm-message-card__summary {
  margin: 0;
  color: #0f3b82;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.firm-message-card--confirmed .firm-message-card__summary {
  color: #166534;
}

.firm-message-card--rejection .firm-message-card__summary {
  color: #991b1b;
}

.firm-message-card__copy {
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.78;
}

.firm-message-card__section {
  display: grid;
  gap: 0.42rem;
}

.firm-message-card__section-label {
  margin: 0;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.firm-message-card__note {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.9);
  color: #1e40af;
  line-height: 1.72;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.firm-message-card--confirmed .firm-message-card__note {
  border-color: rgba(134, 239, 172, 0.95);
  color: #166534;
}

.firm-message-card__billing {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 251, 235, 0.96);
  border: 1px solid rgba(251, 191, 36, 0.42);
  color: #92400e;
  line-height: 1.68;
}

.firm-message-card__documents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.firm-message-card__footer {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
}

.firm-message-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding-top: 0.15rem;
}

.firm-message-card__warning {
  color: #b91c1c;
  font-size: 0.94rem;
  font-weight: 700;
}

.firm-message-card__delete {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

.firm-message-card__delete:hover,
.firm-message-card__delete:focus {
  background: #dc2626;
  border-color: #dc2626;
}

.firm-priority-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.firm-priority-badge--high {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #22c55e;
}

.firm-priority-badge--medium {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #f59e0b;
}

.firm-priority-badge--low {
  background: #e2e8f0;
  color: #334155;
  border: 1px solid #94a3b8;
}

@media (max-width: 640px) {
  .firm-message-card__header {
    flex-direction: column;
  }

  .firm-message-card__time {
    white-space: normal;
  }

  .firm-message-card__actions {
    align-items: stretch;
  }

  .firm-message-card__delete {
    width: 100%;
  }
}

.student-contact-card,
.student-contact-thread {
  margin-top: 1rem;
  padding: 1.05rem 1.1rem;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  scroll-margin-top: 7rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.student-contact-thread--spotlight {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 22px 42px rgba(37, 99, 235, 0.12);
}

.student-contact-card__header,
.student-contact-card__chips,
.student-contact-card__documents,
.student-contact-thread__header,
.bewerber-entry-grid,
.bewerber-intro-band,
.bewerber-intro-brief__list,
.bewerber-inline-grid,
.bewerber-language-row,
.bewerber-language-list,
.bewerber-preview-chip-row {
  display: flex;
  gap: 0.8rem;
}

.student-contact-card__header,
.student-contact-thread__header {
  align-items: flex-start;
  justify-content: space-between;
}

.student-contact-card__eyebrow,
.bewerber-preview-label,
.bewerber-intro-brief__label {
  margin: 0 0 0.28rem 0;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-contact-card__title,
.student-contact-thread__title {
  margin: 0;
  color: #0f172a;
}

.student-contact-thread {
  padding: 1.15rem 1.2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.94));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.student-contact-thread__header {
  align-items: center;
  gap: 1rem;
}

.student-contact-thread__identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.student-contact-thread__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.28));
  color: #1e3a8a;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.12);
  flex: 0 0 auto;
}

.student-contact-thread__identity-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.student-contact-thread__title {
  font-size: clamp(1.08rem, 0.7vw + 0.96rem, 1.28rem);
}

.student-contact-thread__body {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.student-contact-card__subtitle,
.student-contact-card__latest,
.bewerber-preview-copy,
.bewerber-profile-intro,
.bewerber-intro-brief__item span,
.bewerber-preview-note p,
.bewerber-profile-notice {
  color: #475569;
  line-height: 1.65;
}

.student-contact-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.student-contact-card__grid > div,
.bewerber-preview-detail,
.bewerber-form-section {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.student-contact-card__grid > div {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.student-contact-card__documents,
.student-contact-card__chips,
.bewerber-language-list,
.bewerber-preview-chip-row {
  flex-wrap: wrap;
}

.student-contact-card__documents {
  margin-top: 0.9rem;
}

.student-contact-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.8);
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 600;
}

.student-contact-chip--primary {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.student-contact-chip--alternative {
  background: rgba(243, 232, 255, 0.92);
  color: #7c3aed;
}

.student-contact-chip--activated {
  background: rgba(204, 251, 241, 0.96);
  color: #0f766e;
}

.student-contact-chip--muted {
  color: #64748b;
  background: rgba(226, 232, 240, 0.55);
}

.student-contact-chip--paused {
  background: rgba(255, 237, 213, 0.92);
  color: #c2410c;
}

.student-contact-chip--score-strong {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.student-contact-chip--score-medium {
  background: rgba(254, 243, 199, 0.96);
  color: #b45309;
}

.student-contact-chip--score-light {
  background: rgba(226, 232, 240, 0.9);
  color: #475569;
}

.student-contact-card__latest {
  margin: 0.9rem 0 0;
}

.student-contact-card--alternative {
  background: linear-gradient(180deg, rgba(250, 245, 255, 0.98), rgba(255, 255, 255, 0.96));
  border-color: rgba(167, 139, 250, 0.24);
}

.student-contact-card__note {
  margin: 0.85rem 0 0;
  color: #5b21b6;
  line-height: 1.6;
}

.student-alternative-toolbar,
.student-alternative-summary,
.student-alternative-card__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.student-alternative-toolbar {
  margin-top: 1rem;
}

.student-alternative-summary {
  color: #475569;
}

.student-alternative-summary__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.student-alternative-summary__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.student-alternative-status {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(204, 251, 241, 0.72);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #0f766e;
  font-weight: 600;
}

.student-alternative-card__actions {
  margin-top: 0.95rem;
}

.student-search-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.student-search-status-item {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.student-search-status-item__eyebrow {
  margin: 0 0 0.35rem;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-search-status-item__title {
  margin: 0;
  color: #0f172a;
}

.student-search-status-item__copy {
  margin: 0.6rem 0 0;
  color: #475569;
  line-height: 1.65;
}

.student-search-status-item__footer {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.student-search-status-feedback {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(219, 234, 254, 0.65);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #1d4ed8;
}

.student-contact-thread-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.student-contact-thread__feed-shell {
  padding: 1rem 1rem 0.9rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.student-contact-thread__feed-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 0.8rem;
}

.student-contact-thread__section-label {
  margin: 0;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-contact-thread__section-copy {
  margin: 0.22rem 0 0;
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.55;
  max-width: 42rem;
}

.student-contact-thread__messages {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: clamp(260px, 36vh, 420px);
  overflow-y: auto;
  padding-right: 0.15rem;
}

.student-contact-thread__messages > .status {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(226, 232, 240, 0.56);
  color: #475569;
  line-height: 1.6;
}

.student-contact-thread__composer {
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.9), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(125, 211, 252, 0.28);
  display: grid;
  gap: 0.75rem;
}

.student-contact-thread__composer-head {
  display: grid;
  gap: 0.25rem;
}

.student-contact-thread__quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.student-contact-thread__quick-reply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1e40af;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.student-contact-thread__quick-reply:hover,
.student-contact-thread__quick-reply:focus-visible {
  transform: translateY(-1px);
  border-color: #60a5fa;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
  outline: none;
}

.student-contact-thread__quick-reply:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.student-contact-thread__composer-label {
  margin: 0;
}

.student-contact-thread__composer-hint,
.student-contact-thread__composer-meta {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.student-contact-thread__typing {
  min-height: 1.2rem;
  margin: 0;
  color: #2563eb;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.45;
}

.student-contact-thread__typing[data-mode="sending"] {
  color: #0f766e;
}

.student-contact-thread__composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  flex-wrap: wrap;
}

.student-contact-thread__input {
  width: 100%;
  min-height: 120px;
  margin: 0;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  resize: vertical;
}

.student-contact-thread__input:focus {
  outline: 3px solid rgba(59, 130, 246, 0.14);
  border-color: #60a5fa;
}

.student-contact-thread__input:disabled {
  background: rgba(226, 232, 240, 0.72);
  cursor: not-allowed;
}

.student-contact-thread__lock-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 237, 213, 0.64);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: #c2410c;
  font-weight: 600;
  line-height: 1.6;
}

.interview-sync-panel {
  margin-top: 0;
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(237, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.interview-sync-panel__summary,
.interview-sync-panel__actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.interview-sync-panel__title {
  margin: 0;
  color: #0f172a;
}

.interview-sync-panel__current,
.interview-sync-panel__status {
  color: #475569;
  line-height: 1.6;
}

.interview-sync-panel__current {
  margin: 0.35rem 0 0;
}

.interview-sync-panel__status {
  margin: 0.8rem 0 0;
}

.interview-sync-panel__status.is-error {
  color: #b91c1c;
}

.interview-sync-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-top: 1rem;
}

.interview-sync-panel__grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.interview-sync-panel__field--wide,
.interview-sync-panel__field--full {
  grid-column: 1 / -1;
}

.interview-sync-panel__note {
  min-height: 96px;
  resize: vertical;
}

.interview-sync-panel__actions {
  margin-top: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.firm-direct-contacts-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-top: 0.85rem;
}

.firm-direct-contacts-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: min(300px, 100%);
}

.firm-direct-contacts-meta {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.firm-direct-contacts-board {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.student-contact-thread__header-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.student-contact-thread__body[hidden] {
  display: none !important;
}

.firm-direct-contact-status {
  margin: 0.5rem 0 0;
}

.firm-calendar-highlight {
  margin-bottom: 0.95rem;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(248, 250, 252, 0.98)) !important;
}

@media (max-width: 780px) {
  .student-search-status-grid {
    grid-template-columns: 1fr;
  }
}

.firm-calendar-highlight__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
}

.firm-calendar-highlight__title {
  margin: 0.38rem 0 0;
  color: #0f172a;
  font-size: 1.05rem;
}

.firm-calendar-highlight__list {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.7rem;
}

.firm-calendar-highlight__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.82);
}

.firm-calendar-highlight__item strong {
  display: block;
  color: #0f172a;
}

.firm-calendar-highlight__item span {
  display: block;
  margin-top: 0.2rem;
  color: #475569;
  font-size: 0.9rem;
}

.firm-calendar-highlight__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.firm-calendar-plan-note {
  margin: 0.85rem 0 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.student-notif-alert--calendar {
  display: block;
  cursor: default;
}

.student-notif-alert--calendar:hover {
  transform: none;
}

.student-notif-alert__summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  cursor: pointer;
}

.student-notif-alert__summary::-webkit-details-marker {
  display: none;
}

.student-notif-alert__details {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(147, 197, 253, 0.35);
}

.student-notif-alert__cta-open {
  display: none;
}

.student-notif-alert--calendar[open] .student-notif-alert__cta-closed {
  display: none;
}

.student-notif-alert--calendar[open] .student-notif-alert__cta-open {
  display: inline;
}

.release-note-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.56);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.release-note-dialog__panel {
  width: min(680px, calc(100vw - 2rem));
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.release-note-dialog__eyebrow {
  margin: 0 0 0.45rem;
  color: #0d7a64;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.release-note-dialog__title {
  margin: 0;
  color: #17212b;
}

.release-note-dialog__copy,
.release-note-dialog__hint,
.release-note-dialog__status {
  color: #566273;
  line-height: 1.65;
}

.release-note-dialog__copy {
  margin: 0.75rem 0 1rem;
}

.release-note-dialog__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.release-note-dialog__textarea {
  width: 100%;
  min-height: 180px;
  margin-top: 0.45rem;
  resize: vertical;
}

.release-note-dialog__hint {
  margin: 0.7rem 0 0;
  font-size: 0.94rem;
}

.release-note-dialog__status {
  min-height: 1.4rem;
  margin: 0.55rem 0 0;
  font-size: 0.94rem;
}

.release-note-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

body.firm-paid-plan-dialog-open {
  overflow: hidden;
}

.firm-paid-plan-dialog {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.firm-paid-plan-dialog__panel {
  width: min(720px, calc(100vw - 2rem));
  max-height: min(90vh, 920px);
  overflow: auto;
  padding: 1.45rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(248, 250, 252, 0.99));
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

.firm-paid-plan-dialog__eyebrow {
  margin: 0 0 0.45rem;
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.firm-paid-plan-dialog__title {
  margin: 0;
  color: #17212b;
}

.firm-paid-plan-dialog__copy,
.firm-paid-plan-dialog__note,
.firm-paid-plan-dialog__status {
  color: #566273;
  line-height: 1.65;
}

.firm-paid-plan-dialog__copy {
  margin: 0.75rem 0 1rem;
}

.firm-paid-plan-dialog__document {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.firm-paid-plan-dialog__document-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.firm-paid-plan-dialog__document-title {
  margin: 0;
  color: #17212b;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.firm-paid-plan-dialog__document-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 700;
}

.firm-paid-plan-dialog__price-card {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(254, 249, 195, 0.94));
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.firm-paid-plan-dialog__price-label {
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.firm-paid-plan-dialog__price-value {
  color: #111827;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.08;
}

.firm-paid-plan-dialog__price-meta {
  color: #7c2d12;
  font-size: 0.95rem;
}

.firm-paid-plan-dialog__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.9rem;
  margin: 0;
}

.firm-paid-plan-dialog__fact {
  padding: 0.78rem 0.85rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.firm-paid-plan-dialog__fact dt {
  margin: 0 0 0.25rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.firm-paid-plan-dialog__fact dd {
  margin: 0;
  color: #17212b;
  line-height: 1.55;
}

.firm-paid-plan-dialog__note {
  margin: 0.95rem 0 0;
  font-size: 0.95rem;
}

.firm-paid-plan-dialog__checkbox {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid rgba(251, 191, 36, 0.44);
}

.firm-paid-plan-dialog__checkbox input {
  margin-top: 0.2rem;
}

.firm-paid-plan-dialog__checkbox a {
  color: #92400e;
}

.firm-paid-plan-dialog__status {
  min-height: 1.4rem;
  margin: 0.6rem 0 0;
  font-size: 0.94rem;
  color: #b45309;
}

.firm-paid-plan-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

.firm-paid-plan-dialog__actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.conversation-message {
  display: flex;
  width: 100%;
  max-width: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.conversation-message--incoming {
  justify-content: flex-start;
}

.conversation-message--outgoing {
  justify-content: flex-end;
}

.conversation-message--system {
  justify-content: center;
}

.conversation-unread-separator {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.1rem 0 0.25rem;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.conversation-unread-separator::before,
.conversation-unread-separator::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0), rgba(96, 165, 250, 0.38), rgba(96, 165, 250, 0));
}

.conversation-unread-separator span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.26rem 0.64rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.72);
}

.conversation-message__cluster {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 0.78rem;
  width: min(100%, 860px);
}

.conversation-message--outgoing .conversation-message__cluster {
  grid-template-columns: minmax(0, 1fr) auto;
}

.conversation-message--system .conversation-message__cluster {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: min(100%, 760px);
}

.conversation-message__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.9), rgba(186, 230, 253, 0.96));
  color: #1e3a8a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
  flex: 0 0 auto;
}

.conversation-message--outgoing .conversation-message__avatar {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.95), rgba(14, 165, 233, 0.96));
  color: #eff6ff;
}

.conversation-message--system .conversation-message__avatar {
  display: none;
}

.conversation-message__content {
  width: min(100%, 620px);
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.conversation-message--outgoing .conversation-message__content {
  background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 55%, #0ea5e9 100%);
  border-color: rgba(59, 130, 246, 0.82);
  color: #f8fbff;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.22);
}

.conversation-message--system .conversation-message__content {
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.99), rgba(220, 252, 231, 0.94));
  border-color: rgba(74, 222, 128, 0.22);
}

.conversation-message__meta,
.conversation-message__actions,
.student-message-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.conversation-message__sender,
.student-message-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-message--outgoing .conversation-message__sender {
  background: rgba(255, 255, 255, 0.18);
  color: #eff6ff;
}

.conversation-message--system .conversation-message__sender {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.conversation-message__time,
.student-message-card__time {
  color: #64748b;
  font-size: 0.84rem;
  white-space: nowrap;
}

.conversation-message--outgoing .conversation-message__time {
  color: rgba(239, 246, 255, 0.82);
}

.conversation-message__body {
  margin-top: 0.65rem;
  color: #0f172a;
  line-height: 1.68;
  white-space: pre-wrap;
}

.conversation-message--outgoing .conversation-message__body {
  color: #f8fbff;
}

.conversation-message__body--appointment {
  font-weight: 700;
}

.conversation-message__appointment {
  margin-top: 0.8rem;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.conversation-message--outgoing .conversation-message__appointment {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.conversation-message__appointment-head {
  display: flex;
  justify-content: flex-start;
}

.conversation-message__appointment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.conversation-message__appointment-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.conversation-message__appointment-grid > div strong,
.conversation-message__appointment-grid-full strong {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.conversation-message__appointment-grid > div span,
.conversation-message__appointment-grid-full span {
  color: #0f172a;
  line-height: 1.55;
}

.conversation-message--outgoing .conversation-message__appointment-grid > div strong,
.conversation-message--outgoing .conversation-message__appointment-grid-full strong {
  color: rgba(219, 234, 254, 0.82);
}

.conversation-message--outgoing .conversation-message__appointment-grid > div span,
.conversation-message--outgoing .conversation-message__appointment-grid-full span {
  color: #f8fbff;
}

.conversation-message__appointment-grid-full {
  grid-column: 1 / -1;
}

.conversation-message__documents {
  margin-top: 0.8rem;
}

.conversation-message__documents .firm-student-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.conversation-message__documents .firm-student-document-link {
  background: rgba(219, 234, 254, 0.78);
  color: #1d4ed8;
}

.conversation-message--outgoing .conversation-message__documents .firm-student-document-link {
  background: rgba(255, 255, 255, 0.16);
  color: #eff6ff;
}

.conversation-message__actions {
  margin-top: 0.8rem;
  justify-content: flex-end;
}

.conversation-message__actions .delete-msg-btn {
  min-height: 2rem;
  padding: 0.34rem 0.75rem;
  border-radius: 999px !important;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.76);
  color: #334155;
  box-shadow: none;
}

.conversation-message--outgoing .conversation-message__actions .delete-msg-btn {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #eff6ff;
}

.student-message-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.student-message-card + .student-message-card {
  margin-top: 0.9rem;
}

.student-message-card--firm {
  background: rgba(239, 246, 255, 0.96);
}

.student-message-card--student {
  background: rgba(248, 250, 252, 0.96);
}

.student-message-card--release {
  background: rgba(240, 253, 244, 0.96);
}

.student-message-card--portal {
  background: rgba(255, 251, 235, 0.98);
}

.student-message-card__title {
  margin: 0.7rem 0 0;
  color: #0f172a;
  font-size: 1.02rem;
}

.student-message-card__subtitle {
  margin: 0.25rem 0 0;
  color: #475569;
  font-size: 0.94rem;
}

.student-message-card__body {
  margin: 0.7rem 0 0;
  color: #1e293b;
  line-height: 1.65;
}

.bewerber-entry-layout {
  width: min(var(--shell-wide-max), calc(100vw - calc(var(--shell-gutter) + 8px)));
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.portal-entry-wrapper {
  padding-bottom: 2.8rem;
}

.portal-entry-topbar {
  margin-bottom: 1.2rem;
}

.portal-entry-main {
  padding-top: 0;
}

.profile-shell-wrapper {
  padding-bottom: 2.8rem;
}

.internship-page-main {
  width: min(1180px, calc(100vw - 32px));
  max-width: 1180px;
}

.internship-page-stack {
  display: grid;
  gap: 1rem;
}

.internship-page-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.internship-page-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 760px;
}

.internship-page-hero__copy p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.internship-page-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.86), rgba(236, 253, 245, 0.9));
  border: 1px solid rgba(147, 197, 253, 0.36);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 700;
}

.internship-access-card {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96));
}

.internship-access-card__eyebrow {
  margin: 0 0 0.4rem;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internship-access-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.internship-access-card__content {
  min-width: 0;
  max-width: 760px;
}

.internship-access-card h3,
.internship-access-card h2 {
  margin: 0;
}

.internship-access-card__copy,
.internship-access-card__meta {
  margin: 0.45rem 0 0;
  color: #475569;
  line-height: 1.65;
}

.internship-access-card__meta {
  color: #64748b;
  font-size: 0.95rem;
}

.internship-access-card__actions {
  margin-top: 0;
}

.internship-access-card--support {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.98));
}

.internship-main-stage {
  gap: 1rem;
}

.internship-main-stage__lead {
  padding: 1.35rem 1.45rem;
  border-radius: 30px;
  background: linear-gradient(140deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(236, 253, 245, 0.95) 100%);
  border: 1px solid rgba(147, 197, 253, 0.36);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

.internship-main-stage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.internship-main-stage__card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.internship-main-stage__card:hover,
.internship-main-stage__card:focus-within,
.internship-main-stage__lead:hover,
.internship-main-stage__lead:focus-within,
.portal-internship-stage:hover,
.portal-internship-stage:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.11);
  border-color: rgba(96, 165, 250, 0.3);
}

.internship-main-stage__card--student {
  background: linear-gradient(160deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 66%, rgba(254, 249, 195, 0.3) 100%);
}

.internship-main-stage__card--firm {
  background: linear-gradient(160deg, rgba(236, 253, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 62%, rgba(219, 234, 254, 0.52) 100%);
}

.internship-main-stage__label {
  margin: 0;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internship-main-stage__card h3 {
  margin: 0;
  color: #0f172a !important;
  font-size: 1.22rem !important;
  line-height: 1.28 !important;
}

.internship-main-stage__copy {
  margin: 0;
  color: #475569;
  line-height: 1.68;
}

.internship-main-stage__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.internship-main-stage__points li {
  position: relative;
  padding-left: 1rem;
  color: #334155;
  line-height: 1.55;
}

.internship-main-stage__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
}

.internship-main-stage__actions {
  margin-top: auto;
}

.portal-internship-stage {
  margin-top: 0.2rem;
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(239, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.97) 56%, rgba(236, 253, 245, 0.92) 100%);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.09);
}

.portal-internship-stage .internship-access-card__body {
  align-items: center;
}

.portal-internship-stage .internship-access-card__content {
  flex: 1 1 34rem;
  max-width: 760px;
}

.portal-internship-stage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.portal-internship-stage__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(147, 197, 253, 0.34);
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 700;
}

.internship-planning-note {
  color: #0f766e;
}

.internship-form-accordion-group {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.internship-form-accordion {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.internship-form-accordion summary {
  padding-block: 1.1rem 1rem;
}

.internship-form-accordion__summary {
  display: grid;
  gap: 0.18rem;
}

.internship-form-accordion__title {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.internship-form-accordion__meta {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.internship-form-accordion__body {
  padding: 0 1.4rem 1.3rem;
}

.internship-form-accordion__body p {
  padding: 0;
  margin: 0;
}

.internship-form-accordion__grid {
  gap: 0.9rem 1rem;
}

.internship-form-accordion__calendar-grid {
  margin-top: 0.7rem;
}

.internship-form-accordion__panel-reset {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.internship-form-accordion__toolbar-reset {
  margin: 1rem 0 0;
}

.internship-form-accordion__body .beruf-add-wrapper {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.internship-form-accordion__body .beruf-list {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.internship-form-accordion__body > .form-label {
  display: block;
}

.internship-form-accordion__body > .form-label:not(:first-child) {
  margin-top: 1rem;
}

.internship-form-accordion__body > .input,
.internship-form-accordion__body > textarea.input {
  margin-top: 0.35rem;
}

.internship-business-value-card {
  border: 1px solid rgba(13, 122, 100, 0.18);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.98));
}

.internship-business-value-card__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-self: center;
}

.internship-business-value-card .portal-internship-stage__chip {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(13, 122, 100, 0.16);
  color: #0f5132;
}

.internship-calendar-accordion-group {
  margin-top: 1rem;
}

.internship-calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.internship-date-display {
  cursor: pointer;
}

.flatpickr-calendar {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: #0f172a;
  fill: #1d4ed8;
}

.flatpickr-weekdays {
  background: rgba(239, 246, 255, 0.82);
}

span.flatpickr-weekday {
  color: #1e3a8a;
  font-weight: 700;
}

.flatpickr-day:hover {
  background: rgba(219, 234, 254, 0.78);
  border-color: rgba(96, 165, 250, 0.3);
}

.flatpickr-day.today {
  border-color: rgba(37, 99, 235, 0.44);
  color: #1d4ed8;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  color: #fff;
}

.internship-weekday-panel {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.internship-report-panel {
  display: grid;
  gap: 0.75rem;
}

.internship-report-textarea {
  min-height: 240px;
  resize: vertical;
  line-height: 1.68;
}

.internship-weekday-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 0.65rem;
}

.internship-weekday-option {
  position: relative;
  display: block;
  min-height: 52px;
}

.internship-weekday-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.internship-weekday-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.internship-weekday-option input:hover + span,
.internship-weekday-option input:focus-visible + span {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.internship-weekday-option input:checked + span {
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.96), rgba(204, 251, 241, 0.95));
  border-color: rgba(37, 99, 235, 0.34);
  color: #0f172a;
  box-shadow: 0 12px 26px rgba(14, 116, 144, 0.14);
}

.internship-process-checkbox {
  margin-top: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(239, 246, 255, 0.88);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #1e3a8a;
  font-weight: 600;
}

.internship-process-checkbox input {
  margin-top: 0.18rem;
  accent-color: #2563eb;
}

.internship-calendar-planner {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.internship-calendar-planner__summary,
.internship-calendar-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.internship-calendar-planner__eyebrow,
.internship-calendar-card__eyebrow {
  margin: 0 0 0.3rem;
  color: #0d7a64;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internship-calendar-planner__summary h3,
.internship-calendar-card__title {
  margin: 0;
  color: #0f172a;
}

.internship-calendar-planner__meta,
.internship-calendar-card__subtitle,
.internship-calendar-card__meta {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.internship-calendar-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
}

.internship-calendar-card {
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.76), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(74, 222, 128, 0.18);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.internship-calendar-card__chips,
.internship-calendar-card__actions,
.internship-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.internship-calendar-card__meta {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
}

.internship-calendar-card__meta p {
  margin: 0;
}

.internship-calendar-card__actions,
.internship-match-actions {
  margin-top: 0.95rem;
}

.internship-calendar-card .firm-calendar-highlight__actions {
  margin-top: 0.95rem;
}

.firm-interview-calendar-grid {
  display: grid;
  gap: 0.95rem;
}

.internship-occupancy-board {
  display: grid;
  gap: 1rem;
}

.internship-occupancy-board__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.internship-occupancy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.internship-occupancy-chip strong {
  font-size: 1rem;
}

.internship-occupancy-chip--planned {
  background: rgba(219, 234, 254, 0.94);
  color: #1d4ed8;
}

.internship-occupancy-chip--active {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.internship-occupancy-chip--upcoming {
  background: rgba(254, 249, 195, 0.94);
  color: #92400e;
}

.internship-occupancy-chip--completed {
  background: rgba(226, 232, 240, 0.92);
  color: #334155;
}

.internship-occupancy-month {
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.internship-occupancy-month__header,
.internship-occupancy-item__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.internship-occupancy-month__title,
.internship-occupancy-item__title {
  margin: 0;
  color: #0f172a;
}

.internship-occupancy-month__count,
.internship-occupancy-item__subtitle,
.internship-occupancy-item__meta {
  color: #475569;
  line-height: 1.6;
}

.internship-occupancy-month__list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.85rem;
}

.internship-occupancy-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.internship-occupancy-item__subtitle {
  margin: 0.2rem 0 0;
}

.internship-occupancy-item__meta {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.internship-occupancy-item__meta p {
  margin: 0;
}

.student-contact-card__grid-full {
  grid-column: 1 / -1;
}

.student-contact-chip--schedule-fit {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.student-contact-chip--schedule-conflict {
  background: rgba(254, 226, 226, 0.96);
  color: #b91c1c;
}

.student-contact-chip--schedule-pending {
  background: rgba(254, 249, 195, 0.92);
  color: #92400e;
}

.firm-match-chip--schedule-fit {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.firm-match-chip--schedule-conflict {
  background: rgba(254, 226, 226, 0.96);
  color: #b91c1c;
}

.firm-match-chip--schedule-pending {
  background: rgba(254, 249, 195, 0.94);
  color: #92400e;
}

.firm-match-chip--calendar {
  background: rgba(219, 234, 254, 0.94);
  color: #1d4ed8;
}

body.student-profile-page .profil-account-bar,
body.firm-profile-page .profil-account-bar,
body.student-profile-page .student-card,
body.student-profile-page .student-mini-card,
body.firm-profile-page .firm-card,
body.firm-profile-page .firma-info-card,
body.firm-profile-page .firma-section,
body.firm-profile-page #quickProfileHint,
body.firm-profile-page .firma-logo-container,
body.student-profile-page .student-request-intro,
body.student-profile-page .student-highlight-badge {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.student-profile-page .profil-account-bar:hover,
body.student-profile-page .profil-account-bar:focus-within,
body.firm-profile-page .profil-account-bar:hover,
body.firm-profile-page .profil-account-bar:focus-within,
body.student-profile-page .student-card:hover,
body.student-profile-page .student-card:focus-within,
body.student-profile-page .student-mini-card:hover,
body.student-profile-page .student-mini-card:focus-within,
body.firm-profile-page .firm-card:hover,
body.firm-profile-page .firm-card:focus-within,
body.firm-profile-page .firma-info-card:hover,
body.firm-profile-page .firma-info-card:focus-within,
body.firm-profile-page .firma-section:hover,
body.firm-profile-page .firma-section:focus-within,
body.firm-profile-page #quickProfileHint:hover,
body.firm-profile-page #quickProfileHint:focus-within,
body.firm-profile-page .firma-logo-container:hover,
body.firm-profile-page .firma-logo-container:focus-within,
body.student-profile-page .student-request-intro:hover,
body.student-profile-page .student-request-intro:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
}

.profile-topbar {
  margin-bottom: 1.15rem;
}

.profile-grid-muted {
  opacity: 0.07;
}

.profile-hidden-input {
  display: none;
}

.student-empty-copy {
  margin: 0;
  color: #64748b;
}

.firm-message-empty {
  background: #f1f5fa;
  color: #64748b;
}

.firm-profile-hint {
  margin-bottom: 1.1rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.7em;
  background: #e0f7fa;
  color: #2563eb;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 1px 6px #e0e7ef22;
}

.firm-profile-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.firm-quick-profile-box {
  margin: 0 !important;
}

.firm-quick-profile-content {
  font-size: 1.08rem;
  color: #334155;
}

.bewerber-intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  margin-top: 36px;
}

.bewerber-intro-copy,
.bewerber-intro-brief,
.bewerber-preview-card,
.bewerber-preview-note {
  padding: 1.3rem 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bewerber-intro-copy:hover,
.bewerber-intro-brief:hover,
.bewerber-preview-card:hover,
.bewerber-preview-card:focus-within,
.bewerber-preview-note:hover,
.bewerber-preview-note:focus-within,
.bewerber-auth-card:hover,
.bewerber-auth-card:focus-within,
.bewerber-profile-card:hover,
.bewerber-profile-card:focus-within,
.bewerber-preview-panel:hover,
.bewerber-preview-panel:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.1);
  border-color: rgba(96, 165, 250, 0.28);
}

.bewerber-intro-copy h1 {
  margin: 0;
  color: #0f172a !important;
}

.bewerber-intro-brief__list {
  flex-direction: column;
  margin-top: 1rem;
}

.bewerber-intro-brief__item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.bewerber-intro-brief__item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.student-clickgo-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 10%, rgba(16, 185, 129, 0.17), transparent 40%),
    radial-gradient(circle at 88% 88%, rgba(37, 99, 235, 0.16), transparent 36%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.26);
}

.student-clickgo-card__eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-clickgo-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
}

.student-clickgo-card__head h2 {
  margin: 0;
}

.student-clickgo-card__head p {
  margin: 0;
  max-width: 42rem;
  color: #334155;
}

.student-clickgo-card__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.student-clickgo-step {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: #1e293b;
}

.student-clickgo-step strong {
  color: #1d4ed8;
}

.student-clickgo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.student-auth-quick-guide {
  margin: 0.25rem 0 0.95rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px dashed rgba(59, 130, 246, 0.42);
  background: rgba(219, 234, 254, 0.5);
  display: grid;
  gap: 0.4rem;
}

.student-auth-quick-guide__title {
  margin: 0 0 0.15rem;
  font-weight: 700;
  color: #1e3a8a;
}

.student-auth-quick-guide__line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #334155;
}

.student-auth-quick-guide__line strong {
  color: #1d4ed8;
  min-width: 1.2rem;
}

/* ── Feld-Hinweise (sichtbar nur im Registrierungsmodus) ───────────── */
.field-hint {
  display: none;
  margin: 0.22rem 0 0.1rem;
  font-size: 0.79rem;
  color: #475569;
  line-height: 1.45;
}

.field-hint--always {
  display: block;
}

.bewerber-auth-card.is-registering .field-hint {
  display: block;
}

/* ── Registrierungs-Stepper ────────────────────────────────────────── */
.auth-reg-stepper {
  display: none;
  align-items: center;
  gap: 0;
  margin: 0 0 1.1rem;
  padding: 0.75rem 1rem 0.65rem;
  background: rgba(219, 234, 254, 0.52);
  border: 1px dashed rgba(59, 130, 246, 0.35);
  border-radius: 14px;
}

.bewerber-auth-card.is-registering .auth-reg-stepper {
  display: flex;
}

.auth-reg-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  flex: 1;
}

.auth-reg-stepper__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(148, 163, 184, 0.28);
  color: #64748b;
  border: 2px solid rgba(148, 163, 184, 0.38);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.auth-reg-stepper__label {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  transition: color 0.25s, font-weight 0.25s;
}

.auth-reg-stepper__connector {
  flex: 0 0 2.2rem;
  height: 2px;
  background: rgba(148, 163, 184, 0.35);
  margin-bottom: 1.2rem;
}

.auth-reg-stepper__step.is-active .auth-reg-stepper__num {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.auth-reg-stepper__step.is-active .auth-reg-stepper__label {
  color: #1d4ed8;
  font-weight: 700;
}

.auth-reg-stepper__step.is-done .auth-reg-stepper__num {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  font-size: 0;
}

.auth-reg-stepper__step.is-done .auth-reg-stepper__num::after {
  content: "✓";
  font-size: 0.9rem;
}

.auth-reg-stepper__step.is-done .auth-reg-stepper__label {
  color: #059669;
}

/* ── Clickgo-Schritt aktiv-Hervorhebung ───────────────────────────── */
.student-clickgo-step.is-active {
  background: rgba(219, 234, 254, 0.88);
  border-color: rgba(37, 99, 235, 0.42);
}

.student-clickgo-step.is-active strong {
  color: #1d4ed8;
}

.bewerber-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  align-items: start;
}

.bewerber-auth-card {
  grid-column: 1 / -1;
  max-width: 760px;
}

.bewerber-profile-card {
  grid-column: 1 / -1;
}

.bewerber-preview-panel {
  grid-column: 1 / -1;
  position: static;
}

.bewerber-profile-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bewerber-profile-account {
  display: flex;
  flex: 1 1 16rem;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  width: min(100%, 24rem);
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(239, 246, 255, 0.88);
  color: #1e3a8a;
  font-size: 0.95rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bewerber-profile-account strong,
.bewerber-profile-account span {
  color: #0f172a;
}

.bewerber-profile-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(239, 246, 255, 0.9);
  border: 1px solid rgba(147, 197, 253, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bewerber-form-grid {
  display: grid;
  gap: 1rem;
}

.bewerber-form-section {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bewerber-profile-account:hover,
.bewerber-profile-account:focus-within,
.bewerber-profile-notice:hover,
.bewerber-profile-notice:focus-within,
.bewerber-form-section:hover,
.bewerber-form-section:focus-within,
.bewerber-preview-detail:hover,
.bewerber-preview-detail:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  border-color: rgba(96, 165, 250, 0.24);
}

.bewerber-form-section h3,
.bewerber-preview-note h3 {
  margin: 0 0 0.85rem;
  color: #0f172a;
}

.bewerber-inline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem 1rem;
}

.bewerber-field-group {
  display: grid;
  gap: 0.8rem 1rem;
}

.bewerber-field-group--full {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bewerber-field-group--full .portal-support-note {
  grid-column: 1 / -1;
  margin: 0;
}

.bewerber-language-row {
  align-items: center;
}

.bewerber-language-row .input {
  flex: 1;
}

.bewerber-language-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.bewerber-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1rem 0 0.8rem;
  color: #334155;
  line-height: 1.6;
}

.bewerber-preview-card__code,
.bewerber-preview-subtitle {
  margin: 0 0 0.45rem;
  color: #2563eb;
  font-weight: 700;
}

.bewerber-preview-card h3 {
  margin: 0;
  color: #0f172a;
}

.bewerber-preview-card__role,
.bewerber-preview-card__location,
.bewerber-preview-status {
  color: #475569;
}

.bewerber-preview-card__role {
  margin: 0.35rem 0 0.2rem;
  font-weight: 700;
}

.bewerber-preview-card__location,
.bewerber-preview-status {
  margin: 0;
}

.bewerber-preview-detail {
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bewerber-preview-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.75);
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 600;
}

.bewerber-preview-chip--strong {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.bewerber-preview-chip--muted {
  color: #64748b;
  background: rgba(226, 232, 240, 0.55);
}

.bewerber-preview-note {
  margin-top: 1rem;
}

body.firm-quick-profile-page {
  color: #334155;
  background:
    radial-gradient(circle at 12% 12%, rgba(59, 130, 246, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(20, 184, 166, 0.16), transparent 24%),
    linear-gradient(180deg, #f5f9ff 0%, #edf4ff 44%, #f8fafc 100%);
}

body.firm-quick-profile-page .schnellprofil-shell {
  width: min(var(--shell-max), calc(100vw - var(--shell-gutter)));
  margin: 1.25rem auto 3rem;
  display: grid;
  gap: 1.1rem;
}

body.firm-quick-profile-page .schnellprofil-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

body.firm-quick-profile-page.is-readonly-view .schnellprofil-topbar {
  display: none;
}

body.firm-quick-profile-page .schnellprofil-topbar-note {
  color: #5b6b83;
  font-size: var(--ui-font-sm);
  line-height: 1.55;
}

body.firm-quick-profile-page .schnellprofil-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 1.2vw + 1rem, 2.25rem);
  border-radius: 32px;
  border: 1px solid rgba(191, 219, 254, 0.88);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.96) 56%, rgba(236, 253, 245, 0.95) 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.1);
  isolation: isolate;
}

body.firm-quick-profile-page .schnellprofil-hero::before,
body.firm-quick-profile-page .schnellprofil-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  opacity: 0.78;
}

body.firm-quick-profile-page .schnellprofil-hero::before {
  width: 240px;
  height: 240px;
  top: -120px;
  right: -50px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.24) 0%, rgba(96, 165, 250, 0.06) 64%, transparent 74%);
}

body.firm-quick-profile-page .schnellprofil-hero::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, rgba(20, 184, 166, 0.05) 60%, transparent 74%);
}

body.firm-quick-profile-page .schnellprofil-eyebrow,
body.firm-quick-profile-page .quickprofile-section__eyebrow,
body.firm-quick-profile-page .schnellprofil-sidecard__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  margin: 0 0 0.6rem;
  padding: 0.46rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(234, 242, 255, 0.96) 0%, rgba(236, 249, 245, 0.92) 100%);
  border: 1px solid rgba(147, 197, 253, 0.42);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.08);
}

body.firm-quick-profile-page .schnellprofil-eyebrow::before,
body.firm-quick-profile-page .quickprofile-section__eyebrow::before,
body.firm-quick-profile-page .schnellprofil-sidecard__eyebrow::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.firm-quick-profile-page .schnellprofil-hero h1 {
  margin: 0;
  color: #10243f !important;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 2.2vw + 1.4rem, 3rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

body.firm-quick-profile-page .schnellprofil-lead {
  max-width: 58rem;
  margin: 0.85rem 0 0;
  color: #4b5d74;
  font-size: 1rem;
  line-height: 1.72;
}

body.firm-quick-profile-page.is-readonly-view .schnellprofil-lead {
  display: none;
}

body.firm-quick-profile-page .schnellprofil-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

body.firm-quick-profile-page .schnellprofil-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.48rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.8);
  color: #24405f;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.firm-quick-profile-page .schnellprofil-meta-chip[data-state="readonly"] {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(255, 251, 235, 0.92);
  color: #92400e;
}

body.firm-quick-profile-page .schnellprofil-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 1.1rem;
  align-items: start;
}

body.firm-quick-profile-page.is-readonly-view .schnellprofil-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.firm-quick-profile-page .schnellprofil-container,
body.firm-quick-profile-page .schnellprofil-sidecard {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.firm-quick-profile-page .schnellprofil-container {
  padding: clamp(1.1rem, 1vw + 0.88rem, 1.7rem);
}

body.firm-quick-profile-page .schnellprofil-aside {
  display: grid;
  gap: 1rem;
}

body.firm-quick-profile-page.is-readonly-view .schnellprofil-aside {
  display: none !important;
}

body.firm-quick-profile-page .schnellprofil-sidecard {
  padding: 1.2rem 1.25rem;
}

body.firm-quick-profile-page .schnellprofil-sidecard h2 {
  margin: 0;
  color: #10243f !important;
  font-size: 1.2rem !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
}

body.firm-quick-profile-page .schnellprofil-sidecard p,
body.firm-quick-profile-page .schnellprofil-sidecard li {
  color: #4b5d74;
  line-height: 1.65;
}

body.firm-quick-profile-page.is-readonly-view .quickprofile-section__copy--edit-hint {
  display: none;
}

body.firm-quick-profile-page .schnellprofil-tip-list,
body.firm-quick-profile-page .schnellprofil-preview-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.7rem;
}

body.firm-quick-profile-page .schnellprofil-tip-list li,
body.firm-quick-profile-page .schnellprofil-preview-list li {
  position: relative;
  padding-left: 1.1rem;
}

body.firm-quick-profile-page .schnellprofil-tip-list li::before,
body.firm-quick-profile-page .schnellprofil-preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

body.firm-quick-profile-page .schnellprofil-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.38);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.98));
  color: #92400e;
  line-height: 1.65;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body.firm-quick-profile-page .schnellprofil-form {
  display: grid;
  gap: 1rem;
}

body.firm-quick-profile-page .quickprofile-section {
  padding: 1.15rem 1.1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.74), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(203, 213, 225, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body.firm-quick-profile-page .quickprofile-section__head {
  margin-bottom: 0.95rem;
}

body.firm-quick-profile-page .quickprofile-section__title {
  margin: 0;
  color: #10243f !important;
  font-size: 1.2rem !important;
  line-height: 1.24 !important;
  overflow-wrap: anywhere;
}

body.firm-quick-profile-page .quickprofile-section__copy {
  margin: 0.5rem 0 0;
  color: #5b6b83;
  line-height: 1.65;
}

body.firm-quick-profile-page .quickprofile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
}

body.firm-quick-profile-page .quickprofile-field {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  min-width: 0;
}

body.firm-quick-profile-page .quickprofile-field--full {
  grid-column: 1 / -1;
}

body.firm-quick-profile-page .quickprofile-field > span {
  color: #1e293b;
  font-size: var(--ui-font-sm);
  font-weight: 700;
  line-height: 1.35;
}

body.firm-quick-profile-page .quickprofile-field input,
body.firm-quick-profile-page .quickprofile-field select,
body.firm-quick-profile-page .quickprofile-field textarea,
body.firm-quick-profile-page #professionEditRow input,
body.firm-quick-profile-page #benefitEditRow input {
  width: 100%;
  min-width: 0;
  min-height: var(--ui-touch-min);
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  border: 1.5px solid rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 252, 0.94);
  color: #0f172a;
  font-size: var(--ui-font-md);
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

body.firm-quick-profile-page .quickprofile-field input:focus,
body.firm-quick-profile-page .quickprofile-field select:focus,
body.firm-quick-profile-page .quickprofile-field textarea:focus,
body.firm-quick-profile-page #professionEditRow input:focus,
body.firm-quick-profile-page #benefitEditRow input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.58);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

body.firm-quick-profile-page .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  min-height: 2.8rem;
  align-items: flex-start;
}

body.firm-quick-profile-page #professionList:empty::before,
body.firm-quick-profile-page #benefitsList:empty::before {
  color: #7b8aa1;
  font-size: var(--ui-font-sm);
  line-height: 1.55;
}

body.firm-quick-profile-page #professionList:empty::before {
  content: "Noch keine Ausbildungsplätze hinzugefügt.";
}

body.firm-quick-profile-page #benefitsList:empty::before {
  content: "Noch keine Benefits hinterlegt.";
}

body.firm-quick-profile-page .benefit-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(191, 219, 254, 0.86);
  color: #1f3d63;
  font-size: var(--ui-font-sm);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

body.firm-quick-profile-page .benefit-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 0;
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
  line-height: 1;
  padding: 0;
}

body.firm-quick-profile-page .benefit-remove-btn:hover,
body.firm-quick-profile-page .benefit-remove-btn:focus-visible {
  background: rgba(239, 68, 68, 0.18);
  transform: scale(1.06);
  outline: none;
}

body.firm-quick-profile-page #professionEditRow,
body.firm-quick-profile-page #benefitEditRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 0.85rem;
  align-items: stretch;
}

body.firm-quick-profile-page #professionEditRow input,
body.firm-quick-profile-page #benefitEditRow input {
  margin: 0;
}

body.firm-quick-profile-page #addProfessionBtn,
body.firm-quick-profile-page #addBenefitBtn {
  width: 3.35rem !important;
  min-width: 3.35rem !important;
  min-height: var(--ui-touch-min);
  padding: 0 !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

body.firm-quick-profile-page .quickprofile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

body.firm-quick-profile-page .quickprofile-actions__note {
  margin: 0;
  color: #5b6b83;
  font-size: var(--ui-font-sm);
  line-height: 1.55;
}

body.firm-quick-profile-page .quickprofile-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

body.firm-quick-profile-page .quickprofile-actions__buttons .btn {
  min-width: min(100%, 13.5rem);
}

body.firm-quick-profile-page .btn.primary:hover {
  background: #1e40af;
}

@media (max-width: 980px) {
  body.firm-quick-profile-page .schnellprofil-layout {
    grid-template-columns: 1fr;
  }

  body.firm-quick-profile-page .schnellprofil-aside {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 720px) {
  body.firm-quick-profile-page .schnellprofil-shell {
    width: calc(100vw - 16px);
  }

  body.firm-quick-profile-page .schnellprofil-hero,
  body.firm-quick-profile-page .schnellprofil-container,
  body.firm-quick-profile-page .schnellprofil-sidecard {
    padding: 1.05rem;
    border-radius: 24px;
  }

  body.firm-quick-profile-page .quickprofile-grid {
    grid-template-columns: 1fr;
  }

  body.firm-quick-profile-page .quickprofile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.firm-quick-profile-page .quickprofile-actions__buttons {
    justify-content: stretch;
  }

  body.firm-quick-profile-page .quickprofile-actions__buttons .btn {
    width: 100%;
  }
}

@media (max-width: 540px) {
  body.firm-quick-profile-page #professionEditRow,
  body.firm-quick-profile-page #benefitEditRow {
    grid-template-columns: 1fr;
  }

  body.firm-quick-profile-page #addProfessionBtn,
  body.firm-quick-profile-page #addBenefitBtn {
    width: 100% !important;
  }

  body.firm-quick-profile-page .schnellprofil-topbar {
    align-items: stretch;
  }

  body.firm-quick-profile-page .schnellprofil-topbar .btn {
    width: 100%;
  }
}

.mobile-app-page {
  color: #162033;
}

.mobile-app-shell {
  width: min(var(--shell-max), calc(100vw - var(--shell-gutter)));
  margin: 1.1rem auto 0;
  padding-bottom: calc(6.2rem + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 1rem;
}

.mobile-app-topbar {
  position: sticky;
  top: 0.7rem;
  z-index: 12;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.mobile-app-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mobile-app-main,
.student-mobile-app-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-app-hero,
.mobile-app-role-panel,
.mobile-app-feature-card,
.mobile-app-card,
.student-mobile-app-hero,
.student-mobile-app-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.82);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.1);
}

.mobile-app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.95) 54%, rgba(236, 253, 245, 0.95) 100%);
}

.mobile-app-hero-copy,
.mobile-app-hero-side {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.mobile-app-hero-copy h1 {
  margin: 0;
  color: #10243f !important;
  font-size: clamp(2rem, 2vw + 1.35rem, 3rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em;
}

.mobile-app-eyebrow,
.mobile-app-card__eyebrow,
.student-mobile-app-card__eyebrow,
.student-mobile-app-summary-card__eyebrow,
.student-mobile-app-phone__label,
.student-mobile-app-phone-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(234, 242, 255, 0.96) 0%, rgba(236, 249, 245, 0.92) 100%);
  border: 1px solid rgba(147, 197, 253, 0.44);
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-app-eyebrow::before,
.mobile-app-card__eyebrow::before,
.student-mobile-app-card__eyebrow::before,
.student-mobile-app-summary-card__eyebrow::before,
.student-mobile-app-phone__label::before,
.student-mobile-app-phone-card__badge::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.mobile-app-hero-text,
.mobile-app-card__lead,
.mobile-app-feature-card p,
.student-mobile-app-lead,
.student-mobile-app-card__copy,
.student-mobile-app-summary-card p,
.student-mobile-app-summary-card__meta {
  color: #4b5d74;
  line-height: 1.72;
}

.mobile-app-install-card,
.mobile-app-card,
.student-mobile-app-card,
.student-mobile-app-summary-card,
.student-mobile-app-phone {
  border-radius: 28px;
}

.mobile-app-install-card,
.mobile-app-card,
.student-mobile-app-card {
  padding: 1.15rem;
}

.mobile-app-card__header,
.student-mobile-app-card__head,
.student-mobile-app-summary-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.mobile-app-card__title,
.student-mobile-app-card__title,
.student-mobile-app-summary-card h3 {
  margin: 0.45rem 0 0;
  color: #10243f !important;
  font-size: clamp(1.18rem, 1vw + 1rem, 1.5rem) !important;
  line-height: 1.2 !important;
}

.mobile-app-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.82);
  background: rgba(255, 255, 255, 0.84);
  width: fit-content;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
}

.mobile-app-tab {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #41546d;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-app-tab.is-active {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.22);
}

.mobile-app-role-panel {
  padding: 0;
  border-radius: 32px;
}

.mobile-app-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.95) 100%);
}

.mobile-app-card--student {
  border-top: 4px solid rgba(37, 99, 235, 0.82);
}

.mobile-app-card--firm {
  border-top: 4px solid rgba(13, 148, 136, 0.82);
}

.mobile-app-action-grid,
.student-mobile-app-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mobile-app-action-grid .btn {
  min-height: 3rem;
  justify-content: center;
}

.mobile-app-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mobile-app-feature-card {
  padding: 1.15rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.94) 100%);
}

.mobile-app-feature-card__eyebrow {
  margin: 0;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-app-feature-card h2 {
  margin: 0.45rem 0 0.65rem !important;
  color: #10243f !important;
  font-size: 1.28rem !important;
  line-height: 1.22 !important;
}

.mobile-app-dock {
  position: sticky;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 14;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
}

.mobile-app-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-app-dock a[aria-current="page"],
.mobile-app-dock a:hover,
.mobile-app-dock a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

.student-mobile-app-shell {
  gap: 1.1rem;
}

.student-mobile-app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 1rem;
  padding: 1.3rem;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(96, 165, 250, 0.28), transparent 24%),
    radial-gradient(circle at 12% 86%, rgba(20, 184, 166, 0.22), transparent 22%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.96) 58%, rgba(236, 253, 245, 0.96) 100%);
}

.student-mobile-app-hero__copy,
.student-mobile-app-hero__preview {
  position: relative;
  z-index: 1;
}

.student-mobile-app-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.student-mobile-app-hero__copy h1 {
  margin: 0;
  color: #10243f !important;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.05rem, 2vw + 1.45rem, 3.15rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em;
}

.student-mobile-app-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.student-mobile-app-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.44rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.78);
  color: #24405f;
  font-size: 0.88rem;
  font-weight: 700;
}

.student-mobile-app-chip--primary,
.student-mobile-app-summary-pill {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
  border-color: transparent;
  color: #ffffff;
}

.student-mobile-app-hero__preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.student-mobile-app-phone {
  width: min(100%, 320px);
  padding: 0.7rem;
  background: linear-gradient(180deg, #0f172a 0%, #172554 100%);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.28);
}

.student-mobile-app-phone__top {
  width: 42%;
  height: 1.25rem;
  margin: 0 auto 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.student-mobile-app-phone__screen {
  min-height: 26rem;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.95) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.student-mobile-app-phone-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.7);
}

.student-mobile-app-phone-card strong {
  color: #10243f;
  font-size: 1.12rem;
}

.student-mobile-app-phone-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.student-mobile-app-phone-stats div,
.student-mobile-app-data-grid div {
  display: grid;
  gap: 0.18rem;
  padding: 0.68rem 0.72rem;
  border-radius: 18px;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.76);
}

.student-mobile-app-phone-stats span,
.student-mobile-app-data-grid strong {
  color: #5b6b83;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.student-mobile-app-phone-stats strong,
.student-mobile-app-data-grid span {
  color: #10243f;
}

.student-mobile-app-phone-list,
.student-mobile-app-step-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: #41546d;
  line-height: 1.6;
}

.student-mobile-app-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.student-mobile-app-column {
  display: grid;
  gap: 1rem;
}

.student-mobile-app-card {
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 249, 255, 0.96) 100%);
}

.student-mobile-app-action {
  display: grid;
  gap: 0.45rem;
  min-height: 6.25rem;
  padding: 0.9rem;
  border-radius: 24px;
  text-decoration: none;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(191, 219, 254, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.student-mobile-app-action:hover,
.student-mobile-app-action:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.09);
}

.student-mobile-app-action--primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
  border-color: transparent;
}

.student-mobile-app-action__label {
  color: #10243f;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
}

.student-mobile-app-action__meta {
  color: #4b5d74;
  font-size: 0.88rem;
  line-height: 1.5;
}

.student-mobile-app-action--primary .student-mobile-app-action__label,
.student-mobile-app-action--primary .student-mobile-app-action__meta {
  color: #ffffff;
}

.student-mobile-app-summary-stack {
  display: grid;
  gap: 0.8rem;
}

.student-mobile-app-summary-card {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.76);
}

.student-mobile-app-summary-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.student-mobile-app-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.student-mobile-app-dock {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .mobile-app-hero,
  .student-mobile-app-hero,
  .student-mobile-app-layout,
  .mobile-app-feature-grid {
    grid-template-columns: 1fr;
  }

  .student-mobile-app-hero__preview {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .mobile-app-shell {
    width: calc(100vw - 16px);
    margin-top: 0.75rem;
  }

  .mobile-app-topbar {
    top: 0.45rem;
  }

  .mobile-app-topbar-actions,
  .student-mobile-app-summary-card__actions {
    width: 100%;
  }

  .mobile-app-topbar-actions .btn,
  .student-mobile-app-summary-card__actions .btn {
    width: 100%;
  }

  .mobile-app-hero,
  .student-mobile-app-hero,
  .mobile-app-card,
  .student-mobile-app-card,
  .mobile-app-feature-card,
  .student-mobile-app-summary-card {
    padding: 1rem;
    border-radius: 24px;
  }

  .mobile-app-action-grid,
  .student-mobile-app-action-grid,
  .student-mobile-app-data-grid,
  .student-mobile-app-phone-stats {
    grid-template-columns: 1fr;
  }

  .mobile-app-dock {
    gap: 0.4rem;
    padding: 0.45rem;
    border-radius: 28px;
  }

  .mobile-app-dock a {
    min-height: 2.65rem;
    font-size: 0.84rem;
    padding-inline: 0.45rem;
  }

  .student-mobile-app-phone {
    width: 100%;
  }

  .student-mobile-app-phone__screen {
    min-height: 21rem;
  }
}

@media (max-width: 540px) {
  .mobile-app-tabs {
    width: 100%;
  }

  .mobile-app-tab {
    flex: 1 1 0;
    justify-content: center;
  }

  .mobile-app-dock,
  .student-mobile-app-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 24px;
  }
}

.firma-entry-layout {
  width: min(var(--shell-wide-max), calc(100vw - calc(var(--shell-gutter) + 8px)));
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.firma-intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.92fr);
  gap: 1.25rem;
  margin-top: 36px;
}

.firma-intro-copy,
.firma-intro-brief,
.firma-auth-card,
.firma-portal-card,
.firma-match-card {
  padding: calc(var(--ui-card-pad) + 0.15rem) calc(var(--ui-card-pad) + 0.2rem);
  border-radius: var(--ui-card-radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.firma-intro-copy:hover,
.firma-intro-brief:hover,
.firma-auth-card:hover,
.firma-auth-card:focus-within,
.firma-portal-card:hover,
.firma-portal-card:focus-within,
.firma-match-card:hover,
.firma-match-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.1);
  border-color: rgba(96, 165, 250, 0.28);
}

.firma-intro-copy h1 {
  margin: 0;
  color: #0f172a !important;
}

.firma-intro-brief {
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.94) 0%, rgba(239, 246, 255, 0.96) 100%);
}

.firma-intro-brief__label {
  margin: 0;
  color: #2563eb;
  font-size: var(--ui-font-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.firma-intro-brief__list {
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-sm);
  margin-top: 1rem;
}

.firma-intro-brief__item {
  display: flex;
  align-items: flex-start;
  gap: var(--ui-space-sm);
  color: #334155;
  line-height: 1.6;
  font-size: var(--ui-font-sm);
}

.firma-intro-brief__item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(1.8rem, 3.4vw, 2rem);
  min-height: clamp(1.8rem, 3.4vw, 2rem);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
  flex-shrink: 0;
}

.firma-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.firma-auth-card {
  grid-column: 1 / -1;
  max-width: 760px;
}

.firma-portal-card,
.firma-match-card {
  grid-column: span 2;
}

.firma-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1em 0 0.7em;
  color: #334155;
  line-height: 1.6;
}

.firma-checkbox-row input {
  margin-top: 0.18rem;
}

.firma-verify-title {
  margin: 0 0 0.4rem;
  color: #1e3a8a;
  font-size: var(--ui-font-sm);
}

.firma-verify-hint,
.firma-account-copy,
.firma-file-status {
  color: #64748b;
  font-size: var(--ui-font-sm);
}

.firma-account-copy {
  margin-bottom: 0.8rem;
}

.firma-file-status {
  margin: 0.3rem 0 0;
}

.firma-verification-box {
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.firma-verification-box:hover,
.firma-verification-box:focus-within,
.portal-support-note:hover,
.portal-support-note:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.firma-verification-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.firma-verification-box--warning {
  background: #fef3c7;
  border-color: #f59e0b;
}

.firma-verification-box--warning p {
  color: #92400e;
}

.firma-verification-box--success {
  background: #dcfce7;
  border-color: #22c55e;
}

.firma-verification-box--success p {
  color: #166534;
}

.firma-home-cta {
  width: 100%;
  margin-top: 1rem;
}

.portal-support-note {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(110, 231, 183, 0.28);
  color: #355268;
  line-height: 1.62;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.firm-plan-picker {
  margin: 1rem 0 0;
  padding: 0;
  border: none;
  display: grid;
  gap: 0.85rem;
}

.firm-plan-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.firm-plan-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.firm-plan-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.firm-plan-card:hover .firm-plan-card__body,
.firm-plan-card:focus-within .firm-plan-card__body {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.09);
  border-color: rgba(96, 165, 250, 0.28);
}

.firm-plan-card input:focus-visible + .firm-plan-card__body {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.firm-plan-card input:checked + .firm-plan-card__body {
  border-color: rgba(37, 99, 235, 0.38);
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.88));
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.12);
}

.firm-plan-card--disabled {
  cursor: not-allowed;
}

.firm-plan-card--disabled .firm-plan-card__body {
  opacity: 0.7;
  transform: none !important;
  box-shadow: none;
}

.firm-plan-card--inquiry .firm-plan-card__body {
  border-style: dashed;
  border-color: rgba(14, 116, 144, 0.28);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.96), rgba(248, 250, 252, 0.94));
}

.firm-plan-card--inquiry .firm-plan-card__price,
.firm-plan-card--inquiry .firm-plan-card__badge {
  color: #0f766e;
}

.firm-plan-card--inquiry .firm-plan-card__badge {
  background: rgba(15, 118, 110, 0.12);
}

.firm-plan-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.firm-plan-card__title {
  display: block;
  color: #0f172a;
  font-size: 1rem;
}

.firm-plan-card__price {
  display: block;
  margin-top: 0.18rem;
  color: #1d4ed8;
  font-size: 0.94rem;
  font-weight: 800;
}

.firm-plan-card__badge,
.firm-plan-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.firm-plan-card__badge {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.firm-plan-card__copy {
  color: #475569;
  line-height: 1.62;
}

.firm-plan-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.firm-plan-card__chip {
  background: rgba(241, 245, 249, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #334155;
}

.portal-support-note--compact {
  margin: 0.45rem 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.required-mark {
  color: #dc2626;
}

.number-visible {
  font-size: 1.08rem;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
  letter-spacing: 0.06em;
}

.bewerber-entry-page--editing .bewerber-intro-band,
.bewerber-entry-page--editing .student-clickgo-card,
.bewerber-entry-page--editing .portal-internship-stage {
  display: none;
}

.bewerber-entry-page--auth-only .bewerber-intro-band,
.bewerber-entry-page--auth-only .student-clickgo-card,
.bewerber-entry-page--auth-only .portal-internship-stage {
  display: none;
}

.bewerber-entry-page--editing .bewerber-entry-grid {
  margin-top: 0;
}

.bewerber-entry-page--auth-only .bewerber-entry-grid {
  margin-top: 0;
}

.bewerber-entry-page--editing #authPanel {
  display: none !important;
}

.bewerber-entry-page--auth-only #authPanel {
  display: block !important;
}

.bewerber-entry-page--auth-only #profilePanel,
.bewerber-entry-page--auth-only #messagesPanel {
  display: none !important;
}

.bewerber-entry-page--editing #profilePanel,
.bewerber-entry-page--editing #messagesPanel {
  display: block !important;
}

@media (max-width: 980px) {
  .student-clickgo-card__steps {
    grid-template-columns: 1fr;
  }

  .bewerber-intro-band,
  .bewerber-entry-grid,
  .firma-intro-band,
  .firma-entry-grid {
    grid-template-columns: 1fr;
  }

  .internship-main-stage__grid {
    grid-template-columns: 1fr;
  }

  .bewerber-auth-card,
  .bewerber-profile-card,
  .bewerber-preview-panel,
  .firma-auth-card,
  .firma-portal-card,
  .firma-match-card {
    grid-column: auto;
    max-width: none;
  }

  .bewerber-preview-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .student-clickgo-card,
  .student-auth-quick-guide {
    padding: 0.85rem;
  }

  .bewerber-language-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bewerber-language-row .input,
  .bewerber-language-row .btn {
    width: 100%;
  }

  .bewerber-language-row .input {
    min-height: 3.35rem;
  }

  .student-clickgo-card__actions .btn {
    width: 100%;
  }

  .internship-page-main {
    width: min(100vw, calc(100vw - 16px));
  }

  .internship-page-hero__pill {
    width: 100%;
    justify-content: center;
  }

  .internship-access-card {
    padding: 0.95rem;
  }

  .internship-business-value-card__points {
    width: 100%;
  }

  .internship-form-accordion__body {
    padding: 0 1rem 1rem;
  }

  .internship-report-textarea {
    min-height: 210px;
  }

  .internship-form-accordion__title {
    font-size: 0.96rem;
  }

  .internship-form-accordion__meta {
    font-size: 0.88rem;
  }

  .internship-main-stage__lead,
  .internship-main-stage__card,
  .portal-internship-stage {
    padding: 1rem;
  }

  .firm-match-tile__summary,
  .firm-match-locked-callout__hero,
  .student-request-card__header {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .firm-match-tile__chips,
  .firm-match-locked-callout__chips {
    justify-content: flex-start;
  }

  .firm-match-detail-grid {
    grid-template-columns: 1fr;
  }

  .student-contact-card__header,
  .student-contact-thread__header,
  .interview-sync-panel__summary,
  .bewerber-profile-header {
    flex-direction: column;
  }

  .bewerber-profile-header {
    align-items: stretch;
  }

  .bewerber-profile-account {
    flex: 0 1 auto;
    width: 100%;
    max-width: none;
  }

  .student-contact-card__actions .btn {
    width: 100%;
  }

  .interview-sync-panel__actions .btn,
  .student-contact-thread__header-actions .btn {
    width: 100%;
  }

  .student-contact-thread__header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .student-contact-thread__identity,
  .student-contact-thread__feed-head,
  .student-contact-thread__composer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .conversation-message__cluster,
  .conversation-message--outgoing .conversation-message__cluster {
    grid-template-columns: 1fr;
  }

  .conversation-message__avatar {
    display: none;
  }

  .firm-calendar-highlight__item {
    flex-direction: column;
  }

  .release-note-dialog__actions {
    justify-content: stretch;
  }

  .release-note-dialog__actions .btn {
    width: 100%;
  }

  .firm-paid-plan-dialog__panel {
    padding: 1.1rem;
  }

  .firm-paid-plan-dialog__facts {
    grid-template-columns: 1fr;
  }

  .firm-paid-plan-dialog__actions {
    justify-content: stretch;
  }

  .firm-paid-plan-dialog__actions .btn {
    width: 100%;
  }

  .student-contact-card__grid,
  .interview-sync-panel__grid,
  .conversation-message__appointment-grid,
  .bewerber-inline-grid,
  .bewerber-field-group--full {
    grid-template-columns: 1fr;
  }

  .bewerber-intro-band,
  .bewerber-entry-grid,
  .firma-intro-band,
  .firma-entry-grid {
    grid-template-columns: 1fr;
  }

  .bewerber-auth-card,
  .bewerber-profile-card,
  .bewerber-preview-panel,
  .firma-auth-card,
  .firma-portal-card,
  .firma-match-card {
    grid-column: auto;
    max-width: none;
  }

  .bewerber-preview-panel {
    position: static;
  }

  .internship-main-stage__actions,
  .portal-internship-stage .internship-access-card__actions {
    width: 100%;
  }

  .internship-main-stage__actions .btn,
  .portal-internship-stage .internship-access-card__actions .btn {
    width: 100%;
  }

  .azubimatch-header {
    width: calc(100vw - 16px) !important;
    border-radius: 24px !important;
    margin-top: 0.85rem !important;
    margin-bottom: 1rem !important;
    padding: 1.35rem 0.85rem !important;
  }

  .start-wrapper,
  .hero,
  .portal-page,
  .training-list,
  .login-container,
  .company-info-box,
  .lehrberufe-grid-outer,
  .lehrberufe-filters,
  .profil-panel,
  .profil-account-bar,
  main[style*="max-width:1100px"],
  main[style*="max-width:1200px"] {
    width: calc(100vw - 16px) !important;
  }

  .panel,
  .training-list,
  .login-container,
  .company-info-box,
  .admin-header,
  .admin-tabs,
  .admin-stat-card,
  .lehrberufe-grid-outer {
    border-radius: 18px !important;
  }
}

.startseite-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.start-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.start-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 0;
  width: 100%;
}


.start-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 1.5rem 0;
}

.logo-icon-big {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,130,229,0.10);
  background: white;
  border-radius: 32px;
  padding: 0.5rem;
}

.start-nav {
  display: flex;
  gap: 2rem;
}

.start-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.start-nav a:hover {
  color: var(--accent);
}

/* Main */
.start-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0 3rem;
  gap: 2.8rem;
}

.start-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.start-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.38rem 1.1rem;
  border-radius: 999px;
}

.start-title {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  margin: 0 !important;
  background: linear-gradient(135deg, var(--lux-title-start) 0%, var(--lux-title-mid) 55%, #5b8ec4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.start-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Choice cards */
.start-cards {
  display: flex;
  gap: 1.6rem;
  width: 100%;
  max-width: 820px;
}

.start-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.4rem 1.8rem 2rem;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  text-align: center;
  background: white;
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: inherit;
}

.start-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
}

.start-card--bewerber::before {
  background: linear-gradient(90deg, #2563eb, #22c3ff);
}

.start-card--firma::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.start-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.17);
}

.start-card--firma:hover {
  box-shadow: 0 22px 52px rgba(124, 58, 237, 0.17);
}

.start-card-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.start-card--bewerber .start-card-icon {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #2563eb;
}

.start-card--firma .start-card-icon {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #7c3aed;
}

.start-card-icon svg {
  width: 46px;
  height: 46px;
}

.start-card-body h2 {
  font-family: "Nunito", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.28;
}

.start-card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.start-card-arrow {
  font-size: 1.4rem;
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: auto;
}

.start-card:hover .start-card-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* Explore link */
.start-explore-link {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--accent-soft);
  transition: background 0.2s, border-color 0.2s;
}

.start-explore-link:hover {
  background: var(--accent-soft);
  border-color: #bfdbfe;
}

/* Footer */
.start-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.start-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.start-footer a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 640px) {
  .profile-info-card__toggle {
    flex-direction: column;
  }

  .profile-info-card__hint {
    align-self: flex-start;
  }

  .start-cards {
    flex-direction: column;
    max-width: 400px;
  }

  .start-nav {
    display: none;
  }

  .start-main {
    gap: 2rem;
  }
}

body.user-is-tabbing a:focus,
body.user-is-tabbing button:focus,
body.user-is-tabbing input:focus,
body.user-is-tabbing select:focus,
body.user-is-tabbing textarea:focus,
body.user-is-tabbing summary:focus {
  outline: 3px solid #2563eb !important;
  outline-offset: 2px;
}

.index-page {
  color: #162033;
}

.index-layout {
  max-width: var(--shell-max);
  width: min(var(--shell-max), calc(100vw - var(--shell-gutter)));
  padding: 0 0 3rem;
}

.index-topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem 1.3rem;
  margin-top: 1.4rem;
  padding: 1.05rem calc(var(--ui-card-pad) + 0.35rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(37, 99, 235, 0.18);
  border-radius: 26px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.13), 0 4px 14px rgba(37, 99, 235, 0.07);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.index-nav-cluster {
  display: flex;
  flex: 1 1 34rem;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
  position: relative;
}

.index-directory {
  width: 100%;
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 260ms ease, filter 260ms ease;
}

.index-directory[open] {
  grid-template-rows: auto 1fr;
}

.index-directory summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
  color: #173459;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.index-directory summary:hover,
.index-directory summary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.12);
}

.index-directory summary::-webkit-details-marker {
  display: none;
}

.index-directory summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(191, 219, 254, 0.78);
  color: #1d4ed8;
  font-size: 1.08rem;
  font-weight: 800;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.index-directory[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.index-directory-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
  margin-top: 0.8rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(203, 213, 225, 0.82);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.index-directory[open] .index-directory-panel {
  opacity: 1;
  transform: translateY(0);
}

.index-directory-group {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.index-directory-title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.15rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.index-directory-group a {
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.68rem 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.78);
  background: rgba(248, 250, 252, 0.82);
  color: #2f4159;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.index-directory-group a:hover,
.index-directory-group a:focus-visible {
  background: rgba(219, 234, 254, 0.92);
  border-color: rgba(96, 165, 250, 0.72);
  color: #1d4ed8;
  transform: translateY(-1px);
}

.index-directory-group a[aria-current="page"] {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border-color: rgba(59, 130, 246, 0.42);
  color: #123f8f;
}

.index-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  min-width: 0;
  width: clamp(310px, 27vw, 420px);
  height: auto;
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-decoration: none;
  flex: 0 0 auto;
  overflow: visible;
  white-space: normal;
  filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.15));
}

.index-brand::before {
  content: "";
  display: block;
  width: 100%;
  height: clamp(4rem, 4.8vw, 5.6rem);
  background: url("images/Logo Azubimatcher.svg") left center / contain no-repeat;
}

.index-brand::after {
  content: "Wir machen Azubi-Recruiting fair, inklusiv und intelligent.";
  display: block;
  max-width: 100%;
  color: #1f3d63;
  font-size: clamp(0.68rem, 0.66vw, 0.88rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.02em;
}

.index-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.42rem;
  min-width: 0;
}

.index-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.22rem;
  padding: 0.46rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.84) 100%);
  color: #2f4159;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.8rem, 0.14vw + 0.78rem, 0.9rem);
  line-height: 1.24;
  white-space: nowrap;
  overflow-wrap: normal;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 6px 18px rgba(148, 163, 184, 0.12);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 180ms ease;
}

.index-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(20, 184, 166, 0.14) 100%);
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: -1;
}

.index-nav a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.42rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #14b8a6 100%);
  transform: scaleX(0.2);
  transform-origin: left center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.index-nav a:hover,
.index-nav a:focus-visible {
  background: rgba(239, 246, 255, 0.96);
  border-color: rgba(96, 165, 250, 0.76);
  color: #1247a7;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.65), 0 14px 30px rgba(37, 99, 235, 0.14);
}

.index-nav a:hover::before,
.index-nav a:focus-visible::before,
.index-nav a:hover::after,
.index-nav a:focus-visible::after {
  opacity: 1;
}

.index-nav a:hover::after,
.index-nav a:focus-visible::after {
  transform: scaleX(1);
}

.index-nav a[aria-current="page"] {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 52%, #ecfeff 100%);
  border-color: rgba(59, 130, 246, 0.52);
  color: #123f8f;
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.72), 0 12px 26px rgba(37, 99, 235, 0.12);
}

.index-nav a[aria-current="page"]::before,
.index-nav a[aria-current="page"]::after {
  opacity: 1;
}

.index-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (min-width: 761px) {
  .index-topbar {
    overflow: visible;
  }

  .index-meta-nav {
    display: none;
  }

  .index-nav-cluster {
    gap: 0.82rem;
  }

  .index-directory {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 35;
    width: 100%;
    pointer-events: none;
  }

  .index-directory summary {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .index-directory:not([open]) > .index-directory-panel,
  .index-directory[open] > .index-directory-panel {
    display: grid;
  }

  .index-directory-panel {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-top: 0;
    padding: 1.12rem;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.97) 54%, rgba(240, 253, 250, 0.96) 100%);
    border: 1px solid rgba(191, 219, 254, 0.82);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease, box-shadow 220ms ease;
  }

  .index-nav-cluster:hover .index-directory,
  .index-nav-cluster:focus-within .index-directory {
    pointer-events: auto;
  }

  .index-nav-cluster:hover .index-directory-panel,
  .index-nav-cluster:focus-within .index-directory-panel,
  .index-directory:hover .index-directory-panel,
  .index-directory[open] .index-directory-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    box-shadow: 0 34px 68px rgba(15, 23, 42, 0.18);
  }

  .index-directory-group {
    gap: 0.52rem;
    min-height: 100%;
    padding-left: 0.95rem;
    border-left: 1px solid rgba(191, 219, 254, 0.72);
  }

  .index-directory-group:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .index-directory-group[data-nav-match-group="true"] .index-directory-title {
    background: linear-gradient(135deg, rgba(219, 234, 254, 1) 0%, rgba(204, 251, 241, 0.96) 100%);
    color: #0f4c81;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
  }

  .index-directory-group a {
    min-height: 2.7rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  }

  .index-directory-group a[data-nav-match="true"] {
    background: linear-gradient(135deg, rgba(219, 234, 254, 1) 0%, rgba(236, 253, 245, 0.98) 100%);
    border-color: rgba(96, 165, 250, 0.82);
    color: #0f4aa9;
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.14);
  }

  .index-nav {
    gap: 0.56rem;
  }

  .index-nav a {
    min-height: 2.56rem;
    padding: 0.62rem 0.94rem;
  }

  .index-directory-group--meta {
    grid-column: 1 / -1;
    margin-top: 0.2rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.42);
    border-left: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
  }

  .index-directory-group--meta .index-directory-title {
    margin: 0 0.35rem 0 0;
  }

  .index-directory-group--meta a {
    min-height: 2.3rem;
    padding: 0.52rem 0.78rem;
    border-radius: 999px;
    width: auto;
  }

  .index-meta-nav {
    gap: 0.45rem 0.72rem;
  }

  .index-meta-nav a {
    position: relative;
    padding-bottom: 0.12rem;
    transition: color 180ms ease, transform 180ms ease;
  }

  .index-meta-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.06rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb 0%, #14b8a6 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 180ms ease;
  }

  .index-meta-nav a:hover,
  .index-meta-nav a:focus-visible,
  .index-meta-nav a[aria-current="page"] {
    transform: translateY(-1px);
  }

  .index-meta-nav a:hover::after,
  .index-meta-nav a:focus-visible::after,
  .index-meta-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }
}

.index-market-card--stability,
.index-info-card--stability,
.index-section--stability .index-retention-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(96, 165, 250, 0.42);
  background: linear-gradient(145deg, rgba(238, 246, 255, 0.96) 0%, rgba(236, 252, 247, 0.95) 52%, rgba(255, 249, 238, 0.94) 100%);
  box-shadow: 0 24px 52px rgba(29, 78, 216, 0.1);
}

.index-market-card--stability::before,
.index-info-card--stability::before,
.index-section--stability .index-retention-band::before {
  content: "";
  position: absolute;
  right: -3rem;
  top: -2.2rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(20, 184, 166, 0.12) 42%, rgba(245, 158, 11, 0.08) 66%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
}

.index-market-card--stability::after,
.index-info-card--stability::after,
.index-section--stability .index-retention-band::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #14b8a6 58%, #f59e0b 100%);
  transform: scaleX(1);
  transition: none;
}

.index-market-card--stability > *,
.index-info-card--stability > *,
.index-section--stability .index-retention-band > * {
  position: relative;
  z-index: 1;
}

.index-market-card--stability .index-market-label {
  background: transparent;
  color: #0f2f56;
  border-bottom-color: rgba(21, 94, 117, 0.22);
}

.index-info-card--stability h3,
.index-section--stability .index-section-title,
.index-section--stability .index-retention-copy h3 {
  color: #0f2f56 !important;
}

.index-section--stability .index-retention-copy {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(147, 197, 253, 0.7);
}

.index-info-card--stability .btn.primary,
.index-section--stability .index-retention-actions .btn.primary {
  box-shadow: 0 16px 28px rgba(29, 78, 216, 0.16);
}

.index-meta-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  min-width: 0;
}

.index-meta-nav a {
  color: #607089;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.index-meta-nav a:hover,
.index-meta-nav a:focus-visible,
.index-meta-nav a[aria-current="page"] {
  color: #1d4ed8;
}

.index-topbar-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.46rem;
}

.index-topbar-actions > .btn,
.index-topbar-actions > a.btn {
  min-width: 0;
  min-height: 2.65rem;
  padding: 0.68rem 1.15rem;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: 17px !important;
  white-space: nowrap;
}

.page-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.34rem;
  padding: 0.52rem 0.78rem;
  background: rgba(248, 250, 252, 0.82) !important;
  border: 1px solid rgba(203, 213, 225, 0.78) !important;
  color: #475569 !important;
  box-shadow: none !important;
  font-weight: 500;
  white-space: nowrap;
}

.page-share-btn:hover,
.page-share-btn:focus-visible {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(148, 163, 184, 0.72) !important;
  color: #334155 !important;
  box-shadow: none !important;
}

.page-share-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.02rem;
  height: 1.02rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.page-share-btn__label {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
}

.page-share-btn[data-share-state="copied"],
.page-share-btn[data-share-state="shared"] {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(240, 253, 244, 0.96);
  color: #166534;
}

.page-share-btn[data-share-state="copied"] .page-share-btn__icon,
.page-share-btn[data-share-state="shared"] .page-share-btn__icon {
  background: rgba(34, 197, 94, 0.16);
  color: #166534;
}

.index-login-btn {
  flex: 0 1 auto;
  min-width: 8.9rem;
  white-space: nowrap;
}

.index-main {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 2rem 0 0;
}

.index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.15rem;
  align-items: start;
  max-width: 100%;
  margin-inline: auto;
}

.index-hero-copy,
.index-hero-panel,
.index-info-card,
.index-info-accordion,
.index-profession-card,
.index-detail,
.index-benefit-card,
.index-retention-band,
.index-berufe-spotlight,
.index-source-panel,
.index-cta-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.motion-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.index-hero-copy {
  padding: 2.35rem;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.index-hero-copy::before {
  content: "";
  position: absolute;
  right: -2.4rem;
  bottom: -1.4rem;
  width: min(48%, 420px);
  aspect-ratio: 5 / 3;
  background: url("images/theme-zusammenarbeit.svg") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.index-hero-copy > * {
  position: relative;
  z-index: 1;
}

.index-kicker,
.index-section-kicker,
.index-panel-kicker,
.home-mini-card-label,
.lehrberufe-overview-label,
.matching-overview-label,
.trainings-overview-label,
.trainings-list-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  margin: 0;
  padding: 0.48rem 0.92rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(234, 242, 255, 0.96) 0%, rgba(236, 249, 245, 0.92) 100%);
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.08);
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-kicker::before,
.index-section-kicker::before,
.index-panel-kicker::before,
.home-mini-card-label::before,
.lehrberufe-overview-label::before,
.matching-overview-label::before,
.trainings-overview-label::before,
.trainings-list-kicker::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.portal-entry-page .eyebrow,
body.portal-entry-page .bewerber-intro-brief__label,
body.portal-entry-page .bewerber-preview-label,
body.portal-entry-page .firma-intro-brief__label,
body.student-profile-page .student-section-label,
body.firm-profile-page .firm-section-label,
body.admin-page .admin-login-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  margin: 0 0 0.5rem;
  padding: 0.48rem 0.92rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(234, 242, 255, 0.96) 0%, rgba(236, 249, 245, 0.92) 100%);
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.08);
  color: #1d4ed8 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

body.portal-entry-page .eyebrow::before,
body.portal-entry-page .bewerber-intro-brief__label::before,
body.portal-entry-page .bewerber-preview-label::before,
body.portal-entry-page .firma-intro-brief__label::before,
body.student-profile-page .student-section-label::before,
body.firm-profile-page .firm-section-label::before,
body.admin-page .admin-login-card__eyebrow::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.portal-entry-page .bewerber-intro-copy h1,
body.portal-entry-page .firma-intro-copy h1,
body.student-profile-page #profilGreeting,
body.student-profile-page .student-section-title,
body.firm-profile-page .firm-section-title,
body.admin-page .admin-header-title--hero,
body.admin-page .admin-login-card h1,
body.admin-page .admin-users-section h2,
body.admin-page .admin-main > .admin-tab > .admin-header h2 {
  position: relative;
  margin-top: 0;
  overflow-wrap: anywhere;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #10243f !important;
}

body.portal-entry-page .bewerber-intro-copy h1::after,
body.portal-entry-page .firma-intro-copy h1::after,
body.student-profile-page #profilGreeting::after,
body.student-profile-page .student-section-title::after,
body.firm-profile-page .firm-section-title::after,
body.admin-page .admin-login-card h1::after,
body.admin-page .admin-users-section h2::after,
body.admin-page .admin-main > .admin-tab > .admin-header h2::after {
  content: "";
  display: block;
  width: clamp(72px, 10vw, 126px);
  height: 0.28rem;
  margin-top: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95) 0%, rgba(20, 184, 166, 0.82) 72%, rgba(20, 184, 166, 0) 100%);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
}

body.portal-entry-page .bewerber-intro-copy h1,
body.portal-entry-page .firma-intro-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.75rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em;
}

body.student-profile-page #profilGreeting,
body.student-profile-page .student-section-title,
body.firm-profile-page .firm-section-title {
  font-size: clamp(1.24rem, 1.1vw + 1rem, 1.96rem) !important;
}

body.admin-page .admin-login-card h1,
body.admin-page .admin-header-title--hero,
body.admin-page .admin-main > .admin-tab > .admin-header h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.45rem) !important;
}

body.admin-page .admin-users-section h2 {
  font-size: clamp(1.22rem, 1vw + 0.95rem, 1.55rem) !important;
}

body.portal-entry-page .panel h2,
body.portal-entry-page .auth-register-extra h3,
body.portal-entry-page .bewerber-preview-card h3,
body.portal-entry-page .firma-verify-title,
body.student-profile-page .profile-info-card__headline,
body.firm-profile-page .profile-info-card__headline,
body.admin-page .admin-dashboard-panel__header h3,
body.admin-page .admin-stat-card h3,
body.admin-page .matching-overview-card h2,
body.admin-page .matching-results-title,
body.admin-page .admin-main h2,
body.admin-page .admin-main h3 {
  overflow-wrap: anywhere;
  letter-spacing: -0.02em;
}

body.admin-page .admin-header-title--hero {
  color: #fff !important;
}

body.admin-page .admin-header--hero .admin-header-title--hero::after {
  width: clamp(58px, 7vw, 98px);
  height: 0.22rem;
  margin-top: 0.44rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(191, 219, 254, 0.92) 58%, rgba(191, 219, 254, 0) 100%);
  box-shadow: 0 7px 16px rgba(255, 255, 255, 0.14);
}

.index-hero-title,
.index-section-title,
.home-hero-title,
.home-section-title,
.lehrberufe-title,
.matching-title,
.trainings-title {
  position: relative;
  overflow-wrap: anywhere;
  color: #10243f !important;
}

.title-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08em;
  max-width: 100%;
}

.title-stack__line {
  display: block;
  max-width: 100%;
}

.title-stack__line--offset {
  margin-left: clamp(0.6rem, 2.4vw, 1.7rem);
}

.title-stack__line--offset-strong {
  margin-left: clamp(1rem, 4vw, 2.9rem);
}

.title-stack--compact {
  gap: 0.06em;
}

.title-stack--compact .title-stack__line--offset {
  margin-left: clamp(0.45rem, 1.9vw, 1.2rem);
}

.title-stack--compact .title-stack__line--offset-strong {
  margin-left: clamp(0.85rem, 3vw, 2rem);
}

.title-stack--card {
  gap: 0.04em;
}

.title-stack--card .title-stack__line--offset {
  margin-left: clamp(0.35rem, 1.45vw, 0.95rem);
}

.title-stack--card .title-stack__line--offset-strong {
  margin-left: clamp(0.65rem, 2.3vw, 1.45rem);
}

body.student-profile-page .title-stack--compact .title-stack__line--offset,
body.firm-profile-page .title-stack--compact .title-stack__line--offset,
body.student-profile-page .title-stack--card .title-stack__line--offset,
body.firm-profile-page .title-stack--card .title-stack__line--offset {
  margin-left: clamp(0.24rem, 1vw, 0.68rem);
}

body.student-profile-page .title-stack--compact .title-stack__line--offset-strong,
body.firm-profile-page .title-stack--compact .title-stack__line--offset-strong,
body.student-profile-page .title-stack--card .title-stack__line--offset-strong,
body.firm-profile-page .title-stack--card .title-stack__line--offset-strong {
  margin-left: clamp(0.46rem, 1.72vw, 1.02rem);
}

body.admin-page .title-stack--compact .title-stack__line--offset,
body.admin-page .title-stack--card .title-stack__line--offset {
  margin-left: clamp(0.5rem, 1.85vw, 1.16rem);
}

body.admin-page .title-stack--compact .title-stack__line--offset-strong,
body.admin-page .title-stack--card .title-stack__line--offset-strong {
  margin-left: clamp(0.92rem, 2.72vw, 1.86rem);
}

.index-hero-title::after,
.index-section-title::after,
.home-hero-title::after,
.home-section-title::after,
.lehrberufe-title::after,
.matching-title::after,
.trainings-title::after {
  content: "";
  display: block;
  width: clamp(78px, 12vw, 138px);
  height: 0.3rem;
  margin-top: 0.78rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95) 0%, rgba(20, 184, 166, 0.82) 72%, rgba(20, 184, 166, 0) 100%);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.index-hero-title {
  margin: 1rem 0 1rem !important;
  font-size: clamp(2.65rem, 5.1vw, 4.7rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -0.045em;
  color: #10243f !important;
}

.index-hero-text,
.index-section-lead,
.index-market-card p,
.index-info-card p,
.index-profession-card p,
.index-detail-body p,
.index-detail-body li,
.index-benefit-card p,
.index-cta-text,
.index-source-list a {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #45566d;
}

.index-market-card p {
  margin: 0;
  max-width: 29ch;
  font-size: 0.9rem;
  line-height: 1.58;
  color: rgba(69, 86, 109, 0.82);
}

.site-motto-banner {
  margin: 0 0 1.35rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(20, 184, 166, 0.12) 52%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.site-motto {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #10243f;
}

.site-motto strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}
.site-motto-footer {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #52657d;
}
.site-motto-footer strong {
  color: #10243f;
  font-size: 0.98rem;
}

.index-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.index-hero-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.index-hero-points li {
  min-height: 100%;
}

.index-hero-point {
  display: grid;
  grid-template-rows: auto 0fr;
  min-height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid #d8e6fb;
  transition: grid-template-rows 260ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.index-hero-point[open] {
  grid-template-rows: auto 1fr;
}

.index-hero-point:hover,
.index-hero-point:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  border-color: rgba(96, 165, 250, 0.42);
}

.index-hero-point summary {
  position: relative;
  padding: 0.95rem 2.9rem 0.95rem 1rem;
  cursor: pointer;
  list-style: none;
  color: #24405f;
  font-weight: 700;
  line-height: 1.5;
}

.index-hero-point summary:hover,
.index-hero-point summary:focus-visible {
  color: #123f8f;
}

.index-hero-point summary::-webkit-details-marker {
  display: none;
}

.index-hero-point summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.92);
  color: #1d4ed8;
  font-size: 1.1rem;
  font-weight: 800;
  transform: translateY(-50%);
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.index-hero-point[open] summary::after {
  content: "−";
  background: rgba(191, 219, 254, 0.95);
  color: #123f8f;
}

.index-hero-point-body {
  min-height: 0;
  overflow: hidden;
}

.index-hero-point-body p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #45566d;
  font-size: 0.97rem;
  line-height: 1.68;
}

.index-info-accordion {
  display: grid;
  grid-template-rows: auto 0fr;
  border-radius: 24px;
  overflow: hidden;
  transition: grid-template-rows 260ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.index-info-accordion[open] {
  grid-template-rows: auto 1fr;
}

.index-info-accordion summary {
  position: relative;
  padding: 1.35rem 3.8rem 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
  color: #162033;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.28;
}

.index-info-accordion summary:hover,
.index-info-accordion summary:focus-visible {
  color: #123f8f;
}

.index-info-accordion summary::-webkit-details-marker {
  display: none;
}

.index-info-accordion summary::after {
  content: "+";
  position: absolute;
  top: 1.2rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.92);
  color: #1d4ed8;
  font-size: 1.15rem;
  font-weight: 800;
  transition: background-color 220ms ease, color 220ms ease;
}

.index-info-accordion[open] summary::after {
  content: "−";
  background: rgba(191, 219, 254, 0.95);
  color: #123f8f;
}

.index-info-accordion__body {
  min-height: 0;
  overflow: hidden;
}

.index-info-accordion__body p,
.index-info-accordion__body li {
  color: #45566d;
  font-size: 1rem;
  line-height: 1.7;
}

.index-info-accordion__body p {
  margin: 0;
  padding: 0 1.4rem 0.75rem;
}

.index-info-accordion__body ul {
  margin: 0;
  padding: 0 1.4rem 1.4rem 2.55rem;
}

.index-info-accordion__body li + li {
  margin-top: 0.4rem;
}

.index-hero-panel {
  border-radius: 30px;
  padding: 1.5rem;
}

.index-hero-panel-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.index-hero-logo {
  width: 188px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.12));
}

.index-panel-title {
  margin: 0.35rem 0 0 !important;
  font-size: 1.45rem !important;
  line-height: 1.2 !important;
  color: #162033 !important;
}

.index-panel-title,
.home-mini-card h2,
.home-feature-card h3,
.home-process-card h3,
.lehrberufe-overview-card h2,
.lehrberufe-inclusion-card h3,
.lehrberufe-omat-question h3,
.lehrberufe-omat-result__title,
.lehrberufe-omat-profession h4,
.matching-overview-card h2,
.trainings-overview-card h2,
.matching-results-title,
.trainings-list-title,
.trainings-page .training-title,
.trainings-page .training-detail-title {
  overflow-wrap: anywhere;
  letter-spacing: -0.02em;
}

.title-stack .title-stack__line,
.title-stack .title-stack__line--offset,
.title-stack .title-stack__line--offset-strong {
  overflow-wrap: anywhere;
}

.index-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.index-market-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.58rem;
  height: 100%;
  overflow: hidden;
  padding: 1.08rem 1.02rem 1.04rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%);
  border: 2px solid rgba(15, 23, 42, 0.5);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.index-market-card:visited {
  color: inherit;
}

.index-market-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.index-market-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.index-market-card:hover::after,
.index-market-card:focus-within::after {
  transform: scaleX(1);
}

.index-market-card:hover,
.index-market-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.72);
  background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
}

.index-market-label,
.index-profession-tag {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
}

.index-market-label {
  display: block;
  margin: 0;
  padding: 0 0 0.58rem;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
  background: transparent;
  color: #10243f;
  font-size: clamp(1.28rem, 2vw, 1.58rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.index-market-card:hover .index-market-label,
.index-market-card:focus-within .index-market-label {
  color: #0f325e;
}

.index-market-card--internship {
  border-color: rgba(13, 148, 136, 0.56);
  background: linear-gradient(145deg, rgba(236, 253, 245, 0.98) 0%, rgba(240, 249, 255, 0.96) 58%, rgba(255, 247, 237, 0.95) 100%);
  box-shadow: 0 24px 50px rgba(13, 148, 136, 0.13);
}

.index-market-card--internship::before {
  content: "";
  position: absolute;
  right: -3.2rem;
  top: -3rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22) 0%, rgba(34, 197, 94, 0.13) 42%, rgba(245, 158, 11, 0.08) 68%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
}

.index-market-card--internship::after {
  background: linear-gradient(90deg, #0d9488 0%, #22c55e 58%, #f59e0b 100%);
  transform: scaleX(1);
}

.index-market-card--internship > * {
  position: relative;
  z-index: 1;
}

.index-market-card--internship .index-market-label {
  color: #0f3f3a;
  border-bottom-color: rgba(13, 148, 136, 0.22);
}

.index-section {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.index-section--accent {
  padding: 1.1rem 0 0.35rem;
}

.index-section-head {
  max-width: 860px;
}

.index-section-title {
  margin: 0.75rem 0 0.75rem !important;
  font-size: clamp(1.95rem, 3.8vw, 3.15rem) !important;
  line-height: 1.07 !important;
  color: #11243f !important;
}

.index-card-grid,
.index-profession-grid,
.index-benefit-grid {
  display: grid;
  gap: 1rem;
}

.index-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.index-profession-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.index-benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.index-card-grid--inclusion {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.index-info-card,
.index-profession-card,
.index-benefit-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.4rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.index-info-card::after,
.index-profession-card::after,
.index-benefit-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.index-info-card:hover,
.index-info-card:focus-within,
.index-info-accordion:hover,
.index-info-accordion:focus-within,
.index-profession-card:hover,
.index-profession-card:focus-within,
.index-benefit-card:hover,
.index-benefit-card:focus-within,
.index-retention-band:hover,
.index-retention-band:focus-within {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.index-info-card:hover::after,
.index-info-card:focus-within::after,
.index-accordion:hover::after,
.index-accordion:focus-within::after,
.index-profession-card:hover::after,
.index-profession-card:focus-within::after,
.index-benefit-card:hover::after,
.index-benefit-card:focus-within::after,
.index-retention-band:hover::after,
.index-retention-band:focus-within::after {
  transform: scaleX(1);
}
.index-berufe-spotlight:hover,
.index-berufe-spotlight:focus-within,
.index-hero-panel:hover,
.index-hero-copy:hover,
.index-source-panel:hover,
.index-cta-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.11);
  border-color: rgba(96, 165, 250, 0.34);
}

.index-section--inclusion {
  padding-top: 0.4rem;
}

.index-inclusion-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(230, 247, 243, 0.94) 0%, rgba(247, 252, 255, 0.96) 100%);
  border: 1px solid rgba(162, 208, 195, 0.65);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.index-inclusion-copy {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 225, 0.75);
}

.index-inclusion-copy h3 {
  margin: 0.7rem 0 0.8rem !important;
  font-size: 1.45rem !important;
  color: #10243f !important;
  line-height: 1.25 !important;
}

.index-inclusion-copy p,
.index-inclusion-highlight p {
  color: #45566d;
  line-height: 1.72;
}

.index-inclusion-highlights {
  display: grid;
  gap: 0.85rem;
}

.index-inclusion-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.8);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.index-inclusion-highlight:hover,
.index-inclusion-highlight:focus-within {
  transform: translateX(4px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.09);
  border-color: rgba(15, 118, 110, 0.32);
}

.index-inclusion-highlight span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.12);
  color: #0f766e;
  font-weight: 800;
}

.index-info-card h3,
.index-profession-card h3,
.index-benefit-card h3 {
  margin: 0 0 0.65rem !important;
  font-size: 1.18rem !important;
  line-height: 1.28 !important;
  color: #162033 !important;
}

.index-berufe-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1rem 1.2rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.97) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(224, 242, 254, 0.94) 100%);
}

.index-berufe-spotlight::before {
  content: "";
  position: absolute;
  inset: auto -4.5rem -4.5rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 72%);
  pointer-events: none;
}

.index-berufe-spotlight__copy,
.index-berufe-spotlight__actions,
.index-berufe-spotlight__tags {
  position: relative;
  z-index: 1;
}

.index-berufe-spotlight__title {
  margin: 0.7rem 0 0.75rem !important;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem) !important;
  line-height: 1.2 !important;
  color: #10243f !important;
}

.index-berufe-spotlight__text {
  margin: 0;
  color: #45566d;
  font-size: 1rem;
  line-height: 1.72;
}

.index-berufe-spotlight__actions {
  display: flex;
  align-self: start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.index-berufe-spotlight__tags {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-berufe-spotlight__tags li {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(147, 197, 253, 0.8);
  color: #1e3a5f;
  font-size: 0.85rem;
  font-weight: 700;
}

.index-detail-grid {
  display: grid;
  gap: 0.9rem;
}

.index-detail {
  display: grid;
  grid-template-rows: auto 0fr;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  transition: grid-template-rows 280ms ease, box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.index-detail[open] {
  grid-template-rows: auto 1fr;
}

.index-detail:hover,
.index-detail:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(96, 165, 250, 0.34);
}

.index-detail summary {
  position: relative;
  padding: 1.2rem 3.6rem 1.2rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem !important;
  font-weight: 700;
  color: #15263f;
  transition: background-color 220ms ease, padding 220ms ease;
}

.index-detail summary:hover,
.index-detail summary:focus-visible {
  background: rgba(248, 250, 252, 0.92);
}

.index-detail summary::-webkit-details-marker {
  display: none;
}

.index-detail summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 260ms ease, background-color 260ms ease, color 260ms ease;
}

.index-detail[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg) scale(1.06);
}

.index-detail-body {
  min-height: 0;
  padding: 0 1.25rem 1.25rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.index-detail[open] .index-detail-body {
  opacity: 1;
  transform: translateY(0);
}

.index-detail-body ul,
.index-source-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.index-detail-body li,
.index-source-list li {
  margin-bottom: 0.45rem;
}

.index-cta-panel,
.index-source-panel {
  border-radius: 28px;
  padding: 1.6rem;
}

.index-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  background: linear-gradient(140deg, rgba(226, 240, 255, 0.95) 0%, rgba(245, 248, 255, 0.96) 100%);
}

.index-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.index-source-panel a {
  color: #1d4ed8;
  text-decoration: none;
}

.index-source-panel a:hover {
  text-decoration: underline;
}

.index-footer {
  margin-top: 2.4rem;
}

.index-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.index-status {
  display: none;
}

@media (max-width: 1080px) {
  .index-hero {
    grid-template-columns: 1fr;
  }

  .index-hero-points {
    grid-template-columns: 1fr;
  }

  .index-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .index-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .index-topbar {
    position: static;
    align-items: flex-start;
    gap: 0.95rem 1.1rem;
  }

  .index-brand {
    order: 1;
    width: min(332px, 47vw);
  }

  .index-brand::before {
    height: 3.7rem;
  }

  .index-brand::after {
    font-size: 0.72rem;
  }

  .index-nav-cluster {
    order: 2;
    width: 100%;
    flex-basis: 100%;
    margin-top: 0.15rem;
  }

  .index-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.34rem;
  }

  .index-nav a {
    min-height: 2.08rem;
    padding: 0.4rem 0.66rem;
    font-size: clamp(0.74rem, 0.16vw + 0.72rem, 0.84rem);
    line-height: 1.18;
  }

  .index-topbar-actions {
    order: 3;
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    padding-top: 0.2rem;
  }

  .index-login-btn {
    min-width: 8.65rem;
    text-align: center;
  }

  .page-share-btn {
    min-width: 0;
    padding-inline: 0.72rem;
  }
}

@media (max-width: 760px) {
  .index-layout {
    width: calc(100vw - 18px);
  }

  .index-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
  }

  .index-nav-cluster {
    width: 100%;
    margin-top: 0;
  }

  .index-brand {
    width: min(320px, 92vw);
  }

  .index-brand::before {
    height: 3.45rem;
  }

  .index-brand::after {
    font-size: 0.74rem;
    max-width: 18.5rem;
  }

  .index-directory-panel {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .index-nav,
  .index-meta-nav {
    display: none;
  }

  .index-topbar-actions,
  .index-login-btn {
    width: auto;
  }

  .index-topbar-actions {
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
    padding-top: 0;
  }

  .index-login-btn {
    text-align: center;
    min-width: 8.4rem;
  }

  .page-share-btn {
    width: auto;
    min-width: 0;
    padding-inline: 0.68rem;
  }

  .page-share-btn__label {
    font-size: 0.84rem;
  }

  .index-card-grid,
  .index-profession-grid,
  .index-benefit-grid,
  .index-market-grid {
    grid-template-columns: 1fr;
  }

  .index-retention-band {
    display: grid;
    gap: 1rem;
    padding: 1.45rem;
    border-radius: 28px;
    background: linear-gradient(140deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.94) 54%, rgba(240, 253, 250, 0.95) 100%);
  }

  .index-retention-copy {
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(191, 219, 254, 0.76);
  }

  .index-retention-copy h3 {
    margin: 0.7rem 0 0.8rem !important;
    font-size: 1.42rem !important;
    color: #10243f !important;
    line-height: 1.24 !important;
  }

  .index-retention-copy p,
  .index-retention-card p {
    color: #45566d;
    line-height: 1.72;
  }

  .index-retention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .index-retention-card {
    background: rgba(255, 255, 255, 0.82);
  }

  .index-retention-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .index-hero-copy,
  .index-hero-panel,
  .index-source-panel,
  .index-cta-panel,
  .index-info-card,
  .index-profession-card,
  .index-benefit-card {
    padding: 1.2rem;
  }

  .index-hero-title {
    font-size: clamp(2.05rem, 8vw, 3rem) !important;
  }

  .index-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .index-footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::before,
  .animated-disclosure,
  .panel-entrance,
  .index-directory,
  .index-directory summary,
  .index-directory summary::after,
  .index-directory-panel,
  .index-detail,
  .index-detail summary,
  .index-detail summary::after,
  .index-detail-body,
  .index-info-accordion,
  .index-info-accordion summary,
  .index-info-accordion summary::after,
  .index-info-accordion__body,
  .index-hero-point,
  .index-hero-point summary,
  .index-hero-point summary::after,
  .index-hero-point-body,
  .motion-reveal,
  .index-market-card,
  .index-info-card,
  .index-info-accordion,
  .index-profession-card,
  .index-benefit-card,
  .index-retention-band,
  .index-hero-panel,
  .index-hero-copy,
  .index-source-panel,
  .index-cta-panel,
  .index-inclusion-highlight,
  .portal-form,
  .auth-panel-copy,
  .auth-login-card,
  .auth-panel-points li,
  .lehrberufe-hero-panel,
  .lehrberufe-hero-copy,
  .lehrberufe-overview-card,
  .lehrberufe-filters-panel,
  .lehrberufe-grid-surface,
  .lehrberufe-inclusion-panel,
  .lehrberufe-inclusion-copy,
  .lehrberufe-inclusion-card,
  .bewerber-intro-copy,
  .bewerber-intro-brief,
  .bewerber-preview-card,
  .bewerber-preview-note,
  .profil-account-bar,
  .bewerber-profile-account,
  .bewerber-profile-notice,
  .bewerber-form-section,
  .bewerber-preview-detail,
  .student-card,
  .student-mini-card,
  .student-request-intro,
  .student-highlight-badge,
  .firma-intro-copy,
  .firma-intro-brief,
  .firma-auth-card,
  .firma-portal-card,
  .firma-match-card,
  .firm-card,
  .firma-info-card,
  .firma-section,
  #quickProfileHint,
  .firma-logo-container,
  .firma-verification-box,
  .portal-support-note,
  .home-mini-card,
  .home-hero-panel,
  .home-feature-card,
  .home-process-card,
  .home-retention-panel,
  .home-cta-band,
  .home-live-stats,
  .home-professions-section,
  .home-inclusion-panel,
  .home-inclusion-copy,
  .home-inclusion-card {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.home-landing-page {
  color: #162033;
}

.home-layout {
  padding-bottom: 3rem;
}

.site-header {
  --site-header-pad-y: 1.32rem;
  --site-header-pad-x: calc(var(--ui-card-pad) + 0.65rem);
  --site-header-gap-row: 1.12rem;
  --site-header-gap-col: 1.48rem;
  --site-header-cluster-gap: 0.88rem;
  --site-header-brand-width: clamp(360px, 31vw, 472px);
  --site-header-brand-height: clamp(4.55rem, 5.45vw, 6.3rem);
  --site-header-tagline-size: clamp(0.76rem, 0.74vw, 0.96rem);
  --site-header-summary-pad-y: 0.82rem;
  --site-header-summary-pad-x: 1.06rem;
  --site-header-summary-font-size: 1rem;
  --site-header-nav-gap: 0.64rem;
  --site-header-nav-min-height: 2.74rem;
  --site-header-nav-pad-y: 0.68rem;
  --site-header-nav-pad-x: 1rem;
  --site-header-nav-font-size: clamp(0.86rem, 0.18vw + 0.82rem, 0.96rem);
  --site-header-action-min-height: 2.88rem;
  --site-header-action-pad-y: 0.76rem;
  --site-header-action-pad-x: 1.24rem;
  --site-header-action-font-size: 1rem;
  gap: var(--site-header-gap-row) var(--site-header-gap-col) !important;
  padding: var(--site-header-pad-y) var(--site-header-pad-x) !important;
  transition: padding 320ms cubic-bezier(0.22, 1, 0.36, 1), gap 320ms cubic-bezier(0.22, 1, 0.36, 1), margin-top 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-nav-cluster {
  gap: var(--site-header-cluster-gap) !important;
  transition: gap 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-brand {
  width: var(--site-header-brand-width) !important;
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-brand::before {
  height: var(--site-header-brand-height) !important;
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-brand::after {
  font-size: var(--site-header-tagline-size) !important;
  transition: font-size 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-directory summary {
  padding: var(--site-header-summary-pad-y) var(--site-header-summary-pad-x);
  font-size: var(--site-header-summary-font-size);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease, padding 320ms cubic-bezier(0.22, 1, 0.36, 1), font-size 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-nav {
  gap: var(--site-header-nav-gap) !important;
  transition: gap 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-nav a {
  min-height: var(--site-header-nav-min-height) !important;
  padding: var(--site-header-nav-pad-y) var(--site-header-nav-pad-x) !important;
  font-size: var(--site-header-nav-font-size) !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 180ms ease, min-height 320ms cubic-bezier(0.22, 1, 0.36, 1), padding 320ms cubic-bezier(0.22, 1, 0.36, 1), font-size 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .index-topbar-actions > .btn,
.site-header .index-topbar-actions > a.btn {
  min-height: var(--site-header-action-min-height) !important;
  padding: var(--site-header-action-pad-y) var(--site-header-action-pad-x) !important;
  font-size: var(--site-header-action-font-size) !important;
  transition: min-height 320ms cubic-bezier(0.22, 1, 0.36, 1), padding 320ms cubic-bezier(0.22, 1, 0.36, 1), font-size 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-compact {
  --site-header-pad-y: 1.05rem;
  --site-header-pad-x: calc(var(--ui-card-pad) + 0.35rem);
  --site-header-gap-row: 0.95rem;
  --site-header-gap-col: 1.3rem;
  --site-header-cluster-gap: 0.7rem;
  --site-header-brand-width: clamp(310px, 27vw, 420px);
  --site-header-brand-height: clamp(4rem, 4.8vw, 5.6rem);
  --site-header-tagline-size: clamp(0.68rem, 0.66vw, 0.88rem);
  --site-header-summary-pad-y: 0.72rem;
  --site-header-summary-pad-x: 0.95rem;
  --site-header-summary-font-size: 0.96rem;
  --site-header-nav-gap: 0.56rem;
  --site-header-nav-min-height: 2.56rem;
  --site-header-nav-pad-y: 0.62rem;
  --site-header-nav-pad-x: 0.94rem;
  --site-header-nav-font-size: clamp(0.8rem, 0.14vw + 0.78rem, 0.9rem);
  --site-header-action-min-height: 2.65rem;
  --site-header-action-pad-y: 0.68rem;
  --site-header-action-pad-x: 1.15rem;
  --site-header-action-font-size: 0.96rem;
}

@media (max-width: 980px) {
  .site-header {
    --site-header-pad-y: 1.18rem;
    --site-header-pad-x: calc(var(--ui-card-pad) + 0.5rem);
    --site-header-gap-row: 1rem;
    --site-header-gap-col: 1.12rem;
    --site-header-brand-width: min(356px, 52vw);
    --site-header-brand-height: 4.15rem;
    --site-header-tagline-size: 0.78rem;
    --site-header-cluster-gap: 0.76rem;
    --site-header-action-min-height: 2.78rem;
    --site-header-action-pad-y: 0.72rem;
    --site-header-action-pad-x: 1.18rem;
    --site-header-action-font-size: 0.98rem;
  }

  .site-header.is-compact {
    --site-header-pad-y: 1.05rem;
    --site-header-pad-x: calc(var(--ui-card-pad) + 0.35rem);
    --site-header-gap-row: 0.95rem;
    --site-header-gap-col: 1.1rem;
    --site-header-brand-width: min(332px, 47vw);
    --site-header-brand-height: 3.7rem;
    --site-header-tagline-size: 0.72rem;
    --site-header-cluster-gap: 0.7rem;
    --site-header-action-min-height: 2.65rem;
    --site-header-action-pad-y: 0.68rem;
    --site-header-action-pad-x: 1.15rem;
    --site-header-action-font-size: 0.96rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    --site-header-pad-y: 1rem;
    --site-header-pad-x: 0.96rem;
    --site-header-gap-row: 0.9rem;
    --site-header-gap-col: 0.9rem;
    --site-header-brand-width: min(338px, 92vw);
    --site-header-brand-height: 3.78rem;
    --site-header-tagline-size: 0.78rem;
    --site-header-cluster-gap: 0.56rem;
    --site-header-summary-pad-y: 0.78rem;
    --site-header-summary-pad-x: 1rem;
    --site-header-summary-font-size: 0.98rem;
    --site-header-action-min-height: 2.74rem;
    --site-header-action-pad-y: 0.7rem;
    --site-header-action-pad-x: 1.08rem;
    --site-header-action-font-size: 0.94rem;
  }

  .site-header.is-compact {
    --site-header-pad-y: 0.88rem;
    --site-header-pad-x: 0.84rem;
    --site-header-gap-row: 0.78rem;
    --site-header-gap-col: 0.78rem;
    --site-header-brand-width: min(320px, 92vw);
    --site-header-brand-height: 3.45rem;
    --site-header-tagline-size: 0.74rem;
    --site-header-cluster-gap: 0.45rem;
    --site-header-summary-pad-y: 0.72rem;
    --site-header-summary-pad-x: 0.95rem;
    --site-header-summary-font-size: 0.96rem;
    --site-header-action-min-height: 2.65rem;
    --site-header-action-pad-y: 0.68rem;
    --site-header-action-pad-x: 1.02rem;
    --site-header-action-font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .index-nav-cluster,
  .site-header .index-brand,
  .site-header .index-brand::before,
  .site-header .index-brand::after,
  .site-header .index-directory summary,
  .site-header .index-nav,
  .site-header .index-nav a,
  .site-header .index-topbar-actions > .btn,
  .site-header .index-topbar-actions > a.btn {
    transition: none !important;
  }
}

.platform-page .index-topbar-actions,
.inclusion-page .index-topbar-actions,
.ausbildung-sichern-page .index-topbar-actions,
.berufsfelder-markt-page .index-topbar-actions {
  display: none;
}

.home-topbar {
  margin-bottom: 1.2rem;
}

.home-main {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.home-hero-panel,
.home-feature-card,
.home-process-card,
.home-retention-panel,
.home-cta-band {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.88);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-hero-panel:hover,
.home-feature-card:hover,
.home-feature-card:focus-within,
.home-process-card:hover,
.home-process-card:focus-within,
.home-retention-panel:hover,
.home-retention-panel:focus-within,
.home-cta-band:hover,
.home-cta-band:focus-within,
.home-live-stats:hover,
.home-live-stats:focus-within,
.home-professions-section:hover,
.home-professions-section:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px rgba(15, 23, 42, 0.11);
  border-color: rgba(96, 165, 250, 0.34);
}

.home-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.15rem;
  padding: 1.2rem;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-hero-panel::before {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -1.6rem;
  width: min(52%, 520px);
  aspect-ratio: 5 / 3;
  background: url("images/theme-zusammenarbeit.svg") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.home-hero-panel > * {
  position: relative;
  z-index: 1;
}

.home-hero-copy {
  padding: 1.35rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.95) 0%, rgba(240, 246, 255, 0.96) 100%);
  border: 1px solid #dbe7f7;
}

.home-hero-brand {
  width: min(260px, 72%);
  margin-top: -0.1rem;
}

.home-hero-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.12));
}

.home-hero-title {
  margin: 0.95rem 0 1rem !important;
  font-size: clamp(2.55rem, 4.8vw, 4.45rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -0.045em;
  color: #10243f !important;
}

.home-hero-text,
.home-section-lead,
.home-mini-card p,
.home-feature-card p,
.home-process-card p {
  color: #45566d;
  font-size: 1.02rem;
  line-height: 1.72;
}

.free-callout {
  --free-callout-cta-height: 56px;
  --free-callout-link-height: 44px;
  display: grid;
  gap: 0.72rem;
  margin: 1rem 0 1.15rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.96) 0%, rgba(240, 253, 250, 0.96) 100%);
  border: 1px solid rgba(16, 185, 129, 0.26);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.08);
}

.free-callout--hero {
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(239, 246, 255, 0.98) 0%, rgba(236, 253, 245, 0.98) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.22);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(15, 118, 110, 0.07);
}

.home-hero-copy > .free-callout--hero,
.trainings-hero-copy > .free-callout--hero,
.lehrberufe-hero-copy > .free-callout--hero,
.auth-login-card > .free-callout--hero {
  margin-top: 1rem;
  margin-bottom: 1.15rem;
}

.free-callout--hero .free-callout__badge {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.free-callout--hero .free-callout__badge::before {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.free-callout--hero .free-callout__text {
  color: #1e3a5f;
}

.free-callout__top {
  display: grid;
  gap: 0.55rem;
}

.free-callout__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--free-callout-cta-height);
  padding: 0.85rem 1.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #1e40af 100%);
  color: #fff !important;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35), 0 3px 8px rgba(37, 99, 235, 0.2);
  transition: transform 160ms ease, box-shadow 180ms ease;
  width: 100%;
  box-sizing: border-box;
}

.free-callout__cta::after {
  content: "→";
  font-size: 1.1rem;
  font-weight: 700;
}

.free-callout__cta:hover,
.free-callout__cta:focus-visible {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.44), 0 5px 14px rgba(37, 99, 235, 0.26);
  color: #fff !important;
}

.free-callout__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  padding: 0.46rem 0.86rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.14);
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.free-callout__badge::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981 0%, #0f766e 100%);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.free-callout__text {
  margin: 0;
  color: #11423c;
  font-size: 0.98rem;
  line-height: 1.65;
}

.free-callout__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: var(--free-callout-link-height);
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.24);
  color: #0f766e;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 180ms ease, background-color 160ms ease, border-color 160ms ease;
  box-sizing: border-box;
}

.free-callout__link:hover,
.free-callout__link:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.12);
}

.free-callout__link::after {
  content: "->";
  font-size: 0.9rem;
}

.home-hero-actions,
.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.home-hero-btn,
.home-cta-btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.home-cta-btn--secondary {
  background: linear-gradient(135deg, #1f56c9 0%, #3273e8 100%);
}

.home-trend-tags {
  margin-top: 1.1rem;
  justify-content: flex-start;
}

.home-hero-aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-mini-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%);
  border: 1px solid #dde7f5;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.home-mini-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.home-mini-card:hover,
.home-mini-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
}

.home-mini-card:hover::after,
.home-mini-card:focus-within::after {
  transform: scaleX(1);
}

.home-mini-card h2 {
  margin: 0.35rem 0 0.55rem !important;
  font-size: 1.28rem !important;
  color: #162033 !important;
  line-height: 1.25 !important;
}

.home-mini-card-label {
  margin: 0;
}

.home-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-inclusion-section {
  padding-top: 0.15rem;
}

.home-section-head {
  max-width: 860px;
}

.home-section-head--tight {
  margin-bottom: 0.35rem;
}

.home-section-title {
  margin: 0.7rem 0 0 !important;
  font-size: clamp(1.92rem, 3.5vw, 3rem) !important;
  line-height: 1.07 !important;
  color: #11243f !important;
}

.home-feature-grid,
.home-process-grid {
  display: grid;
  gap: 1rem;
}

.home-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-process-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-feature-card,
.home-process-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.35rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.home-feature-card::after,
.home-process-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.home-feature-card:hover,
.home-feature-card:focus-within,
.home-process-card:hover,
.home-process-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.home-feature-card:hover::after,
.home-feature-card:focus-within::after,
.home-process-card:hover::after,
.home-process-card:focus-within::after {
  transform: scaleX(1);
}

.home-feature-card h3,
.home-process-card h3 {
  margin: 0 0 0.55rem !important;
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
  color: #162033 !important;
}

.home-feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 16px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 1.4rem;
  font-weight: 800;
}

.home-process-section {
  padding-top: 0.2rem;
}

.home-retention-section {
  padding-top: 0.1rem;
}

.home-retention-panel {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 28px;
}

.home-retention-copy {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(191, 219, 254, 0.76);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.home-retention-copy::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, #93c5fd 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.home-retention-copy:hover,
.home-retention-copy:focus-within {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98) 0%, rgba(239, 246, 255, 0.96) 100%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.home-retention-copy:hover::after,
.home-retention-copy:focus-within::after {
  transform: scaleX(1);
}

.home-retention-copy h3 {
  margin: 0.45rem 0 0.7rem !important;
  font-size: 1.35rem !important;
  color: #162033 !important;
  line-height: 1.25 !important;
}

.home-retention-copy p {
  margin: 0;
  color: #45566d;
  line-height: 1.72;
}

.home-retention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.home-retention-card p {
  margin: 0;
}

.home-retention-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-process-card {
  position: relative;
  padding-top: 1.75rem;
}

.home-inclusion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 1fr);
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(228, 246, 239, 0.94) 0%, rgba(247, 252, 255, 0.96) 100%);
  border: 1px solid rgba(164, 207, 195, 0.7);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-inclusion-panel:hover,
.home-inclusion-panel:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.1);
}

.home-inclusion-copy {
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 225, 0.8);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-inclusion-copy h3 {
  margin: 0.4rem 0 0.65rem !important;
  font-size: 1.35rem !important;
  color: #162033 !important;
  line-height: 1.25 !important;
}

.home-inclusion-copy p,
.home-inclusion-card p {
  color: #45566d;
  line-height: 1.72;
}

.home-inclusion-grid {
  display: grid;
  gap: 0.9rem;
}

.home-inclusion-card {
  padding: 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(203, 213, 225, 0.85);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-inclusion-copy:hover,
.home-inclusion-copy:focus-within,
.home-inclusion-card:hover,
.home-inclusion-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.09);
  border-color: rgba(15, 118, 110, 0.28);
}

.home-inclusion-card h3 {
  margin: 0 0 0.5rem !important;
  font-size: 1.12rem !important;
  color: #162033 !important;
}

.home-process-step {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.home-feature-card--internship {
  border-color: rgba(13, 148, 136, 0.42);
  background: linear-gradient(145deg, rgba(236, 253, 245, 0.96) 0%, rgba(240, 249, 255, 0.96) 56%, rgba(255, 247, 237, 0.92) 100%);
  box-shadow: 0 24px 52px rgba(13, 148, 136, 0.12);
}

.home-feature-card--internship::before {
  content: "";
  position: absolute;
  right: -3.4rem;
  top: -3.1rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, rgba(34, 197, 94, 0.12) 45%, rgba(245, 158, 11, 0.08) 68%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
}

.home-feature-card--internship::after {
  background: linear-gradient(90deg, #0d9488 0%, #22c55e 58%, #f59e0b 100%);
  transform: scaleX(1);
}

.home-feature-card--internship > * {
  position: relative;
  z-index: 1;
}

.home-feature-card--internship .home-feature-icon {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

.home-feature-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  min-height: 42px;
  padding: 0.66rem 0.9rem;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-feature-card__link:hover,
.home-feature-card__link:focus-visible {
  transform: translateY(-2px);
  background: #0d5f59;
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.24);
}

.home-live-stats {
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  max-height: none;
}

.platform-page .home-live-stats.panel {
  width: 100%;
  max-width: none;
}

.home-landing-page .stats-grid {
  margin-top: 1rem;
  max-height: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.home-landing-page .stat-card {
  opacity: 1;
  transform: none;
  filter: none;
}

.home-landing-page .stats-section:hover,
.home-landing-page .stats-section:focus-within {
  max-height: none;
}

.home-professions-section {
  width: 100%;
  max-width: none;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.home-professions-bridge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.98) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(224, 242, 254, 0.95) 100%);
  border: 1px solid rgba(147, 197, 253, 0.88);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-professions-bridge::before {
  content: "";
  position: absolute;
  inset: auto -4.25rem -4.5rem auto;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 72%);
  pointer-events: none;
}

.home-professions-bridge:hover,
.home-professions-bridge:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
}

.home-professions-bridge__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.home-professions-bridge__eyebrow {
  margin: 0 0 0.45rem;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-professions-bridge__text {
  margin: 0;
  color: #45566d;
  font-size: 0.98rem;
  line-height: 1.72;
}

.home-professions-bridge__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
}

.home-professions-bridge__tags li {
  display: inline-flex;
  align-items: center;
  min-height: 2.05rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(147, 197, 253, 0.76);
  color: #1e3a5f;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-professions-bridge__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.home-professions-bridge__link {
  white-space: nowrap;
}

.home-professions-section .beruf-grid-title {
  text-align: left;
  margin-top: 0.2rem;
}

.home-professions-section .beruf-card {
  min-height: 310px;
  padding: 1rem;
}

.home-professions-section .beruf-card p {
  font-size: 0.92rem;
}

.home-professions-section .carousel-dots {
  margin-top: 1rem;
}

.home-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(226, 240, 255, 0.95) 0%, rgba(245, 248, 255, 0.96) 100%);
}

.home-cta-copy {
  max-width: 720px;
}

.home-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.95rem 0 0;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(96, 165, 250, 0.24);
  color: #1d4ed8;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.home-cta-note::before {
  content: "Kostenlos";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(45, 212, 191, 0.18));
  color: #1e3a8a;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-footer {
  margin-top: 2.3rem;
}

@media (max-width: 1080px) {
  .index-retention-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero-panel {
    grid-template-columns: 1fr;
  }

  .home-retention-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .index-berufe-spotlight {
    grid-template-columns: 1fr;
  }

  .index-berufe-spotlight__actions {
    align-self: stretch;
  }

  .home-professions-bridge {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .index-hero-copy::before,
  .home-hero-panel::before {
    opacity: 0.08;
    width: min(72%, 360px);
    right: -3rem;
    bottom: -2rem;
  }

  .site-motto-banner {
    padding: 0.95rem 1rem;
    border-radius: 20px;
  }

  .site-motto strong {
    font-size: 1.02rem;
  }
  .site-motto-footer strong {
    font-size: 0.95rem;
  }

  .home-hero-copy,
  .home-mini-card,
  .home-feature-card,
  .home-process-card,
  .home-retention-panel,
  .home-live-stats,
  .home-professions-section,
  .home-cta-band,
  .index-berufe-spotlight,
  .index-retention-band,
  .home-professions-bridge {
    padding: 1.15rem;
  }

  .index-berufe-spotlight__actions,
  .index-retention-actions,
  .home-retention-actions,
  .home-professions-bridge__actions {
    width: 100%;
  }

  .index-berufe-spotlight__actions .btn,
  .index-retention-actions .btn,
  .home-retention-actions .btn,
  .home-professions-bridge__actions .btn {
    width: 100%;
  }

  .home-hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .free-callout {
    --free-callout-cta-height: 54px;
    --free-callout-link-height: 44px;
    padding: 0.9rem;
    border-radius: 18px;
  }

  .home-hero-copy > .free-callout--hero,
  .trainings-hero-copy > .free-callout--hero,
  .lehrberufe-hero-copy > .free-callout--hero,
  .auth-login-card > .free-callout--hero {
    margin-top: 0.85rem;
    margin-bottom: 1rem;
  }

  .free-callout__link {
    width: 100%;
    justify-content: center;
  }

  .title-stack__line--offset,
  .title-stack__line--offset-strong,
  .title-stack--compact .title-stack__line--offset,
  .title-stack--compact .title-stack__line--offset-strong,
  .title-stack--card .title-stack__line--offset,
  .title-stack--card .title-stack__line--offset-strong {
    margin-left: clamp(0.2rem, 1.6vw, 0.85rem);
  }

  .home-hero-actions,
  .home-cta-actions {
    flex-direction: column;
  }

  .home-hero-btn,
  .home-cta-btn {
    width: 100%;
  }

  .home-cta-note {
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }

  .home-hero-brand {
    width: min(220px, 100%);
  }
}

.auth-landing-page {
  color: #162033;
}

.auth-layout {
  padding-bottom: 2.4rem;
}

.auth-topbar {
  margin-bottom: 1.35rem;
}

.auth-main {
  display: flex;
  flex-direction: column;
}

.auth-panel-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 1.2rem;
  align-items: stretch;
}

.auth-panel-copy,
.auth-login-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: 30px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.auth-panel-copy:hover,
.auth-panel-copy:focus-within,
.auth-login-card:hover,
.auth-login-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.11);
  border-color: rgba(96, 165, 250, 0.34);
}

.auth-panel-copy {
  padding: 2rem;
}

.auth-panel-title {
  margin: 0.95rem 0 0.95rem !important;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em;
  color: #10243f !important;
}

.auth-panel-text,
.auth-panel-points li,
.auth-login-head p,
.auth-login-links a {
  color: #45566d;
  font-size: 1rem;
  line-height: 1.68;
}

.auth-panel-points {
  margin: 1.15rem 0 0;
  padding-left: 1.1rem;
}

.auth-panel-points li {
  margin-bottom: 0.5rem;
}

body.auth-page .auth-panel-copy {
  animation: panel-entrance 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.auth-page .auth-login-card {
  animation: panel-entrance 520ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.auth-page .auth-panel-points li {
  animation: rise 480ms ease-out both;
}

body.auth-page .auth-panel-points li:nth-child(1) {
  animation-delay: 160ms;
}

body.auth-page .auth-panel-points li:nth-child(2) {
  animation-delay: 240ms;
}

body.auth-page .auth-panel-points li:nth-child(3) {
  animation-delay: 320ms;
}

.auth-login-card {
  padding: 1.55rem;
}

.auth-login-head h2 {
  margin: 0.35rem 0 0.4rem !important;
  font-size: 1.55rem !important;
  color: #162033 !important;
}

.auth-login-kicker {
  margin: 0;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-login-form {
  margin-top: 1rem;
}

.auth-login-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: #24364f;
  font-weight: 700;
}

.auth-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  margin-top: 0.45rem;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 0;
}

.auth-submit-btn--solo {
  margin-top: 0.45rem;
}

#firmRegisterBox,
#firmVerifyBox,
#firmPasswordResetBox,
#firmPortalPanel,
#verificationSuccess,
#matchPanel,
#firmReleaseNotice,
#firmProfileMatchHint,
#requestSentHint,
#firmQuickProfileBox,
#firmInternshipMatchSection,
#firmInternshipMatchHint,
#firmInternshipCalendarPlanNote {
  display: none;
}

.firma-internship-access-card {
  margin-top: 1.5rem;
}

.auth-register-choice {
  position: relative;
}

.auth-register-choice summary {
  list-style: none;
}

.auth-register-choice summary::-webkit-details-marker {
  display: none;
}

.auth-register-trigger {
  min-height: 3.45rem;
  min-width: 11rem;
  justify-content: center;
}

.auth-register-choice[open] .auth-register-trigger {
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 14px 26px rgba(29, 78, 216, 0.12);
}

.auth-register-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 15;
  min-width: 16rem;
  padding: 0.55rem;
  border-radius: 20px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
}

.auth-register-menu a {
  display: block;
  padding: 0.82rem 0.95rem;
  border-radius: 14px;
  color: #10243f;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.auth-register-menu a + a {
  margin-top: 0.3rem;
}

.auth-register-menu a:hover,
.auth-register-menu a:focus-visible {
  background: rgba(219, 234, 254, 0.75);
  color: #1d4ed8;
}

.auth-register-menu a:focus-visible {
  outline: 2px solid rgba(29, 78, 216, 0.32);
  outline-offset: 2px;
}

.auth-login-error {
  display: none;
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.auth-login-error.is-visible {
  display: block;
}

.auth-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

.auth-login-links a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
}

.auth-login-links a:hover {
  text-decoration: underline;
}

/* ── Auth solo layout (simplified centered login/register card) ─────── */

.auth-main--solo {
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.auth-panel-surface--solo {
  display: block;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.auth-login-card--solo {
  padding: 2.45rem 2.6rem 2.25rem;
}

.auth-solo-title {
  margin: 0.3rem 0 0 !important;
  font-size: 1.75rem !important;
  line-height: 1.1 !important;
  color: #162033 !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 1.1rem;
  color: #7a8ca0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(203, 213, 225, 0.7);
}

.auth-register-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.auth-register-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

body.auth-page .auth-login-card--solo .auth-login-form {
  margin-top: 1.35rem;
}

body.auth-page .auth-login-card--solo .auth-login-form label {
  margin-bottom: 0.55rem;
  font-size: 1.04rem;
}

body.auth-page .auth-login-card--solo .auth-login-form input {
  width: 100%;
  min-height: 64px;
  padding: 1rem 1.15rem;
  font-size: 1.1rem;
  line-height: 1.35;
  box-sizing: border-box;
}

body.auth-page .auth-login-card--solo .auth-submit-btn--solo {
  min-height: 64px;
  margin-top: 0.7rem;
  font-size: 1.08rem;
}

@media (max-width: 520px) {
  .auth-login-card--solo {
    padding: 1.7rem 1.35rem 1.5rem;
  }

  body.auth-page .auth-login-card--solo .auth-login-form input,
  body.auth-page .auth-login-card--solo .auth-submit-btn--solo {
    min-height: 58px;
    font-size: 1.02rem;
  }
}

.lehr-layout {
  padding-bottom: 2.6rem;
}

.lehr-topbar {
  margin-bottom: 1.25rem;
}

.lehrberufe-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1.1rem;
  align-items: stretch;
  padding: 1.2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.88);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-hero-panel:hover,
.lehrberufe-hero-panel:focus-within,
.lehrberufe-omat-panel:hover,
.lehrberufe-omat-panel:focus-within,
.lehrberufe-filters-panel:hover,
.lehrberufe-filters-panel:focus-within,
.lehrberufe-subfilters-panel:hover,
.lehrberufe-subfilters-panel:focus-within,
.lehrberufe-grid-surface:hover,
.lehrberufe-grid-surface:focus-within,
.lehrberufe-inclusion-panel:hover,
.lehrberufe-inclusion-panel:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
}

.lehrberufe-hero-copy {
  padding: 1.3rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.95) 0%, rgba(240, 246, 255, 0.96) 100%);
  border: 1px solid #dbe7f7;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-title {
  margin: 0.9rem 0 0.9rem !important;
  font-size: clamp(2.25rem, 4.6vw, 3.9rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em;
}

.lehrberufe-lead,
.lehrberufe-overview-card p {
  color: #45566d;
  line-height: 1.72;
}

.lehrberufe-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.15rem;
}

.lehrberufe-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.lehrberufe-overview-card {
  padding: 1.15rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%);
  border: 1px solid #dde7f5;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-hero-copy:hover,
.lehrberufe-hero-copy:focus-within,
.lehrberufe-overview-card:hover,
.lehrberufe-overview-card:focus-within,
.lehrberufe-inclusion-copy:hover,
.lehrberufe-inclusion-copy:focus-within,
.lehrberufe-inclusion-card:hover,
.lehrberufe-inclusion-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
  border-color: rgba(96, 165, 250, 0.34);
}

.lehrberufe-overview-label {
  margin: 0;
}

.lehrberufe-overview-card h2 {
  margin: 0.35rem 0 0.45rem !important;
  font-size: 1.2rem !important;
  color: #162033 !important;
}

.lehrberufe-filters-panel {
  width: 100% !important;
  margin-top: 1.15rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-subfilters-panel {
  width: 100% !important;
  margin-top: -0.2rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  justify-content: flex-start;
  background: rgba(248, 251, 255, 0.88);
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-subfilters-label {
  margin: 0 0.15rem 0 0;
  color: #35506f;
  font-size: 0.88rem;
  font-weight: 800;
}

.lehrberufe-subchip {
  border: 1px solid rgba(191, 219, 254, 0.96);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.92));
  color: #28496d;
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.lehrberufe-subchip:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 8px 16px rgba(29, 78, 216, 0.1);
}

.lehrberufe-subchip:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.lehrberufe-subchip.is-active {
  color: #f8fbff;
  border-color: #2563eb;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.lehrberufe-empty-state {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 248, 235, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #7c4a03;
  box-shadow: 0 12px 28px rgba(120, 53, 15, 0.08);
}

.lehrberufe-mobile-focus-note {
  display: none;
  margin-top: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.lehrberufe-mobile-focus-note__eyebrow {
  margin: 0 0 0.35rem;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lehrberufe-mobile-focus-note h2 {
  margin: 0;
  color: #162033;
  font-size: 1.18rem;
}

.lehrberufe-mobile-focus-note p:last-child {
  margin: 0.55rem 0 0;
  color: #4b5d74;
  line-height: 1.65;
}

.lehrberufe-omat-panel {
  margin-top: 1.15rem;
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(247, 251, 255, 0.96) 0%, rgba(233, 244, 255, 0.95) 56%, rgba(240, 250, 245, 0.94) 100%);
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-omat-intro {
  max-width: 900px;
  margin-bottom: 1rem;
}

.lehrberufe-omat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.lehrberufe-omat-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(191, 219, 254, 0.92);
  color: #1e3a5f;
  font-size: 0.9rem;
  font-weight: 700;
}

.lehrberufe-omat-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1rem;
  align-items: start;
}

.lehrberufe-omat-questions {
  display: grid;
  gap: 0.9rem;
}

.lehrberufe-omat-question {
  padding: 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.88);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lehrberufe-omat-question.is-answered {
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.lehrberufe-omat-question__eyebrow {
  margin: 0 0 0.35rem;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lehrberufe-omat-question h3 {
  margin: 0 0 0.8rem !important;
  font-size: 1.18rem !important;
  color: #162033 !important;
}

.lehrberufe-omat-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.lehrberufe-omat-option {
  appearance: none;
  width: 100%;
  min-height: 8.6rem;
  padding: 0.95rem;
  border: 1px solid rgba(191, 219, 254, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 255, 0.92) 100%);
  text-align: left;
  cursor: pointer;
  color: #1f2937;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lehrberufe-omat-option:hover,
.lehrberufe-omat-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.58);
  box-shadow: 0 14px 28px rgba(30, 58, 110, 0.12);
  outline: none;
}

.lehrberufe-omat-option.is-selected {
  border-color: #2563eb;
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.98) 0%, rgba(239, 246, 255, 0.94) 100%);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16), 0 18px 32px rgba(30, 64, 175, 0.14);
}

.lehrberufe-omat-option__title {
  display: block;
  margin-bottom: 0.38rem;
  font-weight: 800;
  line-height: 1.38;
}

.lehrberufe-omat-option__text {
  display: block;
  color: #52627b;
  line-height: 1.56;
  font-size: 0.94rem;
}

.lehrberufe-omat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.3rem 0.1rem 0;
}

.lehrberufe-omat-progress {
  margin: 0;
  color: #324154;
  font-weight: 700;
}

.lehrberufe-omat-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lehrberufe-omat-result {
  position: sticky;
  top: 1rem;
  padding: 1.1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 255, 0.96) 100%);
  border: 1px solid rgba(191, 219, 254, 0.92);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.lehrberufe-omat-result[data-state="ready"] {
  border-color: rgba(96, 165, 250, 0.58);
}

.lehrberufe-omat-result__note {
  margin: 0.65rem 0 0;
  color: #52627b;
  line-height: 1.62;
}

.lehrberufe-omat-result__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.98);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lehrberufe-omat-result__title {
  margin: 0.8rem 0 0.45rem !important;
  font-size: 1.45rem !important;
  color: #162033 !important;
}

.lehrberufe-omat-result__text {
  margin: 0;
  color: #45566d;
  line-height: 1.68;
}

.lehrberufe-omat-pattern {
  margin-top: 1rem;
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.86);
}

.lehrberufe-omat-pattern__eyebrow {
  margin: 0 0 0.35rem;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lehrberufe-omat-pattern__summary {
  margin: 0;
  color: #40526a;
  line-height: 1.66;
}

.lehrberufe-omat-pattern__chips,
.lehrberufe-omat-focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.lehrberufe-omat-pattern__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.98);
  color: #26415f;
  font-size: 0.85rem;
  font-weight: 700;
}

.lehrberufe-omat-focuses {
  margin-top: 1rem;
}

.lehrberufe-omat-focuses__title {
  margin: 0 0 0.35rem;
  color: #21324a;
  font-size: 0.95rem;
  font-weight: 800;
}

.lehrberufe-omat-focuses__text {
  margin: 0;
  color: #52627b;
  line-height: 1.62;
}

.lehrberufe-omat-rankings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.lehrberufe-omat-ranking {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.96);
  color: #1e3a5f;
  font-size: 0.88rem;
  font-weight: 700;
}

.lehrberufe-omat-ranking.is-top {
  background: rgba(219, 234, 254, 1);
  color: #1d4ed8;
}

.lehrberufe-omat-professions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.lehrberufe-omat-profession {
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(203, 213, 225, 0.86);
}

.lehrberufe-omat-profession__category {
  margin: 0 0 0.32rem;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lehrberufe-omat-profession h4 {
  margin: 0 0 0.35rem !important;
  font-size: 1.04rem !important;
  color: #162033 !important;
}

.lehrberufe-omat-profession p {
  margin: 0;
  color: #52627b;
  line-height: 1.6;
}

.lehrberufe-omat-profession__button {
  margin-top: 0.7rem;
}

.lehrberufe-omat-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.lehrberufe-omat-result__footnote {
  margin: 0.85rem 0 0;
  color: #5b6b83;
  line-height: 1.62;
  font-size: 0.94rem;
}

.lehrberufe-grid-surface {
  width: 100% !important;
  padding: 0;
}

.lehr-footer {
  margin-top: 2rem;
}

.lehrberufe-inclusion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(230, 247, 243, 0.94) 0%, rgba(247, 252, 255, 0.96) 100%);
  border: 1px solid rgba(164, 207, 195, 0.72);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.landing-chatbot {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.landing-chatbot__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f4c81 0%, #2563eb 52%, #38bdf8 100%);
  color: #f8fbff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.landing-chatbot__toggle:hover,
.landing-chatbot__toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.24);
  outline: none;
}

.landing-chatbot__toggle-note {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-chatbot__panel {
  width: min(390px, calc(100vw - 1.5rem));
  max-height: min(78vh, 700px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(186, 202, 224, 0.92);
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(242, 247, 255, 0.98) 100%);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.landing-chatbot__header {
  padding: 1rem 1rem 0.7rem;
  background: linear-gradient(135deg, rgba(221, 238, 255, 0.92) 0%, rgba(240, 249, 255, 0.98) 100%);
  border-bottom: 1px solid rgba(186, 202, 224, 0.72);
}

.landing-chatbot__eyebrow {
  margin: 0 0 0.25rem;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-chatbot__header h2 {
  margin: 0;
  font-size: 1.2rem !important;
  color: #162033 !important;
}

.landing-chatbot__intro {
  margin: 0.4rem 0 0;
  color: #516274;
  line-height: 1.55;
}

.landing-chatbot__status {
  margin: 0.55rem 0 0;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.45;
}

.landing-chatbot__status[data-mode="relay"] {
  color: #0f766e;
}

.landing-chatbot__status[data-mode="demo"] {
  color: #8a5b07;
}

.landing-chatbot__status[data-mode="loading"] {
  color: #1d4ed8;
}

.landing-chatbot__messages {
  display: grid;
  gap: 0.75rem;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.95rem 1rem 0.4rem;
}

.landing-chatbot__message {
  display: grid;
  gap: 0.35rem;
}

.landing-chatbot__message--user {
  justify-items: end;
}

.landing-chatbot__speaker {
  color: #607085;
  font-size: 0.75rem;
  font-weight: 700;
}

.landing-chatbot__bubble {
  width: min(100%, 320px);
  padding: 0.85rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 225, 0.92);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.landing-chatbot__message--user .landing-chatbot__bubble {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96) 0%, rgba(56, 189, 248, 0.92) 100%);
  border-color: rgba(59, 130, 246, 0.9);
  color: #f8fbff;
}

.landing-chatbot__bubble p {
  margin: 0;
  line-height: 1.58;
}

.landing-chatbot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.landing-chatbot__link {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.9);
  color: #15407b;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-chatbot__message--user .landing-chatbot__link {
  background: rgba(255, 255, 255, 0.18);
  color: #f8fbff;
}

.landing-chatbot__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.25rem 1rem 0.2rem;
}

.landing-chatbot__chip {
  border: 1px solid rgba(191, 219, 254, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #244466;
  padding: 0.45rem 0.72rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.landing-chatbot__chip:hover,
.landing-chatbot__chip:focus-visible {
  border-color: #60a5fa;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.12);
  outline: none;
}

.landing-chatbot__chip:disabled {
  cursor: wait;
  opacity: 0.68;
  box-shadow: none;
}

.landing-chatbot__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  padding: 0.85rem 1rem 1rem;
}

.landing-chatbot__input-wrap {
  display: grid;
  gap: 0.3rem;
}

.landing-chatbot__input-label {
  color: #5a6b7f;
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-chatbot__input {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(186, 202, 224, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  color: #162033;
  font: inherit;
}

.landing-chatbot__input:focus {
  outline: 3px solid rgba(59, 130, 246, 0.18);
  border-color: #60a5fa;
}

.landing-chatbot__input:disabled {
  cursor: wait;
  background: rgba(241, 245, 249, 0.96);
}

.landing-chatbot__send {
  align-self: end;
  padding: 0.78rem 1rem;
  border: 0;
  border-radius: 16px;
  background: #163e73;
  color: #f8fbff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.landing-chatbot__send:hover,
.landing-chatbot__send:focus-visible {
  background: #1d4ed8;
  outline: none;
}

.landing-chatbot__send:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 640px) {
  .landing-chatbot {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
  }

  .landing-chatbot__toggle {
    justify-content: center;
  }

  .landing-chatbot__panel {
    width: 100%;
  }

  .landing-chatbot__composer {
    grid-template-columns: 1fr;
  }

  .landing-chatbot__send {
    width: 100%;
  }
}

.lehrberufe-inclusion-copy {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(203, 213, 225, 0.8);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-title--compact {
  margin-top: 0.7rem !important;
  margin-bottom: 0.8rem !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
}

.lehrberufe-inclusion-grid {
  display: grid;
  gap: 0.9rem;
}

.lehrberufe-inclusion-card {
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(203, 213, 225, 0.82);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lehrberufe-inclusion-card h3 {
  margin: 0 0 0.45rem !important;
  font-size: 1.1rem !important;
  color: #162033 !important;
}

.lehrberufe-inclusion-card p {
  color: #45566d;
  line-height: 1.68;
}

@media (max-width: 980px) {
  .auth-panel-surface,
  .lehrberufe-hero-panel,
  .lehrberufe-omat-shell,
  .lehrberufe-inclusion-panel {
    grid-template-columns: 1fr;
  }

  .home-inclusion-panel,
  .index-inclusion-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.lehrberufe-page .site-motto-banner {
    display: none;
  }

  .auth-panel-copy,
  .auth-login-card,
  .lehrberufe-hero-copy,
  .lehrberufe-omat-panel,
  .lehrberufe-overview-card,
  .lehrberufe-filters-panel,
  .lehrberufe-subfilters-panel,
  .lehrberufe-omat-question,
  .lehrberufe-omat-result,
  .lehrberufe-inclusion-copy,
  .lehrberufe-inclusion-card {
    padding: 1.15rem;
  }

  .lehrberufe-hero-actions,
  .lehrberufe-omat-toolbar,
  .lehrberufe-omat-toolbar__actions,
  .lehrberufe-omat-result__actions,
  .lehrberufe-omat-pattern__chips,
  .lehrberufe-omat-focus-actions,
  .auth-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-submit-row {
    display: flex;
  }

  .auth-register-choice,
  .auth-register-trigger {
    width: 100%;
  }

  .auth-register-menu {
    position: static;
    margin-top: 0.55rem;
    min-width: 0;
  }

  .lehrberufe-omat-options {
    grid-template-columns: 1fr;
  }

  .lehrberufe-omat-option {
    min-height: 0;
  }

  .lehrberufe-omat-result {
    position: static;
  }

  .lehrberufe-hero-actions .btn,
  .lehrberufe-omat-toolbar__actions .btn,
  .lehrberufe-omat-result__actions .btn,
  .lehrberufe-omat-profession__button {
    width: 100%;
    justify-content: center;
  }

  .auth-panel-title,
  .lehrberufe-title {
    font-size: clamp(1.95rem, 8vw, 3rem) !important;
  }

  .lehrberufe-overview-grid,
  .lehrberufe-filters-panel,
  .lehrberufe-subfilters-panel,
  .lehrberufe-empty-state,
  .lehrberufe-grid-surface,
  .lehrberufe-inclusion-panel,
  .lehrberufe-hero-panel {
    display: none !important;
  }

  .lehrberufe-mobile-focus-note {
    display: block;
  }

  .lehrberufe-omat-panel {
    margin-top: 0.75rem;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
  }

  .lehrberufe-omat-panel .motion-reveal,
  .lehrberufe-omat-question,
  .lehrberufe-omat-result,
  .lehrberufe-omat-result[data-state="ready"] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
    transition-delay: 0ms !important;
  }

  .lehrberufe-omat-intro {
    margin-bottom: 0.7rem;
  }

  .lehrberufe-omat-panel .lehrberufe-title {
    margin: 0.35rem 0 0.6rem !important;
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }

  .lehrberufe-omat-panel .lehrberufe-lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .lehrberufe-omat-meta {
    gap: 0.45rem;
    margin-top: 0.65rem;
  }

  .lehrberufe-omat-meta span {
    padding: 0.4rem 0.72rem;
    font-size: 0.84rem;
  }

  .lehrberufe-mobile-focus-note {
    margin-top: 0.65rem;
    padding: 0.82rem 0.92rem;
  }

  .lehrberufe-mobile-focus-note h2 {
    font-size: 1.02rem;
  }

  .lehrberufe-mobile-focus-note p:last-child {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .home-inclusion-panel,
  .index-inclusion-band,
  .index-inclusion-copy,
  .index-inclusion-highlight,
  .home-inclusion-copy,
  .home-inclusion-card {
    padding: 1.1rem;
  }

  body.admin-page .admin-header,
  body.admin-page .admin-header--hero {
    flex-direction: column;
    align-items: flex-start;
  }

  body.admin-page .admin-header__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.matching-layout,
.trainings-layout {
  padding-bottom: 2.6rem;
}

.matching-topbar,
.trainings-topbar {
  margin-bottom: 1.2rem;
}

.matching-main,
.trainings-main {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.matching-hero-panel,
.matching-results-panel,
.trainings-hero-panel,
.trainings-list-panel,
.trainings-cv-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: 30px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.matching-hero-panel,
.trainings-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.1rem;
  padding: 1.2rem;
}

.matching-hero-copy,
.trainings-hero-copy {
  padding: 1.3rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.95) 0%, rgba(240, 246, 255, 0.96) 100%);
  border: 1px solid #dbe7f7;
}

.matching-title,
.trainings-title {
  margin: 0.9rem 0 0.9rem !important;
  font-size: clamp(2.22rem, 4.5vw, 3.9rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.045em;
  color: #10243f !important;
}

.matching-lead,
.trainings-lead,
.matching-overview-card p,
.trainings-overview-card p,
.trainings-list .training-desc {
  color: #45566d;
  line-height: 1.72;
}

.matching-overview-grid,
.trainings-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.matching-overview-card,
.trainings-overview-card {
  padding: 1.15rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%);
  border: 1px solid #dde7f5;
}

.matching-overview-label,
.trainings-overview-label {
  margin: 0;
}

.matching-overview-card h2,
.trainings-overview-card h2,
.matching-results-title,
.trainings-list-title {
  margin: 0.35rem 0 0.45rem !important;
  font-size: 1.22rem !important;
  color: #162033 !important;
}

.matching-results-panel {
  padding: 1.35rem;
}

.matching-admin-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.matching-admin-page .matching-overview-card {
  background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%);
}

.matching-admin-page .matching-results-head p + p {
  margin-top: 0.45rem;
}

.matching-match-kind {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  padding: 0.28em 0.8em;
  border-radius: 999px;
  font-size: var(--ui-font-sm);
  font-weight: 700;
  vertical-align: middle;
  max-width: 100%;
  line-height: 1.25;
}

.matching-match-kind--inclusion {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

.matching-match-kind--alternative {
  background: rgba(243, 232, 255, 0.96);
  color: #7c3aed;
}

.matching-match-kind--activated {
  background: rgba(204, 251, 241, 0.96);
  color: #0f766e;
}

.matching-match-kind--score-strong {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.matching-match-kind--score-medium {
  background: rgba(254, 243, 199, 0.96);
  color: #b45309;
}

.matching-match-kind--score-light {
  background: rgba(226, 232, 240, 0.92);
  color: #475569;
}

.matching-results-head {
  margin-bottom: 1rem;
}

.matching-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 0.95rem;
  align-items: start;
}

.matching-page .beruf-box-collapsible,
body.admin-page .matching-results-grid .beruf-box-collapsible {
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
  overflow: visible;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: calc(var(--ui-card-pad) - 0.05rem) calc(var(--ui-card-pad) + 0.12rem);
  border-radius: clamp(16px, 1vw, 20px);
  border: 2.5px solid #2563eb33;
  background: #f8fbff;
  box-shadow: 0 2px 12px #2563eb18, 0 1.5px 6px #e0e7ef22;
}

.matching-page .beruf-box-collapsible .beruf-box-title,
body.admin-page .matching-results-grid .beruf-box-collapsible .beruf-box-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ui-space-xs) var(--ui-space-sm);
  margin-bottom: 0.7rem;
  color: #2563eb;
  font-size: var(--ui-font-md);
  font-weight: 600;
  line-height: 1.3;
}

.beruf-box-count {
  display: inline-flex;
  align-items: center;
  padding: 0.28em 0.8em;
  border-radius: 999px;
  background: #cffafe;
  color: #0e7490;
  font-size: var(--ui-font-sm);
  font-weight: 500;
}

.matching-page .beruf-box-collapsible .beruf-box-content,
body.admin-page .matching-results-grid .beruf-box-collapsible .beruf-box-content {
  display: none;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}

.matching-page .beruf-box-collapsible:hover,
body.admin-page .matching-results-grid .beruf-box-collapsible:hover {
  box-shadow: 0 6px 24px #2563eb33, 0 2px 12px #2563eb22;
  border-color: #2563eb88;
  background: #eaf2ff;
  z-index: 2;
}

.matching-page .beruf-box-collapsible:hover .beruf-box-content,
body.admin-page .matching-results-grid .beruf-box-collapsible:hover .beruf-box-content {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.matching-pair-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-sm);
}

.matching-pair-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ui-space-xs) var(--ui-space-sm);
  padding: calc(var(--ui-card-pad) - 0.1rem) calc(var(--ui-card-pad) - 0.05rem);
  border-radius: clamp(14px, 1vw, 16px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.82);
}

.matching-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28em 0.7em;
  border-radius: 8px;
  font-size: var(--ui-font-sm);
  font-weight: 600;
}

.matching-pill--firm {
  background: #dbeafe;
  color: #2563eb;
}

.matching-pill--student {
  background: #fef9c3;
  color: #b45309;
}

.matching-pair-name {
  font-size: var(--ui-font-md);
  font-weight: 700;
  color: #1e293b;
}

.matching-pair-role {
  color: #64748b;
  font-size: var(--ui-font-sm);
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.matching-pair-separator {
  color: #64748b;
  font-size: var(--ui-font-sm);
}

.matching-pair-debug,
.matching-empty-item {
  flex: 1 1 100%;
  font-size: var(--ui-font-xs);
  line-height: 1.45;
}

.matching-pair-debug {
  color: #b91c1c;
}

.matching-empty-item {
  color: #64748b;
}

.matching-page .beruf-box-collapsible .beruf-box-title::after,
body.admin-page .matching-results-grid .beruf-box-collapsible .beruf-box-title::after {
  content: '▼';
  font-size: 0.95em;
  color: #64748b;
  margin-left: 0.5em;
  transition: transform 0.2s;
  display: inline-block;
}

.matching-page .beruf-box-collapsible:hover .beruf-box-title::after,
body.admin-page .matching-results-grid .beruf-box-collapsible:hover .beruf-box-title::after {
  transform: rotate(180deg);
}

.trainings-cv-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
}

/* Lebenslauf-Toggle */
.lebenslauf-form-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.lebenslauf-form-toggle:hover {
  background: rgba(37, 99, 235, 0.04);
}

.lebenslauf-form-toggle .lebenslauf-form-title {
  margin: 0 !important;
  flex: 1;
}

.lebenslauf-form-toggle__icon {
  font-size: 0.85rem;
  color: #2563eb;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lebenslauf-form-toggle[aria-expanded="true"] .lebenslauf-form-toggle__icon {
  transform: rotate(180deg);
}

.lebenslauf-form-body {
  padding: 0 1.8rem 1.8rem;
}


.trainings-list-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.5rem;
}

.trainings-list-title {
  text-align: left;
}

.trainings-list-head {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.trainings-list-kicker {
  margin: 0;
}

.trainings-list-intro {
  margin: 0;
  color: #52627b;
  line-height: 1.72;
}

.trainings-page .training-list > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.trainings-page .training-list > ul > li {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.9) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(147, 197, 253, 0.78);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.12);
  color: #334155;
  display: block;
  overflow: hidden;
}

.trainings-page .training-list > ul > li:last-child {
  margin-bottom: 0;
}

.trainings-page .training-accordion {
  display: block;
}

.trainings-page .training-accordion-summary {
  position: relative;
  display: block;
  padding: 1.2rem 9.8rem 1.2rem 1.2rem;
  cursor: pointer;
  list-style: none;
}

.trainings-page .training-accordion-summary::-webkit-details-marker {
  display: none;
}

.trainings-page .training-accordion-summary::after {
  content: 'Aufklappen +';
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(147, 197, 253, 0.88);
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.trainings-page .training-accordion[open] .training-accordion-summary::after {
  content: 'Einklappen -';
}

.trainings-page .training-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: flex-start;
}

.trainings-page .training-card-copy,
.trainings-page .training-title,
.trainings-page .training-desc {
  display: block;
}

.trainings-page .training-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trainings-page .training-title {
  font-weight: 700;
  color: #2563eb;
  font-size: 1.05rem;
  margin-bottom: 0.22rem;
}

.trainings-page .training-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.trainings-page .training-accordion[open] .training-accordion-panel {
  grid-template-rows: 1fr;
}

.trainings-page .training-accordion-panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 1.2rem 1.2rem;
  display: grid;
  gap: 1rem;
}

.trainings-page .training-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.trainings-page .training-detail-block {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.88);
}

.trainings-page .training-detail-title {
  margin: 0 0 0.6rem;
  color: #16324f;
  font-size: 0.96rem;
  font-weight: 700;
}

.trainings-page .training-detail-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.5rem;
  color: #45566d;
}

.trainings-page .training-detail-list li {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #45566d;
  display: list-item;
}

.trainings-page .training-outcome {
  margin: 0;
  color: #45566d;
  line-height: 1.68;
}

.trainings-page .training-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.95rem;
}

.trainings-page .training-action-btn {
  min-width: 15rem;
  justify-content: center;
}

.trainings-page .training-action-link {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.trainings-page .training-action-link:hover,
.trainings-page .training-action-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .matching-hero-panel,
  .trainings-hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .matching-hero-copy,
  .matching-overview-card,
  .matching-results-panel,
  .trainings-hero-copy,
  .trainings-overview-card,
  .trainings-list-panel {
    padding: 1.15rem;
  }

  .matching-admin-gate__actions {
    flex-direction: column;
  }

  .trainings-page .training-card-top,
  .trainings-page .training-detail-grid {
    grid-template-columns: 1fr;
  }

  .trainings-page .training-badge {
    min-width: 0;
    justify-self: start;
  }

  .trainings-page .training-accordion-summary {
    padding-right: 1.2rem;
    padding-bottom: 4.35rem;
  }

  .trainings-page .training-accordion-summary::after {
    top: auto;
    right: 1.2rem;
    bottom: 1.15rem;
  }

  .trainings-page .training-action-btn {
    width: 100%;
    min-width: 0;
  }

  .matching-title,
  .trainings-title {
    font-size: clamp(1.95rem, 8vw, 3rem) !important;
  }

  .matching-page .beruf-box-collapsible,
  body.admin-page .matching-results-grid .beruf-box-collapsible,
  .matching-pair-item {
    padding: 1rem;
  }

  .matching-pair-separator {
    display: none;
  }
}

/* ── Geo-Match-Karte ─────────────────────────────────────────────────────── */

.geo-map-container {
  width: 100%;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 2px 12px rgba(30, 41, 59, 0.07);
}

.geo-map-container .leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  font-family: inherit;
}

.geo-map-marker__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.30);
}

.geo-map-marker--firm .geo-map-marker__dot  { background: #16a34a; }
.geo-map-marker--student .geo-map-marker__dot { background: #dc2626; }
.geo-map-marker--own .geo-map-marker__dot     { background: #2563eb; }

.geo-map-container .leaflet-popup-content-wrapper {
  border-radius: 10px;
  font-size: 0.825rem;
  box-shadow: 0 4px 16px rgba(30,41,59,0.12);
}

.geo-map-container .leaflet-popup-tip {
  background: #fff;
}

@media (max-width: 600px) {
  .geo-map-container {
    height: 260px;
  }
}

/* ── Lebenslauf Ein-/Ausklappen ──────────────────────────────────────────── */

.profil-cv-preview {
  width: 100%;
  margin-top: 8px;
}

.profil-cv-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  text-align: left;
  transition: background 0.15s;
}

.profil-cv-toggle:hover {
  background: #e2e8f0;
}

.profil-cv-toggle[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.profil-cv-toggle__label {
  flex: 1;
}

.profil-cv-toggle__icon {
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.2s;
}

.profil-cv-toggle[aria-expanded="true"] .profil-cv-toggle__icon {
  transform: rotate(180deg);
}

.profil-cv-body {
  border: 1px solid #cbd5e1;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 12px;
  background: #fff;
}

.profil-cv-image {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(30,41,59,0.07);
}

.profil-cv-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Firm-side: CV expand/collapse inside match tiles */
.firm-cv-preview {
  margin-top: 10px;
  width: 100%;
}

.firm-cv-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #166534;
  text-align: left;
  transition: background 0.15s;
}

.firm-cv-toggle:hover {
  background: #dcfce7;
}

.firm-cv-toggle[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.firm-cv-toggle__label { flex: 1; }

.firm-cv-toggle__icon {
  font-size: 0.75rem;
  color: #16a34a;
  transition: transform 0.2s;
}

.firm-cv-toggle[aria-expanded="true"] .firm-cv-toggle__icon {
  transform: rotate(180deg);
}

.firm-cv-body {
  border: 1px solid #86efac;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 12px;
  background: #f9fafb;
}

.firm-cv-image {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(30,41,59,0.07);
}

.firm-cv-body-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Mobile compaction outside the profile dashboards. */
@media (max-width: 760px) {
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) {
    --ui-font-xs: clamp(0.66rem, 0.22vw + 0.62rem, 0.78rem);
    --ui-font-sm: clamp(0.78rem, 0.34vw + 0.72rem, 0.9rem);
    --ui-font-md: clamp(0.88rem, 0.48vw + 0.78rem, 0.98rem);
    --ui-font-lg: clamp(0.96rem, 0.68vw + 0.84rem, 1.14rem);
    --ui-font-xl: clamp(1.04rem, 0.94vw + 0.84rem, 1.38rem);
    --ui-space-xs: 0.24rem;
    --ui-space-sm: 0.42rem;
    --ui-space-md: 0.62rem;
    --ui-space-lg: 0.82rem;
    --ui-card-pad: 0.74rem;
    --ui-card-radius: 18px;
    --ui-touch-min: 2.55rem;
    --ui-button-min: 7.5rem;
    --shell-gutter: 14px;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-layout,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .bewerber-entry-layout,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .firma-entry-layout,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .mobile-app-shell,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-mobile-app-shell {
    width: calc(100vw - 14px);
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-topbar {
    margin-top: 0.8rem;
    gap: 0.72rem;
    padding: 0.72rem 0.8rem;
    border-radius: 18px;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-nav-cluster {
    gap: 0.45rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-directory-panel {
    padding: 0.72rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-brand::before {
    height: 3.05rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-brand::after {
    font-size: 0.68rem;
    max-width: 16rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .portal-entry-wrapper,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .profile-shell-wrapper {
    padding-bottom: 1.8rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .bewerber-intro-band,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .firma-intro-band {
    margin-top: 1rem;
    gap: 0.8rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) :is(
    .bewerber-intro-copy,
    .bewerber-intro-brief,
    .bewerber-preview-card,
    .bewerber-preview-note,
    .bewerber-auth-card,
    .bewerber-profile-card,
    .bewerber-preview-panel,
    .firma-intro-copy,
    .firma-intro-brief,
    .firma-auth-card,
    .firma-portal-card,
    .firma-match-card,
    .student-clickgo-card,
    .student-auth-quick-guide,
    .auth-reg-stepper,
    .portal-support-note,
    .bewerber-profile-account,
    .bewerber-profile-notice,
    .bewerber-form-section,
    .firma-verification-box,
    .internship-access-card,
    .portal-internship-stage,
    .mobile-app-hero,
    .mobile-app-role-panel,
    .mobile-app-card,
    .mobile-app-feature-card,
    .mobile-app-install-card,
    .student-mobile-app-hero,
    .student-mobile-app-card,
    .student-mobile-app-summary-card,
    .student-mobile-app-phone
  ) {
    border-radius: 20px;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) :is(
    .bewerber-intro-copy,
    .bewerber-intro-brief,
    .bewerber-preview-card,
    .bewerber-preview-note,
    .bewerber-auth-card,
    .bewerber-profile-card,
    .bewerber-preview-panel,
    .firma-intro-copy,
    .firma-intro-brief,
    .firma-auth-card,
    .firma-portal-card,
    .firma-match-card,
    .student-clickgo-card,
    .student-auth-quick-guide,
    .auth-reg-stepper,
    .portal-support-note,
    .bewerber-profile-account,
    .bewerber-profile-notice,
    .bewerber-form-section,
    .firma-verification-box,
    .internship-access-card,
    .portal-internship-stage,
    .mobile-app-hero,
    .mobile-app-card,
    .mobile-app-feature-card,
    .mobile-app-install-card,
    .student-mobile-app-hero,
    .student-mobile-app-card,
    .student-mobile-app-summary-card
  ) {
    padding: 0.92rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-clickgo-card {
    gap: 0.72rem;
    margin-top: 0.8rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-clickgo-card__head,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .internship-access-card__body,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .mobile-app-card__header,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-mobile-app-card__head,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-mobile-app-summary-card__header {
    gap: 0.6rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-clickgo-step {
    gap: 0.25rem;
    padding: 0.68rem 0.72rem;
    border-radius: 12px;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .portal-internship-stage__chips,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-mobile-app-chip-row,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .mobile-app-topbar-actions {
    gap: 0.45rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) :is(
    .portal-internship-stage__chip,
    .bewerber-preview-chip,
    .student-mobile-app-chip,
    .mobile-app-tab
  ) {
    padding: 0.4rem 0.68rem;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .bewerber-intro-copy h1,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .firma-intro-copy h1 {
    font-size: clamp(1.82rem, 7vw, 2.45rem) !important;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .mobile-app-hero-copy h1,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-mobile-app-hero__copy h1 {
    font-size: clamp(1.68rem, 6.7vw, 2.16rem) !important;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .mobile-app-dock {
    gap: 0.35rem;
    padding: 0.38rem;
    border-radius: 22px;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .mobile-app-dock a {
    min-height: 2.45rem;
    padding-inline: 0.38rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 540px) {
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) {
    --ui-card-pad: 0.68rem;
    --ui-card-radius: 16px;
    --ui-button-min: 7rem;
    --shell-gutter: 12px;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-layout,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .bewerber-entry-layout,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .firma-entry-layout,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .mobile-app-shell,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .student-mobile-app-shell {
    width: calc(100vw - 12px);
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .index-topbar,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) :is(
    .bewerber-intro-copy,
    .bewerber-intro-brief,
    .bewerber-preview-card,
    .bewerber-preview-note,
    .bewerber-auth-card,
    .bewerber-profile-card,
    .bewerber-preview-panel,
    .firma-intro-copy,
    .firma-intro-brief,
    .firma-auth-card,
    .firma-portal-card,
    .firma-match-card,
    .student-clickgo-card,
    .student-auth-quick-guide,
    .auth-reg-stepper,
    .portal-support-note,
    .bewerber-profile-account,
    .bewerber-profile-notice,
    .bewerber-form-section,
    .firma-verification-box,
    .internship-access-card,
    .portal-internship-stage,
    .mobile-app-hero,
    .mobile-app-card,
    .mobile-app-feature-card,
    .mobile-app-install-card,
    .student-mobile-app-hero,
    .student-mobile-app-card,
    .student-mobile-app-summary-card,
    .student-mobile-app-phone
  ) {
    padding: 0.8rem;
    border-radius: 16px;
  }

  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .bewerber-intro-copy h1,
  body:not(.student-profile-page):not(.firm-profile-page):not(.firm-quick-profile-page):not(.admin-page) .firma-intro-copy h1 {
    font-size: clamp(1.64rem, 8vw, 2.08rem) !important;
  }
}
