/* Schrift: Bricolage Grotesque (SIL OFL), lokal eingebunden */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d201e;
  --muted: #566058;
  --rule: #dfe3de;
  --accent: #1f6b4a;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --measure: 40rem;
}

body {
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

/* Links: Waldgrün statt Bulma-Blau */
a {
  color: var(--accent);
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Überschriften: dunkel, nie farbig */
.title,
.content h1,
.content h2,
.content h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.title a,
.title a:hover {
  color: inherit;
}

.content h2 {
  margin-top: 2.25em;
  font-size: 1.5rem;
}

.content h3 {
  font-size: 1.15rem;
  font-weight: 650;
}

/* Kopf */
.site-header {
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.site-header .title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.intro {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.intro p + p {
  margin-top: 1em;
}

/* Brotkrumen */
.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb li.is-active a {
  color: var(--ink);
}

/* Abschnittsüberschrift der Startseite: Etikett, kein Titel */
main > .container > h1.title {
  margin-bottom: 1.5rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Kacheln: nur eine Linie oben, keine Kästen */
.project-list {
  list-style: none;
}

.project-card {
  position: relative;
  height: 100%;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.project-card .card-content {
  padding: 1.25rem 0.25rem 1.5rem;
}

.project-card .title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.project-card p {
  color: var(--muted);
}

.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.project-card:hover,
.project-card:focus-within {
  border-top-color: var(--accent);
  background: #f6f8f5;
}

.project-card .stretched-link:focus-visible {
  outline-offset: 4px;
}

/* Status: Punkt plus Wort, die Farbe allein trägt keine Information */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.status::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  background: var(--dot, var(--muted));
  flex: none;
}

.status-idee { --dot: transparent; }
.status-idee::before { border: 2px solid #7d857f; }
.status-entwurf { --dot: transparent; }
.status-entwurf::before { border: 2px dashed #7d857f; }
.status-planung { --dot: #c58a1b; }
.status-umsetzung { --dot: #d2622a; }
.status-aktiv { --dot: var(--accent); }

.project-card .status {
  color: var(--ink);
}

/* Projektseite */
.content h1.title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
}

.content p,
.content li {
  max-width: 44rem;
}

.content .is-size-5 {
  color: var(--muted);
}

aside .box {
  box-shadow: none;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
}

aside .box .title {
  font-size: 1.125rem;
}

/* Fuß */
.site-footer {
  background: transparent;
  border-top: 1px solid var(--rule);
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.75rem;
}

/* Sprunglink */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 0.5rem;
}

main:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .project-card {
    transition: none;
  }
}

/* Hinweis zur Entstehung der Texte */
.ki-hinweis {
  max-width: var(--measure);
  margin-top: 3rem;
  padding-left: 1rem;
  border-left: 2px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
}
