/* Physio corner Saarlouis – Baustellenseite
   Farben aus dem Logo abgeleitet. Keine externen Schriften/CDNs:
   alles laedt vom eigenen Server (kein Google-Fonts-Aufruf). */

:root {
  --gruen:      #183D2C;
  --gruen-hell: #2F5A45;
  --sand:       #BEA386;
  --papier:     #F0F2ED;
  --text:       #22352B;
  --text-leise: #5E6E65;

  --mass: 34rem;               /* Textbreite, ca. 65 Zeichen */
  --schrift: "Avenir Next", "Segoe UI", system-ui, -apple-system,
             Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--papier);
  color: var(--text);
  font-family: var(--schrift);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.6;
  font-weight: 400;
}

/* ---------- Startseite ---------- */

.stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem 2rem;
}

.stack {
  width: 100%;
  max-width: var(--mass);
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 30rem);
  height: auto;
  margin: 0 auto 2.75rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.375rem, 1.1rem + 1.5vw, 1.875rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--gruen);
}

.lead {
  margin: 0 auto;
  max-width: 26rem;
  color: var(--text-leise);
}

.kontakt {
  margin: 2.75rem auto 0;
  display: inline-grid;
  gap: 1.125rem;
  text-align: left;
}

.zeile {
  margin: 0;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  align-items: baseline;
  gap: 0.75rem;
}

.label {
  font-size: 0.8125rem;
  color: var(--text-leise);
}

.wert {
  color: var(--gruen);
  font-size: 1.0625rem;
}

a.wert { text-decoration-color: var(--sand); text-underline-offset: 0.2em; }
a.wert:hover { color: var(--gruen-hell); }

/* ---------- Fuss ---------- */

.fuss {
  padding: 0 1.5rem 2.25rem;
  text-align: center;
}

/* Hairline mit Punkt – greift das Trennzeichen im Logo auf */
.teiler {
  display: block;
  width: min(18rem, 60%);
  height: 1px;
  margin: 0 auto 1.25rem;
  background: var(--gruen);
  opacity: 0.35;
  position: relative;
}
.teiler::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--sand);
}

.rechtliches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.9375rem;
}

.rechtliches a {
  color: var(--text-leise);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.rechtliches a:hover {
  color: var(--gruen);
  border-bottom-color: var(--sand);
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */

.recht {
  flex: 1 1 auto;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
  text-align: left;
}

.recht .marke {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  margin-bottom: 3rem;
}

.recht h1 {
  margin-bottom: 2.25rem;
  text-align: left;
}

.recht h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--gruen);
}

.recht h3 {
  margin: 1.75rem 0 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gruen);
}

.recht p { margin: 0 0 0.9rem; max-width: var(--mass); }
.recht ul { margin: 0 0 0.9rem; padding-left: 1.25rem; max-width: var(--mass); }
.recht li { margin-bottom: 0.35rem; }

.recht a { color: var(--gruen); text-decoration-color: var(--sand); text-underline-offset: 0.2em; }
.recht a:hover { color: var(--gruen-hell); }

.anschrift {
  margin: 0 0 0.9rem;
  font-style: normal;
  line-height: 1.7;
}

.zurueck {
  display: inline-block;
  margin-top: 3rem;
  font-size: 0.9375rem;
  color: var(--text-leise);
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
}
.zurueck:hover { color: var(--gruen); }

/* ---------- Fokus & Bewegung ---------- */

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

@media (prefers-reduced-motion: no-preference) {
  .stack { animation: auftakt 900ms ease-out both; }
  @keyframes auftakt {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

@media (max-width: 30rem) {
  .logo { width: 88%; margin-bottom: 2.25rem; }
  .kontakt { gap: 1.25rem; text-align: center; }
  .zeile { grid-template-columns: 1fr; gap: 0.125rem; justify-items: center; }
  .recht { padding-top: 2.25rem; }
}
