/* Gut Friedersdorf – einfache, responsive Übergangsseite */
:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: #ffffff;
  background: #000000;
}

/* Bild füllt den Bildschirm; das Overlay hält den Text lesbar. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
 
}

.seite {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 20px;
}

.kontakt {
  width: min(100%, 480px);
  padding: clamp(30px, 6vw, 58px);
  text-align: left;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(29px, 5vw, 39px);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hinweis {
  max-width: 30ch;
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 0.8;
}

address {
  font-size: 17px;
  line-height: 1.1;
  font-style: normal;
}

address p {
  margin: 0 0 20px;
}

address p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration:none;
  overflow-wrap: anywhere;
}

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

@media (max-width: 520px) {
  body::before {
    background-position: 50% center;
  }
  .seite {
    padding: 18px;
  }
  .kontakt {
    padding: 30px 26px;
  }
  .hinweis {
    margin-bottom: 28px;
  }
  address {
    font-size: 16px;
  }
}

/* Impressumslink unten links; Gestaltung der aktuellen Website bleibt erhalten. */
body {
  position: relative;
}

.seitenfuss {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px max(20px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-bottom));
  font-size: 14px;
  line-height: 1.4;
}

.seitenfuss a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.seitenfuss a:hover,
.seitenfuss a:focus-visible,
.impressum p a:hover,
.impressum p a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.rechtliches .seite {
  align-items: center;
  padding: 68px 20px;
}

.impressum {
  width: min(100%, 480px);
  padding: clamp(30px, 6vw, 58px);
  text-align: left;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.impressum h1 {
  margin-bottom: 36px;
  line-height: 1.1;
}

.impressum h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
}

.impressum section + section {
  margin-top: 30px;
}

.impressum p {
  margin: 0;
  font-size: 16px;
}

@media (max-width: 520px) {
  .rechtliches .seite {
    padding: 68px 18px;
  }
  .impressum {
    padding: 30px 26px;
  }
  .seitenfuss {
    padding-left: max(18px, env(safe-area-inset-left));
  }
}
