/* Fristfuchs – seiteneigene Ergänzungen zum Landingkit (kit.css bleibt unverändert).
   Gilt für die Landing (Ratgeber-Kacheln) und die Ratgeber-Seiten (Artikel, Rechner, Vorlage). */

/* Ratgeber-Kacheln sind Links: ohne Unterstreichung, Hover wie Kit-Kacheln */
.guides .tile { text-decoration: none; color: inherit; display: block; }
.guides .tile h3 { color: var(--ink); }
.guides .tile:hover h3 { color: var(--brand-deep); }
.guides { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- Ratgeber-Seiten ---------- */
.page-hero { text-align: center; padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 6vw, 64px); }
.page-hero h1 { font-size: clamp(36px, 6.4vw, 68px); }
.page-hero .sub { max-width: 640px; margin: 22px auto 0; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: inherit; }

.article { max-width: 720px; margin: 0 auto; padding: 0; }
.article h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 40px 0 14px; letter-spacing: -0.02em; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.article p { margin: 0 0 14px; }
.article p strong, .article li strong { color: var(--ink); }
.article ul { padding-left: 1.2em; margin: 0 0 14px; }

.disclaimer {
    display: flex; gap: 12px; align-items: flex-start;
    background: color-mix(in srgb, var(--brand) 9%, var(--paper));
    border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
    border-radius: 16px; padding: 16px 18px; margin: 26px 0;
    font-size: 15px; line-height: 1.5; color: var(--ink);
}
.disclaimer svg { width: 22px; height: 22px; flex: none; color: var(--brand-deep); margin-top: 1px; }

/* Rechner */
.calc {
    background: var(--paper); border-radius: 24px; padding: clamp(20px, 4vw, 34px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 46px rgba(0, 0, 0, 0.08);
    max-width: 720px; margin: 0 auto;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.calc-grid .full { grid-column: 1 / -1; }
.calc label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.calc input, .calc select {
    width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
    border: 1.5px solid rgba(0, 0, 0, 0.16); border-radius: 12px; padding: 11px 12px; min-height: 48px;
}
.calc input:focus, .calc select:focus { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand-deep); }
.calc .inline { display: flex; gap: 8px; }
.calc .inline > * { flex: 1; }
.calc .check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.calc .check input { width: 22px; min-height: 22px; height: 22px; flex: none; accent-color: var(--brand-deep); }
.calc .hint { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.calc [hidden] { display: none !important; }
.calc-out { margin-top: 24px; border-radius: 18px; background: #1D3557; color: #fff; padding: 20px 22px; }
.calc-out .k { font-size: 14px; opacity: 0.82; }
.calc-out .big { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 2px 0 14px; }
.calc-out dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 16px; }
.calc-out dt { opacity: 0.82; }
.calc-out dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.calc-out .warn { margin-top: 14px; font-size: 14px; background: rgba(255, 255, 255, 0.12); border-radius: 10px; padding: 10px 12px; }
.calc-err { margin-top: 16px; color: #C92A2A; font-weight: 600; }

/* Vorlage */
.template {
    background: var(--paper); border-radius: 18px; padding: clamp(18px, 4vw, 30px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 34px rgba(0, 0, 0, 0.07);
    font-family: 'Liberation Serif', Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.6; color: var(--ink);
    white-space: normal; margin: 0 0 14px;
}
.copy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.btn-copy {
    font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--brand-deep); color: #fff; padding: 12px 22px; min-height: 48px;
}
.btn-copy:hover { filter: brightness(1.08); }
.copy-ok { color: #2B8A3E; font-weight: 600; }

@media (max-width: 560px) {
    .calc-grid { grid-template-columns: 1fr; }
    .article p, .article li { font-size: 17px; }
}
