:root {
  --ink: #0b1c22;
  --ink-mid: #123039;
  --sand: #f3ebe0;
  --sand-dim: #e5d9c8;
  --foam: #faf7f2;
  --accent: #c45c26;
  --accent-deep: #9a4318;
  --line: rgba(11, 28, 34, 0.12);
  --muted: rgba(11, 28, 34, 0.62);
  --ok: #1f6b4a;
  --pad: 1rem;
  --max: 68rem;
  --tap: 48px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ink);
  background: var(--foam);
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: clip;
  font-size: 16px;
}

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

a { color: var(--accent-deep); }
a:hover { color: var(--accent); }

/* —— Header (mobile first) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 247, 242, 0.96);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(12px);
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem var(--pad);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.25rem 0;
}
.nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
  width: 100%;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(11, 28, 34, 0.03);
}
.nav a[aria-current="page"] {
  color: #fff;
  background: var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--sand);
  background:
    radial-gradient(900px 420px at 20% -20%, rgba(196, 92, 38, 0.4), transparent 55%),
    linear-gradient(160deg, #071317 0%, #123039 55%, #0b1c22 100%);
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 14px,
    rgba(255, 255, 255, 0.015) 14px,
    rgba(255, 255, 255, 0.015) 15px
  );
  pointer-events: none;
}
.hero .inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--pad) 1.75rem;
  width: 100%;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.hero-copy { order: 2; }
.hero-covers,
.set-hero-cover { order: 1; }

.hero .brand-mark {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 8vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  line-height: 1.05;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  font-weight: 500;
  margin: 0 0 0.65rem;
  line-height: 1.3;
  max-width: none;
}
.hero .lead {
  margin: 0 0 1.1rem;
  color: rgba(243, 235, 224, 0.8);
  font-size: 0.98rem;
  max-width: none;
}

.hero-covers {
  display: flex;
  gap: 0.65rem;
  width: 100%;
}
.hero-cover {
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: none;
}
/* Mobile: nur erstes Cover, groß & klar */
.hero-covers .hero-cover:nth-child(n + 2) { display: none; }

.set-hero-cover {
  width: min(100%, 20rem);
  margin: 0 auto;
}
.set-page-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.85rem 1rem;
  min-height: var(--tap);
  font-weight: 650;
  font-size: 0.95rem;
  border: 0;
  border-radius: 8px;
  width: 100%;
}
.btn:hover { background: var(--accent-deep); }
.btn-ghost {
  background: transparent;
  color: var(--sand) !important;
  border: 1px solid rgba(243, 235, 224, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 2.75rem;
}
.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.section-lead {
  color: var(--muted);
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
}
.more-link { margin-top: 1rem; }

/* —— Set list as stacked cards on mobile —— */
.set-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border: 0;
}
.set-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 28, 34, 0.04);
}
.set-cover {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}
.set-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.set-copy h2,
.set-copy h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  margin: 0 0 0.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.set-copy h2 a,
.set-copy h3 a {
  color: inherit;
  text-decoration: none;
}
.set-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.set-meta {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ok);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.set-meta.soon { color: var(--muted); font-weight: 600; }
.set-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}
.set-actions .btn { width: 100%; }
.set-actions a.more {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.set-actions a.more:hover { color: var(--ink); }

.prose { max-width: 42rem; }
.prose h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}
.prose p,
.prose ul,
.prose ol { color: rgba(11, 28, 34, 0.82); }
.prose ul,
.prose ol { padding-left: 1.15rem; }

.cta-band {
  margin-top: 1.75rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  color: var(--sand);
  border-radius: 12px;
}
.cta-band h2 {
  font-family: "Fraunces", Georgia, serif;
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.cta-band p {
  margin: 0 0 1rem;
  color: rgba(243, 235, 224, 0.75);
  font-size: 0.95rem;
}
.cta-band .btn { width: 100%; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--sand);
  padding: 1.5rem var(--pad) calc(2rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.86rem;
}
.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-footer a { color: var(--ink); text-decoration: none; }
.foot-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}
.foot-nav a {
  min-height: var(--tap);
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 3px solid var(--sand-dim);
  padding-left: 0.85rem;
  margin: 1rem 0;
}

/* —— Tablet+ —— */
@media (min-width: 640px) {
  :root { --pad: 1.25rem; }

  .site-header .inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .nav {
    display: flex;
    width: auto;
    gap: 0.35rem;
  }
  .nav a {
    padding: 0 0.85rem;
    background: transparent;
  }
  .nav a[aria-current="page"] {
    color: var(--ink);
    background: rgba(11, 28, 34, 0.06);
  }

  .hero-covers .hero-cover:nth-child(n + 2) { display: block; }
  .hero-covers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 26rem;
  }

  .btn,
  .btn-row .btn,
  .set-actions .btn,
  .cta-band .btn { width: auto; }
  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .set-row {
    display: grid;
    grid-template-columns: 7rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }
  .set-cover img {
    width: 7rem;
    height: 7rem;
  }
  .set-actions {
    width: auto;
    align-items: flex-end;
  }
  .set-actions a.more { justify-content: flex-end; }

  .site-footer .inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
  }
}

/* —— Desktop —— */
@media (min-width: 900px) {
  .hero .inner { padding: 3.5rem var(--pad) 3rem; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: end;
  }
  .hero-copy { order: 0; }
  .hero-covers,
  .set-hero-cover { order: 0; }
  .hero-covers { max-width: none; }
  .hero-cover:first-child { transform: rotate(-2deg); }
  .hero-cover:nth-child(2) { transform: rotate(3deg) translateY(0.5rem); }
  .hero .brand-mark {
    font-size: clamp(2.6rem, 5vw, 4rem);
    max-width: 12ch;
  }
  .hero h1 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    max-width: 28ch;
  }
  .hero .lead { max-width: 38ch; }
  .set-hero-cover {
    margin: 0;
    justify-self: end;
    max-width: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cover { transform: none !important; }
}
