/* Autorenseite: ruhig und seriös. Schriften liegen auf dem eigenen Server bzw. sind Systemschriften.
   Es werden keine Daten an Dritte übertragen. Die 66-Wege-Seite nutzt weiter site.css. */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-variable.ttf") format("truetype"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --soft: #ece8df;
  --ink: #1d2733;
  --muted: #59636f;
  --accent: #1f4e63;
  --accent-dark: #163a4a;
  --line: #ddd8cd;
  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
p { margin: 0; }

.wrap {
  max-width: 1080px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }

h1, h2, h3 { font-family: var(--f-serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 5vw, 48px); max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 13px 22px; border-radius: 6px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--accent); transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--soft); color: var(--accent-dark); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kopfzeile */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 239, 0.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { font-family: var(--f-serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; font-weight: 550; font-size: 0.98rem; }
.nav a:hover { color: var(--accent); text-decoration: underline; }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-text { display: grid; gap: 22px; }
.covers { position: relative; min-height: 360px; display: flex; justify-content: center; align-items: center; }
.covers a { display: block; width: 52%; max-width: 230px; box-shadow: 0 18px 40px rgba(29, 39, 51, 0.18), 0 2px 6px rgba(29, 39, 51, 0.12); border-radius: 3px; overflow: hidden; transition: transform .2s ease; }
.covers a:first-child { transform: rotate(-4deg) translateX(8%); z-index: 2; }
.covers a:last-child { transform: rotate(5deg) translateX(-8%) translateY(18px); }
.covers a:hover { transform: rotate(0) translateY(-4px); z-index: 3; }

/* Bücher */
.books { display: grid; gap: 28px; }
.book {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(22px, 4vw, 44px); align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3.5vw, 36px);
}
.band.alt .book { background: var(--bg); }
.book-cover { display: block; box-shadow: 0 10px 24px rgba(29, 39, 51, 0.16); border-radius: 3px; overflow: hidden; }
.book-body { display: grid; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.tag.accent { background: #dde8ec; color: var(--accent-dark); }
.book .sub { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 1.08rem; }
.book .btns { margin-top: 8px; }
.note { font-size: 0.92rem; color: var(--muted); }

/* Über mich */
.about { display: grid; gap: 16px; max-width: 68ch; }
.about p { color: var(--ink); }

/* Fußzeile */
footer { border-top: 1px solid var(--line); padding-block: 32px 44px; color: var(--muted); font-size: 0.92rem; }
footer .wrap.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 32px; }
footer strong { color: var(--ink); }
footer a { color: var(--ink); }
footer a:hover { color: var(--accent); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Rechtliches, Kontakt */
.legal { padding-block: clamp(44px, 7vw, 88px); }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 28px; overflow-wrap: anywhere; hyphens: auto; }
.legal-body { max-width: 68ch; display: grid; gap: 14px; }
.legal-body h2 { font-size: 1.3rem; margin-top: 18px; }
.legal-body address { font-style: normal; line-height: 1.7; }
.legal-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 650; }
.form input, .form textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; }
.form input:focus-visible, .form textarea:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.form textarea { min-height: 170px; resize: vertical; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .hint { font-size: 0.9rem; color: var(--muted); }
.form .btn { justify-self: start; }

.nf { padding-block: clamp(64px, 11vw, 132px); text-align: center; }
.nf .wrap { display: grid; gap: 20px; justify-items: center; }
.nf .big { font-family: var(--f-serif); font-size: clamp(4rem, 16vw, 7.5rem); line-height: 1; color: var(--accent); }
.nf h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); max-width: 22ch; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .covers { min-height: 300px; order: -1; }
  .covers a { width: 40%; }
}
@media (max-width: 600px) {
  .book { grid-template-columns: 1fr; }
  .book-cover { max-width: 180px; }
  .nav { gap: 4px 14px; flex-wrap: nowrap; }
  .logo { font-size: 1.1rem; }
  .nav a { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .covers a { transition: none; } }

/* Buchseite /entscheidung */
.book-hero .wrap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.book-hero .cover { box-shadow: 0 20px 44px rgba(29, 39, 51, 0.2), 0 2px 6px rgba(29, 39, 51, 0.12); border-radius: 3px; overflow: hidden; }
.book-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.book-hero .sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--muted); }
.prose { display: grid; gap: 16px; max-width: 66ch; }
.checks { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .parts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .parts { grid-template-columns: 1fr; } }
.part { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.band.alt .part { background: var(--bg); }
.part .num { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.part ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; color: var(--muted); font-size: 0.96rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.dl-main { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px 28px; margin-bottom: 28px; }
.band.alt .dl-main { background: var(--bg); }
.dl-main p { flex: 1 1 280px; }
.templates { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.templates a { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; color: var(--ink); height: 100%; }
.band.alt .templates a { background: var(--bg); }
.templates a:hover { border-color: var(--accent); }
.templates .n { font-family: var(--f-serif); font-size: 1.5rem; color: var(--accent); text-align: center; }
.templates b { display: block; font-weight: 650; line-height: 1.3; }
.templates small { color: var(--muted); font-size: 0.86rem; line-height: 1.4; display: block; }
.templates .pdf { font-size: 0.75rem; font-weight: 700; color: var(--accent); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; }
.templates .star a { border-color: var(--accent); }
@media (max-width: 820px) {
  .book-hero .wrap { grid-template-columns: 1fr; }
  .book-hero .cover { max-width: 220px; }
  .two { grid-template-columns: 1fr; }
}
