/* ==========================================================================
   Hautärzte Erkrath – Landingpage
   Nur Systemschriften, keine externen Ressourcen
   ========================================================================== */

:root {
  --bg: #f2f2f2;          /* sehr helles Grau */
  --text: #2a2a2a;        /* sehr dunkles Grau */
  --muted: #6b6b6b;
  --line: #d9d9d9;
  --underline: #8c8c8c;  /* dezente Link-Unterstreichung */
  --placeholder: #e3e3e3;
  --maxw: 60rem;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  flex: 1;
  padding: clamp(2.5rem, 8vw, 5rem) 0 var(--gap);
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  margin-top: 2.25rem;
}

h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Links – Mouse-Over: fett, ohne dass der Text springt
   (unsichtbare fette Kopie reserviert die Breite)
   -------------------------------------------------------------------------- */

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--underline);
  text-decoration-skip-ink: auto;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

a[data-text] {
  display: inline-flex;
  flex-direction: column;
}

a[data-text]::after {
  content: attr(data-text);
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  user-select: none;
  pointer-events: none;
}

a:hover,
a:focus-visible {
  font-weight: 700;
}

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

/* --------------------------------------------------------------------------
   Einleitung
   -------------------------------------------------------------------------- */

.intro {
  max-width: 44rem;
  margin-bottom: var(--gap);
}

/* --------------------------------------------------------------------------
   Zweispaltiger Bereich: Praxen
   -------------------------------------------------------------------------- */

.praxen {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding-top: var(--gap);
  border-top: 1px solid var(--line);
}

@media (min-width: 42rem) {
  .praxen {
    grid-template-columns: 1fr 1fr;
  }
}

.praxis {
  display: flex;
  flex-direction: column;
}

.praxis__foto {
  margin: 0 0 1.25rem;
  aspect-ratio: 4 / 5;
  background: var(--placeholder);
  overflow: hidden;
}

.praxis__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.praxis__name {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.praxis__kontakt p {
  margin: 0 0 0.75rem;
}

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

.praxis__kontakt li {
  margin: 0 0 0.15rem;
}

.praxis__kontakt .label {
  display: inline-block;
  min-width: 2.5rem;
  color: var(--muted);
}

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

.rechtstext {
  max-width: 44rem;
}

.rechtstext ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.zurueck {
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
