/* Farben und Schrift */
:root {
  --bg: #eef2ec;
  --text: #1f2e24;
  --accent: #2f5d3a;
  --line: #c5d1c3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
}

/* Kopfbereich: Logo oben links */
.kopf {
  padding: clamp(1rem, 4vw, 2.5rem);
}

.logo {
  display: block;
  width: auto;
  height: clamp(48px, 8vw, 72px);
}

/* Mitte: Hinweistext */
.inhalt {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 40rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
}

.inhalt p {
  margin: 0;
}

.anrede {
  margin-bottom: 0.75rem !important;
  color: var(--accent);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
}

.hinweis {
  font-size: clamp(1.375rem, 4.2vw, 2.125rem);
  line-height: 1.4;
}

/* Fußbereich: Kontaktdaten */
.kontakt {
  display: grid;
  gap: 1rem 3rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.anschrift {
  font-style: normal;
}

.kommunikation {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Ab Tablet-Breite: Anschrift links, Kommunikation rechts */
@media (min-width: 40rem) {
  .kontakt {
    grid-template-columns: auto 1fr;
    justify-content: start;
  }
}

/* Nur für Screenreader sichtbar */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
