/* Solartechnik Dahm – statische Hinweisseite. Farben aus theme/solartechnik-dahm/theme.json, Schrift Inter (selbst gehostet). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  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;
}

:root {
  --bg: #ffffff;
  --text: #16212c;      /* contrast */
  --muted: #55606e;     /* contrast-2, 6,3 : 1 auf Weiß */
  --link: #0e6bb5;      /* primary, 5,5 : 1 auf Weiß */
  --line: #c9d1da;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  color: var(--text);
  outline: 2px solid var(--text);
}

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

main { flex: 1 0 auto; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a[href^="mailto:"], .nw { white-space: nowrap; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 2px; }

/* Startseite */
.notice { padding-top: 4.5rem; padding-bottom: 3rem; }
.notice .mark {
  display: block;
  width: 7.5rem;
  height: auto;
  margin: 0 0 2rem;
}
.notice h1 {
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.notice p { margin: 0 0 1.25rem; }
.notice .signatur { margin-top: 2rem; }

/* Unterseiten (Impressum, Datenschutz, 404) */
.kopf { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.kopf a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.kopf a:hover span { text-decoration: underline; }
.kopf img { width: 3rem; height: auto; }

.text { padding-top: 2.5rem; padding-bottom: 3rem; }
.text h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.text h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.3;
}
.text p, .text ul { margin: 0 0 1rem; }
.text ul { padding-left: 1.25rem; }
.text .stand { color: var(--muted); font-size: 0.95rem; }

/* Fußbereich */
.fuss {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.fuss .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.fuss ul { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.fuss a { color: var(--muted); }
.fuss a[aria-current="page"] { color: var(--text); }
.fuss p { margin: 0; }

@media (max-width: 30rem) {
  .notice { padding-top: 3rem; }
  .notice .mark { width: 6rem; margin-bottom: 1.5rem; }
}

@media print {
  .skip, .fuss ul { display: none; }
  a { color: inherit; }
}
