/* Ergänzungen der statischen Fassung, die es unter WordPress nicht gab. */

/* Vorschau-Band (nur im Vorschau-Build) */
.hc-preview-band { position: fixed; bottom: 12px; left: 12px; z-index: 9999; background: #b45309; color: #fff; font: 600 12px/1 Inter, sans-serif; padding: 8px 12px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.2); pointer-events: none; }

/* YouTube-Zwei-Klick-Lösung (assets/js/nav.js) */
.hc-video, .hc-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; margin: 1em 0; }
.hc-video { background: #0d2b45 center / cover no-repeat; border-radius: 6px; overflow: hidden; }
.hc-video-play { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border: 0; border-radius: 12px; background: rgba(204, 0, 0, .9); color: #fff; font-size: 24px; cursor: pointer; }
.hc-video-play:hover { background: #c00; }
.hc-video-hinweis { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 10px 14px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 13px; line-height: 1.45; text-align: left; }
.hc-video-hinweis a { color: #9fd0f0 !important; text-decoration: underline; }

/* Tabellen in Rechtstexten: Enfold-Zebrafarbe (#7aa753) neutralisieren */
#top .hc-legal-text tr, #top .hc-legal-text tr:nth-child(even) { background: transparent; color: #4a5568; }
#top .hc-legal-text th, #top .hc-legal-text td { font-size: 14px; vertical-align: top; }

/* Einwilligungsbanner (partials/consent.njk, assets/js/consent.js) */
.hc-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000; display: flex; justify-content: center; pointer-events: none; }
.hc-consent[hidden] { display: none; }
.hc-consent-box { pointer-events: auto; max-width: 720px; width: 100%; background: #fff; color: #1a2332; border-radius: 12px; box-shadow: 0 12px 40px rgba(13, 43, 69, .28); padding: 22px 24px 16px; font: 14px/1.6 Inter, -apple-system, BlinkMacSystemFont, arial, sans-serif; max-height: calc(100vh - 32px); overflow-y: auto; }
#top .hc-consent-titel { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: #0d2b45; letter-spacing: 0; line-height: 1.3; }
.hc-consent-text { margin: 0 0 14px; color: #4a5568; }
.hc-consent-text a, .hc-consent-links a { color: #1a7bb5; text-decoration: underline; }
.hc-consent-details { margin: 0 0 14px; border-top: 1px solid #e5e9f0; }
.hc-consent-kat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #e5e9f0; cursor: pointer; color: #4a5568; }
.hc-consent-kat input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: #1a7bb5; }
.hc-consent-kat strong { color: #1a2332; }
.hc-consent-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.hc-consent-btn { flex: 1 1 160px; padding: 11px 16px; border-radius: 999px; border: 2px solid #1a7bb5; background: #1a7bb5; color: #fff; font: 600 15px/1.2 Inter, arial, sans-serif; cursor: pointer; }
.hc-consent-btn:hover { background: #155f8c; border-color: #155f8c; }
.hc-consent-btn-zweit { background: #fff; color: #1a7bb5; }
.hc-consent-btn-zweit:hover { background: #eef5fb; color: #155f8c; }
.hc-consent-btn[hidden] { display: none; }
.hc-consent-links { margin: 12px 0 0; font-size: 12px; color: #718096; text-align: center; }
@media (max-width: 480px) { .hc-consent { left: 8px; right: 8px; bottom: 8px; } .hc-consent-box { padding: 18px 16px 12px; } }

/* Anmeldung für verschlüsselte Bereiche (assets/js/schutz.js) */
.hc-schutz { position: relative; margin: 10px 0 40px; padding: 56px 20px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(90,154,60,.18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(26,123,181,.22), transparent 60%), #f4f7fb; }
.hc-schutz::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(13,43,69,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,43,69,.05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.hc-schutz-buehne { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 920px; margin: 0 auto; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(13,43,69,.35), 0 0 0 1px rgba(13,43,69,.06); font-family: Inter, -apple-system, BlinkMacSystemFont, arial, sans-serif; animation: hc-schutz-auf .5s ease-out both; }
@keyframes hc-schutz-auf { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.hc-schutz-info { position: relative; overflow: hidden; padding: 40px 36px; color: #e6eef6; background: linear-gradient(150deg, #0d2b45 0%, #133a5c 55%, #1a4f7a 100%); }
.hc-schutz-info::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(90,154,60,.35), transparent 65%); pointer-events: none; }
.hc-schutz-marke { display: inline-block; font-weight: 700; font-size: 15px; letter-spacing: -.2px; color: #8ec8e8; margin-bottom: 36px; }
.hc-schutz-marke b { color: #fff; }
#top .hc-schutz-bereich { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -1px; color: #fff; margin: 0 0 12px; }
.hc-schutz-zweck { color: rgba(230,238,246,.82); font-size: 15px; line-height: 1.65; margin: 0 0 22px !important; }
.hc-schutz-punkte { list-style: none; margin: 0 0 32px !important; padding: 0 !important; }
#top .hc-schutz-punkte li { position: relative; padding: 6px 0 6px 28px; margin: 0; color: #e6eef6; font-size: 14px; }
.hc-schutz-punkte li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: rgba(90,154,60,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%239fd67a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hc-schutz-sicher { position: relative; z-index: 1; display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: 13px; line-height: 1.5; color: #cfe3f1; }
.hc-schutz-sicher svg { flex: 0 0 auto; color: #9fd67a; margin-top: 1px; }
.hc-schutz-form { padding: 44px 40px 34px; display: flex; flex-direction: column; }
#top .hc-schutz-titel { font-size: 26px; font-weight: 700; color: #0d2b45; margin: 0 0 6px; letter-spacing: -.5px; line-height: 1.2; }
.hc-schutz-unter { color: #64748b; margin: 0 0 26px !important; font-size: 15px; }
.hc-schutz-label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 8px; }
.hc-schutz-feldrahmen { position: relative; }
#top .hc-schutz-feld { width: 100%; box-sizing: border-box; height: 50px; padding: 0 48px 0 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; font-size: 16px; margin: 0; background: #f8fafc; color: #0f172a; transition: border-color .15s, box-shadow .15s, background .15s; }
#top .hc-schutz-feld:focus { outline: none; background: #fff; border-color: #1a7bb5; box-shadow: 0 0 0 4px rgba(26,123,181,.14); }
.hc-schutz-auge { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 9px; background: transparent; color: #64748b; cursor: pointer; display: grid; place-items: center; }
.hc-schutz-auge:hover, .hc-schutz-auge[aria-pressed="true"] { background: #eef4fa; color: #1a7bb5; }
.hc-schutz-caps { margin: 8px 0 0 !important; font-size: 13px; color: #b45309; }
.hc-schutz-fehler { margin: 10px 0 0 !important; padding: 9px 12px; border-radius: 10px; background: #fef2f2; color: #b42318; font-size: 14px; border: 1px solid #fecaca; }
.hc-schutz-merken { display: flex; gap: 9px; align-items: center; font-size: 14px; color: #475569; margin: 18px 0 22px; cursor: pointer; }
.hc-schutz-merken input { width: 17px; height: 17px; accent-color: #1a7bb5; }
.hc-schutz-btn { position: relative; height: 50px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; font: 600 16px/1 Inter, arial, sans-serif; background: linear-gradient(135deg, #1a7bb5, #5a9a3c); box-shadow: 0 10px 24px -8px rgba(26,123,181,.55); transition: transform .15s, box-shadow .15s, filter .15s; }
.hc-schutz-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(26,123,181,.6); filter: brightness(1.05); }
.hc-schutz-btn:disabled { cursor: wait; transform: none; }
.hc-schutz-spinner { display: none; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: hc-schutz-dreh .8s linear infinite; }
.hc-schutz-laedt .hc-schutz-btn-text { visibility: hidden; }
.hc-schutz-laedt .hc-schutz-spinner { display: block; }
@keyframes hc-schutz-dreh { to { transform: rotate(360deg); } }
.hc-schutz-wackeln { animation: hc-schutz-wackeln .45s ease-in-out; }
@keyframes hc-schutz-wackeln { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.hc-schutz-hinweis { margin: 22px 0 0 !important; padding-top: 18px; border-top: 1px solid #eef2f6; font-size: 13px; line-height: 1.6; color: #64748b; }
.hc-schutz-hinweis a { color: #1a7bb5; font-weight: 600; }
.hc-schutz-einblenden { animation: hc-schutz-auf .45s ease-out both; }
.hc-schutz-leiste { display: flex; gap: 6px; align-items: center; justify-content: flex-end; font-size: 12px; color: #64748b; margin: 0 0 8px !important; }
.hc-schutz-leiste svg { color: #5a9a3c; width: 14px; height: 14px; }
.hc-schutz-leiste a { color: #1a7bb5; }
@media (max-width: 767px) {
  .hc-schutz { padding: 24px 0; border-radius: 0; background: #f4f7fb; }
  .hc-schutz-buehne { grid-template-columns: 1fr; border-radius: 16px; }
  .hc-schutz-info { padding: 28px 24px; }
  .hc-schutz-marke { margin-bottom: 18px; }
  #top .hc-schutz-bereich { font-size: 26px; }
  .hc-schutz-punkte { margin-bottom: 20px !important; }
  .hc-schutz-form { padding: 28px 24px 24px; }
}
@media (prefers-reduced-motion: reduce) { .hc-schutz-buehne, .hc-schutz-einblenden, .hc-schutz-wackeln { animation: none; } }

/* AutoPurge „Abgedeckte Datenbereiche“: Icons waren blau auf blauer Kachel (Akzentfarbe aus hc-design v2) */
#top #wrap_all .hc-area-icon svg { stroke: #fff; }
