/* Platzhalterseite Dashpulse. Farben aus docs/marke/README.md. */

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f6f7fa;
  --surface: #ffffff;
  --text: #17203f;
  --muted: #545d78;
  --line: #dde1ea;
  --accent: #1b6bd4;
  --pulse: #1b6bd4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1530;
    --surface: #17203f;
    --text: #e7eaee;
    --muted: #a7b0c8;
    --line: #2a3459;
    --accent: #7fb2f0;
    --pulse: #7fb2f0;
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Startseite */

.hero {
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero .logo { width: min(18rem, 75vw); height: auto; display: block; margin: 0 auto 2.5rem; }

.hero h1 {
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero p {
  margin: 0 auto 1rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.15rem;
  text-wrap: pretty;
}

.pulse {
  display: block;
  width: min(22rem, 80vw);
  height: auto;
  margin: 2.5rem auto 2rem;
  overflow: visible;
}
.pulse path {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0% { stroke-dashoffset: 420; opacity: 1; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  85% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 420; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse path { animation: none; stroke-dashoffset: 0; }
}

.contact { font-size: 1.05rem; }
.contact a { font-weight: 600; }

/* Rechtstexte */

.page-head { padding: 2rem 0 0; }
.page-head a { display: inline-block; }
.page-head img { width: 10rem; height: auto; display: block; }

.legal {
  flex: 1 0 auto;
  padding: 2rem 0 3rem;
}
.legal h1 { font-weight: 600; font-size: 2rem; line-height: 1.2; margin: 0 0 1.5rem; }
.legal h2 { font-weight: 600; font-size: 1.3rem; line-height: 1.3; margin: 2.25rem 0 0.5rem; }
.legal h3 { font-weight: 600; font-size: 1.075rem; margin: 1.5rem 0 0.25rem; }
.legal p, .legal ul { margin: 0 0 0.9rem; }
.legal ul { padding-left: 1.25rem; }
.legal address { font-style: normal; margin: 0 0 0.9rem; }
.legal .stand { color: var(--muted); margin-top: 2.5rem; }

/* Fuß */

.foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.foot nav { display: flex; gap: 1.25rem; }
.foot a { color: inherit; }
.foot a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }
