:root {
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --line: #d5dde3;
  --line-strong: #b9c7d1;
  --ink: #123246;
  --muted: #5b7181;
  --brand: #005587;
  --brand-dark: #0f2e43;
  --brand-soft: #e8f0f5;
  --accent: #00a5b5;
  --accent-soft: #dff7f8;
  --warm: #ff8c42;
  --shadow: 0 18px 40px rgba(14, 35, 51, 0.08);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --max-width: 1260px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e6eef3 0, #f3f6f8 180px, #f3f6f8 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 32px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 150px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.brand span {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
}

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

.mobile-nav[open] summary {
  margin-bottom: 12px;
}

.mobile-nav-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  padding: 10px 12px;
  border-radius: 12px;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
  background: rgba(15, 95, 138, 0.07);
  color: var(--brand);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.site-nav a[aria-current="page"],
.mobile-nav-panel a[aria-current="page"] {
  color: var(--brand);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.92rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 38px 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 248, 247, 0.82)),
    linear-gradient(130deg, rgba(15, 95, 138, 0.08), rgba(121, 183, 171, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-hero-logo {
  width: min(100%, 420px);
  justify-self: end;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px 22px;
  box-shadow: 0 20px 40px rgba(15, 95, 138, 0.14);
}

.hero {
  display: grid;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.vision-panel h2,
.definition-panel h3 {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.25rem);
  max-width: 11ch;
  font-weight: 800;
}

.lead {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: none;
}

.button-secondary {
  background: #fff;
  border: 1px solid var(--line-strong);
}

.button-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--brand);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-facts dt {
  font-weight: 800;
  margin-bottom: 8px;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: 20px;
}

.hero-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 54px rgba(25, 49, 67, 0.08);
}

.hero-card-logo {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(230, 241, 243, 0.85));
}

.hero-card-logo img {
  width: min(100%, 440px);
  margin: 0 auto;
  filter: saturate(1.04);
}

.hero-card-quote {
  margin-left: 40px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(121, 183, 171, 0.16), rgba(255, 255, 255, 0.88));
}

.hero-card-quote p {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.22;
}

.section {
  margin-top: 24px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.section h2,
.vision-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
}

.grid-three,
.grid-two,
.principles,
.structure-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

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

.contact-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.info-card,
.statement-card,
.theme-card,
.structure-card,
.principle,
.relationship-card,
.definition-panel,
.contact-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.info-card h3,
.statement-card h3,
.theme-card h3,
.structure-card h3,
.principle h3,
.relationship-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.info-card p,
.statement-card p,
.theme-card p,
.structure-card p,
.principle p,
.relationship-card p,
.definition-panel p,
.vision-panel p,
.footer-note,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.statement-card-highlight {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.statement-card-highlight h3,
.statement-card-highlight p {
  color: #fff;
}

.statement-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.definition-panel {
  margin-top: 18px;
  padding: 30px;
  background: #f7fafc;
}

.definition-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.theme-card {
  min-height: 100%;
}

.structure-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.structure-core {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.structure-core .structure-label,
.structure-core h3,
.structure-core p {
  color: #fff;
}

.structure-label {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.relationship-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-top: 18px;
  background: #f7fafc;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.contact-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-card-primary {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.contact-card-primary h3,
.contact-card-primary p {
  color: #fff;
}

.contact-card-primary .button {
  margin-top: 18px;
  background: #fff;
  color: var(--brand);
  box-shadow: none;
}

.section-vision {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}

.vision-panel {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.vision-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin: 24px 0 42px;
  padding: 28px;
  background: var(--brand-dark);
  border: 1px solid var(--brand-dark);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.footer-brand img {
  width: 180px;
  height: 76px;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  padding: 8px 10px;
}

.footer-brand strong,
.site-footer p,
.footer-note {
  color: rgba(255, 255, 255, 0.9);
}

.footer-note {
  align-self: center;
  font-size: 1.02rem;
}

.footer-meta {
  display: grid;
  align-content: center;
  gap: 12px;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 28px;
  margin-top: 26px;
  padding: 44px;
  min-height: 760px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(8, 31, 47, 0.82) 0%, rgba(8, 31, 47, 0.7) 34%, rgba(8, 31, 47, 0.28) 62%, rgba(8, 31, 47, 0.52) 100%),
    linear-gradient(180deg, rgba(8, 31, 47, 0.18) 0%, rgba(8, 31, 47, 0.62) 100%),
    url("assets/hero-pflegeinformatik.png");
  background-size: cover;
  background-position: center center;
  border-radius: 26px;
  overflow: hidden;
}

.home-hero-main {
  padding: 0;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.home-hero h1 {
  margin: 0;
  max-width: 11.5ch;
  font-size: clamp(2.6rem, 4.1vw, 4.6rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.05em;
}

.hero-content-card {
  max-width: 780px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 32px;
  background: linear-gradient(180deg, rgba(11, 35, 51, 0.62) 0%, rgba(11, 35, 51, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.hero-content-card .eyebrow,
.hero-content-card .lead {
  color: #fff;
}

.hero-content-card .eyebrow {
  color: #c8edf0;
}

.hero-content-card h1 {
  color: #d7e9f7;
}

.hero-content-card .lead {
  max-width: 56ch;
  font-size: 1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hero-metrics article {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(12, 37, 52, 0.04);
  backdrop-filter: blur(4px);
}

.hero-metrics span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.hero-metrics p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-hero-side {
  display: grid;
  gap: 20px;
  align-content: stretch;
  align-self: stretch;
}

.feature-panel,
.strip-card,
.editorial-main,
.editorial-side,
.topic-card,
.home-callout {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.feature-panel {
  padding: 30px;
  background: #fff;
}

.feature-panel-primary {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(15, 46, 67, 0.6) 0%, rgba(20, 56, 79, 0.5) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.feature-panel-primary .feature-label,
.feature-panel-primary p,
.feature-panel-primary .text-link {
  color: #fff;
}

.feature-panel-primary h2 {
  color: #d7e9f7;
}

.feature-panel h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-panel-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.feature-panel-logo img {
  width: min(100%, 320px);
}

.feature-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.strip-card {
  padding: 28px;
  background: #fff;
}

.strip-card h3,
.editorial-side h3,
.topic-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.strip-card p,
.editorial-main p,
.editorial-side p,
.topic-card p {
  color: var(--muted);
  line-height: 1.72;
}

.home-section {
  margin-top: 42px;
  padding: 42px 0 0;
  border-top: 1px solid var(--line);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
}

.editorial-main,
.editorial-side {
  padding: 34px;
  background: #fff;
}

.editorial-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.8;
}

.editorial-side {
  background: linear-gradient(180deg, #f8fbfd 0%, #eef8fb 100%);
}

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

.topic-card {
  padding: 28px;
  background: #fff;
}

.news-grid,
.trust-grid {
  display: grid;
  gap: 20px;
}

.news-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

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

.news-card,
.trust-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.news-card h3,
.trust-card strong {
  display: block;
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.news-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.news-card-feature {
  background: linear-gradient(180deg, #f8fbfd 0%, #eff8fb 100%);
}

.trust-card {
  min-height: 100%;
}

.trust-card-accent {
  background: linear-gradient(180deg, #0f2e43 0%, #173c53 100%);
  border-color: #173c53;
}

.trust-card-accent strong,
.trust-card-accent p {
  color: #fff;
}

.trust-card-accent strong {
  color: #d7e9f7;
}

.home-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 28px 32px;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.home-callout .eyebrow,
.home-callout h2 {
  color: #fff;
}

.home-callout h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.home-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-callout .button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

@media (max-width: 1100px) {
  .home-hero,
  .home-strip,
  .editorial-grid,
  .topic-grid,
  .news-grid,
  .trust-grid,
  .hero,
  .page-hero,
  .split-layout,
  .structure-grid,
  .site-footer,
  .relationship-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-quote {
    margin-left: 0;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-content-card,
  .feature-panel-primary {
    min-height: auto;
  }

  .home-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-logo {
    justify-self: start;
  }
}

@media (max-width: 800px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    position: static;
    padding: 18px 0;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero,
  .home-hero,
  .section,
  .vision-panel,
  .site-footer {
    padding: 28px 22px;
  }

  .grid-three,
  .grid-two,
  .principles,
  .hero-facts,
  .home-strip,
  .topic-grid,
  .hero-metrics,
  .news-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 126px;
    height: 50px;
  }

  .brand small {
    max-width: 18ch;
  }

  .hero h1 {
    max-width: none;
  }

  .home-hero {
    min-height: auto;
    padding-top: 28px;
    background-position: center center;
  }
}
