
/* ========================================
   CHRIS SHY – DESIGN UND LAYOUT
   ======================================== */

:root {
  --color-paper: #f8f4ef;
  --color-white: #fffdf9;
  --color-ink: #292326;
  --color-muted: #75696d;

  --color-wine: #6b2d43;
  --color-wine-dark: #421f2b;
  --color-rose: #ead8dc;
  --color-border: #e5d9d6;

  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;

  --content-width: 1120px;
  --radius: 16px;
  --shadow: 0 12px 32px rgb(48 27 34 / 8%);
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-wine);
}

a:hover {
  color: var(--color-wine-dark);
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #b66b85;
  outline-offset: 4px;
}

::selection {
  background: var(--color-rose);
  color: var(--color-wine-dark);
}

/* ALLGEMEINE ELEMENTE */

.container {
  width: min(
    var(--content-width),
    calc(100% - 40px)
  );
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8vw, 110px);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--color-wine-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 6.5vw, 76px);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

p {
  margin-top: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  color: var(--color-muted);
}

/* SKIP LINK */

.skip-link {
  position: absolute;
  top: 10px;
  left: -9999px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--color-white);
}

.skip-link:focus {
  left: 10px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
  background: rgb(248 244 239 / 96%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  color: var(--color-wine-dark);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-dot {
  color: var(--color-wine);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-wine);
}

/* MOBILES MENÜ */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--color-wine-dark);
  transition: transform 0.2s ease;
}

/* BUTTONS */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 2px solid var(--color-wine);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button-primary {
  background: var(--color-wine);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-wine-dark);
  color: #fff;
}

.button-outline {
  background: transparent;
  color: var(--color-wine);
}

.button-outline:hover {
  background: var(--color-rose);
  color: var(--color-wine-dark);
}

.button-insta {
  flex-shrink: 0;
  border-color: var(--color-wine-dark);
  background: #260915;
  color: #fff;
}

.button-insta:hover {
  background: #320f1b;
  color: #fff;
}

.button-lb {
  flex-shrink: 0;
  border-color: var(--color-wine-dark);
  background: #fff;
  color: var(--color-wine-dark);
}

.button-lb:hover {
  background: var(--color-rose);
  color: var(--color-wine-dark);
}
.button-icon {
  margin-right: 5px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.news-panel > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
/* HERO */

.hero {
  overflow: hidden;
  padding-block: clamp(80px, 12vw, 150px);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(
      ellipse at 85% 20%,
      rgb(234 216 220 / 90%),
      transparent 40%
    ),
    linear-gradient(135deg, #f8f4ef, #f1e6e2);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-text {
  max-width: 580px;
  color: #57494e;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-decoration {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 1px solid rgb(107 45 67 / 15%);
  border-radius: 48% 48% 18px 18px;
  background: rgb(255 253 249 / 65%);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-initials {
  color: var(--color-wine);
  font-family: var(--font-heading);
  font-size: clamp(90px, 13vw, 150px);
  line-height: 1;
  letter-spacing: -0.08em;
}

.hero-caption {
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* BÜCHER */

.books-section {
  background: var(--color-paper);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.book-card {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.char-card {
  display: block;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
}
/* COVER */

.book-cover {
  display: flex;
  min-width: 0;
  aspect-ratio: 2 / 3;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}
.book-cover img {
  display: block;
  widht: 100%;
  height: auto;
  object-fit: contain;
}

.book-content {
  min-width: 0;
}

.book-volume {
  margin-bottom: 8px;
  color: var(--color-wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.book-meta {
  margin-bottom: 16px;
  color: var(--color-muted);
  font-size: 13px;
}

.book-description {
  color: #574e51;
  font-size: 14px;
  line-height: 1.7;
}

/* HÄNDLER-AUSWAHL */

.edition-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.edition {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
}

.edition summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: var(--color-wine-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.edition summary::-webkit-details-marker {
  display: none;
}

.edition summary::after {
  content: "+";
  color: var(--color-wine);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.edition[open] summary::after {
  content: "−";
}

.edition-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 14px;
}

.store-link {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-paper);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.store-link:hover {
  background: var(--color-rose);
}

/* ÜBER MICH */

.about-section {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.about-portrait {
  display: grid;
  min-height: 320px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--color-rose);
  color: var(--color-wine);
  font-family: var(--font-heading);
  font-size: clamp(80px, 10vw, 120px);
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p:not(.eyebrow) {
  color: #574e51;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* NEUIGKEITEN */

.news-section {
  background: var(--color-paper);
}

.news-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: clamp(28px, 5vw, 55px);
  border-radius: var(--radius);
  background: var(--color-wine-dark);
  color: #fff;
}

.news-panel .eyebrow {
  color: #e8cbd4;
}

.news-panel h2 {
  margin-bottom: 14px;
  color: #fff;
}

.news-panel p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 0;
  color: #f0e5e8;
}

/* KONTAKT */

.contact-section {
  background: var(--color-white);
}

.contact-section .section-heading {
  margin-bottom: 0;
}

/* FOOTER */

.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--color-border);
  background: #f0e8e3;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copyright {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  color: var(--color-ink);
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--color-wine);
}

/* TABLET */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 0.65fr;
    gap: 35px;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1fr);
  }

  .about-grid {
    gap: 40px;
  }
}

/* MOBIL */

@media (max-width: 680px) {
  html {
    scroll-padding-top: 85px;
  }

  .container {
    width: min(var(--content-width), calc(100% - 32px));
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 12px;
  }

  .brand {
    font-size: 27px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 4px;
    border-top: 1px solid var(--color-border);
  }

  .hero {
    padding-block: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-decoration {
    min-height: 190px;
    border-radius: var(--radius);
  }

  .hero-initials {
    font-size: 90px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .book-card {
    grid-template-columns: minmax(100px, 0.65fr) minmax(0, 1fr);
    gap: 16px;
    padding: 15px;
  }

  .cover-title {
    font-size: clamp(17px, 5vw, 25px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    min-height: 210px;
  }

  .news-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-panel .button {
    width: 100%;
  }
}

/* KLEINE SMARTPHONES */

@media (max-width: 380px) {
  .book-card {
    grid-template-columns: 1fr;
  }

  .book-cover {
    width: min(210px, 100%);
    margin-inline: auto;
  }
}

/* BEWEGUNG REDUZIEREN, WENN GEWÜNSCHT */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}