/* Cardio Core – Ergänzungen für WordPress. Alles andere ist unverändert die ausgearbeitete Fassung (style.css, pages.css). */

/* Formular: unsichtbares Feld gegen Spam */
.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fail { margin-top: -6px; }

/* Bearbeiten-Knopf, nur für angemeldete Redakteure sichtbar */
.cc-edit {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 13px;
  border-radius: 999px; background: var(--navy); color: var(--on-navy); text-decoration: none;
  font: 500 13px/1 var(--f-text); box-shadow: 0 14px 30px -14px rgba(14, 18, 32, 0.6);
  transition: background 200ms ease, transform 200ms var(--ease-out);
}
.cc-edit i { font-size: 16px; color: var(--brass-hi); }
.cc-edit:hover { background: #111a33; transform: translateY(-2px); }
.cc-edit:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Textseiten (Impressum, Datenschutz und weitere einfache Seiten) */
.textpage { max-width: 920px; margin: 0 auto; padding: clamp(140px, 16vw, 210px) var(--gutter) clamp(96px, 12vw, 160px); }
.textpage .crumbs { margin-bottom: 22px; }
.textpage__title { margin: 0 0 clamp(32px, 4vw, 56px); font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.textpage__body { color: var(--text-soft); max-width: 70ch; }
.textpage__body > * + * { margin-top: 1em; }
.textpage__body h2, .textpage__body h3 { margin: 2em 0 0.4em; font-family: var(--f-display); font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
.textpage__body h2 { font-size: clamp(24px, 2.4vw, 32px); }
.textpage__body h3 { font-size: 20px; }
.textpage__body p, .textpage__body li { line-height: 1.7; }
.textpage__body a:not(.btn) { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
.textpage__body a:not(.btn):hover { color: var(--brass-ink); }
.textpage__body ul, .textpage__body ol { padding-left: 1.2em; }
.textpage__body strong { color: var(--ink); font-weight: 600; }
.textpage__body img { height: auto; border-radius: 18px; }
