@font-face {
  font-family: "Open Sans";
  src: url("/assets/OpenSans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --green: #8eb613;
  --green-dark: #6b9219;
  --navy: #0e1f44;
  --text: #3f4654;
  --muted: #6b7280;
  --line: #e4e7ec;
  --bg: #ffffff;
  --sign-red: #c8102e;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--green-dark); }
a:hover { color: var(--navy); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Startseite */
.hold {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 64px max(20px, env(safe-area-inset-right)) 48px max(20px, env(safe-area-inset-left));
  text-align: center;
}
.hold .logo { width: min(420px, 82vw); height: auto; }
.hold .sign { width: min(150px, 38vw); height: auto; }
.hold h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}
.hold .lead { margin: 10px 0 0; color: var(--muted); }
.contact {
  display: grid;
  gap: 2px;
  font-style: normal;
  color: var(--text);
}
.contact strong { color: var(--navy); }
.contact a { font-weight: 600; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal-head {
  border-bottom: 1px solid var(--line);
  padding: 20px max(20px, env(safe-area-inset-right)) 20px max(20px, env(safe-area-inset-left));
}
.legal-head img { height: 34px; width: auto; display: block; }
.legal {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px max(20px, env(safe-area-inset-right)) 64px max(20px, env(safe-area-inset-left));
  flex: 1;
}
.legal h1 { color: var(--navy); font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.2; margin: 0 0 32px; }
.legal h2 { color: var(--navy); font-size: 1.3rem; line-height: 1.3; margin: 40px 0 12px; }
.legal h3 { color: var(--navy); font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal a { overflow-wrap: anywhere; }
.legal .stand { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

/* Fusszeile */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 20px max(20px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--navy); text-decoration: underline; }
.legal .sub { font-weight: 600; color: var(--navy); }
.legal .download { margin-top: 32px; }
.legal .download a { font-weight: 600; }
