:root {
  --bg: #fbf5f8;
  --surface: #ffffff;
  --surface-alt: #fff7fb;
  --text: #2f1830;
  --muted: #6d5869;
  --line: rgba(139, 13, 77, 0.12);
  --primary: #ad1160;
  --primary-dark: #8b0d4d;
  --primary-soft: rgba(173, 17, 96, 0.1);
  --accent: #f4d7e6;
  --shadow: 0 24px 60px rgba(94, 14, 56, 0.14);
  --shadow-soft: 0 14px 34px rgba(94, 14, 56, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(173, 17, 96, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  line-height: 1.6;
}

body.phone-modal-open {
  overflow: hidden;
}

body[data-page="launch"] {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(245, 173, 210, 0.26), transparent 22%),
    linear-gradient(160deg, #7f0e47 0%, #ad1160 48%, #cf4d8b 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(173, 17, 96, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.launch-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  overflow: hidden;
}

.launch-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 36px;
  background: rgba(255, 248, 252, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 30px 90px rgba(49, 7, 29, 0.28);
  text-align: center;
  backdrop-filter: blur(16px);
}

.launch-logo {
  width: clamp(120px, 18vw, 168px);
  margin: 0 auto 1.25rem;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
  background: rgba(173, 17, 96, 0.12);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.launch-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.launch-copy,
.launch-note {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.launch-note {
  margin-top: 1.4rem;
}

.launch-note a {
  color: var(--primary);
  font-weight: 700;
}

.launch-access-form {
  display: grid;
  gap: 0.9rem;
  max-width: 420px;
  margin: 1.8rem auto 0;
}

.launch-access-error {
  margin-top: 1rem;
  color: #8b0d4d;
  font-weight: 600;
}

.launch-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.launch-countdown__item {
  padding: 1.15rem 0.75rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(173, 17, 96, 0.1);
  box-shadow: var(--shadow-soft);
}

.launch-countdown__item strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--primary-dark);
}

.launch-countdown__item span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.launch-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.5;
}

.launch-orb--one {
  top: 7%;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.2);
}

.launch-orb--two {
  right: -80px;
  bottom: 8%;
  width: 260px;
  height: 260px;
  background: rgba(255, 214, 234, 0.26);
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 4.25rem 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.9rem;
  margin-bottom: 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.eyebrow-light {
  background: var(--primary-soft);
  color: var(--primary);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.4rem;
}

.section-heading h2,
.section-heading h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.story {
  background: linear-gradient(180deg, rgba(173, 17, 96, 0.08), rgba(173, 17, 96, 0));
}

.story-panel {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(173, 17, 96, 0.12);
}

.hero-mini {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  background: rgba(173, 17, 96, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: #8b0d4d;
}

.story-layer {
  background: rgba(255, 255, 255, 0.95);
}

.contrast-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.contrast-list li {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(173, 17, 96, 0.12);
  box-shadow: var(--shadow-soft);
}

.timeline .step {
  background: var(--surface);
}

.cta-section {
  text-align: center;
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top, rgba(173, 17, 96, 0.15), transparent 55%);
}

.cta-row {
  margin-top: 1.5rem;
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-row .btn {
  min-width: 180px;
}

.cta-badge {
  display: inline-flex;
  justify-content: center;
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  background: rgba(173, 17, 96, 0.15);
  color: #8b0d4d;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.section-heading p,
.lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: clamp(96px, 11vw, 120px);
}

.site-header__brand {
  display: flex;
  align-items: center;
  min-height: inherit;
  flex: 0 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-brand img {
  height: clamp(72px, 10vw, 96px);
  width: auto;
  display: block;
  object-fit: contain;
  background: none;
  border: 0;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: #1a1a1a;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  background: rgba(173, 17, 96, 0.08);
}

.site-nav .nav-cta-mobile {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(47, 24, 48, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 3.5rem;
  padding: 0.45rem 0.5rem 0.45rem 1rem;
  border: 1px solid rgba(139, 13, 77, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(94, 14, 56, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(139, 13, 77, 0.24);
  box-shadow: 0 14px 34px rgba(94, 14, 56, 0.16);
}

.nav-toggle:active {
  transform: scale(0.93);
}

.nav-toggle__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.nav-toggle__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 18px rgba(139, 13, 77, 0.28);
}

.nav-toggle__icon span {
  position: absolute;
  width: 16px;
  height: 2.5px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, width 0.2s ease;
}

.nav-toggle__icon span:nth-child(1) {
  transform: translateY(-5px);
}

.nav-toggle__icon span:nth-child(3) {
  transform: translateY(5px);
}

.nav-open .nav-toggle {
  background: rgba(255, 245, 250, 0.98);
  border-color: rgba(139, 13, 77, 0.22);
  box-shadow: 0 16px 38px rgba(94, 14, 56, 0.18);
}

.nav-open .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-open .nav-toggle__icon span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.nav-open .nav-toggle__icon span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(138deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 10px 24px rgba(139, 13, 77, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  border-color: rgba(173, 17, 96, 0.28);
  box-shadow: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.phone-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(31, 10, 20, 0.58);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.phone-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.phone-modal__backdrop {
  position: absolute;
  inset: 0;
}

.phone-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.98));
  border: 1px solid rgba(173, 17, 96, 0.14);
  box-shadow: 0 30px 80px rgba(64, 10, 34, 0.3);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.22s ease;
}

.phone-modal.is-open .phone-modal__dialog {
  transform: translateY(0) scale(1);
}

.phone-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(173, 17, 96, 0.08);
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
}

.phone-modal__eyebrow {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.phone-modal__dialog h2 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.phone-modal__dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 4.5rem 0 5.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -7rem;
  height: 12rem;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.hero__copy {
  color: #fff;
}

.hero__copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero__copy p {
  margin: 0 0 1.5rem;
  font-size: 1.12rem;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
}

.value-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.area-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-card {
  position: relative;
  overflow: hidden;
  padding-top: 1.9rem;
}

.area-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.area-card h3 {
  margin-bottom: 0.65rem;
}

.area-card p {
  line-height: 1.65;
}

.principles-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.principles-grid article {
  display: grid;
  grid-template-rows: auto 3.6rem 1fr;
  align-content: start;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.team-role {
  margin: 0.25rem 0 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.story-points {
  display: grid;
  gap: 1rem;
}

.story-points .card {
  min-height: 0;
}

.working-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.working-grid article {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(18, 6, 24, 0.15);
}

body[data-page="home"] #working-summary .working-grid article {
  background: var(--surface);
  border-color: rgba(173, 17, 96, 0.34);
  box-shadow:
    0 16px 34px rgba(94, 14, 56, 0.12),
    0 0 0 1px rgba(173, 17, 96, 0.12),
    0 0 20px rgba(173, 17, 96, 0.1);
}

.hero__actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

body[data-page="home"] .hero__actions .btn {
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.46),
    0 0 12px rgba(255, 255, 255, 0.42),
    0 0 26px rgba(255, 255, 255, 0.28);
  animation: heroCtaEdgeGlow 2.6s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body[data-page="home"] .hero__actions .btn:hover,
body[data-page="home"] .hero__actions .btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.58),
    0 0 18px rgba(255, 255, 255, 0.5),
    0 0 34px rgba(255, 255, 255, 0.34);
}

@keyframes heroCtaEdgeGlow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.42),
      0 0 10px rgba(255, 255, 255, 0.36),
      0 0 20px rgba(255, 255, 255, 0.24);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      0 0 0 1px rgba(255, 255, 255, 0.56),
      0 0 15px rgba(255, 255, 255, 0.48),
      0 0 30px rgba(255, 255, 255, 0.32);
  }
}

.hero .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero__panel {
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  min-height: 470px;
}

.hero__person-image {
  width: clamp(280px, 34vw, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 42px rgba(46, 8, 30, 0.34));
  position: relative;
  z-index: 2;
}

body[data-page="pflege"] .hero__visual,
body[data-page="aerzte"] .hero__visual,
body[data-page="einrichtungen"] .hero__visual {
  align-self: end;
  min-height: 0;
  z-index: 2;
}

body[data-page="pflege"] .hero__person-image,
body[data-page="aerzte"] .hero__person-image {
  width: clamp(330px, 40vw, 560px);
  justify-self: end;
  transform: scaleX(-1) translateY(48px);
  transform-origin: center bottom;
}

body[data-page="einrichtungen"] .hero__person-image {
  width: clamp(350px, 41vw, 580px);
  justify-self: end;
  transform: scaleX(-1) translateY(48px);
  transform-origin: center bottom;
}

body[data-page="pflege"] .hero::after,
body[data-page="aerzte"] .hero::after,
body[data-page="einrichtungen"] .hero::after {
  z-index: 4;
}

body[data-page="pflege"] .hero__grid,
body[data-page="aerzte"] .hero__grid,
body[data-page="einrichtungen"] .hero__grid {
  z-index: auto;
}

body[data-page="pflege"] .hero__copy,
body[data-page="aerzte"] .hero__copy,
body[data-page="einrichtungen"] .hero__copy {
  position: relative;
  z-index: 5;
}

.hero__mascot {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 470px;
  position: relative;
}

.hero__mascot-image {
  width: clamp(280px, 34vw, 460px);
  height: auto;
  object-fit: contain;
}

.octo-bubble {
  position: absolute;
  top: 8%;
  right: 2%;
  min-width: 200px;
  padding: 0.75rem 1rem;
  background: linear-gradient(160deg, #ffffff 0%, #f7f0fb 50%, #fdf7ff 100%);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(29, 9, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-weight: 600;
  color: #4b0f2a;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
  overflow: hidden;
  min-height: 70px;
}

.octo-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 18px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-top-color: #fdf7ff;
  border-bottom: 0;
}

.octo-bubble::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 14px;
  width: 0;
  height: 0;
  border: 16px solid transparent;
  border-top-color: rgba(29, 9, 40, 0.08);
  border-bottom: 0;
  filter: blur(0.5px);
  z-index: -1;
}

.octo-bubble span {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: bubbleText 9s ease-in-out infinite;
}

.octo-bubble span:nth-child(1) {
  animation-delay: 0s;
}

.octo-bubble span:nth-child(2) {
  animation-delay: 3s;
}

.octo-bubble span:nth-child(3) {
  animation-delay: 6s;
}

@keyframes bubbleText {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  25% {
    opacity: 1;
  }
  33% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 0;
  }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
  min-height: 170px;
}

.stat strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.1;
  color: var(--primary);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.stat span {
  display: block;
  font-size: 1.06rem;
  line-height: 1.45;
  color: #4f344d;
}

.hero__stats .stat:nth-child(3) {
  grid-column: 1 / -1;
}

.entry-grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.entry-card {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 165px;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 32px rgba(73, 8, 43, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

body[data-page="home"] .entry-card {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 14px 32px rgba(73, 8, 43, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.36),
    0 0 14px rgba(255, 255, 255, 0.28),
    0 0 28px rgba(255, 255, 255, 0.18);
  animation: heroEntryEdgeGlow 3s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body[data-page="home"] .entry-card:nth-child(2) {
  animation-delay: 0.35s;
}

body[data-page="home"] .entry-card:nth-child(3) {
  animation-delay: 0.7s;
}

.entry-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
}

body[data-page="home"] .entry-card:hover,
body[data-page="home"] .entry-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 18px 34px rgba(73, 8, 43, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.52),
    0 0 18px rgba(255, 255, 255, 0.36),
    0 0 34px rgba(255, 255, 255, 0.24);
}

@keyframes heroEntryEdgeGlow {
  0%, 100% {
    box-shadow:
      0 14px 32px rgba(73, 8, 43, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.3),
      0 0 10px rgba(255, 255, 255, 0.22),
      0 0 20px rgba(255, 255, 255, 0.14);
  }
  50% {
    box-shadow:
      0 16px 34px rgba(73, 8, 43, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.44),
      0 0 14px rgba(255, 255, 255, 0.3),
      0 0 28px rgba(255, 255, 255, 0.2);
  }
}

.entry-card span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.entry-card strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.entry-card small {
  margin-top: auto;
  font-weight: 700;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-list {
  display: grid;
  gap: 1rem;
}

.model-list--wide {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.model-list .card {
  min-height: 0;
}

.model-list--numbered .card {
  display: grid;
  gap: 0.25rem;
}

.model-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.35rem;
}

.model-card__head h3 {
  margin: 0;
}

.benefit-two-col {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-panel {
  padding: 1.4rem 1.4rem 1.25rem;
  background: linear-gradient(180deg, rgba(173, 17, 96, 0.03), rgba(255, 255, 255, 0.98) 42%), var(--surface);
  border: 1px solid rgba(173, 17, 96, 0.12);
  box-shadow:
    0 14px 30px rgba(94, 14, 56, 0.08),
    0 0 0 1px rgba(173, 17, 96, 0.05);
}

.benefit-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(173, 17, 96, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.benefit-eyebrow--strong {
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.benefit-panel h3 {
  margin: 0.8rem 0 1rem;
  font-size: 1.35rem;
}

.benefit-intro {
  margin: -0.3rem 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.benefit-panel h4 {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text);
  font-weight: 700;
  text-transform: none;
}

.benefit-panel--split .benefit-group + .benefit-group {
  margin-top: 1rem;
}

.benefit-panel--split .benefit-group--top {
  height: 12.8rem;
  overflow: hidden;
}

.benefit-divider {
  margin: 1.15rem 0 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(173, 17, 96, 0.2), rgba(173, 17, 96, 0.06));
}

.benefit-lines {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-lines li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.5;
}

.benefit-lines li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.benefit-lines strong {
  font-weight: 500;
}

.benefit-lines .muted {
  display: inline;
  margin-left: 0.2rem;
}

@media (max-width: 960px) {
  .benefit-panel--split .benefit-group--top {
    height: auto;
    overflow: visible;
  }
}

.benefit-callout {
  margin-top: 1.4rem;
  padding: 1.2rem 1.25rem 1.1rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(173, 17, 96, 0.04), rgba(255, 255, 255, 0.98)),
    var(--surface);
  border: 1px solid rgba(173, 17, 96, 0.14);
  box-shadow:
    0 16px 32px rgba(94, 14, 56, 0.08),
    0 0 0 1px rgba(173, 17, 96, 0.05);
}

.benefit-callout p {
  margin: 0.55rem 0 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 600;
  max-width: 64ch;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(139, 13, 77, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

body[data-page="home"] .card,
body[data-page="home"] .step,
body[data-page="home"] .contact-panel {
  border-color: rgba(173, 17, 96, 0.34);
  box-shadow:
    0 16px 34px rgba(94, 14, 56, 0.12),
    0 0 0 1px rgba(173, 17, 96, 0.12),
    0 0 20px rgba(173, 17, 96, 0.1);
}

.card h3,
.card h4 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.tag-list,
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.split {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.intro-story {
  align-items: stretch;
}

.intro-story > div {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.intro-story .section-heading {
  margin-bottom: 1.1rem;
}

.intro-story p {
  margin: 0;
}

.intro-story__panel {
  align-self: center;
  overflow: visible;
}

.intro-story__panel h3 {
  margin: 0.6rem 0 0.6rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.intro-story__visual {
  display: grid;
  align-self: end;
  justify-items: end;
  align-items: end;
  min-height: 420px;
}

.intro-story__image {
  width: clamp(360px, 44vw, 640px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 22px 40px rgba(73, 8, 43, 0.2));
}

.intro-story--compact-image .intro-story__image {
  width: clamp(225px, 26vw, 380px);
  margin-top: 1rem;
}

.intro-story--compact-image .intro-story__visual {
  min-height: 230px;
}

.intro-story--compact-image > div {
  gap: 0.6rem;
}

.intro-story--about .intro-story__visual {
  min-height: 320px;
}

.intro-story--about .intro-story__image {
  width: clamp(280px, 30vw, 420px);
}

.intro-story--about {
  position: relative;
}

.intro-story--about .intro-story {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    radial-gradient(circle at top right, rgba(173, 17, 96, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.95));
  border: 1px solid rgba(173, 17, 96, 0.12);
  box-shadow:
    0 26px 60px rgba(94, 14, 56, 0.1),
    0 0 0 1px rgba(173, 17, 96, 0.05);
  overflow: hidden;
}

.intro-story--about .intro-story::after {
  content: "";
  position: absolute;
  inset: auto -6rem -5rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 17, 96, 0.12) 0%, rgba(173, 17, 96, 0.05) 44%, transparent 72%);
  pointer-events: none;
}

.intro-story--about .section-heading h1 {
  max-width: 12ch;
}

.intro-story--about .section-heading p {
  max-width: 60ch;
}

.intro-story--marcel .intro-story__visual {
  min-height: 0;
  align-self: end;
}

.intro-story--marcel .intro-story__image {
  width: clamp(220px, 24vw, 330px);
  margin-top: 0;
}

#pflege-modell {
  padding-top: 1.2rem;
}

.relative {
  position: relative;
}

.floating-octopus {
  position: sticky;
  top: 32vh;
  transform: translateY(-50%);
  width: clamp(260px, 40vw, 360px);
  pointer-events: none;
  justify-self: end;
  align-self: start;
  animation: fly 12s ease-in-out infinite;
}

.floating-octopus img {
  width: 100%;
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@keyframes fly {
  0% {
    transform: translate(0, 2px) scale(1);
  }
  20% {
    transform: translate(-15px, -12px) scale(1.05);
  }
  40% {
    transform: translate(-30px, -4px) scale(1.07);
  }
  60% {
    transform: translate(-20px, 6px) scale(1.04);
  }
  80% {
    transform: translate(-5px, -2px) scale(1.02);
  }
  100% {
    transform: translate(0, 2px) scale(1);
  }
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(139, 13, 77, 0.08);
}

.step__number {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.accordion-list {
  display: grid;
  gap: 1rem;
}

.accordion-item {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
}

.accordion-item summary::after {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  margin-left: auto;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

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

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

.accordion-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.accordion-badge {
  flex: 0 0 auto;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.accordion-item[open] {
  border: 1px solid rgba(173, 17, 96, 0.2);
}

.accordion-item[open] summary {
  border-bottom: 1px solid rgba(139, 13, 77, 0.08);
  background: linear-gradient(180deg, rgba(173, 17, 96, 0.03), rgba(173, 17, 96, 0));
}

.accordion-body {
  padding: 1.25rem 1.4rem 1.4rem;
}

.accordion-body p {
  margin: 0;
  line-height: 1.7;
}

.accordion-body .btn {
  margin-top: 1rem;
}

.accordion-cta {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(173, 17, 96, 0.12);
  font-weight: 600;
  color: var(--text);
}

.accordion-cta a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.text-accent {
  color: var(--primary);
  font-weight: 800;
}

.accordion-item summary:focus-visible {
  outline: 3px solid rgba(173, 17, 96, 0.22);
  outline-offset: 2px;
}

.carousel {
  position: relative;
}

.carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.carousel__button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.75rem 0.85rem 1.05rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__item {
  scroll-snap-align: start;
}

.carousel__track .state-card {
  margin: 0.25rem;
}

.job-card,
.city-card,
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.job-card__footer,
.cta-banner,
.contact-card,
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-post-list {
  display: grid;
  gap: 1rem;
}

.admin-post h3 {
  margin: 0.5rem 0;
}

.admin-import-panel {
  padding: 1.25rem;
  box-shadow: none;
}

.admin-import-panel h3 {
  margin: 0 0 0.45rem;
}

.admin-import-example {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(139, 13, 77, 0.12);
}

.admin-import-example summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
}

.admin-import-example pre {
  margin: 0.9rem 0 0;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 16px;
  background: #fff7fb;
  border: 1px solid rgba(139, 13, 77, 0.12);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.job-card__footer {
  margin-top: auto;
  justify-content: space-between;
  align-items: center;
}

.filters {
  display: grid;
  gap: 1rem;
  grid-template-columns: 220px minmax(0, 1fr);
  margin-bottom: 2rem;
}

.field,
.select,
.textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(139, 13, 77, 0.14);
  background: #fff;
  color: var(--text);
}

.field::placeholder,
.textarea::placeholder {
  color: #9c8495;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
  grid-column: 1 / -1;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid rgba(139, 13, 77, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-forms {
  display: grid;
  gap: 1.25rem;
}

.contact-forms .contact-panel {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-forms .contact-panel.is-active {
  border-color: rgba(173, 17, 96, 0.32);
  box-shadow:
    0 20px 36px rgba(94, 14, 56, 0.14),
    0 0 0 1px rgba(173, 17, 96, 0.16);
}

.contact-funnel .section-heading {
  margin-bottom: 1.4rem;
}

.funnel-step {
  display: grid;
  gap: 0.95rem;
}

.funnel-label {
  font-weight: 700;
  color: var(--text);
}

.funnel-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
}

.funnel-actions .btn {
  min-width: 140px;
}

.funnel-note {
  margin: 0;
}

.funnel-step__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.funnel-step__header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.funnel-options {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.funnel-option {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 13, 77, 0.14);
  background: var(--surface-alt);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.funnel-option h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.funnel-option p {
  margin: 0;
}

.cta-banner {
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-row,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta-stack {
  flex-direction: column;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: #f8eff4;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(135deg, #6c083b 0%, #420322 100%);
}

.footer-columns {
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 168px;
  margin-bottom: 1rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 0.8rem 2.2rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.floating-cta,
.whatsapp-button {
  position: fixed;
  right: 1rem;
  z-index: 35;
}

.floating-cta {
  bottom: 5.8rem;
  display: none;
}

.whatsapp-button {
  bottom: 1rem;
  width: 3.8rem;
  height: 3.8rem;
  border: 0;
  border-radius: 50%;
  background: url("../assets/icons/whatsapp-icon.svg") center/cover no-repeat;
  padding: 0;
  font-size: 0;
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.32);
}

.detail-hero {
  padding-top: 2rem;
}

.detail-box {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) 320px;
}

.detail-sidebar {
  position: sticky;
  top: 7rem;
}

.legal-content {
  display: grid;
  gap: 1.5rem;
}

.legal-content section {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.richtext-block + .richtext-block {
  margin-top: 1.5rem;
}

.richtext-block h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
}

.richtext {
  color: var(--muted);
}

.richtext h3 {
  margin: 1.25rem 0 0.55rem;
  color: var(--text);
  font-size: 1.02rem;
}

.richtext h3:first-child {
  margin-top: 0;
}

.magazin-rich-content {
  color: var(--text);
}

.richtext p,
.richtext ul,
.richtext ol {
  margin: 0 0 1rem;
}

.richtext ul,
.richtext ol {
  padding-left: 1.2rem;
}

.richtext li + li {
  margin-top: 0.45rem;
}

.richtext strong {
  color: var(--text);
}

.richtext a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.richtext-compact p,
.richtext-compact ul,
.richtext-compact ol {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.richtext-intro {
  font-size: 1.05rem;
  line-height: 1.7;
}

.richtext-intro p {
  margin-bottom: 1rem;
}

.job-card__summary {
  min-height: 4.75rem;
}

.state-card {
  text-align: center;
  padding: 2rem;
}

.muted {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero__grid,
  .split,
  .detail-box,
  .card-grid,
  .model-grid,
  .benefit-two-col,
  .area-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats,
  .filters,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .funnel-actions {
    grid-template-columns: 1fr;
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-overlay {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(94, 14, 56, 0.18), 0 4px 16px rgba(0,0,0,0.08);
    z-index: 50;
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1), visibility 0.22s;
  }

  .nav-open .site-nav {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a:not(.btn) {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease,
      color 0.18s ease;
  }

  .site-nav a:not(.btn):last-of-type {
    border-bottom: 0;
  }

  .site-nav a:not(.btn):hover,
  .site-nav a:not(.btn).is-active {
    color: var(--primary);
    background: var(--primary-soft);
    transform: translateX(4px);
    box-shadow: 0 12px 24px rgba(94, 14, 56, 0.08);
  }

  .site-nav a:not(.btn):active {
    transform: translateX(2px) scale(0.99);
  }

  .site-nav .nav-cta-mobile {
    display: flex !important;
    margin: 0.5rem 0 0.25rem;
    justify-content: center;
    color: #fff !important;
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      filter 0.18s ease;
  }

  .site-nav .nav-cta-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(139, 13, 77, 0.3);
    filter: saturate(1.05);
  }

  .site-nav .nav-cta-mobile:active {
    transform: translateY(0) scale(0.985);
  }

  .site-header__actions .btn:not(.nav-toggle) {
    display: none;
  }

  .site-brand {
    padding: 0;
    border-radius: 0;
  }

  .site-brand img {
    height: clamp(56px, 14vw, 72px);
  }

  .nav-toggle {
    display: inline-flex;
    justify-content: center;
  }
  .hero__visual {
    order: 2;
    min-height: auto;
    gap: 0.8rem;
    justify-items: center;
    align-items: center;
  }

  .hero__person-image {
    width: min(100%, 360px);
    justify-self: center;
  }

  body[data-page="pflege"] .hero__person-image,
  body[data-page="aerzte"] .hero__person-image {
    justify-self: center;
    transform: scaleX(-1) translateY(40px);
  }

body[data-page="einrichtungen"] .hero__person-image {
    justify-self: center;
    transform: scaleX(-1) translateY(40px);
  }

  .hero__mascot {
    order: 2;
    min-height: 360px;
  }

  .hero__mascot-image {
    width: min(100%, 320px);
    transform: translateY(24px);
  }

  .floating-cta {
    display: inline-flex;
  }

  .footer-columns,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .launch-card {
    border-radius: 28px;
    padding: 1.65rem 1.2rem;
  }

  .launch-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-copy,
  .launch-note {
    font-size: 0.98rem;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero::after {
    inset: auto -4% -4.5rem;
    height: 8rem;
    border-radius: 42% 42% 0 0 / 72% 72% 0 0;
  }

  .hero__copy h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  body[data-page="einrichtungen"] .hero__copy h1 {
    font-size: clamp(2.1rem, 11.5vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
  }

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

  .intro-story__visual {
    min-height: auto;
    justify-items: center;
  }

  .intro-story__image {
    width: min(100%, 520px);
  }

  .intro-story--about .intro-story {
    padding: 1.5rem;
  }

  .intro-story--about .section-heading h1 {
    max-width: none;
  }

  .carousel__track {
    grid-auto-columns: minmax(270px, 88vw);
  }

  .cta-banner {
    padding: 1.5rem;
  }
}
