/* ==========================================================================
   Praxis Verfürth – statischer Nachbau der Wix-Seite „meinewebsite“
   Layout mit Every-Layout-Primitives (Center, Stack, Cluster, Box, Frame).
   Keine Viewport-Breakpoints; Schriftgrößen skalieren per clamp().
   ========================================================================== */

/* ---------- Schrift (lokal, kein Google-CDN) ---------- */
/* Roboto Slab (Apache 2.0) als freier Ersatz für die im Wix-Original
   verwendete, kommerzielle „Visby Slab CF“ (Light/Medium). */
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/roboto-slab-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --color-outside: #000;          /* schwarzer Seitenrand wie im Original */
  --color-paper: #fff;
  --color-ink: #000;
  --color-nav: #c03971;           /* Menüleiste (aus Wix-Grafik „pink.jpg“) */
  --color-line: #ff00aa;          /* Trennlinien, Original-Pink */
  --color-accent: #e0009a;        /* Pink-Text, leicht abgedunkelt für 4,5:1 */
  --color-map: #e5e3df;

  --page-max: 61.25rem;           /* 980px Inhaltsbreite wie bei Wix */

  --s-2: 0.5rem;
  --s-1: 0.75rem;
  --s0: 1rem;
  --s1: 1.5rem;
  --s2: 2.25rem;
  --s3: 3.375rem;
  --s4: 5rem;

  --text: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);        /* 20–24px */
  --text-greeting: clamp(1.375rem, 1.1rem + 1.1vw, 1.75rem);
  --text-big: clamp(1.625rem, 1.1rem + 2.2vw, 2.375rem);  /* 26–38px */
  --text-title: clamp(2.125rem, 1.3rem + 3.6vw, 3.3125rem); /* 34–53px */

  --font-slab: "Roboto Slab", Rockwell, "Courier New", Georgia, serif;
}

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

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

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

body {
  margin: 0;
  /* zartes Streumuster aus Logo-Mädchen und Herz auf Schwarz
     (Mädchen #ff00aa, Herzen #ff66cc; Kachel 480px in 2x-Auflösung,
     verlustfreies WebP, 17 KB) */
  background: var(--color-outside) url("assets/img/muster.webp") center top / 30rem repeat;
  color: var(--color-ink);
  font-family: var(--font-slab);
  font-weight: 300;
  font-size: var(--text);
  line-height: 1.4;
}

h1,
h2,
h3,
p,
dl,
dd,
ul,
address {
  margin: 0;
}

address {
  font-style: normal;
}

img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

picture {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-paper);
}

[id] {
  scroll-margin-block-start: var(--s1);
}

.visually-hidden {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-block-start: var(--s-2);
  inset-inline-start: var(--s-2);
  z-index: 10;
  min-block-size: 2.75rem;
  padding: 0.625rem var(--s0);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: 1rem;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Every-Layout-Primitives ---------- */

/* Center: zentrierte Spalte. Schmaler als 980px läuft die weiße Seite
   randbündig; erst darüber erscheint links/rechts der schwarze Grund. */
.page-width {
  max-inline-size: var(--page-max);
  margin-inline: auto;
}

/* Stack: vertikaler Rhythmus */
.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stack > * {
  margin-block: 0;
}

.stack > * + * {
  margin-block-start: var(--space, var(--s1));
}

/* Cluster: umbrechende Reihe */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style: none;
}

/* ---------- Kopf und Navigation ---------- */
/* Die pinke Leiste läuft über die volle Fensterbreite und sitzt direkt am
   oberen Rand; Logo und Menü stehen innerhalb der Inhaltsbreite
   (Logo links, Menüpunkte rechts). */
.site-header {
  background: var(--color-nav);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  min-block-size: 4.5rem;
  padding: var(--s-2) var(--s-1);
}

.nav-logo {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 3.75rem;
  block-size: 3.75rem;
  border-radius: 50%;
}

.nav-logo img {
  inline-size: 3.5rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 var(--s-1);
  margin-inline-start: auto;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  min-block-size: 2.75rem;
  padding: 0.6875rem var(--s-1);
  color: var(--color-paper);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--color-ink);
}

.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

/* ---------- Seite ---------- */
.page {
  background: var(--color-paper);
  text-align: center;
}

/* Fußleiste: pinke Leiste über die volle Breite, halb so hoch wie der Kopf */
.site-footer {
  block-size: 2.375rem;
  background: var(--color-nav);
}

/* Frame: Startbild im Wix-Seitenverhältnis 979:552 */
.hero {
  aspect-ratio: 979 / 552;
  overflow: hidden;
  border-block-end: 3px solid var(--color-line);
}

.hero img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

/* Box: Abschnitte mit Innenabstand */
.section {
  --space: var(--s2);
  align-items: center;
  padding: var(--s3) var(--s0);
}

.section + .section {
  border-block-start: 3px solid var(--color-line);
}

.heart img {
  inline-size: 4.1875rem;
}

.title {
  --space: var(--s-1);
  color: var(--color-accent);
  font-size: var(--text-title);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.logo-large {
  inline-size: min(19.25rem, 80%);
}

.text {
  --space: var(--s1);
  max-inline-size: 56rem;
}

/* schmale, ausbalancierte Spalte statt fester Wix-Zeilenumbrüche */
.text p,
.contact p {
  max-inline-size: 23em;
  margin-inline: auto;
  text-wrap: balance;
}

.greeting {
  font-size: var(--text-greeting);
}

.divider {
  inline-size: min(14em, 70%);
  margin-inline: auto;
  border: 0;
  border-block-start: 1px solid var(--color-line);
}

.text > .divider {
  margin-block: var(--s2);
}

.lead {
  font-size: var(--text);
  font-weight: 300;
}

.hours {
  --space: var(--s0);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  color: var(--color-accent);
  font-size: var(--text-big);
  font-weight: 400;
  line-height: 1.15;
}

.hours dd {
  margin: 0;
}

.accent {
  color: var(--color-accent);
}

strong {
  color: var(--color-accent);
  font-weight: 500;
}

.salutation {
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Kontakt ---------- */
.section--contact {
  --space: var(--s1);
}

.names {
  font-size: var(--text-big);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.names-note {
  font-size: var(--text);
}

.specialty {
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact {
  --space: var(--s0);
}

.phone {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--color-accent);
  font-size: var(--text-big);
  font-weight: 400;
  text-decoration: none;
}

.phone:hover,
.mail:hover {
  text-decoration: underline;
}

.mail {
  display: inline-block;
  padding-block: 0.375rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* Karte: eingebettetes Google Maps wie im Wix-Original */
.map {
  --space: var(--s0);
  align-items: center;
  inline-size: 100%;
  max-inline-size: 55.8rem;
  margin-block-start: var(--s2);
  font-size: 1.0625rem;
  font-weight: 400;
}

.map-frame {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 893 / 481;
  min-block-size: 18rem;
  border: 0;
  background: var(--color-map);
}

.map-title {
  font-size: 1.375rem;
  font-weight: 500;
}

.map-links {
  margin-block-start: var(--s-1);
}

.button {
  display: inline-block;
  min-block-size: 2.75rem;
  padding: 0.625rem var(--s0);
  border: 2px solid var(--color-nav);
  border-radius: 4px;
  background: var(--color-nav);
  color: var(--color-paper);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.button--ghost {
  background: var(--color-paper);
  color: var(--color-nav);
}

.button:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

.map-note {
  font-size: 0.875rem;
  font-weight: 300;
  color: #444;
}
