/* =====================
   RECHTSTEXTE (Impressum, Datenschutz)

   Eigene Vorlage, weil diese Seiten anders als der Rest gelesen werden:
   zusammenhängender Fliesstext statt grosser Bedienelemente. Deshalb
   kleinere Schrift, begrenzte Zeilenlänge und klare Gliederung.
===================== */

body {
  margin: 0;
  padding: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 64px;
}

/* Zeilenlänge begrenzen – lange Zeilen sind auf dem Tablet mühsam */
.page p,
.page li {
  max-width: 62ch;
}

h1 {
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.2;
  margin: 24px 0 6px;
}

h2 {
  font-size: clamp(20px, 4.5vw, 24px);
  margin: 36px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: clamp(17px, 3.5vw, 19px);
  margin: 24px 0 4px;
}

.stand {
  font-size: 15px;
  color: var(--text);
  opacity: 0.7;
  margin: 0 0 8px;
}

address {
  font-style: normal;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: inline-block;
}

dl {
  margin: 12px 0;
}

dt {
  font-weight: 600;
  margin-top: 14px;
}

dd {
  margin: 2px 0 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--border);
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
  word-break: break-word;
}

.hinweis {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 20px 0;
}

.hinweis p:first-child { margin-top: 0; }
.hinweis p:last-child  { margin-bottom: 0; }

/* Navigation */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.nav button {
  width: auto;
  flex: 1 1 200px;
  padding: 14px 18px;
  margin: 0;
  font-family: inherit;
  font-size: 17px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--button-bg);
  color: var(--text);
  cursor: pointer;
}

.nav button:hover { background: var(--button-hover); }

.nav button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 16px;
}

th, td {
  text-align: left;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  font-weight: 600;
}

.tabelle-umbruch {
  overflow-x: auto;
}
