/* yoolie.de, statische Seite. Look 1:1 vom bisherigen WordPress-Auftritt
   (Twenty Twenty-Four, dunkle Palette). Alles self-hosted, keine externen Requests. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #272727;
  --bg-2: #303030;
  --text: #f9f9f9;
  --muted: #B7B7B7;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: inherit; }
a:hover { text-decoration: none; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 8px; top: 8px;
  background: var(--bg-2);
  padding: .5rem .8rem;
  z-index: 10;
}

/* ---------- Startseite ---------- */
.home-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
  text-align: center;
}
.home-wrap h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin: 0 0 .5rem;
}
.home-intro { margin: 0 0 2.5rem; }

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  justify-items: center;
}
.tile img {
  width: 194px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.tile figure { margin: 0; }
.tile figcaption {
  margin-top: .4rem;
  font-size: .85rem;
  color: var(--muted);
}
.tile figcaption a {
  color: var(--text);
  font-weight: 600;
}
.tile .tile-text {
  display: block;
  margin-top: .25rem;
}
/* ---------- Rechtstexte ---------- */
.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) 1.5rem;
}
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 1.5rem; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.prose p, .prose ul { margin: 0 0 1rem; color: var(--text); }
.prose li { margin-bottom: .35rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
