/* ============================================================================
   MV Verlag & Marketing – Stylesheet
   Farben & Schriften nach Vorgabe "WebsiteMV_verlag_FarbenSchriften.pdf"
   ========================================================================== */

/* ---------- 0. Schriften (lokal, kein Google Fonts) ----------------------- */
/* Roboto wird vom eigenen Server ausgeliefert – siehe assets/fonts/LIESMICH.txt */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Roboto"), local("Roboto-Regular"),
       url("../fonts/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Roboto Bold"), local("Roboto-Bold"),
       url("../fonts/Roboto-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("Roboto Italic"), local("Roboto-Italic"),
       url("../fonts/Roboto-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"),
       url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
}

/* ---------- 1. Design-Tokens ---------------------------------------------- */
:root {
  --blau:          #075e7e;   /* Primärfarbe Blau      R7 G94 B126   */
  --blau-tief:     #054b65;
  --blau-hell:     #0a7ba5;
  --gruen:         #89a643;   /* Sekundärfarbe Grün    R137 G166 B67 */
  --gruen-tief:    #6f8a33;
  --anthrazit:     #646363;   /* Textfarbe             R100 G99 B99  */
  --anthrazit-2:   #8b8a8a;
  --hintergrund:   #bce4fa;   /* Hintergrund Blau                    */
  --besucht:       #92a6ba;   /* Link besucht                        */
  --weiss:         #ffffff;
  --linie:         #e3e7ea;
  --linie-soft:    #f0f3f5;

  --ff: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --karte-innen: clamp(24px, 4.4vw, 64px);

  --r-s: 3px;
  --r-m: 6px;
  --r-l: 10px;

  --schatten-s: 0 1px 2px rgba(7, 44, 60, .10), 0 4px 14px rgba(7, 44, 60, .07);
  --schatten-m: 0 2px 6px rgba(7, 44, 60, .10), 0 14px 34px rgba(7, 44, 60, .13);
  --schatten-l: 0 10px 30px rgba(7, 44, 60, .16), 0 34px 70px rgba(7, 44, 60, .22);

  --kopf-h: 92px;
  --kopf-h-klein: 66px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & Basis ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-h-klein) + 16px);
  background: var(--hintergrund);
}

body {
  margin: 0;
  font-family: var(--ff);
  font-weight: 400;
  font-size: clamp(15.5px, .35vw + 15px, 17px);
  line-height: 1.68;
  color: var(--anthrazit);
  background: transparent;
  overflow-x: hidden;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menue-offen { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--blau);
  line-height: 1.22;
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}

h1, h2, .banner__claim, .knopf, .nav__link { hyphens: manual; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blau); text-decoration-color: rgba(7, 94, 126, .35); text-underline-offset: 3px; }
a:hover { color: var(--gruen-tief); }

:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 3px;
  border-radius: 2px;
}

.visuell-versteckt {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.sprung-link {
  position: fixed; top: 8px; left: 8px; z-index: 2000;
  transform: translateY(-160%);
  background: var(--gruen); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: var(--r-m); text-decoration: none;
  transition: transform .2s var(--ease);
}
.sprung-link:focus { transform: none; color: #fff; }

/* ---------- 3. Layout-Bausteine ------------------------------------------- */
.container {
  width: min(var(--breite), 100% - (var(--rand) * 2));
  margin-inline: auto;
}

.karte {
  background: var(--weiss);
  padding: var(--karte-innen);
  box-shadow: var(--schatten-m);
}

.karte + .karte { margin-top: 4px; }

.abschnitt + .abschnitt { margin-top: clamp(48px, 6vw, 84px); }

/* Innenraster für Text/Bild-Blöcke (Vorlage "Unterseite Verlag") */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.duo.duo--text-links > *:first-child { order: 0; }
@media (max-width: 780px) {
  .duo { grid-template-columns: 1fr; gap: 28px; }
  .duo > .duo__bild { order: -1; }
}

.bildrahmen {
  position: relative;
  overflow: hidden;
  background: var(--linie-soft);
  box-shadow: var(--schatten-s);
}
.bildrahmen img { width: 100%; object-fit: cover; }
.bildrahmen figcaption {
  position: absolute; inset: auto auto 0 0;
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: rgba(0, 0, 0, .45);
  padding: 4px 9px;
}

/* ---------- 4. Kopfbereich ------------------------------------------------ */
.kopf {
  position: sticky; top: 0; z-index: 900;
  background: var(--blau);
  color: #fff;
  transition: box-shadow .3s var(--ease);
}
.kopf.ist-geschrumpft { box-shadow: 0 6px 26px rgba(4, 40, 54, .35); }

.kopf__innen {
  width: min(var(--breite), 100% - (var(--rand) * 2));
  margin-inline: auto;
  min-height: var(--kopf-h);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
  transition: min-height .3s var(--ease);
}
.kopf.ist-geschrumpft .kopf__innen { min-height: var(--kopf-h-klein); }

.kopf__marke { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); text-decoration: none; }
.kopf__logo { width: clamp(118px, 12vw, 168px); transition: width .3s var(--ease); }
.kopf.ist-geschrumpft .kopf__logo { width: clamp(104px, 9vw, 128px); }

.kopf__dachmarke {
  display: flex; flex-direction: column; gap: 3px;
  padding-left: clamp(12px, 1.6vw, 24px);
  border-left: 1px solid rgba(255, 255, 255, .45);
  font-size: 11px; line-height: 1.25; color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.kopf__dachmarke:hover { color: #fff; }
.kopf__dachmarke img { width: 116px; }
.kopf__dachmarke b { font-weight: 700; letter-spacing: .01em; }

/* Navigation Desktop */
.nav { margin-left: auto; }
.nav__liste {
  list-style: none; display: flex; align-items: center;
  gap: clamp(14px, 2.1vw, 34px); margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  display: inline-block; padding: 6px 0;
  color: #fff; font-weight: 700; font-size: clamp(14px, .9vw, 17px);
  text-decoration: none; white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gruen);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: rgba(255, 255, 255, .45); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: rgba(255, 255, 255, .35); }

/* Burger */
.nur-mobil { display: none; }

.burger {
  display: none; position: relative; z-index: 3; margin-left: auto;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--r-m); color: #fff; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; position: absolute;
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span { position: relative; margin: 0 auto; }
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .kopf__dachmarke { display: none; }
  .burger { display: block; }
  .nur-mobil { display: block; }
  .nav {
    position: fixed; z-index: 1; inset: 0 0 0 auto;
    width: min(380px, 86vw);
    background: var(--blau-tief);
    padding: calc(var(--kopf-h-klein) + 32px) 32px 40px;
    transform: translateX(102%);
    transition: transform .42s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
    overflow-y: auto;
  }
  .nav.ist-offen { transform: none; }
  .nav__liste { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav__liste li { width: 100%; opacity: 0; transform: translateX(22px); }
  .nav.ist-offen .nav__liste li { animation: nav-ein .45s var(--ease) forwards; }
  .nav.ist-offen .nav__liste li:nth-child(1) { animation-delay: .08s; }
  .nav.ist-offen .nav__liste li:nth-child(2) { animation-delay: .14s; }
  .nav.ist-offen .nav__liste li:nth-child(3) { animation-delay: .20s; }
  .nav.ist-offen .nav__liste li:nth-child(4) { animation-delay: .26s; }
  .nav.ist-offen .nav__liste li:nth-child(5) { animation-delay: .32s; }
  .nav__link {
    display: block; width: 100%; font-size: 21px; padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .nav__link::after { display: none; }
  .nav__dachmarke-mobil { display: block; margin-top: 28px; }
}
@keyframes nav-ein { to { opacity: 1; transform: none; } }

.nav__dachmarke-mobil { display: none; color: rgba(255, 255, 255, .8); font-size: 13px; text-decoration: none; }
.nav__dachmarke-mobil img { width: 130px; margin-bottom: 8px; }
@media (max-width: 940px) { .nav__dachmarke-mobil { display: block; margin-top: 28px; } }

.nav-schleier {
  position: fixed; inset: 0; z-index: 890;
  background: rgba(4, 40, 54, .55);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.nav-schleier.ist-sichtbar { opacity: 1; pointer-events: auto; }

/* ---------- 5. Banner / Slider -------------------------------------------- */
.banner {
  position: relative;
  height: clamp(300px, 33vw, 470px);
  overflow: hidden;
  background: var(--blau);
  isolation: isolate;
}

.banner--klein { height: clamp(210px, 23vw, 320px); }

.banner__folie {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.banner__folie.ist-aktiv { opacity: 1; visibility: visible; }

.banner__bild {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: transform 9s linear;
}
.banner__folie.ist-aktiv .banner__bild { transform: scale(1); }

.banner__folie::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 45, 61, .55) 0%, rgba(4, 45, 61, .28) 42%, rgba(4, 45, 61, 0) 72%);
}

.banner__inhalt {
  position: relative; z-index: 2;
  width: min(var(--breite), 100% - (var(--rand) * 2));
  margin-inline: auto; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 14px;
  padding-block: 24px;
}
.banner__folie.ist-aktiv .banner__zeile { animation: folie-ein .8s var(--ease) both; }
.banner__folie.ist-aktiv .banner__zeile:nth-child(2) { animation-delay: .1s; }
.banner__folie.ist-aktiv .banner__zeile:nth-child(3) { animation-delay: .2s; }
.banner__folie.ist-aktiv .banner__zeile:nth-child(4) { animation-delay: .3s; }
@keyframes folie-ein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.banner__claim {
  color: #fff; font-weight: 700;
  font-size: clamp(28px, 4.1vw, 56px);
  line-height: 1.1; margin: 0;
  text-shadow: 0 2px 24px rgba(3, 33, 45, .45);
  max-width: 30ch;
  text-wrap: balance;
}
.banner__claim .gedimmt { color: rgba(255, 255, 255, .62); }

.banner__label {
  display: inline-flex; align-items: center; gap: 9px;
  align-self: flex-start;
  background: var(--gruen); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px;
}
.banner__label--aktion { background: #c8552e; }

.banner__text {
  color: rgba(255, 255, 255, .92); max-width: 46ch; margin: 0;
  font-size: clamp(15px, 1.1vw, 18px);
  text-shadow: 0 1px 14px rgba(3, 33, 45, .5);
}

.banner__cover {
  position: absolute; right: 4%; bottom: -6%; z-index: 2;
  width: clamp(120px, 15vw, 210px);
  box-shadow: var(--schatten-l);
  transform: rotate(-3deg);
  transition: transform .6s var(--ease);
}
.banner__folie.ist-aktiv .banner__cover { animation: cover-ein 1s var(--ease) both .15s; }
@keyframes cover-ein { from { opacity: 0; transform: rotate(-3deg) translateY(40px); } to { opacity: 1; transform: rotate(-3deg); } }
@media (max-width: 760px) { .banner__cover { display: none; } }

/* Steuerung */
.banner__steuerung {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px;
  width: min(var(--breite), 100% - (var(--rand) * 2));
  margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
}
.banner__punkt {
  width: 34px; height: 4px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .38); border-radius: 100px;
  position: relative; overflow: hidden;
  transition: background .3s var(--ease);
}
.banner__punkt::after {
  content: ""; position: absolute; inset: 0; width: 0;
  background: #fff;
}
.banner__punkt[aria-current="true"]::after { width: 100%; transition: width var(--laufzeit, 7s) linear; }
.banner__punkt:hover { background: rgba(255, 255, 255, .6); }

.banner__pfeil {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4);
  color: #fff; border-radius: 50%; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.banner__pfeil:hover { background: rgba(255, 255, 255, .3); }
.banner__pfeil--zurueck { left: max(12px, calc((100vw - var(--breite)) / 2 - 60px)); }
.banner__pfeil--vor     { right: max(12px, calc((100vw - var(--breite)) / 2 - 60px)); }
@media (max-width: 760px) { .banner__pfeil { display: none; } }

.banner__pause {
  margin-left: auto;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%; color: #fff; cursor: pointer;
}

/* ---------- 6. Seitentitel-Band ------------------------------------------- */
.titelband {
  background: var(--blau);
  color: #fff;
  padding: clamp(16px, 2.2vw, 26px) 0;
  text-align: center;
}
.titelband h1 {
  color: #fff; margin: 0;
  font-size: clamp(19px, 2.2vw, 30px);
}
.titelband__gross {
  color: #fff; margin: 0; font-weight: 700; line-height: 1.25;
  font-size: clamp(19px, 2.2vw, 30px);
}
.titelband p {
  margin: 8px auto 0; max-width: 62ch;
  color: rgba(255, 255, 255, .78); font-size: 15px;
}

/* ---------- 7. Inhaltsbühne (Foto-Hintergrund) ---------------------------- */
.buehne {
  position: relative;
  padding-block: clamp(26px, 3.4vw, 48px) clamp(40px, 5vw, 80px);
}
/* Festes Hintergrundfoto – funktioniert auch auf iOS zuverlässig */
.buehne::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background: url("../img/strandhafer.jpg") center 35% / cover no-repeat;
}

/* ---------- 8. Buttons & Links -------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border: 2px solid transparent; border-radius: var(--r-m);
  cursor: pointer; text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .18s var(--ease), box-shadow .25s var(--ease);
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0); }

.knopf--gruen { background: var(--gruen); color: #fff; }
.knopf--gruen:hover { background: var(--gruen-tief); color: #fff; box-shadow: 0 8px 22px rgba(137, 166, 67, .38); }

.knopf--blau { background: var(--blau); color: #fff; }
.knopf--blau:hover { background: var(--blau-tief); color: #fff; box-shadow: 0 8px 22px rgba(7, 94, 126, .34); }

.knopf--rand { background: transparent; color: var(--blau); border-color: rgba(7, 94, 126, .35); }
.knopf--rand:hover { border-color: var(--blau); background: rgba(7, 94, 126, .06); color: var(--blau); }

.knopf--hell { background: #fff; color: var(--blau); }
.knopf--hell:hover { background: #fff; color: var(--blau-tief); box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }

/* "Weiterlesen …" – Roboto Bold 700 in Grün laut Vorgabe */
.weiterlesen {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gruen); font-weight: 700; text-decoration: none;
  font-size: 15px;
}
.weiterlesen::after {
  content: "›"; font-size: 20px; line-height: 1;
  transform: translateX(0); transition: transform .28s var(--ease);
}
.weiterlesen:hover { color: var(--gruen-tief); }
.weiterlesen:hover::after { transform: translateX(5px); }
.weiterlesen:visited { color: var(--besucht); }

/* ---------- 9. Buchkacheln ------------------------------------------------ */
.buchraster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}
.buchraster--zwei { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
@media (max-width: 520px) {
  .buchraster, .buchraster--zwei { grid-template-columns: 1fr; }
}

.buch {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--linie);
  padding: clamp(18px, 1.7vw, 26px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.buch:hover { transform: translateY(-5px); box-shadow: var(--schatten-m); border-color: transparent; }

.buch__coverfeld {
  display: block; margin: 0 auto clamp(16px, 1.6vw, 22px);
  width: min(210px, 74%);
}
.buch__cover {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--linie-soft);
  box-shadow: 0 2px 6px rgba(7, 44, 60, .14), 0 12px 26px rgba(7, 44, 60, .16);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.buch__cover img { width: 100%; height: 100%; object-fit: cover; }
/* Buchrücken-Anmutung */
.buch__cover::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .06) 55%, rgba(255, 255, 255, .16));
}
.buch__cover::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 42%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.buch:hover .buch__cover { transform: translateY(-3px) rotate(-1.1deg); box-shadow: var(--schatten-l); }
.buch:hover .buch__cover::after { opacity: 1; }

.buch__titel {
  font-size: clamp(16px, 1.05vw, 18px); margin: 0 0 .5em;
  color: var(--blau);
}
.buch__titel a { color: inherit; text-decoration: none; }
.buch__titel a:hover { color: var(--blau-hell); }
.buch__untertitel { font-weight: 400; color: var(--anthrazit); display: block; margin-top: .25em; font-size: .92em; }

.biblio {
  margin: 0 0 clamp(14px, 1.4vw, 20px);
  font-size: 14.5px; line-height: 1.62; color: var(--anthrazit);
}
.biblio div { display: flex; gap: 6px; }
.biblio dt { display: none; }
.biblio__wert { }

.buch__fuss { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

.marke-neu {
  position: absolute; top: 0; left: 0;
  background: var(--gruen); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px;
}
.marke-neu--aktion { background: #c8552e; }

/* Listenvariante (Vorlage "Unterseite Bücher") */
.buch > *, .buchzeile > *, .detail > *, .autor > *, .duo > * { min-width: 0; }
.buch__titel, .biblio, .detail h1, .autor h3 { overflow-wrap: break-word; }

.buchliste { display: grid; gap: clamp(20px, 2.4vw, 34px); }
.buchzeile {
  display: grid; grid-template-columns: minmax(140px, 210px) 1fr;
  gap: clamp(20px, 2.6vw, 40px);
  padding-bottom: clamp(20px, 2.4vw, 34px);
  border-bottom: 1px solid var(--linie);
}
.buchliste > .buchzeile:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 700px) {
  .buchzeile { grid-template-columns: 132px 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .buchzeile { grid-template-columns: 1fr; gap: 16px; }
  .buchzeile > .buch__cover { width: 138px; }
}

/* ---------- 10. Filterleiste ---------------------------------------------- */
.filter {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding-bottom: clamp(20px, 2.4vw, 30px);
  margin-bottom: clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--linie);
}
.suchfeld { position: relative; flex: 1 1 260px; }
.suchfeld input {
  width: 100%; font-family: var(--ff); font-size: 15px; color: var(--anthrazit);
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.suchfeld input:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(7, 94, 126, .14); }
.suchfeld svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--anthrazit-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--ff); font-size: 14px; font-weight: 700;
  padding: 9px 16px; border-radius: 100px; cursor: pointer;
  background: #fff; color: var(--blau); border: 1px solid var(--linie);
  transition: all .22s var(--ease);
}
.chip:hover { border-color: var(--blau); }
.chip[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: #fff; }

.treffer { width: 100%; font-size: 14px; color: var(--anthrazit-2); }

/* ---------- 11. Buchdetail ------------------------------------------------ */
.detail {
  display: grid; grid-template-columns: minmax(220px, 330px) 1fr;
  gap: clamp(26px, 3.6vw, 60px);
  align-items: start;
}
@media (max-width: 800px) { .detail { grid-template-columns: 1fr; } }

.detail__spalte { position: sticky; top: calc(var(--kopf-h-klein) + 20px); }
@media (max-width: 800px) { .detail__spalte { position: static; } }

.detail__cover {
  position: relative;
  box-shadow: var(--schatten-l);
  overflow: hidden;
}
.detail__cover::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .05) 60%, rgba(255, 255, 255, .18));
}
.detail__cover img { width: 100%; }

.detail__kurz { margin-top: 18px; text-align: center; }
.detail__preis { font-size: 22px; font-weight: 700; color: var(--blau); margin: 0 0 14px; }
.marke-klein {
  display: inline-block; margin-bottom: 10px;
  background: var(--gruen); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px;
}
.marke-klein--aktion { background: #c8552e; }

.detail h1 { font-size: clamp(21px, 2.4vw, 32px); }
.detail__untertitel { font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; color: var(--anthrazit); margin: -.3em 0 1.1em; }

.datenblatt {
  margin: 0 0 clamp(22px, 2.6vw, 32px);
  display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px;
  font-size: 15px;
  padding: clamp(16px, 1.8vw, 22px);
  background: var(--linie-soft);
  border-left: 3px solid var(--gruen);
}
.datenblatt dt { color: var(--anthrazit-2); font-size: 13.5px; letter-spacing: .02em; padding-top: 2px; }
.datenblatt dd { margin: 0; color: var(--anthrazit); }
.datenblatt .preis { font-weight: 700; color: var(--blau); font-size: 17px; }
@media (max-width: 480px) { .datenblatt { grid-template-columns: 1fr; gap: 2px 0; } .datenblatt dd { margin-bottom: 10px; } }

.isbn-kopieren {
  background: none; border: 0; cursor: pointer; padding: 2px 6px; margin-left: 4px;
  color: var(--anthrazit-2); font-family: var(--ff); font-size: 12px;
  border-radius: var(--r-s);
}
.isbn-kopieren:hover { color: var(--blau); background: rgba(7, 94, 126, .08); }

/* Bestellblock */
.bestellen {
  margin-top: clamp(26px, 3vw, 40px);
  padding: clamp(20px, 2.4vw, 30px);
  background: linear-gradient(180deg, #fff, #f7faf2);
  border: 1px solid #e2ead0;
  border-top: 3px solid var(--gruen);
}
.bestellen h2 { font-size: 18px; margin-bottom: .35em; }
.bestellen p { font-size: 15px; margin-bottom: 1em; }
.bestellen__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.bestellen__hinweis { font-size: 13px; color: var(--anthrazit-2); margin-top: 14px; }

/* ---------- 12. Dialog (Bestell-Assistent) -------------------------------- */
.dialog {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(4, 40, 54, .62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.dialog.ist-offen { opacity: 1; visibility: visible; }
.dialog__box {
  width: min(620px, 100%);
  max-height: min(88vh, 860px); overflow-y: auto;
  background: #fff; box-shadow: var(--schatten-l);
  transform: translateY(24px) scale(.98);
  transition: transform .35s var(--ease);
}
.dialog.ist-offen .dialog__box { transform: none; }
.dialog__kopf {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--blau); color: #fff;
  padding: 20px clamp(20px, 3vw, 32px);
}
.dialog__kopf h2 { color: #fff; font-size: 19px; margin: 0; }
.dialog__kopf p { margin: 4px 0 0; font-size: 14px; color: rgba(255, 255, 255, .8); }
.dialog__zu {
  margin-left: auto; flex: none;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%;
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.dialog__zu:hover { background: rgba(255, 255, 255, .26); }
.dialog__inhalt { padding: clamp(20px, 3vw, 32px); }

.feld { margin-bottom: 16px; }
.feld label { display: block; font-size: 14px; font-weight: 700; color: var(--blau); margin-bottom: 6px; }
.feld input, .feld textarea, .feld select {
  width: 100%; font-family: var(--ff); font-size: 15.5px; color: var(--anthrazit);
  padding: 11px 14px; border: 1px solid var(--linie); border-radius: var(--r-m);
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(7, 94, 126, .14);
}
.feld textarea { min-height: 96px; resize: vertical; }
.feld__hinweis { font-size: 13px; color: var(--anthrazit-2); margin-top: 5px; }
.feld--reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .feld--reihe { grid-template-columns: 1fr; } }

.pruefhinweis { color: #b03636; font-size: 13.5px; margin-top: 6px; display: none; }
.feld.ist-fehlerhaft input, .feld.ist-fehlerhaft textarea { border-color: #b03636; }
.feld.ist-fehlerhaft .pruefhinweis { display: block; }

.dsgvo {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--anthrazit);
  background: var(--linie-soft); padding: 14px; border-radius: var(--r-m);
  margin-bottom: 18px;
}
.dsgvo input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--gruen); }

.vorschau {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.6; white-space: pre-wrap;
  background: #f7f9fa; border: 1px dashed var(--linie);
  padding: 14px; max-height: 190px; overflow: auto; color: var(--anthrazit);
}

/* ---------- 13. Autoren --------------------------------------------------- */
.autorenraster {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}
.autor {
  display: grid; grid-template-columns: 118px 1fr; gap: 20px;
  align-items: start;
}
.autor__bild {
  aspect-ratio: 3 / 4; overflow: hidden; background: var(--linie-soft);
  box-shadow: var(--schatten-s);
}
.autor__bild img { width: 100%; height: 100%; object-fit: cover; }
.autor__platzhalter {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(160deg, #0a6d92, #075e7e); color: #fff;
  font-size: 30px; font-weight: 700; letter-spacing: .04em;
}
.autor h3 { font-size: 16.5px; margin-bottom: .35em; }
.autor p { font-size: 14.5px; margin-bottom: .7em; }

/* ---------- 14. Diverse Bausteine ----------------------------------------- */
.blockzitat {
  margin: clamp(24px, 3vw, 38px) 0;
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
  background: var(--linie-soft);
  border-left: 3px solid var(--blau);
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.62; color: var(--blau);
}
.blockzitat footer { margin-top: 10px; font-size: 14px; color: var(--anthrazit-2); }

.schlusswort { text-align: center; margin-top: clamp(30px, 4vw, 52px); }
.schlusswort strong { color: var(--blau); }

.merkmale { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.merkmale li { padding-top: 16px; border-top: 3px solid var(--gruen); font-size: 15px; }
.merkmale b { display: block; color: var(--blau); font-size: 16px; margin-bottom: 4px; }

.schritte { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 18px; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.schritte li::before {
  content: counter(s); width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--blau); color: #fff; border-radius: 50%; font-weight: 700;
}
.schritte b { display: block; color: var(--blau); }

.druckhaus-teaser {
  position: relative; overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 3vw, 40px);
  color: #fff; text-align: center;
  background: url("../img/druckhaus-farben.jpg") center/cover;
}
.druckhaus-teaser::before { content: ""; position: absolute; inset: 0; background: rgba(6, 60, 82, .5); }
.druckhaus-teaser > * { position: relative; z-index: 1; }
.druckhaus-teaser img { width: 190px; margin: 0 auto 18px; }
.druckhaus-teaser h3 { color: #fff; font-size: clamp(19px, 1.8vw, 25px); }
.druckhaus-teaser ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 16px; line-height: 1.9; font-weight: 700; }

/* Cover-Collage (Unterseite Verlag) */
.collage {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: end; gap: 0;
  padding: 10px 6px;
}
.collage img {
  width: 100%; box-shadow: var(--schatten-m);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.collage img:nth-child(1) { transform: rotate(-5deg) translateY(10px); z-index: 1; }
.collage img:nth-child(2) { transform: scale(1.14); z-index: 3; box-shadow: var(--schatten-l); }
.collage img:nth-child(3) { transform: rotate(5deg) translateY(10px); z-index: 2; }
.collage:hover img:nth-child(1) { transform: rotate(-9deg) translateY(4px) translateX(-6px); }
.collage:hover img:nth-child(3) { transform: rotate(9deg) translateY(4px) translateX(6px); }

/* Fließtext-Listen im Inhaltsbereich */
.karte ul:not(.merkmale):not(.nav__liste):not(.schritte),
.karte ol:not(.schritte) { margin: 0 0 1.15em; padding-left: 1.3em; }
.karte ul:not(.merkmale):not(.schritte) li,
.karte ol:not(.schritte) li { margin-bottom: .3em; }
.karte h2 { font-size: clamp(18px, 1.6vw, 23px); }
.karte h2 + p, .karte h3 + p { margin-top: -.15em; }

.aufruf {
  margin-top: 4px;
  background: var(--blau);
  color: #fff;
  padding: clamp(28px, 3.6vw, 52px) var(--karte-innen);
  text-align: center;
  box-shadow: var(--schatten-m);
}
.aufruf h2 { color: #fff; font-size: clamp(20px, 2.1vw, 28px); }
.aufruf p { color: rgba(255, 255, 255, .84); max-width: 60ch; margin-inline: auto; }
.aufruf .knopf { margin-top: 20px; }

.brotkrumen { font-size: 13.5px; color: var(--anthrazit-2); margin-bottom: clamp(18px, 2vw, 26px); }
.brotkrumen a { color: var(--anthrazit-2); text-decoration: none; }
.brotkrumen a:hover { color: var(--blau); text-decoration: underline; }
.brotkrumen span { margin: 0 7px; opacity: .6; }

.hinweisbox {
  border: 1px dashed #c9b268; background: #fdfaf0;
  padding: 14px 18px; font-size: 14px; color: #6d5a20; border-radius: var(--r-m);
}

/* ---------- 15. Fuß ------------------------------------------------------- */
.fuss { background: #fff; }
.fuss__innen {
  width: min(var(--breite), 100% - (var(--rand) * 2));
  margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(22px, 2.6vw, 30px) 0;
}
.fuss__claim { color: var(--blau); font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.25; margin: 0; }
.fuss__adresse { font-size: 14px; line-height: 1.62; margin: 0; }
.fuss__adresse b { color: var(--anthrazit); }
.fuss__adresse a { color: var(--anthrazit); }
.fuss__links { display: flex; gap: clamp(14px, 2vw, 32px); font-size: 14px; }
.fuss__links a { color: var(--anthrazit); text-decoration: none; }
.fuss__links a:hover { color: var(--blau); text-decoration: underline; }
@media (max-width: 860px) {
  .fuss__innen { grid-template-columns: 1fr; text-align: left; gap: 18px; }
}

.fuss__streifen {
  height: clamp(70px, 9vw, 120px);
  background: url("../img/strandhafer.jpg") center 62% / cover;
}
.fuss__recht {
  background: var(--hintergrund);
  text-align: center; font-size: 13px; color: #4e6b7a;
  padding: 12px 16px;
}

/* ---------- 16. Bewegung -------------------------------------------------- */
.zeigen { opacity: 0; transform: translateY(26px); }
.zeigen.ist-sichtbar { animation: auftauchen .75s var(--ease) forwards; }
@keyframes auftauchen { to { opacity: 1; transform: none; } }

.nach-oben {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--blau); color: #fff; border: 0; border-radius: 50%;
  box-shadow: var(--schatten-m); cursor: pointer;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
}
.nach-oben.ist-sichtbar { opacity: 1; transform: none; pointer-events: auto; }
.nach-oben:hover { background: var(--gruen); }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 1500;
  transform: translate(-50%, 20px);
  background: var(--blau); color: #fff; font-size: 14.5px; font-weight: 700;
  padding: 12px 22px; border-radius: 100px; box-shadow: var(--schatten-m);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.ist-sichtbar { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .zeigen { opacity: 1; transform: none; }
  .banner__bild { transform: none; }
}

/* ---------- 17. Druck ----------------------------------------------------- */
@media print {
  .kopf, .banner, .nav-schleier, .nach-oben, .bestellen__knoepfe, .filter, .fuss__streifen { display: none !important; }
  .buehne { background: none; padding: 0; }
  .karte { box-shadow: none; padding: 0; }
  body { color: #000; background: #fff; }
  .zeigen { opacity: 1 !important; transform: none !important; }
}
