@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("fonts/frank-ruhl-libre-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --green: #749718;
  --lime: #afca0b;
  --ink: #2b2b2b;
  --muted: #666;
  --line: #d9d9d9;
  --paper: #fff;
  --soft: #f7f7f7;
  --serif: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--muted); background: var(--paper); font: 14px/1.8 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap, .wrap-wide { width: min(80%, 1080px); margin-inline: auto; }
.visually-hidden, .brand { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 10px 14px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid #eee; }
.nav { min-height: 72px; display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.menu { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.menu a { text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; color: #555; }
.menu a:hover, .menu a:focus, .menu a.active { color: var(--green); }
.menu-button { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: #fff; color: var(--green); cursor: pointer; }
.menu-icon { display: block; width: 24px; height: 18px; background: linear-gradient(to bottom, currentColor 0 2px, transparent 2px 8px, currentColor 8px 10px, transparent 10px 16px, currentColor 16px 18px); }

.hero { width: 90%; min-height: 884px; margin: 24px auto 0; background-image: radial-gradient(circle at top left, #f8f8f8 40%, rgba(255,255,255,0) 100%), url("images/pilzbuch_titel.jpg"); background-position: center; background-size: cover; }
.hero-inner { position: relative; width: min(80%, 1080px); min-height: 884px; margin-inline: auto; padding: 6vw 0 70px; }
h1, h2 { color: var(--ink); font-family: var(--serif); font-weight: 700; }
.hero h1 { max-width: 949px; margin: 0 -64px 40px 0; font-size: 70px; font-weight: 500; line-height: 1.4; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5.5%; width: min(75%, 760px); }
.features h2 { min-height: 60px; margin: 0 0 20px; font-family: var(--sans); font-size: 12px; line-height: 1.8; letter-spacing: 2px; text-transform: uppercase; }
.features p { margin: 0; line-height: 1.8; }
.button { display: inline-block; margin-top: 30px; padding: 16px 60px; border: 0; border-radius: 0; box-shadow: -10px 0 0 var(--lime); background: var(--green); color: #fff; font: 700 18px/1.5 var(--serif); letter-spacing: 4px; text-decoration: none; cursor: pointer; }
.button:hover, .button:focus { background: #647f17; }
.book-facts { position: absolute; right: -70px; bottom: 0; width: 290px; padding: 30px 40px; background: rgba(255,255,255,.82); color: #555; font-size: 14px; line-height: 2; }
.book-facts strong { text-transform: uppercase; letter-spacing: 1px; }

.about { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(420px, 2.35fr); width: 90%; margin-inline: auto; background: var(--soft); }
.about-image { min-height: 760px; background: url("images/fliegenpilz.jpg") center center/cover no-repeat; }
.about-copy { max-width: 820px; padding: 6vw 10vw 12vw 5vw; }
.about-copy h2, .order h2 { margin: 0 0 20px; font-size: 48px; line-height: 1.4; }
.about-copy p { margin: 0 0 20px; font-size: 16px; line-height: 1.8; }
.rule { display: block; width: 100px; margin: 30px 0 40px; border-top: 2px solid #979797; }

.gallery { width: 90%; padding: 55px 0; }
.slider { position: relative; border: 8px solid var(--green); padding: 42px 58px; background: #fff; overflow: hidden; }
.slides { position: relative; aspect-ratio: 1282 / 600; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s ease; }
.slide.active { opacity: 1; }
.slider-controls { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d4d4d4; cursor: pointer; }
.dot.active { background: var(--green); }

.order { width: 90%; padding: 55px 5% 70px; background: var(--soft); }
.order-intro { max-width: 420px; }
.order-intro p { max-width: 360px; font-size: 16px; }
.order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; margin-top: 30px; }
.order-form label { color: #777; }
.order-form input, .order-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; background: transparent; color: #222; font: inherit; outline: 0; }
.order-form input:focus, .order-form textarea:focus { border-color: var(--green); }
.order-form textarea { resize: vertical; }
.order-form .full { grid-column: 1 / -1; }
.submit { justify-self: end; grid-column: 2; margin-top: 0; }

.site-footer { padding: 15px 0; background: var(--green); color: #111; }
.site-footer a { font-weight: 700; text-decoration: none; }

.legal-main { min-height: calc(100vh - 125px); padding: 70px 0 90px; }
.legal-main article { width: min(80%, 900px); margin: 0 auto; }
.legal-main h1 { margin: 0 0 36px; font-size: clamp(38px, 5vw, 58px); line-height: 1.2; }
.legal-main h4 { margin: 40px 0 18px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.legal-main p { margin: 0 0 18px; }
.legal-main ul { padding-left: 24px; }
.legal-main .textItem > div { line-height: 1.7; }

@media (max-width: 980px) {
  .nav { min-height: 62px; justify-content: flex-end; }
  .menu-button { display: block; }
  .menu { display: none; position: absolute; top: 62px; left: 0; right: 0; padding: 10px 10% 18px; background: #fff; border-top: 3px solid var(--green); box-shadow: 0 8px 18px rgba(0,0,0,.08); flex-direction: column; gap: 4px; }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 9px 0; }
  .hero { width: 100%; margin-top: 0; }
  .about, .gallery, .order { width: 100%; }
  .hero-inner { width: 80%; }
  .hero h1 { margin-right: 0; font-size: 50px; }
  .features { grid-template-columns: 1fr; gap: 0; width: 72%; }
  .features h2 { min-height: auto; margin: 24px 0 8px; }
  .book-facts { position: relative; right: auto; bottom: auto; width: min(100%, 370px); margin: 50px 0 0 auto; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 680px; background-position: center 35%; }
  .about-copy { max-width: none; padding: 60px 10% 80px; }
  .order { padding-inline: 10%; }
}

@media (max-width: 767px) {
  .hero { min-height: auto; background-position: 62% center; }
  .hero-inner { min-height: auto; padding: 45px 0 0; }
  .hero h1 { font-size: 32px; line-height: 1.4; }
  .features { width: 100%; }
  .button { padding: 14px 34px; }
  .book-facts { width: 100%; margin-top: 50px; padding: 28px 8%; }
  .about-image { min-height: 520px; }
  .about-copy { padding: 45px 10% 55px; }
  .about-copy h2, .order h2 { font-size: 28px; }
  .gallery { padding: 35px 20px; }
  .slider { padding: 18px 10px 12px; }
  .order { padding-inline: 10%; }
  .order-form { grid-template-columns: 1fr; }
  .order-form .full, .submit { grid-column: 1; }
  .submit { justify-self: stretch; text-align: center; }
  .legal-main article { width: 88%; }
}

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