/* Bausteine der Startseite und der Produktseiten (CV Studio, Fotostudio, Bewerbungshandbuch): Produktkacheln, Buchcover,
   Design-Fächer und -Galerie, Preiskarten, Kapitelkacheln, Blog-Teaser. Geladen von landing.html und den drei Produktseiten. */
/* Produktkacheln (Startseite): Titel und Text oben, Grafik in der Mitte, Preis unten. Ab 768 px gemeinsame Zeilen (subgrid), damit die Grafiken auf einer Linie liegen. */
.tool-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.tool-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(21,59,86,.06); transition: box-shadow .15s; }
.tool-card:hover { box-shadow: 0 12px 28px -10px rgba(21,59,86,.28); }
.tool-head { padding: 1.5rem 1.5rem 1.25rem; }
.tool-image { display: flex; align-items: center; justify-content: center; gap: .75rem; background: #f9fafb; border-block: 1px solid #f3f4f6; padding: 1.5rem; min-height: 16rem; }
.tool-foot { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .875rem; }
@media (min-width: 768px) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 17rem auto; column-gap: 1.5rem; row-gap: 0; }
  .tool-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .tool-image { min-height: 0; }
}

/* Buchcover des Bewerbungshandbuchs als eigenstaendige Grafik; Groesse ueber --hb (Schriftgroesse, alles in em). */
.hb-book { position: relative; font-size: var(--hb, 16px); width: 13.25em; height: 18.25em; flex: none; margin-inline: auto; border-radius: .2em .5em .5em .2em; color: #fff; padding: 1.6em 1.25em 1.1em 1.75em; display: flex; flex-direction: column; background: linear-gradient(160deg, #1F4C6C 0%, #153B56 55%, #0E2B40 100%); box-shadow: 1em 1.4em 1.9em rgba(20,30,40,.30); }
.hb-book::before { content: ""; position: absolute; left: .55em; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.08); }
.hb-book img { height: .75em; width: auto; align-self: flex-start; }
.hb-book-band { height: .25em; width: 2.9em; background: #059669; border-radius: 2px; margin: 1.4em 0 .9em; }
.hb-book-title { font: 700 1.45em/1.12 Georgia, "Times New Roman", serif; hyphens: manual; }
.hb-book-sub { font-size: .6875em; line-height: 1.35; color: rgba(255,255,255,.75); margin-top: .6em; }
.hb-book-meta { margin-top: auto; font-size: .625em; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.6); white-space: nowrap; }

/* Beitragskarte (src/blog.js postCard()): Blog-Uebersicht, "Weitere Beitraege", Startseite und Produktseiten. Kategorie, Titel, Textanriss, kein Datum. */
.section-bar::after { content: ""; display: block; width: 6rem; height: 4px; border-radius: 2px; background: #0098e4; margin-top: 1rem; }
.blog-teasers { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); align-items: stretch; margin-top: 2rem; }
.blog-teaser { display: flex; flex-direction: column; background: #fff; border-radius: 10px; padding: 1.5rem; text-decoration: none; color: inherit; min-width: 0; box-shadow: 0 10px 24px -10px rgba(21,59,86,.28), 0 2px 6px rgba(21,59,86,.06); transition: transform .15s, box-shadow .15s; }
.blog-teaser:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(21,59,86,.34), 0 2px 6px rgba(21,59,86,.08); }
.blog-teaser:focus-visible { outline: 2px solid #0f6fa4; outline-offset: 3px; }
.blog-teaser p.blog-kicker { margin: 0 0 .5rem; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #0f6fa4; }
.blog-teaser h2, .blog-teaser h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; color: #153b56; margin: 0 0 .75rem; }
.blog-teaser p { font-size: 15px; line-height: 24px; color: #4b5563; margin: 0; }
@media (prefers-reduced-motion: reduce) { .blog-teaser { transition: none; } .blog-teaser:hover { transform: none; } }

/* Preiskarte der Produktseiten: links Preis und Knopf, rechts, was enthalten ist. */
.price-card { display: grid; max-width: 56rem; margin-inline: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(21,59,86,.08); }
.price-card-main { padding: 2rem; background: #f0f9ff; display: flex; flex-direction: column; justify-content: center; gap: .25rem; }
.price-card-list { padding: 2rem; }
@media (min-width: 768px) { .price-card { grid-template-columns: 2fr 3fr; } }

/* Fächer aus drei Lebenslauf-Designs (wie auf der Startseite), Größe über --fan (Breite der Mittelkarte). */
.design-fan { position: relative; width: calc(var(--fan, 8rem) * 2.1); height: calc(var(--fan, 8rem) * 1.5); margin-inline: auto; }
.design-fan img { position: absolute; top: 50%; left: 50%; width: var(--fan, 8rem); height: auto; border-radius: 6px; border: 1px solid #e5e7eb; box-shadow: 0 6px 16px rgba(21,59,86,.2); }
.design-fan img:nth-child(1) { transform: translate(-96%, -50%) rotate(-6deg); }
.design-fan img:nth-child(2) { transform: translate(4%, -50%) rotate(6deg); }
.design-fan img:nth-child(3) { transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 10px 24px rgba(21,59,86,.28); }

/* CV Studio: Designs ansehen und Paket wählen in einem Abschnitt. Links die enthaltenen Designs, rechts die des Designpakets. */
.design-groups { display: grid; gap: 1rem; }
.design-group { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 1.25rem 1.5rem 1.5rem; min-width: 0; }
.design-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; margin-bottom: 1rem; }
.design-group-head strong { font-size: 1.0625rem; line-height: 1.3; font-weight: 800; color: #153b56; }
.design-group-head span { font-size: 14px; line-height: 20px; color: #4b5563; }
.design-row { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr)); }
.design-row img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid #d1d5db; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.14); }
@media (min-width: 768px) {
  .design-groups { grid-template-columns: 2fr 3fr; }
  .design-group-included .design-row { grid-template-columns: repeat(3, 1fr); }
  .design-group-pack .design-row { grid-template-columns: repeat(5, 1fr); }
}
.package-grid { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.package-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 1.75rem; min-width: 0; }
.package-card-best { border: 2px solid #0f6fa4; background: #f0f9ff; box-shadow: 0 14px 30px -14px rgba(15,111,164,.45); }
.package-flag { position: absolute; top: -.8rem; right: 1.5rem; font-size: 12px; line-height: 16px; font-weight: 700; padding: .25rem .75rem; border-radius: 999px; background: #0f6fa4; color: #fff; }
.package-card ul { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.package-buy { margin-top: auto; padding-top: 1.5rem; }
@media (min-width: 768px) { .package-grid { grid-template-columns: 1fr 1fr; } }

/* Kapitelkacheln des Handbuchs: Nummer, Titel, Inhalt; die letzte Kachel fasst den Umfang zusammen. */
.chapter-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.chapter-card { display: flex; flex-direction: column; gap: .5rem; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px; padding: 1.25rem 1.5rem; min-width: 0; }
.chapter-no { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: #153b56; color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.chapter-card h3 { font-size: 1.0625rem; line-height: 1.3; font-weight: 800; color: #153b56; margin: 0; }
.chapter-card p { font-size: 15px; line-height: 24px; color: #4b5563; margin: 0; }
.chapter-total { background: #153b56; border-color: #153b56; color: #fff; justify-content: center; }
.chapter-total dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem .75rem; }
.chapter-total dl > div { display: flex; flex-direction: column-reverse; }
.chapter-total dt { font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.chapter-total dd { margin: 0; white-space: nowrap; font-size: 1.625rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.chapter-total small { display: block; margin-top: .75rem; font-size: 13px; line-height: 18px; color: rgba(255,255,255,.75); }
