@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f2eddf;
  --paper-light: #faf7ef;
  --ink: #172131;
  --ink-soft: #4f5861;
  --blue: #768997;
  --blue-pale: #dbe1df;
  --ochre: #b77a31;
  --ochre-dark: #8e5a20;
  --line: rgba(23, 33, 49, .18);
  --serif: "Fraunces", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1180px, calc(100vw - 3rem));
}

* { box-sizing: border-box; }

@view-transition { navigation: auto; }

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("/assets/noise.svg") repeat;
  opacity: .018;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
  font: 700 .75rem var(--sans);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.reading-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left;
}

@supports (animation-timeline: scroll()) {
  .reading-progress { animation: reading-progress linear; animation-timeline: scroll(root); }
  @keyframes reading-progress { to { transform: scaleX(1); } }
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ochre-dark); }
img { display: block; max-width: 100%; }
::selection { background: #e2c79e; }

.site-header {
  width: var(--page);
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}

.author-mark {
  display: block;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: .01em;
}

.author-mark span {
  margin-left: .65rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.author-lockup { display: grid; gap: .16rem; justify-self: start; }

.site-nav { display: flex; gap: 1.35rem; align-items: center; }

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

/* Verweis auf die zweite Seite: windwaveslife.com */
.away-site {
  position: relative;
  justify-self: end;
  display: grid;
  gap: .26rem;
  justify-items: center;
  padding: .4rem .75rem .45rem;
  border: 1px solid var(--line);
  background: var(--paper-light);
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease;
}

/* Welle läuft beim Zeigen von links unter den Schriftzug */
.away-site::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.away-site:hover::after,
.away-site:focus-visible::after { transform: scaleX(1); }

.away-site__label {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .52rem;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.away-site__logo {
  display: block;
  width: 104px;
  height: auto;
  transition: transform .35s ease;
}

.away-site:hover,
.away-site:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ochre);
}

.away-site:hover .away-site__logo,
.away-site:focus-visible .away-site__logo { transform: translateX(3px); }

.away-site:hover .away-site__label,
.away-site:focus-visible .away-site__label { color: var(--ochre-dark); }

.hero {
  width: var(--page);
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .78fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.hero-copy { padding-top: 1.5rem; }
.kicker,
.chapter-label {
  margin: 0 0 1.2rem;
  color: var(--ochre-dark);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.65rem, 7.7vw, 7.4rem);
  font-weight: 390;
  letter-spacing: -.055em;
  line-height: .89;
  text-wrap: balance;
}

.subtitle {
  max-width: 31ch;
  margin-bottom: 2rem;
  color: var(--ochre-dark);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
}

.premise {
  max-width: 50ch;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.release-line {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2.25rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
}

.primary-link,
.preorder-form button {
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1;
  padding: 1.15rem 1.45rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.primary-link:hover,
.preorder-form button:hover { background: var(--ochre-dark); border-color: var(--ochre-dark); color: white; }

.cover { margin: 0; justify-self: end; width: min(100%, 490px); perspective: 1200px; }
.cover img {
  width: 100%;
  height: auto;
  box-shadow: 0 28px 55px rgba(31, 39, 44, .16), 0 2px 5px rgba(31, 39, 44, .12);
  transform: rotateY(-1.2deg) rotateX(.6deg);
  transform-origin: center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease;
}

.cover:hover img { box-shadow: 0 34px 65px rgba(31,39,44,.2), 0 3px 7px rgba(31,39,44,.12); transform: rotateY(0) rotateX(0) translateY(-5px); }

.cover figcaption,
.chapter-image figcaption {
  margin-top: .8rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: .06em;
}

.opening {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(7rem, 13vw, 12rem) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 680px) minmax(30px, .5fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.margin-note {
  align-self: start;
  max-width: 230px;
  margin-top: 7.4rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ochre);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .76rem;
  line-height: 1.55;
}

.margin-note span {
  display: block;
  margin-bottom: .65rem;
  color: var(--ochre-dark);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.book-page { grid-column: 2; }
.book-page h2,
.insight-copy h2,
.preorder h2,
.legal-page h1 {
  margin-bottom: 2.7rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 380;
  letter-spacing: -.04em;
  line-height: 1;
}

.reading-text p {
  margin-bottom: 1.35rem;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem);
  line-height: 1.82;
}

.reading-text p:first-child::first-letter {
  float: left;
  margin: .05em .12em -.08em 0;
  color: var(--ochre-dark);
  font-size: 4.4em;
  line-height: .74;
}

.reading-text hr {
  width: 70px;
  margin: 3.3rem 0;
  border: 0;
  border-top: 1px solid var(--ochre);
}

blockquote {
  margin: 4rem 0 0 clamp(1rem, 7vw, 5rem);
  padding-left: 1.5rem;
  border-left: 2px solid var(--ochre);
  color: var(--ochre-dark);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-style: italic;
  line-height: 1.4;
}

.chapter-teaser {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(7rem, 13vw, 12rem) 0;
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 9vw, 9rem);
  border-top: 1px solid var(--line);
}

.chapter-teaser-intro { align-self: start; position: sticky; top: 3rem; }
.chapter-teaser h2,
.author-section h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 380;
  letter-spacing: -.04em;
  line-height: 1;
}
.chapter-teaser-intro > p:not(.chapter-label) { color: var(--ink-soft); }
.reading-time { display: block; margin-top: 2rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--ink-soft); font: 650 .67rem var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.chapter-teaser-card { padding: clamp(1.8rem, 5vw, 4.5rem); border: 1px solid var(--line); background: var(--paper-light); box-shadow: 0 24px 60px rgba(23,33,49,.06); }
.chapter-teaser-card > p { font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.8; }
.chapter-teaser-card > p:first-child::first-letter { float: left; margin: .05em .12em -.08em 0; color: var(--ochre-dark); font-size: 4.2em; line-height: .74; }
.chapter-teaser-card details { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.chapter-teaser-card summary,
.address-fields summary { padding: 1.25rem 0; cursor: pointer; font: 750 .7rem var(--sans); letter-spacing: .1em; list-style: none; text-transform: uppercase; }
.chapter-teaser-card summary::-webkit-details-marker,
.address-fields summary::-webkit-details-marker { display: none; }
.chapter-teaser-card summary { display: flex; justify-content: space-between; color: var(--ochre-dark); }
.chapter-teaser-card details[open] summary span { transform: rotate(180deg); }
.chapter-reveal { padding-top: 1rem; border-top: 1px solid var(--line); }
.chapter-reveal p:first-child::first-letter { float: none; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.chapter-punchline { margin: 2rem 0; color: var(--ochre-dark); font-size: clamp(1.5rem, 3vw, 2.2rem) !important; font-style: italic; }

.book-insight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  min-height: 760px;
  background: var(--blue-pale);
}

.chapter-image { position: relative; margin: 0; min-height: 650px; overflow: hidden; }
.chapter-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(.93); }
.chapter-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(219,225,223,.32)); }
.chapter-image figcaption { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.2rem; max-width: 42ch; margin: 0; padding: .55rem .7rem; background: rgba(242,237,223,.9); }

.insight-copy {
  align-self: center;
  max-width: 540px;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem);
}

.insight-copy h2 { margin-bottom: 2rem; }
.insight-copy > p:not(.chapter-label):not(.book-facts) { color: #394652; font-size: 1.04rem; }
.book-facts { margin-top: 2.6rem; padding-top: 1rem; border-top: 1px solid rgba(23,33,49,.25); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.author-section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 10rem) 0;
  display: grid;
  grid-template-columns: 70px minmax(230px, .75fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.author-line { width: 70px; margin-top: .55rem; border-top: 2px solid var(--ochre); }
.author-copy { max-width: 630px; column-count: 2; column-gap: 2.5rem; color: var(--ink-soft); }
.author-copy p { break-inside: avoid; }

.preorder {
  padding: clamp(6rem, 11vw, 10rem) max(calc((100vw - 1180px) / 2), 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr);
  gap: clamp(4rem, 9vw, 9rem);
  background: var(--ink);
  color: var(--paper-light);
}

.preorder-intro { max-width: 510px; }
.preorder h2 { margin-bottom: 1.5rem; color: var(--paper-light); }
.preorder .chapter-label { color: #d5a76d; }
.price { margin-bottom: 2rem; color: #edca93; font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1; }
.price small { display: block; margin-top: .65rem; color: #aeb6bb; font-family: var(--sans); font-size: .68rem; letter-spacing: .04em; }
.price-pending { max-width: 12ch; font-size: clamp(2rem, 3.5vw, 3.15rem); }
.preorder-intro > p:not(.chapter-label):not(.price) { color: #d6d9d7; }
.release-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); font-family: var(--sans); font-size: .76rem; line-height: 1.6; }

.preorder-form { align-self: start; padding: clamp(1.7rem, 4vw, 3rem); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.form-row { margin-bottom: 1.35rem; }
.form-row label { display: flex; justify-content: space-between; margin-bottom: .45rem; font-family: var(--sans); font-size: .72rem; font-weight: 650; letter-spacing: .06em; }
.form-row label span { color: #8e989f; font-weight: 400; }
.form-row input,
.form-row select {
  width: 100%;
  min-height: 50px;
  padding: .7rem .85rem;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 0;
  background: rgba(255,255,255,.06);
  color: white;
  font: 1rem var(--sans);
}

.form-row select { color-scheme: dark; }
.form-row-small { width: 8rem; }
.form-row input:focus,
.form-row select:focus { outline: 2px solid #d5a76d; outline-offset: 2px; }
.check-row { display: grid; grid-template-columns: 18px 1fr; gap: .75rem; margin: 1rem 0; color: #d6d9d7; font-family: var(--sans); font-size: .72rem; line-height: 1.5; }
.check-row input { width: 17px; height: 17px; margin: .15rem 0 0; accent-color: #d5a76d; }
.check-row.optional { color: #aeb6bb; }
.privacy-note { margin: 1rem 0; color: #aeb6bb; font: .7rem/1.55 var(--sans); }
.preorder-form button { width: 100%; margin-top: 1.2rem; border-color: #d5a76d; background: #d5a76d; color: var(--ink); cursor: pointer; }
.form-footnote { margin: .9rem 0 0; color: #8e989f; font-family: var(--sans); font-size: .64rem; text-align: center; }
.trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.address-fields { margin: .4rem 0 1.4rem; border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.address-fields summary { display: flex; justify-content: space-between; color: #d6d9d7; }
.address-fields summary::before { content: "+"; margin-right: .7rem; color: #d5a76d; }
.address-fields[open] summary::before { content: "−"; }
.address-fields summary span { margin-left: auto; color: #8e989f; font-weight: 400; }
.address-fields > p { margin: 0 0 1.2rem; color: #aeb6bb; font: .7rem/1.55 var(--sans); }
.address-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem; }

.site-footer {
  padding: 3.4rem max(calc((100vw - 1180px) / 2), 1.5rem);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: end;
  background: #101824;
  color: #adb3b5;
  font-family: var(--sans);
  font-size: .72rem;
}

.site-footer p { margin: 0; }
.site-footer strong { color: var(--paper-light); font-family: var(--serif); font-size: 1rem; font-weight: 500; }
.site-footer nav { display: flex; gap: 1.2rem; }
.copyright { white-space: nowrap; }

.legal-page { width: min(760px, calc(100vw - 3rem)); min-height: 80vh; margin: 0 auto; padding: 6rem 0; }
.legal-page h1 { margin-bottom: .7rem; }
.legal-page h2 { margin: 2.8rem 0 .7rem; color: var(--ochre-dark); font-size: 1.25rem; font-weight: 550; }
.legal-page p,
.legal-page li { color: var(--ink-soft); }
.legal-page .meta { margin-bottom: 3rem; font-family: var(--sans); font-size: .75rem; }
.legal-page .back { display: inline-block; margin-top: 3rem; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.response-page { display: grid; min-height: 100vh; place-items: center; padding: 1.5rem; }
.response-card { width: min(620px, 100%); padding: clamp(2rem, 7vw, 5rem); border: 1px solid var(--line); background: var(--paper-light); }
.response-card h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }

@media (max-width: 850px) {
  :root { --page: min(100% - 2rem, 680px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 72px; }
  .site-nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-copy { padding-top: 0; }
  .cover { justify-self: center; width: min(100%, 430px); }
  .opening { grid-template-columns: 1fr; gap: 2rem; }
  .margin-note { max-width: 100%; margin: 0; }
  .book-page { grid-column: 1; }
  .book-insight { grid-template-columns: 1fr; }
  .chapter-teaser { grid-template-columns: 1fr; }
  .chapter-teaser-intro { position: static; }
  .chapter-image { min-height: 520px; }
  .insight-copy { max-width: 680px; padding-left: max(1.5rem, calc((100vw - 680px) / 2)); padding-right: max(1.5rem, calc((100vw - 680px) / 2)); }
  .preorder { grid-template-columns: 1fr; gap: 3rem; }
  .author-section { grid-template-columns: 50px 1fr; }
  .author-line { width: 50px; }
  .author-copy { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 520px) {
  html { font-size: 16px; }
  .author-mark span { display: none; }
  .away-site { padding: .4rem .6rem .45rem; gap: .25rem; }
  .away-site__label { display: none; }
  .away-site__logo { width: 104px; }
  h1 { font-size: clamp(3.3rem, 17vw, 5rem); }
  .hero { padding-top: 3rem; }
  .book-page h2,
  .insight-copy h2,
  .preorder h2 { font-size: 2.75rem; }
  .chapter-image { min-height: 430px; }
  .preorder { padding-left: 1rem; padding-right: 1rem; }
  .preorder-form { padding: 1.25rem; }
  .author-section { grid-template-columns: 1fr; gap: 1rem; }
  .author-line { width: 55px; }
  .author-copy { grid-column: 1; column-count: 1; }
  .address-grid { grid-template-columns: 1fr; gap: 0; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .reading-progress { display: none; }
}
