/* Styles für die Blog-Seiten (blog/index.html und blog/<beitrag>.html).
   Farben, Schriften, Navigation und Footer entsprechen index.html –
   wer dort die Navigation ändert, zieht die Änderung hier nach. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rockybilly";
  src: url("/Rockybilly.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #4b4732;
  --text: #f6f3ec;
  --soft: #d3cfc3;
  --line: rgba(246, 243, 236, 0.18);
  --accent: #d6bd76;
  --max: 1540px;
  --nav-h: 138px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

/* ---------- Navigation (wie index.html) ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-h);
  background: rgba(75, 71, 50, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(var(--max), calc(100% - 44px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.brand-text {
  font-family: "Rockybilly", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(1.55rem, 2.15vw, 2.35rem);
  line-height: 1.35;
  white-space: nowrap;
  transform: translateY(8px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  padding-top: 4px;
  border-top: 2px solid transparent;
  opacity: 0.72;
  transition: opacity .18s ease, border-color .18s ease, color .18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a[aria-current="true"] {
  opacity: 1;
  border-color: currentColor;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.nav-actions a:hover,
.nav-actions a:focus-visible {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- Grundbausteine ---------- */

.page {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--text);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.text-button:hover,
.text-button:focus-visible {
  background: var(--text);
  color: var(--bg);
}

.text-button.is-quiet {
  border-color: var(--line);
}

/* ---------- Blog-Übersicht: Seitenleiste und Karten ---------- */

.blog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 56px 0 86px;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  align-self: start;
  display: grid;
  gap: 22px;
  padding-right: 36px;
}

.blog-title a {
  display: grid;
}

.blog-title-main {
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-weight: 900;
}

/* Rockybilly hat sehr hohe Oberlängen: padding-top hält Abstand zur Zeile darüber. */
.blog-title-script {
  padding-top: 0.95em;
  font-family: "Rockybilly", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 1.7vw, 1.65rem);
  line-height: 1.5;
  color: var(--accent);
  white-space: nowrap;
}

.blog-tagline {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-categories {
  display: grid;
  gap: 2px;
}

.blog-categories a {
  position: relative;
  justify-self: start;
  padding: 6px 0 6px 16px;
  color: var(--soft);
  font-size: 1rem;
  font-weight: 700;
  transition: color .18s ease;
}

.blog-categories a:hover,
.blog-categories a:focus-visible {
  color: var(--text);
}

.blog-categories a[aria-current="page"] {
  color: var(--text);
  font-weight: 900;
}

.blog-categories a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
}

.blog-main {
  min-width: 0;
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.blog-category-head {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

/* --longest-word setzt der Generator bei langen Wörtern: die Schrift wird dann so klein,
   dass das längste Wort auf eine Zeile passt (0.68 em pro Buchstabe in Inter 900, mit Reserve). */
.blog-category-head h1 {
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-size: min(clamp(2.6rem, 5vw, 5.4rem), calc(100cqi / (var(--longest-word, 1) * 0.68)));
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-weight: 900;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 40px;
}

/* Die ganze Karte ist klickbar, der Link bleibt aber nur der Titel. */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-card-media {
  margin-bottom: 6px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #2f2c1d;
}

.post-card-media img,
.post-card-tile {
  width: 100%;
  height: 100%;
  transition: transform .6s var(--ease);
}

.post-card-media img {
  object-fit: cover;
}

.post-card:hover .post-card-media img,
.post-card:hover .post-card-tile {
  transform: scale(1.03);
}

.post-card-tile {
  display: grid;
  place-items: center;
  padding: 0 8%;
  font-family: "Rockybilly", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.5;
  text-align: center;
}

.tile-0 {
  background: var(--accent);
  color: var(--bg);
}

.tile-1 {
  background: var(--text);
  color: var(--bg);
}

.tile-2 {
  background: #6d6849;
  color: var(--text);
}

.tile-3 {
  background: #2f2c1d;
  color: var(--accent);
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-card-category {
  position: relative;
  z-index: 1;
  color: var(--accent);
  transition: color .18s ease;
}

.post-card-category:hover,
.post-card-category:focus-visible {
  color: var(--text);
}

.post-card h2 {
  font-size: clamp(1.3rem, 1.6vw, 1.7rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 800;
  transition: color .18s ease;
}

.post-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card h2 a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.post-card:hover h2 {
  color: var(--accent);
}

.post-card p {
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.55;
}

.post-empty {
  color: var(--soft);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 800;
}

/* ---------- Beitrag ---------- */

/* minmax(0, 1fr): lange Wörter im Titel werden umbrochen statt die Seite zu verbreitern. */
.post-head {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.post-head-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}

.post-back,
.post-category {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color .18s ease;
}

.post-back {
  color: var(--accent);
}

.post-category {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--soft);
}

.post-back:hover,
.post-back:focus-visible,
.post-category:hover,
.post-category:focus-visible {
  color: var(--text);
}

.post-head h1 {
  max-width: 17ch;
  font-size: clamp(2.6rem, 6vw, 6.6rem);
  font-size: min(clamp(2.6rem, 6vw, 6.6rem), calc(100cqi / (var(--longest-word, 1) * 0.68)));
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
}

.post-lead {
  max-width: 860px;
  color: var(--soft);
  font-size: clamp(1.2rem, 1.9vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.post-main {
  min-width: 0;
}

/* Titelbild ungeschnitten und höchstens in Originalgrösse – Grafiken mit Text bleiben lesbar. */
.post-cover {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 44px;
  border: 1px solid var(--line);
  background: #2f2c1d;
}

.post-cover a {
  display: block;
  cursor: zoom-in;
}

.post-cover a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.post-cover img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: 60px;
  padding: 56px 0 86px;
}

.post-meta {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  align-self: start;
  border-top: 1px solid var(--line);
}

.meta-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.meta-item > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-item > span {
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 700;
}

.post-body {
  container-type: inline-size;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 720px;
  color: var(--soft);
  font-size: clamp(1.06rem, 1.2vw, 1.2rem);
  line-height: 1.7;
}

.post-body > * + * {
  margin-top: 1.15em;
}

.post-body h2 {
  margin-top: 2.1em;
  color: var(--text);
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-size: min(clamp(1.6rem, 2.6vw, 2.6rem), calc(100cqi / (var(--longest-word, 1) * 0.68)));
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-weight: 900;
}

.post-body h3,
.post-body h4 {
  margin-top: 1.9em;
  margin-bottom: -0.4em;
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
}

.post-body strong {
  color: var(--text);
  font-weight: 800;
}

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease;
}

.post-body a:hover,
.post-body a:focus-visible {
  color: var(--text);
}

.post-body ul,
.post-body ol {
  padding-left: 1.3em;
}

.post-body li + li {
  margin-top: 0.5em;
}

.post-body li::marker {
  color: var(--accent);
  font-weight: 900;
}

.post-body blockquote {
  position: relative;
  margin: 2em 0;
  padding-top: 52px;
  color: var(--text);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.post-body blockquote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: -2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--accent);
}

.post-body blockquote p + p {
  margin-top: 0.8em;
}

.post-body figure {
  margin: 2em 0;
}

.post-body figure.quote blockquote {
  margin: 0;
}

.post-body figcaption {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.post-body figure.quote figcaption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.post-body img {
  width: 100%;
  height: auto;
}

.post-body hr {
  margin: 2.6em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin: 44px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.post-tags li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Blättern zwischen Beiträgen ---------- */

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.post-nav-link {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px 0;
}

.post-nav-link.is-older {
  grid-column: 1;
  padding-right: 28px;
}

.post-nav-link.is-newer {
  grid-column: 2;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.post-nav-link span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-nav-link strong {
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 900;
  transition: color .18s ease;
}

.post-nav-link:hover strong,
.post-nav-link:focus-visible strong {
  color: var(--accent);
}

/* ---------- Kontakt-Abschluss ---------- */

.blog-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: end;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.blog-cta h2 {
  max-width: 10ch;
  margin-top: 18px;
  font-size: clamp(3rem, 6.6vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  font-weight: 900;
}

.blog-cta-copy {
  display: grid;
  gap: 26px;
}

.blog-cta-copy p {
  color: var(--soft);
  font-size: clamp(1.08rem, 1.5vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 800;
}

/* ---------- Footer (wie index.html) ---------- */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.86rem;
}

.footer-nap {
  line-height: 1.7;
}

.footer-nap strong {
  color: var(--text);
}

.footer-nap a {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 18px;
}

.footer-links a {
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  border-color: currentColor;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav-right {
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px max(22px, calc((100% - var(--max)) / 2)) 26px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 40px rgba(0, 0, 0, 0.28);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 18px 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.5rem, 4.6vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    opacity: 1;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"],
  .nav-links a[aria-current="true"] {
    border-color: var(--line);
    color: var(--accent);
  }
}

@media (max-width: 1040px) {
  .blog-layout,
  .post-layout,
  .blog-cta {
    grid-template-columns: 1fr;
  }

  /* Seitenleiste wird zum Kopf, Kategorien zu einer wischbaren Reihe. */
  .blog-layout {
    gap: 40px;
    padding-top: 44px;
  }

  .blog-sidebar {
    position: static;
    gap: 18px;
    padding-right: 0;
  }

  .blog-title a {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 16px;
  }

  .blog-tagline {
    max-width: 620px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .blog-categories {
    display: flex;
    gap: 8px;
    margin: 0 -22px;
    padding: 0 22px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-categories::-webkit-scrollbar {
    display: none;
  }

  .blog-categories a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid var(--line);
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .blog-categories a[aria-current="page"] {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
  }

  .blog-categories a[aria-current="page"]::before {
    display: none;
  }

  .blog-main {
    padding-top: 40px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .post-layout {
    gap: 40px;
  }

  .post-meta {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
  }

  .blog-cta {
    gap: 32px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 72px;
  }

  .nav-inner,
  .page {
    width: min(var(--max), calc(100% - 20px));
  }

  .nav-inner {
    gap: 10px;
  }

  .nav-right {
    flex-shrink: 0;
    gap: 4px;
  }

  .nav-actions {
    gap: 4px;
    margin-left: 0;
  }

  .nav-actions a {
    min-height: 32px;
    padding: 7px 7px;
    font-size: 0.58rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .nav-toggle {
    min-height: 32px;
    padding: 0 7px;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav-links {
    padding: 0 10px 20px;
  }

  .brand {
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-text {
    font-size: clamp(0.9rem, 4.4vw, 1.06rem);
    white-space: nowrap;
    transform: translateY(2px);
  }

  .brand img {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  .blog-layout {
    gap: 32px;
    padding: 32px 0 62px;
  }

  .blog-title a {
    gap: 0 12px;
  }

  .blog-title-main {
    font-size: 2.2rem;
  }

  .blog-title-script {
    font-size: 1.35rem;
  }

  .blog-categories {
    margin: 0 -10px;
    padding: 0 10px 2px;
  }

  .blog-main {
    padding-top: 32px;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .post-head {
    gap: 22px;
    padding: 36px 0 34px;
  }

  .post-head h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.6rem);
    font-size: min(clamp(2.2rem, 10.5vw, 3.6rem), calc(100cqi / (var(--longest-word, 1) * 0.68)));
  }

  .post-cover {
    margin-bottom: 32px;
  }

  .post-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-layout {
    padding: 36px 0 62px;
  }

  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-nav-link.is-older,
  .post-nav-link.is-newer {
    grid-column: auto;
    padding: 24px 0;
    border-left: 0;
    text-align: left;
  }

  .post-nav-link.is-newer {
    border-top: 1px solid var(--line);
  }

  .blog-cta {
    padding: 62px 0;
  }

  .blog-cta h2 {
    font-size: clamp(2.55rem, 12vw, 4.8rem);
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Auf schmalen Handys passt neben dem Menü-Knopf nur noch «Anfrage»;
   «Kursbuchung» ist dort über «Kurse» im Menü erreichbar. */
@media (max-width: 480px) {
  .nav-actions .nav-action-courses {
    display: none;
  }
}
