/* Gemeinsame Bausteine der Unterseiten (Formelseiten, Freischneiden, Rechtliches, Kontakt) im Stil der Startseite (dub.co / Dashboard).
   Nach site.css und ggf. formelseite.css einbinden. */

/* Seitenkopf mit Punktraster wie im Hero der Startseite */
.page-head { position: relative; isolation: isolate; padding: 28px 0 8px; }
.page-head::before { content: ""; position: absolute; z-index: -1; inset: -56px 0 -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect width='2' height='2' fill='rgba(229,229,229,.8)'/%3E%3C/svg%3E") 0 0 / 12px 12px;
  -webkit-mask: radial-gradient(ellipse 60% 75% at 50% 45%, #000 35%, transparent 100%); mask: radial-gradient(ellipse 60% 75% at 50% 45%, #000 35%, transparent 100%); }
.page-head h1 { letter-spacing: -.03em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text-2); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Karten reagieren wie auf der Startseite */
main .card, .panel { transition: border-color .2s, box-shadow .2s; }
main .card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-panel); }

/* Hinweis auf die Kurse am Ende der Formelseiten */
.kurs-hinweis { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 56px 0 0; padding: 22px 24px;
  border: 1px solid var(--border); border-radius: var(--radius-card); background: linear-gradient(180deg, color-mix(in oklch, var(--brand) 5%, #fff), #fff 70%); text-align: left; }
.kurs-hinweis img { width: 64px; height: auto; border-radius: 0 6px 6px 0; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.kurs-hinweis h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.kurs-hinweis p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.kurs-hinweis .knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-rand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .15s, box-shadow .15s; }
.btn-rand:hover { border-color: var(--btn-border-hover); box-shadow: 0 0 0 3px var(--btn-ring); }
.btn-rand svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .kurs-hinweis { grid-template-columns: auto 1fr; }
  .kurs-hinweis .knoepfe { grid-column: 1 / -1; }
  .kurs-hinweis .btn-rand { flex: 1; }
}
@media print { .kurs-hinweis, .page-head::before { display: none; } }
