/* FROSCHAU · ZÜRICH a.d. 2026 — ENTWURF styles */

/* F-K7: self-hosted Source Sans 3 + Source Serif 4 (OFL via fontsource woff2) */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/SourceSans3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/SourceSans3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/SourceSans3-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/SourceSerif4-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/SourceSerif4-600.woff2") format("woff2");
}

:root {
  --ink: #1a1f1c;
  --ink-soft: #3d4540;
  --muted: #5a625c;
  --paper: #f7f5f0;
  --paper-deep: #ebe6dc;
  --line: #d4cfc4;
  --accent: #2f5d3a;
  --accent-deep: #1e3d26;
  --warn: #8a5a12;
  --warn-bg: #f3e8d0;
  --max: 68rem;
  --measure: 40rem;
  --radius: 2px;
  /* Latin self-hosted; CJK/Devanagari fall back to system fonts (ENTWURF — no CJK/Devanagari webfonts yet) */
  --font-sans: "Source Sans 3", "Helvetica Neue", Helvetica, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Palatino Linotype", Palatino, "Hiragino Mincho ProN", "Noto Serif CJK JP", "Noto Serif SC", "Noto Serif Devanagari", Georgia, serif;
  --nav-bp: 720px;
}

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

html { scroll-behavior: smooth; }

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

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ENTWURF banner */
.draft-banner {
  background: var(--warn-bg);
  color: var(--warn);
  border-bottom: 1px solid #e0cfa8;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand:hover { color: inherit; }

.brand-signet {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* F-K4: burger ≤720px */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}
.nav-main a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.nav-main a[aria-current="page"],
.nav-main a:hover { color: var(--accent-deep); }

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.lang-current {
  display: none;
  font-weight: 700;
  color: var(--ink);
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.2rem 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
.lang-switch a[aria-current="true"] {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.lang-switch a:hover { color: var(--accent-deep); }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .header-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    box-shadow: 0 12px 24px rgba(26, 31, 28, 0.08);
  }
  body.nav-open .header-nav { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; flex-wrap: nowrap; }
  .nav-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-main a {
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .lang-switch {
    margin-top: 0.75rem;
    justify-content: flex-start;
  }
  .lang-current { display: inline-block; }
  .lang-list a[aria-current="true"] { display: none; }
  .brand-sub { display: none; }
}

/* Hero */
.hero {
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f0ebe2 0%, var(--paper) 100%);
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  margin: 0 0 1rem;
  max-width: 24ch;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.hero-signet {
  width: min(280px, 70%);
  margin-inline: auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(26, 31, 28, 0.08);
  background: #fff;
}

/* Sections */
.section {
  padding: 3rem 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: var(--measure);
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.35rem 1.4rem;
}
.card p { margin: 0.4rem 0 0; color: var(--ink-soft); }
.card .meta {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.book-card { max-width: 44rem; }
.book-card-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
}
.book-cover {
  width: 160px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(26, 31, 28, 0.08);
  flex-shrink: 0;
}
.book-card-body { flex: 1 1 14rem; min-width: 0; }

.cover-placeholder {
  width: 140px;
  height: 190px;
  flex-shrink: 0;
  border: 1px dashed var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, #f7f5f0 0%, #ebe6dc 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.75rem;
  box-sizing: border-box;
}
.cover-placeholder img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.9;
}
.clarify {
  margin: -0.25rem 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 40rem;
}

.pipeline {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1.25rem 0;
  color: var(--ink-soft);
}

/* Buttons / CTAs */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent-deep);
  color: #f7f5f0;
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* Prose */
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1rem; color: var(--ink-soft); }
.prose ul, .prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.prose li { margin-bottom: 0.4rem; }

.note {
  background: #fff;
  border: 1px dashed var(--line);
  padding: 1rem 1.15rem;
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.note strong { color: var(--ink); }

/* Legal / impressum */
.legal-block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem 1.4rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.legal-block p { margin: 0.35rem 0; color: var(--ink-soft); }
.legal-block .addr {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}
.footer-brand {
  font-family: var(--font-serif);
  color: var(--ink);
  margin: 0 0 0.35rem;
}
.footer-meta { margin: 0; font-size: 0.85rem; line-height: 1.45; }
.draft-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
  font-weight: 700;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.timeline li {
  position: relative;
  padding: 0 0 1.35rem 1.4rem;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  margin-bottom: 0.2rem;
}
