/* Landingpage: Hausbesuch (ADR-006). Reines CSS3, kein JavaScript (REQ-001). */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--blau-900);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blau-700);
}
a:hover {
  color: var(--blau-900);
}
a:focus-visible {
  outline: 3px solid var(--blau-500);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--schrift-titel);
  font-weight: 700;
  color: var(--blau-900);
}

.sprunglink {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--blau-900);
  color: var(--weiss);
  border-radius: 0.5rem;
  z-index: 10;
}
.sprunglink:focus {
  left: 1rem;
}

.inhalt {
  width: 100%;
  max-width: var(--inhalt-breit);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.inhalt--schmal {
  max-width: var(--inhalt-schmal);
}

/* Kopf */
.kopf {
  background: var(--weiss);
  border-bottom: 1px solid var(--blau-100);
}
.kopf__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.kopf__name {
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blau-900);
  text-decoration: none;
  padding: 0.5rem 0;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.nav a {
  display: inline-block;
  padding: 0.75rem 0.25rem;
  font-weight: 600;
  text-decoration: none;
}

/* Abschnitte */
.abschnitt {
  padding: 5.5rem 0;
}
.abschnitt--hell {
  background: var(--blau-50);
}
.abschnitt--weiss {
  background: var(--weiss);
}
.abschnitt h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.15;
}
.abschnitt__stapel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.abschnitt__stapel--weit {
  gap: 2.5rem;
}
.abschnitt p {
  margin: 0;
}
.sanft {
  color: var(--blau-800);
}
.gross {
  font-size: 1.3125rem;
}

/* Haustür */
.haustuer {
  background: var(--blau-50);
  overflow: hidden;
}
.haustuer__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.haustuer__text {
  flex: 1 1 26rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.haustuer h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.08;
}
.haustuer p {
  margin: 0;
}
.haustuer .einleitung {
  font-size: 1.3125rem;
  color: var(--blau-800);
  max-width: 34em;
}
.ortspille {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--blau-100);
  color: var(--blau-700);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
}
.knopf {
  display: inline-block;
  min-height: 3rem;
  padding: 0.75rem 1.9rem;
  background: var(--blau-700);
  color: var(--weiss);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.knopf:hover {
  background: var(--blau-900);
  color: var(--weiss);
}

.haustuer__bild {
  flex: 0 1 21rem;
  min-width: 0;
  position: relative;
}
.haustuer__kreis {
  position: absolute;
  top: -1.75rem;
  right: -1.75rem;
  width: 70%;
  aspect-ratio: 1 / 1;
  background: var(--blau-200);
  border-radius: 50%;
}
.portrait {
  position: relative;
  margin: 0;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-bild);
  background: var(--blau-300);
}
.portrait figcaption {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--blau-800);
}

/* Zimmer (Karten) */
.karten {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.karte {
  flex: 1 1 13.5rem;
  min-width: 0;
  padding: 1.75rem;
  background: var(--weiss);
  border: 1px solid var(--blau-200);
  border-radius: var(--radius-karte);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.karte svg {
  width: 3rem;
  height: 3rem;
  color: var(--blau-700);
}
.karte h3 {
  margin: 0;
  font-size: 1.5rem;
  overflow-wrap: break-word;
}
.karte p {
  color: var(--blau-800);
}
.karte a {
  align-self: flex-start;
  font-weight: 700;
  padding: 0.625rem 0;
}

/* Vor der Tür (Kacheln) */
.kacheln {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.kachel {
  flex: 1 1 24rem;
  min-width: 0;
  padding: 2.25rem;
  background: var(--blau-100);
  border-radius: var(--radius-karte);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}
.kachel__bild {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--blau-300);
}
.kachel h3 {
  margin: 0;
  font-size: 1.625rem;
}
.kachel a {
  font-weight: 700;
  padding: 0.625rem 0;
}

/* Küchentisch */
.kontakt {
  background: var(--blau-700);
  color: var(--weiss);
}
.kontakt h2 {
  color: var(--weiss);
}
.kontakt__stapel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.kontakt p {
  margin: 0;
}
.kontakt .gross {
  color: var(--weiss);
}
.kontakt a {
  color: var(--weiss);
}
.kontakt a:focus-visible {
  outline-color: var(--weiss);
}
.kontaktzeile {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px dashed var(--blau-200);
  border-radius: 999px;
  color: var(--weiss);
  font-weight: 700;
}
.verweis {
  color: var(--blau-100);
  font-size: 1rem;
}
.leitspruch {
  margin-top: 1rem;
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--weiss);
}

/* Fuß */
.fuss {
  background: var(--blau-900);
  color: var(--blau-100);
}
.fuss__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.fuss p {
  margin: 0;
  font-size: 1rem;
}
.fuss__gruss {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--weiss);
}
.fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.fuss a {
  display: inline-block;
  padding: 0.625rem 0;
  color: var(--weiss);
  font-size: 1rem;
}
.fuss a:focus-visible {
  outline-color: var(--weiss);
}

/* Rechtstexte */
.rechtstext {
  padding: 4rem 0 5rem;
}
.rechtstext h1 {
  margin: 0 0 1.5rem;
  font-size: 2.5rem;
  line-height: 1.15;
}
.rechtstext h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.5rem;
}
.rechtstext p,
.rechtstext ul {
  margin: 0 0 1rem;
}

@media (max-width: 40rem) {
  .abschnitt {
    padding: 3.5rem 0;
  }
  .haustuer__innen {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .abschnitt h2 {
    font-size: 2rem;
  }
  .haustuer__kreis {
    right: -0.75rem;
  }
}
