/* Blue River Beteiligungs GmbH – Stylesheet (keine externen Ressourcen) */

:root {
  --navy: #0b2540;
  --deep: #0f3a5f;
  --river: #1563a0;
  --river-dark: #0f4f82;
  --aqua: #7fd3e0;
  --teal: #0e7c7b;
  --ink: #16222e;
  --muted: #4a5d6e;
  --line: #d8e4ee;
  --bg-alt: #f1f6fa;
  --white: #ffffff;
  --focus: #f2b632;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 64, 0.08);
  --header-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--river); text-underline-offset: 3px; }
a:hover { color: var(--river-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: var(--navy);
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--navy), var(--river));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand:hover .brand-sub { color: var(--river); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.site-nav a:hover { background: var(--bg-alt); color: var(--river-dark); }
.site-nav a.nav-cta {
  background: var(--river);
  color: var(--white);
  margin-left: 6px;
}
.site-nav a.nav-cta:hover { background: var(--river-dark); color: var(--white); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--river); color: var(--white); }
.btn-primary:hover { background: var(--river-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(127, 211, 224, 0.22), transparent 70%),
    linear-gradient(160deg, #081c31 0%, var(--navy) 35%, var(--deep) 70%, #135b8a 100%);
  padding: 88px 0 104px;
}
.hero::before {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -70%;
  height: 130%;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at 50% 100%,
    transparent 0 34px,
    rgba(127, 211, 224, 0.10) 34px 36px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--aqua), var(--river), var(--teal));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(127, 211, 224, 0.45);
  border-radius: 999px;
  color: var(--aqua);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 800;
  max-width: 15ch;
}
.lead {
  font-size: 1.15rem;
  color: #d6e6f2;
  max-width: 58ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.facts-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.facts-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 14px;
}
.facts { margin: 0; }
.facts div {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt {
  font-size: 0.82rem;
  color: #b9cfe0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.facts dd {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); }
.kicker {
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--navy);
}

.cards {
  display: grid;
  gap: 20px;
}
.card {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--river), var(--aqua));
}
.card-num {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.card h3 { font-size: 1.25rem; color: var(--navy); }
.card p { color: var(--muted); margin: 0; }

/* About */
.about-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}
.about-grid p { color: var(--muted); max-width: 60ch; }
.data-list {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 24px;
}
.data-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.data-list div:first-child { border-top: 0; }
.data-list dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.data-list dd {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 20px;
}
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.15rem; color: var(--navy); }
.contact-card address {
  font-style: normal;
  margin-bottom: 16px;
}
.text-link {
  font-weight: 700;
}
.contact-phone {
  font-size: 1.4rem;
  font-weight: 800;
}
.contact-phone a { color: var(--navy); text-decoration: none; }
.contact-phone a:hover { color: var(--river); text-decoration: underline; }

/* Legal */
.legal-inner { max-width: 820px; }
.legal h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.legal p { color: #33475a; }
.legal-date { font-size: 0.92rem; margin-top: 2em; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d9e6;
  padding: 56px 0 28px;
  font-size: 0.97rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--aqua); }
.footer-grid {
  display: grid;
  gap: 24px;
}
.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand span {
  font-weight: 600;
  color: var(--aqua);
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-nav a { font-weight: 600; }
.footer-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: #a9bfd1;
}
.footer-legal p { margin-bottom: 0.5em; }

/* Mobile navigation */
@media (max-width: 767px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(11, 37, 64, 0.1);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 18px;
  }
  .site-nav a { display: block; padding: 12px 10px; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }

  .hero { padding: 64px 0 80px; }
  .eyebrow { font-size: 0.74rem; letter-spacing: 0.05em; padding: 6px 12px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
}

/* Tablet and up */
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .data-list div { grid-template-columns: 160px 1fr; gap: 16px; align-items: baseline; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero { padding: 110px 0 128px; }
  .hero-grid { grid-template-columns: 1.35fr 0.85fr; gap: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards .card:last-child { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
