/* Schrift Manrope liegt auf unserem Server (fonts/) – keine Verbindung zu Google beim Seitenaufruf */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --header-height: 77px;
  --font-sans: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --ink: #17211f;
  --muted: #60716d;
  --line: #d8e1de;
  --panel: #ffffff;
  --soft: #eef5f2;
  --brand: #0d7c66;
  --brand-dark: #075847;
  --brand-deep: #123734;
  --accent: #e6b84f;
  --risk: #d85f45;
  --water: #3d83c5;
  --shadow: 0 18px 48px rgba(23, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: #f7faf8;
  font-family: var(--font-sans);
  line-height: 1.5;
}

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

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.65rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 225, 222, 0.75);
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-header:hover {
  border-color: rgba(13, 124, 102, 0.18);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px dashed rgba(13, 124, 102, 0.45);
  font-size: 0.88rem;
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.08);
}

.brand-name {
  color: var(--brand-deep);
  letter-spacing: 0;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.nav-links a {
  transition: color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.navi-profile {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.navi-profile:hover,
.navi-profile[aria-expanded="true"] {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.profile-dropdown a,
.profile-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  color: var(--brand-dark);
  background: var(--soft);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--brand);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(13, 124, 102, 0.22);
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, border-color 170ms ease, color 170ms ease;
}

.button:hover {
  background: var(--brand-dark);
  box-shadow: 0 14px 30px rgba(13, 124, 102, 0.26);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: rgba(13, 124, 102, 0.32);
  color: var(--brand-dark);
  background: #f9fcfb;
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
  font-size: 0.94rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.page-footer .footer-cancel {
  padding: 4px 12px;
  border: 1px solid var(--brand);
  border-radius: 999px;
}

.page-footer a {
  color: var(--brand-dark);
  font-weight: 700;
}

.page-footer a:hover {
  color: var(--brand);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 137px;
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
