/* ─────────────────────────────────────────────────────────────
   dockseed.de — geteiltes Stylesheet
   Alle Design-Entscheidungen leben hier. Nirgendwo sonst.
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@600;700&family=Instrument+Sans:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens: hier Farben/Größen anpassen ──────────────────── */
:root {
  --paper:    #FAFAF8;    /* Hintergrund */
  --ink:      #16171C;    /* Haupttext */
  --gray:     #6E7077;    /* Sekundärtext */
  --hairline: #E5E5E0;    /* Trennlinien */
  --seed:     #2F7A45;    /* Akzentfarbe */
  --max:      760px;      /* Max. Spaltenbreite */
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; }

/* ── Base ─────────────────────────────────────────────────── */
body {
  background:  var(--paper);
  color:       var(--ink);
  font-family: 'Instrument Sans', sans-serif;
  font-size:   17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin:    0 auto;
  padding:   0 24px;
}

/* ── Header ───────────────────────────────────────────────── */
header { padding: 32px 0; }
header .wrap {
  display:         flex;
  justify-content: space-between;
  align-items:     baseline;
}

.wordmark {
  font-family:     'Familjen Grotesk', sans-serif;
  font-weight:     700;
  font-size:       18px;
  letter-spacing:  -0.01em;
  text-decoration: none;
  color:           var(--ink);
}
.wordmark span { color: var(--seed); }

nav a {
  font-family:     'JetBrains Mono', monospace;
  font-size:       13px;
  color:           var(--gray);
  text-decoration: none;
  margin-left:     24px;
  transition:      color 0.15s;
}
nav a:hover,
nav a:focus-visible { color: var(--ink); }
nav a.active         { color: var(--ink); }

/* ── Sections & Label ─────────────────────────────────────── */
section { padding: 56px 0; }

.label {
  font-family:    'JetBrains Mono', monospace;
  font-size:      12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--gray);
  margin-bottom:  28px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 96px 0 80px; }

.hero h1 {
  font-family:    'Familjen Grotesk', sans-serif;
  font-weight:    600;
  font-size:      clamp(34px, 6vw, 52px);
  line-height:    1.12;
  letter-spacing: -0.025em;
  max-width:      16ch;
}
.hero p {
  margin-top: 24px;
  max-width:  52ch;
  color:      var(--gray);
  font-size:  18px;
}

.status {
  margin-top:  48px;
  font-family: 'JetBrains Mono', monospace;
  font-size:   13px;
  color:       var(--gray);
  display:     flex;
  align-items: center;
  gap:         10px;
}
.status b { color: var(--ink); font-weight: 500; }

/* ── Projekt-Index ────────────────────────────────────────── */
.index { border-top: 1px solid var(--hairline); }

.row {
  display:               grid;
  grid-template-columns: 1fr auto;
  gap:                   6px 24px;
  padding:               22px 0;
  border-bottom:         1px solid var(--hairline);
  text-decoration:       none;
  color:                 inherit;
  transition:            padding-left 0.18s ease;
}
.row:hover,
.row:focus-visible { padding-left: 10px; }

.row h3 {
  font-family:    'Familjen Grotesk', sans-serif;
  font-weight:    600;
  font-size:      19px;
  letter-spacing: -0.01em;
  grid-column:    1;
  grid-row:       1;
}
.row h3::after {
  content:     '→';
  color:       var(--seed);
  margin-left: 8px;
  opacity:     0;
  transition:  opacity 0.18s;
}
.row:hover h3::after { opacity: 1; }

.row .desc {
  color:       var(--gray);
  font-size:   15.5px;
  grid-column: 1;
  grid-row:    2;
}
.row .tags {
  font-family: 'JetBrains Mono', monospace;
  font-size:   12px;
  color:       var(--gray);
  grid-column: 2;
  grid-row:    1;
  align-self:  baseline;
  white-space: nowrap;
}

/* ── Diary-Einträge ───────────────────────────────────────── */
.entry {
  display:               grid;
  grid-template-columns: 110px 1fr;
  gap:                   24px;
  padding:               20px 0;
  border-bottom:         1px solid var(--hairline);
}
.entry:first-of-type { border-top: 1px solid var(--hairline); }

.entry time {
  font-family: 'JetBrains Mono', monospace;
  font-size:   13px;
  color:       var(--gray);
  padding-top: 2px;
}
.entry-title {
  font-family:    'Familjen Grotesk', sans-serif;
  font-weight:    600;
  font-size:      17px;
  letter-spacing: -0.01em;
}
.entry .entry-desc {
  color:      var(--gray);
  font-size:  15px;
  margin-top: 3px;
}

/* ── Diary-Teaser auf Index ───────────────────────────────── */
.teaser {
  padding:       32px;
  border:        1px solid var(--hairline);
  border-radius: 3px;
}
.teaser p {
  color:     var(--gray);
  font-size: 16px;
  max-width: 54ch;
}
.teaser a {
  display:         inline-block;
  margin-top:      20px;
  font-family:     'JetBrains Mono', monospace;
  font-size:       13px;
  color:           var(--seed);
  text-decoration: none;
  border-bottom:   1px solid var(--seed);
  padding-bottom:  1px;
  transition:      opacity 0.15s;
}
.teaser a:hover { opacity: 0.65; }

/* ── Prose (Über) ─────────────────────────────────────────── */
.prose p         { max-width: 58ch; }
.prose p + p     { margin-top: 16px; }
.prose .muted    { color: var(--gray); }

/* ── Page-Header (Unterseiten) ────────────────────────────── */
.page-header { padding: 72px 0 48px; }
.page-header h1 {
  font-family:    'Familjen Grotesk', sans-serif;
  font-weight:    600;
  font-size:      clamp(28px, 5vw, 40px);
  letter-spacing: -0.025em;
  line-height:    1.15;
}
.page-header p {
  margin-top: 12px;
  color:      var(--gray);
  font-size:  17px;
  max-width:  52ch;
}

/* ── Kontakt-Links ────────────────────────────────────────── */
.contact-links {
  list-style: none;
}
.contact-links li {
  font-family:   'JetBrains Mono', monospace;
  font-size:     14px;
  padding:       14px 0;
  border-bottom: 1px solid var(--hairline);
  display:       flex;
  gap:           16px;
}
.contact-links li:first-child { border-top: 1px solid var(--hairline); }
.contact-links .cl-label {
  color:     var(--gray);
  min-width: 80px;
}
.contact-links a {
  color:           var(--ink);
  text-decoration: none;
  border-bottom:   1px solid var(--hairline);
  transition:      border-color 0.15s;
}
.contact-links a:hover { border-color: var(--seed); }

/* ── Impressum ────────────────────────────────────────────── */
.impressum p {
  color:      var(--gray);
  font-size:  15px;
  max-width:  54ch;
  line-height: 1.75;
}
.impressum p + p { margin-top: 14px; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
  padding:    32px 0 56px;
}
footer .wrap {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  font-family:     'JetBrains Mono', monospace;
  font-size:       12.5px;
  color:           var(--gray);
}
footer a {
  color:           var(--gray);
  text-decoration: none;
  transition:      color 0.15s;
}
footer a:hover { color: var(--ink); }

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .dot, .row, nav a, .teaser a, footer a { animation: none; transition: none; }
}

/* ── Responsive: Mobile ───────────────────────────────────── */
@media (max-width: 560px) {
  .hero            { padding: 64px 0 48px; }
  nav a            { margin-left: 14px; font-size: 12px; }
  .row             { grid-template-columns: 1fr; }
  .row .tags       { grid-column: 1; grid-row: auto; }
  .entry           { grid-template-columns: 1fr; gap: 4px; }
  footer .wrap     { flex-direction: column; gap: 8px; align-items: flex-start; }
  .contact-links li { flex-direction: column; gap: 4px; }
}
