:root {
  --alpenblau: #0d2b4d;
  --tiefsee: #163c67;
  --schiefer: #4a6a8a;
  --himmel: #7faed6;
  --gletscher: #bfd5e6;
  --eis: #e8edf3;
  --berg: #8e99a8;
  --nebel: #d6dde5;
  --weiss: #ffffff;
  --schwarz: #000000;
  --text: #17314d;
  --muted: #5f6f7f;
  --shadow: 0 22px 48px rgba(13, 43, 77, .13);
  --radius: 8px;
  --content: min(1160px, calc(100vw - 36px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--weiss);
  font-family: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
li,
a,
summary,
strong,
button {
  overflow-wrap: break-word;
  hyphens: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(13, 43, 77, .08);
  background: var(--weiss);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--content);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 188px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-links button {
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius);
  color: var(--tiefsee);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links button:hover {
  background: var(--eis);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--alpenblau);
  font-size: 24px;
  line-height: 1;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--alpenblau);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 43, 77, .92) 0%, rgba(13, 43, 77, .74) 34%, rgba(13, 43, 77, .2) 68%, rgba(13, 43, 77, .05) 100%),
    url("assets/hero-therapy.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  padding: 88px 0 74px;
  color: var(--weiss);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gletscher);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--alpenblau);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 760;
  line-height: 1.08;
}

.hero h1 {
  max-width: 770px;
  color: var(--weiss);
  font-size: clamp(2.55rem, 6vw, 5.65rem);
}

.hero .lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--alpenblau);
  color: var(--weiss);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--tiefsee);
}

.button.secondary {
  border-color: var(--gletscher);
  background: var(--weiss);
  color: var(--alpenblau);
}

.button.light {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .12);
  color: var(--weiss);
}

.button.light:hover {
  background: rgba(255, 255, 255, .2);
}

.section {
  padding: 86px 0;
}

.section.soft {
  background: var(--eis);
}

.section.blue {
  background: var(--alpenblau);
  color: var(--weiss);
}

.section.blue h2,
.section.blue h3 {
  color: var(--weiss);
}

.container {
  width: var(--content);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.blue .section-head p {
  color: rgba(255, 255, 255, .82);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid > *,
.split > *,
.benefits-showcase > *,
.contact-band > *,
.footer-grid > *,
.stat,
.card,
.timeline-item,
.benefit-item,
.toggle {
  min-width: 0;
}

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

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

.benefits-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 38px;
  align-items: start;
}

.benefit-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(13, 43, 77, .1);
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: 0 10px 22px rgba(13, 43, 77, .055);
}

.benefit-item::before {
  content: "\2713";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--alpenblau);
  color: var(--weiss);
  font-weight: 900;
  line-height: 1;
}

.benefit-item strong {
  display: block;
  color: var(--alpenblau);
  font-size: 1.06rem;
}

.image-mosaic {
  display: grid;
  gap: 16px;
}

.image-mosaic img,
.wide-image img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-mosaic img:first-child {
  min-height: 340px;
}

.benefits-showcase .image-mosaic img {
  min-height: 620px;
}

.benefits-image img {
  object-position: 47% 50%;
}

.therapy-kitchen-image img {
  object-position: 38% 48%;
}

.contact-consultation-image img {
  object-position: 56% 48%;
}

.wide-image {
  margin-top: 34px;
}

.card {
  border: 1px solid rgba(13, 43, 77, .1);
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: 0 10px 24px rgba(13, 43, 77, .06);
}

.card.pad {
  padding: 28px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.card p,
.card li {
  color: var(--muted);
}

.number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gletscher);
  color: var(--alpenblau);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, .96fr) minmax(0, 1.04fr);
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--eis);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.detail-stairs-image img {
  object-position: 55% 48%;
}

.home-reha-image img {
  object-position: 48% 50%;
}

.career-team-image img {
  object-position: 52% 48%;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--himmel);
  background: var(--weiss);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(13, 43, 77, .05);
}

.soft .feature-list li {
  background: rgba(255, 255, 255, .78);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--eis);
  color: var(--tiefsee);
  font-size: .93rem;
  font-weight: 800;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .35);
  box-shadow: var(--shadow);
}

.stat {
  padding: 28px;
  background: var(--weiss);
}

.stat strong {
  display: block;
  color: var(--alpenblau);
  font-size: 1.55rem;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--eis);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  background: url("assets/alpen-bg.png") center bottom / cover no-repeat;
  opacity: .26;
}

.page-hero.no-decor::after {
  display: none;
}

.page-hero.image-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  background: var(--alpenblau);
}

.page-hero.image-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 43, 77, .9) 0%, rgba(13, 43, 77, .76) 40%, rgba(13, 43, 77, .22) 76%, rgba(13, 43, 77, .08) 100%),
    var(--image-hero-bg, none) center / cover no-repeat;
}

.page-hero.image-hero::after {
  display: none;
}

.page-hero.image-hero .container {
  color: var(--weiss);
}

.page-hero.image-hero h1 {
  color: var(--weiss);
}

.page-hero.image-hero p {
  color: rgba(255, 255, 255, .9);
}

.career-hero {
  --image-hero-bg: url("assets/career-hero-team-hands.png");
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 86px 0 110px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.timeline {
  display: grid;
  gap: 18px;
  counter-reset: steps;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 76px;
  border: 1px solid rgba(13, 43, 77, .1);
  border-radius: var(--radius);
  background: var(--weiss);
}

.timeline-item::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--alpenblau);
  color: var(--weiss);
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid rgba(13, 43, 77, .12);
  border-radius: var(--radius);
  background: var(--weiss);
}

.faq summary {
  padding: 20px 22px;
  color: var(--alpenblau);
  font-weight: 900;
  cursor: pointer;
}

.faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--alpenblau);
  color: var(--weiss);
  box-shadow: var(--shadow);
}

.contact-band h2,
.contact-band p {
  color: var(--weiss);
}

.contact-band p {
  margin: 12px 0 0;
  opacity: .86;
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-list li {
  padding: 18px;
  border: 1px solid rgba(13, 43, 77, .12);
  border-radius: var(--radius);
  background: var(--weiss);
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--alpenblau);
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--nebel);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--text);
  font: inherit;
  background: var(--weiss);
}

.form textarea {
  min-height: 142px;
  resize: vertical;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: 1.65rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--himmel);
  background: var(--eis);
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(460px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid rgba(13, 43, 77, .14);
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  font-size: 1.25rem;
}

.cookie-banner p {
  color: var(--muted);
}

.cookie-options {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(13, 43, 77, .12);
  border-radius: var(--radius);
  background: var(--weiss);
}

.toggle strong {
  display: block;
  color: var(--alpenblau);
}

.toggle span {
  display: block;
  color: var(--muted);
  font-size: .94rem;
}

.toggle input {
  width: 44px;
  height: 24px;
  accent-color: var(--alpenblau);
}

.site-footer {
  padding: 42px 0;
  background: #071d36;
  color: rgba(255, 255, 255, .76);
}

.footer-grid {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid img {
  width: 170px;
  filter: brightness(0) invert(1);
}

.footer-grid h2,
.footer-grid h3 {
  color: var(--weiss);
}

.footer-grid a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--weiss);
}

@media (max-width: 880px) {
  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 152px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    padding: 12px;
    border: 1px solid var(--nebel);
    border-radius: var(--radius);
    background: var(--weiss);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a,
  .nav-links button {
    justify-content: flex-start;
    text-align: left;
  }

  .hero {
    min-height: 690px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(13, 43, 77, .95) 0%, rgba(13, 43, 77, .72) 48%, rgba(13, 43, 77, .18) 100%),
      url("assets/hero-therapy.jpg") center / cover no-repeat;
  }

  .hero-content {
    padding: 76px 0 54px;
  }

  .grid.two,
  .grid.three,
  .benefits-showcase,
  .split,
  .split.reverse,
  .footer-grid,
  .contact-band,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero .container {
    padding: 64px 0 88px;
  }

  .page-hero.image-hero {
    min-height: 560px;
  }

  .page-hero.image-hero::before {
    background:
      linear-gradient(180deg, rgba(13, 43, 77, .94) 0%, rgba(13, 43, 77, .78) 50%, rgba(13, 43, 77, .28) 100%),
      var(--image-hero-bg, none) center / cover no-repeat;
  }

  .image-panel img {
    min-height: 320px;
  }

  .detail-stairs-image img {
    object-position: 55% 46%;
  }

  .home-reha-image img {
    object-position: 46% 48%;
  }

  .career-team-image img {
    object-position: 43% 48%;
  }

  .benefits-showcase .image-mosaic img {
    min-height: 260px;
  }

  .benefits-image img {
    object-position: 46% 48%;
  }

  .therapy-kitchen-image img {
    object-position: 34% 48%;
  }

  .contact-consultation-image img {
    object-position: 55% 48%;
  }

  .contact-band {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  :root {
    --content: min(100vw - 28px, 1160px);
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero .lead,
  .page-hero p,
  .section-head p {
    font-size: 1.05rem;
  }

  .page-hero h1 {
    font-size: 2.18rem;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card.pad,
  .stat,
  .timeline-item {
    padding: 22px;
  }

  .timeline-item {
    padding-left: 62px;
  }

  .timeline-item::before {
    left: 16px;
  }

  .image-panel img,
  .wide-image img {
    min-height: 260px;
  }

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

  .toggle input {
    justify-self: start;
  }
}
