/* Eigene Anpassungen — kommen später.
   Pico.css wird über CSS-Variablen angepasst, z. B.:

   :root {
     --pico-primary: ...;
   }

   Diese Datei wird NACH pico.min.css eingebunden und überschreibt daher dessen Defaults. */

/* --- PoC styling ---
   Modest, placeholder-level styling so the frame is presentable in the first
   meeting. Colours/fonts are intentionally left at Pico defaults and will be
   defined together with the client (see plan.md, section 5). */

/* Give each section some breathing room on the one-pager. */
main section {
  padding-block: 2.5rem 1rem;
}

main section + section {
  border-top: 1px solid var(--pico-muted-border-color);
}

/* Visually hidden but available to screen readers (a11y utility). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero: centred logo + title at the very top (no navbar on this small site). */
.hero {
  text-align: center;
  padding-block: 1rem 2rem;
}

/* <picture> is used only to offer a WebP source with a PNG fallback. Make the
   wrapper transparent to layout so the inner <img> keeps behaving as a direct
   child of its parent (width:100%, margin:auto centering, grid cell sizing). */
picture {
  display: contents;
}

/* Brand logo in the hero. max-width keeps it tidy on mobile and desktop. */
.hero-logo {
  display: block;
  margin: 0 auto 1.25rem;
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* A touch larger on desktop-sized screens. */
@media (min-width: 1024px) {
  .hero-logo {
    max-width: 580px;
  }
}

/* Compact logo used as a "back home" mark at the top of the legal pages. */
.page-header {
  text-align: center;
  padding-block: 1.5rem 0.5rem;
}

.page-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
}

/* Hero buttons: a little breathing room so they don't touch when they wrap
   onto separate lines on small screens (and spacing between them elsewhere). */
.hero [role="button"] {
  margin: 0.4rem 0.35rem 0;
}

/* Hero claim/quote: gentle emphasis without shouting. */
.hero .claim {
  font-style: italic;
  font-size: 1.15rem;
  max-width: 40rem;
  margin-inline: auto;
}

/* Portrait in the "Über mich" section. */
.portrait {
  border-radius: var(--pico-border-radius);
  width: 100%;
  height: auto;
  /* Visible frame while the real photo is still a placeholder. */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--pico-muted-border-color);
}

/* Service cards: single column on phones, at most two columns from tablet up. */
.grid.leistungen {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid.leistungen {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid.leistungen article {
  margin: 0;
}

/* Emphasise the note about not sending health data via unencrypted e-mail. */
.hinweis-gesundheitsdaten {
  padding: 1rem;
  border-left: 4px solid var(--pico-primary);
  background: var(--pico-card-background-color);
  border-radius: var(--pico-border-radius);
}
