@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #3b495c;
  --accent: #db321c;
  --paper: #f5f3ee;
  --muted: #6d7580;
  --line: rgba(59, 73, 92, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 28px;
}

.brand {
  display: grid;
  grid-template-columns: minmax(180px, 360px) 1fr;
  gap: 32px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  justify-self: end;
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero {
  display: grid;
  grid-template-columns: 16px minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: end;
  padding: 72px 0 82px;
}

.accent {
  width: 4px;
  height: 100%;
  min-height: 150px;
  background: var(--accent);
  align-self: stretch;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.intro {
  margin: 0 0 8px;
  max-width: 34rem;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  font-weight: 300;
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project {
  padding: 42px 42px 48px 0;
}

.project + .project {
  border-left: 1px solid var(--line);
  padding-left: 42px;
}

.project-label {
  margin: 0 0 46px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.project-description {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}





.footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer span:nth-child(2) {
  text-align: center;
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 30px, 720px);
    padding-top: 30px;
  }

  .brand {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .logo {
    max-width: 250px;
  }

  .hero {
    grid-template-columns: 6px 1fr;
    gap: 22px;
    padding: 68px 0 76px;
  }

  .hero .intro {
    grid-column: 2;
    margin-top: 14px;
  }

  .accent {
    grid-row: 1 / span 2;
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .project {
    padding: 34px 0 38px;
  }

  .project + .project {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .project-label {
    margin-bottom: 28px;
  }

  .book-preview {
    min-height: 0;
    margin-top: 28px;
  }

  .book-cover {
    width: 132px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    justify-self: start;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .intro {
    font-size: 18px;
  }

  .book-preview {
    gap: 20px;
  }

  .book-cover {
    width: 116px;
  }

  .availability {
    margin-bottom: 12px;
    font-size: 11px;
  }
}


a {
  color: inherit;
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.legal-nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  border-bottom-color: currentColor;
}

.legal-page {
  max-width: 820px;
  padding: 78px 0 100px;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 56px;
  font-size: 13px;
  text-decoration: none;
}

.legal-page .back-link:hover,
.legal-page .back-link:focus-visible {
  text-decoration: underline;
}

.legal-page h1 {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 600;
  margin-bottom: 52px;
}

.legal-page h2 {
  margin-top: 44px;
  font-size: 24px;
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-page address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.2em;
}

@media (max-width: 820px) {
  .hero {
    padding: 56px 0 64px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .legal-nav {
    justify-content: flex-start;
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 4px;
  }

  .legal-page {
    padding-top: 48px;
  }
}


/* --- V6 book layout --- */
.book-row {
  display: grid;
  grid-template-columns: clamp(145px, 14vw, 190px) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 46px);
  align-items: start;
  margin-top: 34px;
}

.book-cover {
  display: block;
  width: 100%;
  height: auto;
}

.book-copy {
  padding-top: 4px;
}

.book-copy h2 {
  margin-top: 0;
}

.availability {
  margin: 28px 0 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.availability a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.availability a:hover,
.availability a:focus-visible {
  text-decoration-thickness: 2px;
}

@media (max-width: 1050px) {
  .book-row {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 26px;
  }
}

@media (max-width: 820px) {
  .book-row {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 24px;
    margin-top: 28px;
  }

  .availability {
    margin-top: 22px;
  }
}

@media (max-width: 520px) {
  .book-row {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 18px;
  }

  .availability {
    font-size: 10px;
    letter-spacing: 0.09em;
  }
}


/* --- V7: Belichtungszeit Bestellung --- */
.book-subtitle {
  margin: -6px 0 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.order-box {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.order-box .availability {
  margin-top: 0;
}

.order-note {
  margin: 12px 0 18px;
  max-width: 31rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.order-link {
  display: inline-block;
  padding: 11px 15px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .16s ease, color .16s ease;
}

.order-link:hover,
.order-link:focus-visible {
  background: var(--accent);
  color: var(--paper);
}

@media (max-width: 520px) {
  .book-subtitle {
    margin-top: -2px;
    font-size: 14px;
  }

  .order-box {
    margin-top: 20px;
    padding-top: 18px;
  }

  .order-link {
    padding: 10px 12px 9px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }
}


/* --- V8: Preisinformationen & Buchdaten --- */
.intro-price {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 400;
}

.intro-price strong {
  font-weight: 600;
}

.edition-note {
  margin: 7px 0 0;
  max-width: 34rem;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.book-meta {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 520px) {
  .intro-price {
    font-size: 17px;
  }

  .edition-note {
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .book-meta {
    font-size: 12px;
  }
}


/* --- V9: Centauri als reguläres Verlagsbuch --- */
.shipping-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.sample-link {
  display: inline-block;
  padding: 11px 15px 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .16s ease, color .16s ease;
}

.sample-link:hover,
.sample-link:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 520px) {
  .shipping-note {
    font-size: 12px;
  }

  .book-actions {
    align-items: flex-start;
  }

  .sample-link {
    padding: 10px 12px 9px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }
}
