:root {
  --bg-top: #f3f8ff;
  --bg-bottom: #eef2f7;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-muted: #f6f9fd;
  --text: #102437;
  --text-muted: #415266;
  --line: #d8e3f0;
  --accent: #0f4c81;
  --accent-strong: #0c3e6a;
  --accent-soft: #deefff;
  --ok: #0f766e;
  --warn: #b86b00;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-main: 0 24px 52px rgba(15, 35, 60, 0.10);
  --shadow-soft: 0 14px 32px rgba(20, 36, 58, 0.08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "SF Pro Text", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.68;
  background:
    radial-gradient(80rem 50rem at -5% -12%, rgba(151, 201, 255, 0.55) 0%, transparent 62%),
    radial-gradient(78rem 48rem at 108% 5%, rgba(155, 226, 202, 0.40) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 500;
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
}

.site-shell {
  width: min(1140px, 94vw);
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 80;
  margin-bottom: 1.25rem;
  padding: 0.7rem 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(20, 40, 63, 0.08);
  backdrop-filter: blur(9px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f4c81, #2e72ad);
  box-shadow:
    0 0 0 7px rgba(15, 76, 129, 0.14),
    0 5px 10px rgba(15, 76, 129, 0.2);
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(15, 76, 129, 0.25);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem;
  border: 1px solid rgba(15, 76, 129, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switch button {
  min-width: 2.2rem;
  min-height: 2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 0.65rem;
  background: transparent;
  color: #325471;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  background: #eaf4ff;
  border-color: rgba(15, 76, 129, 0.23);
}

.language-switch button.is-active {
  background: linear-gradient(135deg, #0f4c81, #1f6ca8);
  color: #fff;
  box-shadow: 0 5px 14px rgba(15, 76, 129, 0.26);
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 76, 129, 0.18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(242, 248, 255, 0.93));
  box-shadow: var(--shadow-main);
  padding: clamp(1.35rem, 2.5vw, 2.2rem);
  animation: fade-up 440ms ease both;
}

.hero::after {
  content: "";
  position: absolute;
  width: min(440px, 70vw);
  aspect-ratio: 1;
  right: -24%;
  top: -38%;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.11), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.22);
  background: #ecf5ff;
  color: #104670;
  font-size: 0.87rem;
  font-weight: 650;
}

h1,
h2,
h3 {
  margin: 0.35rem 0 0.7rem;
  line-height: 1.2;
  color: #10283f;
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.52rem);
}

h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.56rem);
}

h3 {
  font-size: 1.03rem;
}

p {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
}

p strong {
  color: #12304a;
}

.hero p {
  max-width: 80ch;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0 0.15rem;
}

.kpi {
  border: 1px solid rgba(15, 76, 129, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.75rem 0.85rem;
}

.kpi-label {
  font-size: 0.82rem;
  color: #58718a;
  margin-bottom: 0.1rem;
}

.kpi-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #143858;
}

.cta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.btn {
  min-height: 2.7rem;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 650;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f4c81, #1f6ca8);
  box-shadow: 0 9px 22px rgba(15, 76, 129, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.04);
}

.btn-secondary {
  color: #10466f;
  border-color: rgba(15, 76, 129, 0.34);
  background: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #f2f8ff;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: fade-up 440ms ease both;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 35, 56, 0.12);
}

.card .card-link {
  color: #0f4c81;
  text-decoration: none;
  font-weight: 650;
}

.card .card-link:hover,
.card .card-link:focus-visible {
  text-decoration: underline;
}

.content {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-main);
  padding: clamp(1.1rem, 2.3vw, 2rem);
  animation: fade-up 440ms ease both;
}

.section {
  padding: 0.72rem 0;
  border-top: 1px solid #e4edf8;
}

.section:first-of-type {
  border-top: 0;
  padding-top: 0.18rem;
}

.meta-box {
  border: 1px solid rgba(15, 76, 129, 0.21);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  padding: 0.9rem;
}

.meta-box p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0.35rem 0 0.95rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

li {
  margin-bottom: 0.38rem;
}

.note,
.ok {
  border-radius: 9px;
  padding: 0.76rem 0.9rem;
}

.note {
  border-left: 4px solid #f5a524;
  background: #fff8e8;
  color: var(--warn);
}

.ok {
  border-left: 4px solid var(--ok);
  background: #edfcf4;
  color: #0f5d56;
}

.legal-disclaimer {
  margin-top: 1rem;
  border: 1px dashed rgba(15, 76, 129, 0.28);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  background: #f7fbff;
  color: #34516c;
  font-size: 0.96rem;
}

.site-footer {
  margin-top: 1rem;
  border-radius: 17px;
  border: 1px solid rgba(15, 76, 129, 0.16);
  background: rgba(255, 255, 255, 0.80);
  padding: 0.92rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  color: #52657a;
  font-size: 0.95rem;
}

.site-footer nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.72rem;
}

.site-footer a {
  color: #134f81;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

[hidden] {
  display: none !important;
}

.t-de {
  display: inline;
}

.t-en {
  display: none !important;
}

.lang-panel[data-lang-content="de"] {
  display: block;
}

.lang-panel[data-lang-content="en"] {
  display: none !important;
}

body[data-lang="en"] .t-en {
  display: inline !important;
}

body[data-lang="en"] .t-de {
  display: none !important;
}

body[data-lang="en"] .lang-panel[data-lang-content="de"] {
  display: none !important;
}

body[data-lang="en"] .lang-panel[data-lang-content="en"] {
  display: block !important;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 930px) {
  .site-header {
    border-radius: 20px;
    position: static;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

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

@media (max-width: 560px) {
  html {
    font-size: 15px;
  }

  .site-shell {
    width: min(1140px, 95vw);
  }

  .site-header,
  .hero,
  .content,
  .site-footer {
    border-radius: 14px;
  }
}
