/* ============================================================
   Hi Heal – Annemarie Hamann · Visitenkartenseite
   Brand: Quicksand · Rot #ea5965 · Grau #575756
   ============================================================ */

/* --- Schriften (lokal) --- */
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/quicksand-v37-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/quicksand-v37-latin-600.woff2") format("woff2");
}

/* --- Tokens --- */
:root {
  --red: #ea5965;
  --grey: #575756;
  --grey-soft: #8a8a89;
  --page: #f2f1ef;
  --card: #ffffff;
  --line: #ececea;
  --shadow: 0 18px 50px -24px rgba(87, 87, 86, 0.45);
  --radius: 22px;
  --maxw: 760px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--page);
  color: var(--grey);
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
a:hover {
  color: var(--grey);
}
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   Visitenkarte (index)
   ============================================================ */
.card {
  width: 100%;
  max-width: var(--maxw);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 5vw, 3.75rem);
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  animation: rise 0.6s ease both;
}

.card__signet {
  flex: 0 0 auto;
  width: clamp(150px, 33vw, 290px);
  height: auto;
}

.card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.card__wordmark {
  display: block;
  width: clamp(130px, 26vw, 210px);
  height: auto;
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.card__name {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.6rem, 5.5vw, 2.6rem);
  line-height: 0.98;
  color: var(--grey);
  letter-spacing: -0.01em;
}

.card__role {
  margin: 0.35rem 0 0;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  color: var(--grey-soft);
}

.card__divider {
  width: 56px;
  height: 3px;
  margin: clamp(1rem, 3vw, 1.5rem) 0;
  border: 0;
  border-radius: 3px;
  background: var(--red);
}

/* Kontaktinfos unter "Heilpraktikerin" */
.contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: clamp(0.95rem, 2.6vw, 1.1rem);
}
.contact a {
  font-weight: 600;
  width: fit-content;
}

/* --- Mobile: gestapelt & linksbündig --- */
@media (max-width: 640px) {
  .card {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.25rem, 6vw, 2rem);
    padding: clamp(1.75rem, 8vw, 2.5rem);
  }
  .card__signet {
    width: clamp(150px, 52vw, 230px);
  }
  .card__wordmark {
    width: clamp(140px, 44vw, 200px);
  }
}

/* ============================================================
   Footer / Rechtliche Links
   ============================================================ */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--grey-soft);
}
.site-footer a {
  color: var(--grey-soft);
}
.site-footer a:hover {
  color: var(--red);
}

/* ============================================================
   Rechtsseiten (Impressum / Datenschutz)
   ============================================================ */
.legal {
  width: 100%;
  max-width: var(--maxw);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 6vw, 3.5rem);
}

.legal__brand {
  display: block;
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.legal h1 {
  margin: 0 0 1.5rem;
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  color: var(--grey);
}

.legal h2 {
  margin: 2rem 0 0.5rem;
  font-weight: 600;
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  color: var(--red);
}

.legal h3 {
  margin: 1.25rem 0 0.25rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--grey);
}

.legal p,
.legal address,
.legal ul {
  margin: 0.5rem 0;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
}

.legal address {
  font-style: normal;
}

.legal ul {
  padding-left: 1.25rem;
}
.legal li {
  margin: 0.25rem 0;
}

.legal .muted {
  color: var(--grey-soft);
  font-size: 0.85rem;
}

.legal .placeholder {
  color: var(--red);
  font-weight: 600;
}

/* ============================================================
   Bewegung reduzieren
   ============================================================ */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }
  a {
    transition: none;
  }
}
