/* ==========================================================================
   manuel.suhre.info – Stylesheet
   Schriften liegen lokal in /assets/fonts (keine Verbindung zu Google).
   ========================================================================== */

@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-opsz-normal.woff2") format("woff2-variations"),
       url("fonts/literata-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-opsz-italic.woff2") format("woff2-variations"),
       url("fonts/literata-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Farben und Grundwerte
   Schiefer (Hunsrück), Rasen (Himmelsstürmer), Trikotgelb als Akzent
   -------------------------------------------------------------------------- */
:root {
  --paper: #f4f6f3;
  --paper-2: #e6ebe6;
  --ink: #1f2b30;
  --muted: #53636a;
  --schiefer: #27363d;
  --rasen: #2c5a3b;
  --gelb: #f2c230;
  --gelb-hell: #ffd54d;
  --on-dark: #eef2ee;
  --on-dark-muted: #c3d0ca;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
  --focus: var(--ink);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 620;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

cite {
  font-style: italic;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--cond);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.site-header {
  padding-block: 1.25rem;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--cond);
  font-weight: 500;
  font-size: 1.1875rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-block;
  padding: 0.8rem 1.3rem 0.85rem;
  border-radius: 3px;
  background: var(--gelb);
  color: var(--ink);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}

.button:hover {
  background: var(--gelb-hell);
}

.button-line {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}

.button-line:hover {
  background: rgba(31, 43, 48, 0.07);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-dark {
  --focus: var(--gelb);
  background: var(--schiefer);
  color: var(--on-dark);
}

.section-pitch {
  --focus: var(--gelb);
  background: var(--rasen);
  color: var(--on-dark);
}

.section-tint {
  background: var(--paper-2);
}

/* Kurze Fakten (Erschienen, Verlag, ISBN) */
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1.25rem;
  margin: 0;
  font-family: var(--cond);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
}

.facts dt {
  color: var(--on-dark-muted);
}

.facts dd {
  margin: 0;
}

/* Buchcover */
.cover {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 30px -10px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   Einstieg
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(2rem, 6vw, 5rem) clamp(3.5rem, 8vw, 7rem);
}

.hero .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(3.75rem, 12.5vw, 8.5rem);
  line-height: 0.9;
  font-weight: 640;
  letter-spacing: -0.025em;
}

.hero h1 span {
  display: block;
}

.lead {
  max-width: 30ch;
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  line-height: 1.4;
}

.hello {
  max-width: 44ch;
  color: var(--muted);
}

.portrait {
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}

@media (min-width: 52rem) {
  .hero .wrap {
    grid-template-columns: 1.35fr 1fr;
    gap: 4rem;
  }

  .portrait {
    justify-self: end;
  }
}

/* --------------------------------------------------------------------------
   Neues Buch
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.feature .cover {
  max-width: 19rem;
}

.feature p {
  font-size: 1.1875rem;
}

.feature .facts {
  margin-block: 1.5rem 0;
}

@media (min-width: 48rem) {
  .feature {
    grid-template-columns: minmax(13rem, 19rem) 1fr;
    gap: 5rem;
  }
}

/* --------------------------------------------------------------------------
   Die Himmelsstürmer
   -------------------------------------------------------------------------- */
.series-intro {
  display: grid;
  gap: 0 4rem;
}

@media (min-width: 58rem) {
  .series-intro {
    grid-template-columns: 1fr 1fr;
  }

  .series-intro h2 {
    grid-column: 1 / -1;
  }
}

.volumes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 3.5rem 3rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

/* Die Bandnummer steht wie eine Rückennummer hinter dem Cover */
.jersey {
  position: relative;
  z-index: 0;
  display: block;
  margin-bottom: -2.6rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(7.5rem, 13vw, 10rem);
  line-height: 0.8;
  color: var(--paper);
}

.volume .cover {
  position: relative;
  z-index: 1;
  width: calc(100% - 2.75rem);
  max-width: 17rem;
  margin-left: 2.75rem;
}

@media (max-width: 40rem) {
  .volume .cover {
    max-width: 14rem;
  }
}

.volume h3 {
  margin-top: 1.5rem;
}

.volume .facts {
  margin-bottom: 1.1rem;
}

.volume a.shop {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.1875rem;
}

/* --------------------------------------------------------------------------
   Über mich
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  gap: 0 4rem;
}

@media (min-width: 58rem) {
  .about {
    grid-template-columns: 1fr 2fr;
  }
}

/* --------------------------------------------------------------------------
   SchaumImOhr
   -------------------------------------------------------------------------- */
.channel {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.channel .thumb-link {
  display: block;
  border-radius: 4px;
}

.channel .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

@media (min-width: 52rem) {
  .channel {
    grid-template-columns: 1.1fr 1fr;
    gap: 4.5rem;
  }
}

/* --------------------------------------------------------------------------
   Unterstützen
   -------------------------------------------------------------------------- */
.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 0 2.5rem;
  margin: 2.75rem 0 3rem;
  padding: 0;
  list-style: none;
}

.ways li {
  padding: 1rem 0 1.75rem;
  border-top: 2px solid var(--ink);
}

.ways h3 {
  font-size: 1.25rem;
}

.ways p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--muted);
}

.steady {
  display: grid;
  gap: 1.25rem 3rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 4px;
  background: var(--gelb);
  color: var(--ink);
}

.steady h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.steady p {
  margin: 0;
}

.steady .button {
  justify-self: start;
  background: var(--ink);
  color: var(--paper);
}

.steady .button:hover {
  background: #34464e;
}

@media (min-width: 52rem) {
  .steady {
    grid-template-columns: 1fr auto;
  }
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: clamp(1.9rem, 6vw, 3.5rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  text-decoration-color: var(--gelb);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.16em;
}

.mail:hover {
  text-decoration-thickness: 5px;
}

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 2rem 2.5rem;
  font-family: var(--cond);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--muted);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   Rechtliches (impressum.html)
   -------------------------------------------------------------------------- */
.legal {
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 8vw, 6rem);
}

.legal h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
  font-weight: 640;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.legal h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal address {
  margin-bottom: 1rem;
  font-style: normal;
}

.legal ul {
  max-width: 62ch;
  padding-left: 1.25rem;
}
