/* ==========================================================================
   Pauline Hohl — Webdesign
   Schriften lokal eingebunden (kein Google-CDN, kein Drittanbieter-Request).
   ========================================================================== */

/* --- Schriften: selbst gehostet ------------------------------------------ */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

/* --- Farben und Maße ----------------------------------------------------- */
:root {
  --ink: #1e2022;
  --body: #3f4448;
  --muted: #565b60;
  --caption: #6b7075;
  --wine: #8b2635;
  --wine-dark: #6e1e2a;
  --tint: #fbf3f3;
  --rule: #dddedf;
  --paper: #ffffff;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --measure: 62.5rem;
  --gap: 2rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--wine);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--wine-dark);
}

/* Sichtbarer Tastatur-Fokus auf allen interaktiven Elementen */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sprunglink zum Inhalt */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wine);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Layout -------------------------------------------------------------- */
.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
}

.section {
  margin-top: 3.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* --- Kopfbereich --------------------------------------------------------- */
.eyebrow {
  margin: 0 0 1.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
}

.headline {
  margin: 0 0 1.5rem;
  font-family: var(--sans);
  font-size: clamp(2.125rem, 5.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: 56rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
}

.rule-accent {
  height: 2px;
  background: var(--wine);
  margin: 2.25rem 0 0;
  border: 0;
}

/* --- Abschnittsüberschriften --------------------------------------------- */
.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--wine);
}

/* --- Zahlenkarten -------------------------------------------------------- */
.stat {
  background: var(--tint);
  border-left: 3px solid var(--wine);
  padding: 1.375rem 1.5rem 1.25rem;
}

.stat__figure {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.125rem;
  line-height: 1.1;
  color: var(--wine);
  margin-bottom: 0.625rem;
}

.stat__text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--body);
}

.stat__source {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--caption);
}

/* --- Leistungen ---------------------------------------------------------- */
.item__title {
  margin: 0 0 0.625rem;
  font-size: 0.9875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.item__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --- Über mich ----------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 2.25rem;
  align-items: start;
}

.about__portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about__body p {
  margin: 0 0 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.about__body p:last-child {
  margin-bottom: 0;
}

.about__body strong {
  color: var(--ink);
  font-weight: 600;
}

/* --- Ablauf (echte Reihenfolge, daher nummeriert) ------------------------ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step__number {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--wine);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

/* --- Fußbereich ---------------------------------------------------------- */
.footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer__name {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}

.footer__contact {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer__contact a {
  color: var(--wine);
}

.footer__legal {
  margin: 0;
  font-size: 0.875rem;
}

.footer__legal a {
  color: var(--muted);
}

.footer__legal a:hover {
  color: var(--wine);
}

.footer__legal span[aria-hidden] {
  color: var(--rule);
  padding: 0 0.4rem;
}

.footer__note {
  margin: 0;
  max-width: 22rem;
  text-align: right;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--caption);
}

/* --- Rechtstexte --------------------------------------------------------- */
.legal {
  max-width: 44rem;
}

.legal h1 {
  margin: 0 0 2rem;
  font-family: var(--sans);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.legal h2 {
  margin: 2.5rem 0 0.875rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--wine);
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 0.9875rem;
  font-weight: 700;
  color: var(--ink);
}

.legal p,
.legal li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.legal p {
  margin: 0 0 1rem;
}

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

.legal li {
  margin-bottom: 0.4rem;
}

.legal address {
  font-style: normal;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 2.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wine);
}

.legal-updated {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--caption);
}

/* Platzhalter, die vor dem Veröffentlichen ersetzt werden müssen */
.todo {
  background: #fff3cd;
  border-bottom: 2px solid #b8860b;
  color: #5c4400;
  font-weight: 600;
  padding: 0 0.2em;
}

/* --- Schmale Bildschirme ------------------------------------------------- */
@media (max-width: 46rem) {
  .wrap {
    padding: 2.75rem 1.25rem 2.5rem;
  }

  .section {
    margin-top: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__portrait {
    max-width: 11rem;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__note {
    text-align: left;
    max-width: none;
  }
}

/* --- Bewegung reduzieren ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Druck --------------------------------------------------------------- */
@media print {
  .skip-link,
  .footer__legal {
    display: none;
  }

  body {
    color: #000;
  }
}
