@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ubuntu-400.woff2") format("woff2");
}

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ubuntu-500.woff2") format("woff2");
}

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ubuntu-700.woff2") format("woff2");
}

:root {
  --navy: #0d4260;
  --navy-light: #1f6388;
  --red: #a80022;
  --ink: #26282b;
  --muted: #59636b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f9fcfd;
  color: var(--ink);
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
}

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

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

.content-shell {
  width: min(1060px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  height: clamp(250px, 17.97vw, 368px);
  isolation: isolate;
}

.hero {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background: url('images/header.jpg') top center / auto 100% no-repeat;
}

.logo-row {
  height: 100%;
  padding-top: clamp(24px, 2.4vw, 48px);
  pointer-events: none;
}

.logo-row a {
  display: inline-block;
  pointer-events: auto;
}

.site-logo {
  display: block;
  width: clamp(145px, 14vw, 225px);
  height: auto;
}

.nav-bar {
  position: absolute;
  inset: auto 0 15px;
  min-height: clamp(42px, 3.15vw, 58px);
  display: flex;
  align-items: center;
}

.main-nav {
  min-height: clamp(42px, 3.15vw, 58px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
}

.main-nav span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dce8ed;
}

.main-nav a {
  padding: 12px 2px;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible { color: #cdeefc; }

.intro {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #f9fcfd url('images/hintergrund.jpg') top center / cover no-repeat;
}

.intro-copy {
  width: min(650px, 64%);
  margin-left: auto;
  padding: 48px 0 90px;
}

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

h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.service-list {
  display: grid;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.service-list strong {
  display: block;
  padding-top: 3px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.service-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.94rem;
}

.brand-dot {
  flex: 0 0 auto;
  width: 32px;
  height: auto;
}

.status-note {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 16px;
  max-width: 590px;
  margin-top: 44px;
  padding: 18px 20px;
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(13 66 96 / 10%);
  box-shadow: 0 12px 35px rgb(13 66 96 / 7%);
  backdrop-filter: blur(5px);
}

.status-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.status-line { background: var(--red); border-radius: 4px; }

.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / 74%);
  font-size: 0.82rem;
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a:hover { color: #fff; }

.legal-page { min-height: 100vh; background: #f7fafb; }

.legal-card {
  width: min(850px, calc(100% - 48px));
  margin: 52px auto 80px;
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border-top: 5px solid var(--red);
  box-shadow: 0 16px 50px rgb(13 66 96 / 10%);
}

.back-link {
  display: inline-flex;
  margin-bottom: 25px;
  color: var(--navy-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.back-link:hover { color: var(--red); }

.legal-card h1 { color: var(--navy); font-size: clamp(2rem, 5vw, 3.1rem); }
.legal-card h2 { margin: 38px 0 10px; color: var(--navy); font-size: 1.25rem; }
.legal-card p { margin: 0 0 14px; color: #4e5960; line-height: 1.75; }
.legal-card .lead { margin-top: 18px; font-size: 1.08rem; }

@media (max-width: 760px) {
  .content-shell { width: min(100% - 32px, 620px); }
  .site-header { height: 240px; }
  .hero { background-size: auto 240px; }
  .logo-row { padding-top: 24px; }
  .site-logo { width: 145px; }
  .nav-bar { bottom: 10px; min-height: 40px; }
  .main-nav { justify-content: center; gap: 9px; font-size: 0.86rem; }
  .main-nav a { padding-inline: 1px; }
  .intro {
    min-height: 680px;
    background-size: auto 100%;
    background-position: 34% top;
  }
  .intro-copy { width: 100%; padding: 38px 0 70px; }
  .eyebrow { font-size: 0.7rem; }
  .service-list { margin-top: 28px; }
  .status-note { margin-top: 38px; background: rgb(255 255 255 / 80%); }
  .footer-inner { padding-block: 20px; flex-direction: column; justify-content: center; gap: 10px; }
  .legal-card { width: calc(100% - 28px); margin-top: 28px; }
}

@media (max-width: 420px) {
  .site-header { height: 218px; }
  .hero { background-size: auto 218px; }
  .site-logo { width: 126px; }
  .main-nav { gap: 7px; font-size: 0.79rem; }
  .main-nav span { width: 3px; height: 3px; }
  .service-list strong { font-size: 0.98rem; }
  .brand-dot { width: 27px; }
}

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

.cookie-disclaimer {
  position: fixed;
  z-index: 50;
  inset: auto 24px 24px;
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 22px;
  color: #fff;
  background: rgb(13 66 96 / 97%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 4px;
  box-shadow: 0 18px 55px rgb(0 20 34 / 30%);
}

.cookie-disclaimer[hidden] { display: none; }
.cookie-copy strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.cookie-copy p { margin: 0; color: rgb(255 255 255 / 82%); font-size: 0.86rem; line-height: 1.55; }
.cookie-copy a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.cookie-disclaimer button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 20px;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--red);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.cookie-disclaimer button:hover { background: #c00028; }
.cookie-disclaimer button:active { transform: translateY(1px); }
.cookie-disclaimer button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 760px) {
  .cookie-disclaimer {
    inset: auto 14px 14px;
    width: calc(100% - 28px);
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    padding: 18px;
  }
  .cookie-disclaimer button { width: 100%; }
}
