/* ---------------------------------------------------------------
   Immer wieder Deutsch — base styles

   Design language (keep to these rules when adding anything):

   1. One ground. Everything sits on warm washi paper. There are no
      floating coloured cards.
   2. Separate with space and hairlines, never with blocks of colour.
      A filled panel is reserved for a genuine aside (host bio,
      closing notes) and uses --paper-deep only.
   3. Palette is four earthy colours from Sanzo Wada's "A Dictionary
      of Color Combinations": paper, sumi ink, an Antwarp-blue indigo
      as the single accent, and a moss green as the quiet second.
      Clay is used rarely, for small marks only.
   4. Display type is Zen Old Mincho (a Japanese serif); UI and body
      copy are a plain humanist sans. Small labels are letterspaced
      uppercase.
   5. Corners are nearly square (3px). Generous line-height and
      whitespace do the work instead of decoration.
   --------------------------------------------------------------- */

:root {
  /* Paper and ink */
  --paper: #ede7da;
  --paper-raised: #f4efe4;
  --paper-deep: #e3dbc8;
  --ink: #33302a;
  --ink-soft: #6e6559;

  /* Accents */
  --indigo: #2c4753;
  --indigo-deep: #1f343e;
  --moss: #6a7a55;
  --clay: #a9603c;
  --rule: #d3c9b4;

  /* Legacy names kept so page-level stylesheets stay in step */
  --color-bg: var(--paper);
  --color-bg-card: var(--paper-raised);
  --color-bg-alt: var(--paper-deep);
  --color-text: var(--ink);
  --color-muted: var(--ink-soft);
  --color-accent: var(--indigo);
  --color-accent-dark: var(--indigo-deep);
  --color-accent-soft: var(--paper-deep);
  --color-green: var(--moss);
  --color-border: var(--rule);

  --max-width: 720px;
  --max-width-wide: 860px;
  --space: 1rem;
  --radius: 3px;

  --font-display: "Zen Old Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--indigo-deep);
  text-underline-offset: 3px;
}

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

/* A letterspaced uppercase label — used for every small caption. */
.label,
.episode-meta,
.hero-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- Layout ------------------------------------------------------- */

main {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: calc(var(--space) * 3) var(--space) calc(var(--space) * 5);
}

main section {
  margin-bottom: calc(var(--space) * 4);
}

main section > h2 {
  font-size: 1.55rem;
  margin: 0 0 0.9em;
}

/* --- Header ------------------------------------------------------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space);
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: calc(var(--space) * 2) var(--space) var(--space);
  border-bottom: 1px solid var(--rule);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  gap: calc(var(--space) * 1.5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--indigo);
}

/* --- Hero --------------------------------------------------------- */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--space) * 3);
  padding: calc(var(--space) * 2) 0 calc(var(--space) * 3.5);
  border-bottom: 1px solid var(--rule);
  margin-bottom: calc(var(--space) * 4);
}

.hero-text {
  flex: 1 1 320px;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 0.35em;
  color: var(--indigo);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 1.8em;
  max-width: 32ch;
}

.hero-actions {
  display: flex;
  gap: calc(var(--space) * 0.75);
  flex-wrap: wrap;
  margin-bottom: 1.6em;
}

.hero-meta {
  margin: 0;
}

/* --- Hero visual: cover art + the Berlin-to-Osaka route ----------- */

.hero-visual {
  position: relative;
  flex: 0 0 auto;
  width: 320px;
  height: 320px;
}

.hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-route-line {
  fill: none;
  stroke: var(--moss);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 0 9;
}

.hero-route-point circle {
  fill: var(--clay);
}

.hero-route-point .hero-route-ring {
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.4;
  opacity: 0.45;
}

.hero-route-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}

.hero-art {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--rule);
}

@media (max-width: 760px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 1.5rem;
  }
}

/* --- Buttons ------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--indigo);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--indigo);
  color: var(--paper-raised);
}

.btn-primary {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--paper-raised);
}

.btn-primary:hover {
  background: var(--indigo-deep);
  border-color: var(--indigo-deep);
}

/* --- About -------------------------------------------------------- */

.about p {
  font-size: 1.1rem;
  max-width: 60ch;
}

/* --- What you'll find here ---------------------------------------- */

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--space) * 2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-list > li {
  border-top: 1px solid var(--rule);
  padding-top: calc(var(--space) * 0.9);
}

.offer-list h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5em;
}

.offer-list h3 a {
  color: var(--indigo);
  text-decoration: none;
}

.offer-list h3 a:hover {
  color: var(--clay);
}

.offer-list p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .offer-list {
    grid-template-columns: 1fr;
    gap: calc(var(--space) * 1.25);
  }
}

/* --- Host (a filled aside — the one place colour fills a block) --- */

.host {
  display: flex;
  gap: calc(var(--space) * 1.75);
  align-items: flex-start;
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: calc(var(--space) * 2.25);
}

.host-avatar {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--paper-raised);
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-bio {
  min-width: 0;
}

.host-bio h2 {
  margin-top: 0;
}

.host-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.4em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.host-tag + .host-tag::before {
  content: "·";
  margin-right: 0.75rem;
  color: var(--rule);
}

@media (max-width: 600px) {
  .host {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .host-tags {
    justify-content: center;
  }
}

/* --- Episodes ----------------------------------------------------- */

.episode {
  padding: calc(var(--space) * 1.75) 0;
  border-top: 1px solid var(--rule);
}

.episode:last-child {
  border-bottom: 1px solid var(--rule);
}

.episode-meta {
  display: block;
  margin: 0 0 0.6em;
  color: var(--moss);
}

.episode-title {
  font-size: 1.3rem;
  margin: 0 0 0.5em;
}

.episode-summary {
  color: var(--ink);
  margin-bottom: 1.1em;
  max-width: 62ch;
}

.episode-audio {
  width: 100%;
  max-width: 420px;
}

.episode-readalong {
  margin: 1em 0 0;
}

.episode-readalong a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.episode-status {
  color: var(--ink-soft);
  font-style: italic;
}

.episode-status--error {
  font-style: normal;
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: var(--space);
}

.episodes-all {
  margin-top: calc(var(--space) * 1.75);
}

.episodes-all a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* --- Subscribe ---------------------------------------------------- */

.subscribe-links {
  display: flex;
  gap: calc(var(--space) * 0.75);
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.subscribe-link {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.subscribe-link:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

/* --- Footer ------------------------------------------------------- */

.site-footer {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  padding: calc(var(--space) * 2.5) var(--space) calc(var(--space) * 3);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0 0 0.5em;
}

.site-footer a {
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--indigo);
}

/* --- Small screens ------------------------------------------------ */

@media (max-width: 600px) {
  .site-header {
    justify-content: center;
    text-align: center;
  }

  .host {
    padding: calc(var(--space) * 1.5);
  }
}
