/* Pressepaket buchkodex.de/presse: Ergänzungen zum Design der Startseite (startseite.css). */
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-v17-latin-normal-400-f273cf2c.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-v17-latin-ext-normal-400-dfea1d65.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-v17-latin-italic-400-94b0e8fc.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-v17-latin-ext-italic-400-43239001.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }

:root {
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --blau: #2340d8;
  --gruen-mag: #1f6b4a;
  --ochsenblut: #8a1c2b;
  --zeitungspapier: #fffdf9;
}

/* ---------- Kopfbereich: wechselnde Zielgruppe ---------- */
.held h1 .zeile { display: block; }
.held h1 .wechsel { display: inline-block; white-space: nowrap; transition: opacity 0.35s ease, transform 0.35s ease; }
.held h1 .wechsel.ist-weg { opacity: 0; transform: translateY(0.18em); }
@media (min-width: 900px) { .held h1 { font-size: clamp(2.6rem, 4.4vw, 3.7rem); } }

/* ---------- Magazin-Wortmarken ---------- */
.mast { display: inline-block; white-space: nowrap; line-height: 1; color: var(--tinte); }
.mast--uk { font-family: var(--serif); letter-spacing: -0.01em; }
.mast--mk { font-family: var(--schrift-kopf); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blau); }
.mast--sk { font-family: var(--serif); font-style: italic; color: var(--gruen-mag); }
.mast--ek { font-family: var(--schrift-kopf); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: var(--tinte); color: #fff; padding: 0.32em 0.5em; }
.mast--ak { font-family: var(--serif); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ochsenblut); }

/* ---------- Beitragsbeispiele im Kopfbereich ---------- */
.presseschau { max-width: 560px; }
.presseschau .buecherschau__fenster { aspect-ratio: 6 / 5; container-type: inline-size; }
.presseschau .buecherschau__dia { mix-blend-mode: normal; }
.presseschau .buecherschau__dia img { height: auto; }
@media (min-width: 900px) { .presseschau { max-width: 620px; width: 108%; margin: 0 -8% 0 0; } }
@media (min-width: 1240px) { .presseschau { max-width: 660px; width: 114%; margin: -12px -14% 0 0; } }

.bm-browser {
  position: absolute; left: 0; top: 2cqw; width: 84cqw; height: 74cqw; overflow: hidden;
  background: #fff; border-radius: 2.2cqw; border: 1px solid #e3ddd4;
  box-shadow: 0 2px 4px rgba(23, 25, 29, 0.05), 0 28px 60px rgba(23, 25, 29, 0.16);
}
.bm-browser::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12cqw; background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); }
.bm-leiste { display: flex; align-items: center; gap: 1cqw; height: 5.4cqw; padding: 0 2.4cqw; background: #f4f0ea; border-bottom: 1px solid #e8e1d9; }
.bm-leiste i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #d8d0c5; flex-shrink: 0; }
.bm-leiste span { margin-left: 1.6cqw; flex: 1; min-width: 0; font-size: 1.7cqw; line-height: 2.9cqw; color: var(--grau); background: #fff; border-radius: 1cqw; padding: 0 1.6cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-seite { padding: 0 4.4cqw; }
.bm-kopf { text-align: center; padding: 2.8cqw 0 1.8cqw; border-bottom: 0.45cqw double var(--tinte); }
.bm-kopf .mast { font-size: 4.3cqw; }
.bm-kopf .mast--mk, .bm-kopf .mast--ek { font-size: 2.6cqw; }
.bm-kopf .mast--ak { font-size: 3.2cqw; }
.bm-menue { display: flex; justify-content: center; gap: 3cqw; padding: 1.3cqw 0; font-size: 1.6cqw; color: var(--grau); border-bottom: 1px solid #ece6dd; }
.bm-artikel { padding-top: 2.6cqw; }
.bm-meta { display: flex; justify-content: space-between; align-items: center; margin: 0 0 1.4cqw; font-size: 1.6cqw; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rot-dunkel); }
.bm-anzeige { font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--grau); border: 1px solid #cfc7bc; border-radius: 0.6cqw; padding: 0.2cqw 0.9cqw; }
.bm-titel { font-family: var(--serif); font-size: 3.5cqw; line-height: 1.16; letter-spacing: -0.005em; color: var(--tinte); margin: 0 0 2.2cqw; }
.bm-bild { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 0.6cqw; margin-bottom: 2cqw; }
.bm-text { font-size: 1.85cqw; line-height: 1.55; color: var(--tinte-3); margin: 0; }

.bm-telefon {
  position: absolute; right: 0; bottom: 0.5cqw; width: 33cqw; height: 64cqw; overflow: hidden;
  background: #fff; border: 1.3cqw solid #17191d; border-radius: 5.4cqw;
  box-shadow: 0 30px 60px rgba(23, 25, 29, 0.28);
}
.bm-telefon::before { content: ""; position: absolute; top: 1.2cqw; left: 50%; width: 9cqw; height: 2.4cqw; margin-left: -4.5cqw; border-radius: 2cqw; background: #17191d; z-index: 2; }
.bm-telefon__kopf { padding: 5.2cqw 2cqw 1.6cqw; text-align: center; border-bottom: 0.35cqw double var(--tinte); }
.bm-telefon__kopf .mast { font-size: 2.7cqw; }
.bm-telefon__kopf .mast--mk, .bm-telefon__kopf .mast--ek { font-size: 1.75cqw; }
.bm-telefon__kopf .mast--ak { font-size: 2cqw; }
.bm-telefon__bild { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.bm-telefon__text { padding: 2cqw 2.4cqw; }
.bm-telefon .bm-meta { font-size: 1.25cqw; margin-bottom: 1cqw; }
.bm-telefon .bm-titel { font-size: 2.45cqw; margin: 0; }

.bm-hinweis {
  position: absolute; left: 3cqw; bottom: 4cqw; z-index: 3;
  display: inline-flex; align-items: center; gap: 1.6cqw;
  background: #fff; border-radius: 999px; padding: 1.6cqw 3cqw 1.6cqw 1.8cqw;
  box-shadow: 0 12px 30px rgba(23, 25, 29, 0.18);
  font-family: var(--schrift-kopf); font-weight: 600; font-size: 2.35cqw; color: var(--tinte); white-space: nowrap;
}
.bm-hinweis__haken { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--gruen); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bm-hinweis__haken svg { width: 2.6cqw; height: 2.6cqw; }
.bm-hinweis small { display: block; font-family: var(--schrift); font-weight: 500; font-size: 1.85cqw; color: var(--grau); }

/* ---------- Vorteilsleiste unter dem Kopfbereich ---------- */
.vorteile { background: #fff; border-bottom: 1px solid var(--linie); padding: 22px 0; }
.vorteile__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.vorteile__liste li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--tinte-2); }
.vorteile__liste svg { width: 22px; height: 22px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: var(--rot-zart); color: var(--rot-dunkel); }
@media (min-width: 900px) { .vorteile { padding: 26px 0; } .vorteile__liste { grid-template-columns: repeat(4, auto); justify-content: space-between; } .vorteile__liste li { font-size: 15.5px; } }

/* ---------- Vorschau-Studio (Mockup zum Ausprobieren) ---------- */
.studio {
  max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius-gross); box-shadow: var(--schatten-gross); overflow: hidden;
}
.studio__leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-bottom: 1px solid var(--linie); background: var(--papier-2); }
.studio__leiste img { height: 14px; width: auto; }
.studio__projekt { font-weight: 600; font-size: 14.5px; color: var(--tinte-2); }
.studio__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gruen); background: #e4f3ea; border-radius: 999px; padding: 4px 10px; }
.studio__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); }
.studio__weiter { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--rot); color: #fff; font-family: var(--schrift-kopf); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.studio__weiter:hover { background: var(--rot-dunkel); color: #fff; }
.studio__raster { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .studio__raster { grid-template-columns: 300px minmax(0, 1fr); } }

.studio__magazine { list-style: none; margin: 0; padding: 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 70%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-bottom: 1px solid var(--linie); background: var(--papier-2); }
@media (min-width: 900px) { .studio__magazine { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 16px; border-bottom: 0; border-right: 1px solid var(--linie); align-content: start; } }
.studio__magazine button {
  width: 100%; text-align: left; display: grid; gap: 8px; padding: 14px 14px 12px; cursor: pointer; scroll-snap-align: start;
  background: #fff; border: 1.5px solid var(--linie); border-radius: 14px; font: inherit; color: var(--tinte); transition: border-color 0.2s, box-shadow 0.2s;
}
.studio__magazine button:hover { border-color: #d4cbc0; }
.studio__magazine button[aria-selected="true"] { border-color: var(--tinte); box-shadow: 0 6px 18px rgba(23, 25, 29, 0.08); }
.studio__magazine .mast { font-size: 19px; justify-self: start; }
.studio__magazine .mast--mk, .studio__magazine .mast--ek { font-size: 11.5px; }
.studio__magazine .mast--ak { font-size: 14px; }
.studio__zeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--grau); }
.studio__fertig { display: inline-flex; align-items: center; gap: 4px; color: var(--gruen); font-weight: 600; }
.studio__fertig svg { width: 14px; height: 14px; }

.studio__buehne { padding: 18px; background: #f4f0ea; }
@media (min-width: 900px) { .studio__buehne { padding: 28px 32px; } }
.studio__browser { background: #fff; border-radius: 14px; border: 1px solid #e3ddd4; overflow: hidden; box-shadow: 0 10px 30px rgba(23, 25, 29, 0.08); }
.studio__url { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f9f6f1; border-bottom: 1px solid #ece6dd; }
.studio__url i { width: 8px; height: 8px; border-radius: 50%; background: #d8d0c5; }
.studio__url span { margin-left: 8px; font-size: 12.5px; color: var(--grau); background: #fff; border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.studio__seite { padding: 0 22px 24px; }
@media (min-width: 900px) { .studio__seite { padding: 0 40px 32px; } }
.studio__kopf { text-align: center; padding: 18px 0 12px; border-bottom: 3px double var(--tinte); }
.studio__kopf .mast { font-size: 30px; }
.studio__kopf .mast--mk, .studio__kopf .mast--ek { font-size: 17px; }
.studio__kopf .mast--ak { font-size: 22px; }
.studio__artikel { display: grid; gap: 18px; padding-top: 20px; }
@media (min-width: 720px) { .studio__artikel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: start; } }
.studio__artikel .bm-meta { font-size: 12px; margin-bottom: 10px; }
.studio__titel { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.15; margin: 0 0 12px; color: var(--tinte); transition: opacity 0.25s ease; }
.studio__vorspann { font-size: 0.98em; color: var(--tinte-3); margin: 0; transition: opacity 0.25s ease; }
.studio__autor { margin-top: 12px; font-size: 13px; color: var(--grau); }
.studio__figur { margin: 0; position: relative; }
.studio__figur img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: opacity 0.25s ease; }
.studio__figur figcaption { margin-top: 6px; font-size: 12px; color: var(--grau-2); }
.studio .ist-neu { animation: aufblitzen 0.6s ease; }
@keyframes aufblitzen { from { opacity: 0.2; } to { opacity: 1; } }

.studio__werkzeuge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.studio__werkzeuge > span { font-size: 13.5px; font-weight: 600; color: var(--tinte-3); margin-right: 4px; }
.studio__werkzeuge button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; cursor: pointer;
  background: #fff; border: 1.5px solid #d9d1c6; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--tinte-2);
  transition: border-color 0.2s, background 0.2s;
}
.studio__werkzeuge button:hover { border-color: var(--tinte-2); }
.studio__werkzeuge button svg { width: 16px; height: 16px; color: var(--rot); }
.studio__notiz { margin: 10px 0 0; font-size: 13px; color: var(--grau); }

.merkmale { list-style: none; margin: 40px auto 0; padding: 0; max-width: 1080px; display: grid; gap: 18px; }
@media (min-width: 720px) { .merkmale { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .merkmale { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.merkmale li { padding: 4px 0 4px 18px; border-left: 3px solid var(--rot); }
.merkmale h3 { font-size: 1.05em; margin-bottom: 6px; }
.merkmale p { color: var(--grau); font-size: 0.95em; margin: 0; }

/* ---------- Magazine ---------- */
.magazine { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .magazine { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .magazine { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.magazin { background: var(--zeitungspapier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.magazin__kopf { min-height: 34px; display: flex; align-items: center; border-bottom: 3px double var(--tinte); padding-bottom: 12px; }
.magazin .mast--uk, .magazin .mast--sk { font-size: 22px; }
.magazin .mast--mk, .magazin .mast--ek { font-size: 12.5px; }
.magazin .mast--ak { font-size: 16px; }
.magazin p { margin: 0; color: var(--grau); font-size: 0.93em; }
.magazin__format { margin-top: auto !important; font-size: 13px !important; font-weight: 600; color: var(--tinte-2) !important; }
.magazine__notiz { text-align: center; margin: 22px auto 0; max-width: 640px; font-size: 14px; color: var(--grau); }

/* ---------- Preis: kleinere Pakete ---------- */
.preis__mehr { max-width: 1040px; margin: 22px auto 0; text-align: center; color: var(--tinte-3); font-size: 0.97em; }
.preis__mehr strong { color: var(--tinte); }
.preis__klein { display: block; margin-top: 6px; font-size: 13.5px; color: var(--grau); }

/* ---------- Abschluss und Dankeseite ---------- */
.abschluss .startformular__hinweis { color: rgba(255, 255, 255, 0.72); text-align: center; }
.abschluss .startformular__hinweis strong { color: #fff; }
.danke-held { padding: 64px 0 96px; }
.danke-held h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 18px; }
.danke-held .held__unterzeile { margin-bottom: 18px; }
.danke-karte { margin-top: 30px; max-width: 620px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 26px 24px; box-shadow: var(--schatten); }
.danke-karte h2 { font-size: 1.25em; margin-bottom: 10px; }
.danke-karte p { color: var(--grau); }
.danke-karte .knopf { margin-top: 18px; }
@media (min-width: 1000px) {
  .magazin { padding: 20px 16px 18px; }
  .magazin .mast--uk { font-size: 17.5px; }
  .magazin .mast--sk { font-size: 20px; }
  .magazin .mast--mk { font-size: 11px; letter-spacing: 0.1em; }
  .magazin .mast--ak { font-size: 14px; }
}
.bm-browser .bm-meta, .bm-browser .bm-titel { margin-right: 15cqw; }

/* ---------- Magazin-Logos (Bilddateien) ---------- */
.logo { display: block; width: auto; max-width: 100%; object-fit: contain; }
.presseschau .bm-kopf .logo { height: 4.4cqw; margin: 0 auto; }
.presseschau .bm-kopf .logo--ek, .presseschau .bm-kopf .logo--ak { height: 5cqw; }
.presseschau .bm-telefon__kopf .logo { height: 2.7cqw; margin: 0 auto; }
.presseschau .bm-telefon__kopf .logo--ek, .presseschau .bm-telefon__kopf .logo--ak { height: 3.3cqw; }
.studio__magazine .logo { height: 21px; justify-self: start; object-position: left center; }
.studio__magazine .logo--ek, .studio__magazine .logo--ak { height: 25px; }
.studio__kopf .logo { height: 34px; margin: 0 auto; }
.studio__kopf .logo--ek, .studio__kopf .logo--ak { height: 40px; }
.magazin__kopf { min-height: 52px; }
.magazin__logo, .magazin .logo { height: 26px; object-position: left center; }
.magazin .logo--ek, .magazin .logo--ak { height: 32px; }
@media (min-width: 1000px) { .magazin .logo { height: 22px; } .magazin .logo--ek, .magazin .logo--ak { height: 28px; } }
/* Magazin-Liste: große Logos, drei pro Reihe, zweite Reihe mittig */
.magazine { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; max-width: 1060px; }
.magazin { flex: 1 1 100%; padding: 26px 24px 22px; gap: 14px; }
@media (min-width: 640px) { .magazin { flex: 0 1 calc((100% - 18px) / 2); } }
@media (min-width: 1000px) { .magazin { flex: 0 1 calc((100% - 36px) / 3); padding: 30px 28px 24px; } }
.magazin__kopf { min-height: 64px; border-bottom: 1px solid var(--linie); padding-bottom: 16px; align-items: center; }
.magazin .logo, .magazin .logo--uk, .magazin .logo--mk, .magazin .logo--sk { height: 30px; }
.magazin .logo--ek, .magazin .logo--ak { height: 38px; }
@media (min-width: 1000px) { .magazin .logo, .magazin .logo--uk, .magazin .logo--mk, .magazin .logo--sk { height: 32px; } .magazin .logo--ek, .magazin .logo--ak { height: 40px; } }
.kopf__anmelden { white-space: nowrap; }
@media (max-width: 420px) { .kopf__logo img { height: 15px; } .kopf__anmelden { font-size: 13.5px; } .kopf__innen { gap: 10px; } }
/* Größen für die neuen Logos (Das Kontor, Handschlag, Gründerzeit, Denkanstoß, Erstausgabe) */
.presseschau .bm-kopf .logo--uk, .presseschau .bm-kopf .logo--ek, .presseschau .bm-kopf .logo--ak { height: 5.6cqw; }
.presseschau .bm-kopf .logo--mk { height: 4.8cqw; }
.presseschau .bm-telefon__kopf .logo--uk, .presseschau .bm-telefon__kopf .logo--ek, .presseschau .bm-telefon__kopf .logo--ak { height: 3.6cqw; }
.presseschau .bm-telefon__kopf .logo--mk { height: 3.1cqw; }
.studio__magazine .logo--uk, .studio__magazine .logo--ek, .studio__magazine .logo--ak { height: 27px; }
.studio__magazine .logo--mk { height: 24px; }
.studio__kopf .logo--uk, .studio__kopf .logo--ek, .studio__kopf .logo--ak { height: 46px; }
.studio__kopf .logo--mk { height: 40px; }
.magazin .logo--uk, .magazin .logo--ek, .magazin .logo--ak { height: 42px; }
.magazin .logo--mk { height: 36px; }
.magazin .logo--sk { height: 32px; }

/* Branchen in Vorbereitung */
.branchen { max-width: 900px; margin: 34px auto 0; text-align: center; }
.branchen__titel { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grau-2); margin-bottom: 14px; }
.branchen__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.branchen__liste li { padding: 7px 14px; border-radius: 999px; border: 1px dashed #d4cbc0; background: #fff; font-size: 14px; font-weight: 500; color: var(--tinte-3); }
/* Wertschöpfer etwas größer, damit alle fünf Logos gleich stark wirken */
.magazin .logo--sk { height: 40px; }
.studio__magazine .logo--sk { height: 25px; }
.studio__kopf .logo--sk { height: 42px; }
.presseschau .bm-kopf .logo--sk { height: 5.4cqw; }
.presseschau .bm-telefon__kopf .logo--sk { height: 3.5cqw; }
