/* Widgets: Cookie-Hinweis, WhatsApp-Chat (Barkowski-Design) – auch für buchhaltung.html */
:root { --accent: #A8204E; --accent-dark: #A8204E; --navy: #141210; --muted: #57504A; --line: #CFC2AB; --white: #FBFAF7; --radius: 10px; }
.cookie-consent { position: fixed; inset: 0; z-index: 1200; display: none; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(11,11,10, .42); }
.cookie-consent.is-visible { display: flex; }
.cookie-consent-panel { width: min(100%, 760px); padding: 26px; border: 1px solid rgba(168,32,78,.22); border-radius: var(--radius); background: var(--white); box-shadow: 0 28px 80px rgba(11,11,10,.24); }
.cookie-consent-head { display: grid; gap: 8px; margin-bottom: 18px; }
.cookie-consent-head span { color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cookie-consent-head h2 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); }
.cookie-consent-head p { margin: 0; color: var(--muted); }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cookie-consent-actions .btn, .cookie-consent-actions .cookie-plain-button { min-height: 44px; }
.cookie-plain-button { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); font-weight: 800; cursor: pointer; }
.cookie-plain-button:hover, .cookie-plain-button:focus-visible { border-color: var(--accent); color: var(--accent-dark); }
.cookie-consent-details { display: none; gap: 12px; margin-top: 18px; }
.cookie-consent-details.is-open { display: grid; }
.cookie-choice { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fcfd; }
.cookie-choice input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.cookie-choice strong { display: block; color: var(--navy); }
.cookie-choice p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }
.footer-cookie-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.footer-cookie-button:hover, .footer-cookie-button:focus-visible { color: var(--white); }
.cookie-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cookie-info-card { padding: 22px; border: 1px solid rgba(168,32,78,.16); border-radius: var(--radius); background: #f8fcfd; }
.cookie-info-card span { display: inline-flex; margin-bottom: 10px; color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cookie-info-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.cookie-info-card p { margin: 0; color: var(--muted); }
.cookie-table-wrap { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.cookie-table th, .cookie-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cookie-table th { color: var(--navy); background: #f8fcfd; font-size: .92rem; }
.cookie-table td { color: var(--muted); }
@media (max-width: 700px) { .cookie-consent { align-items: flex-end; padding: 12px; } .cookie-consent-panel { padding: 20px; } .cookie-consent-actions { flex-direction: column; } .cookie-consent-actions .btn, .cookie-consent-actions .cookie-plain-button { width: 100%; } .cookie-info-grid { grid-template-columns: 1fr; } }
/* Schlankes, neutrales Cookie-Popup */
.cookie-consent { inset: auto 0 18px 0; align-items: flex-end; justify-content: center; padding: 0 12px; background: transparent; pointer-events: none; }
.cookie-consent.is-visible { display: flex; }
.cookie-consent-panel { width: min(100%, 420px); padding: 16px; border: 1px solid #d7d7d7; border-radius: 6px; background: #ffffff; color: #111111; box-shadow: 0 10px 28px rgba(0,0,0,.12); pointer-events: auto; }
.cookie-consent-head { gap: 6px; margin-bottom: 12px; }
.cookie-consent-head span { color: #111111; font-size: .68rem; letter-spacing: .04em; }
.cookie-consent-head h2 { color: #111111; font-size: 1.05rem; line-height: 1.25; }
.cookie-consent-head p { color: #333333; font-size: .86rem; line-height: 1.5; }
.cookie-consent-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.cookie-consent-actions .btn, .cookie-consent-actions .cookie-plain-button { min-height: 38px; width: 100%; padding: 0 12px; border: 1px solid #111111; border-radius: 4px; background: #ffffff; color: #111111; box-shadow: none; font-size: .84rem; }
.cookie-consent-actions .btn { background: #111111; color: #ffffff; }
.cookie-consent-actions .btn:hover, .cookie-consent-actions .btn:focus-visible { background: #111111; box-shadow: none; transform: none; }
.cookie-consent-actions .cookie-plain-button:hover, .cookie-consent-actions .cookie-plain-button:focus-visible { border-color: #111111; color: #111111; background: #f4f4f4; }
.cookie-consent-details { gap: 8px; margin-top: 10px; }
.cookie-choice { gap: 9px; padding: 10px; border-color: #d7d7d7; border-radius: 4px; background: #ffffff; }
.cookie-choice input { accent-color: #111111; }
.cookie-choice strong { color: #111111; font-size: .9rem; }
.cookie-choice p { color: #333333; font-size: .8rem; }
@media (max-width: 700px) { .cookie-consent { bottom: 10px; padding: 0 10px; } .cookie-consent-panel { width: min(100%, 360px); padding: 14px; } }
.floating-chat { position: fixed; right: 20px; bottom: 20px; z-index: 1100; display: grid; justify-items: end; gap: 10px; font-family: inherit; }
.floating-chat-panel { display: none; width: min(calc(100vw - 32px), 320px); overflow: hidden; border: 1px solid rgba(20,18,16,.14); border-radius: 8px; background: #ffffff; box-shadow: 0 22px 56px rgba(11,11,10,.20); }
.floating-chat.is-open .floating-chat-panel { display: block; }
.floating-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #141210; color: #ffffff; }
.floating-chat-head strong { font-size: .95rem; }
.floating-chat-close { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: transparent; color: #ffffff; cursor: pointer; font-size: 1.05rem; line-height: 1; }
.floating-chat-body { display: grid; gap: 12px; padding: 16px; color: #111111; }
.floating-chat-message { padding: 12px; border-radius: 8px; background: #f4f7f9; color: #141210; font-size: .92rem; line-height: 1.5; }
.floating-chat-actions { display: grid; gap: 8px; }
.floating-chat-actions a, .floating-chat-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border: 1px solid #141210; border-radius: 6px; background: #ffffff; color: #141210; font-weight: 800; cursor: pointer; }
.floating-chat-actions a:first-child { background: #141210; color: #ffffff; }
.floating-chat-button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid #141210; border-radius: 999px; background: #141210; color: #ffffff; box-shadow: 0 14px 36px rgba(11,11,10,.22); cursor: pointer; font-weight: 900; }
.floating-chat-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #ffffff; color: #141210; font-size: .78rem; font-weight: 900; }
@media (max-width: 700px) { .floating-chat { right: 12px; bottom: 12px; } .floating-chat-button { min-height: 44px; padding: 0 14px; } .floating-chat-panel { width: min(calc(100vw - 24px), 310px); } }
/* Chat mit kurzer Frage */
.floating-chat-panel { width: min(calc(100vw - 32px), 350px); }
.floating-chat-body { gap: 10px; }
.floating-chat-message { margin: 0; }
.floating-chat-field { display: grid; gap: 6px; color: #141210; font-weight: 800; font-size: .84rem; }
.floating-chat-field input, .floating-chat-field textarea { width: 100%; border: 1px solid rgba(20,18,16,.18); border-radius: 6px; padding: 10px 11px; background: #ffffff; color: #111111; font: inherit; font-weight: 500; resize: vertical; }
.floating-chat-field textarea { min-height: 92px; }
.floating-chat-field input:focus, .floating-chat-field textarea:focus { border-color: #141210; outline: 3px solid rgba(11,11,10,.10); }
.floating-chat-actions button { background: #141210; color: #ffffff; }
.floating-chat-actions a { background: #ffffff; color: #141210; }
.floating-chat-status { min-height: 18px; margin: 0; color: #57504A; font-size: .82rem; }
@media (max-width: 700px) { .floating-chat-panel { width: min(calc(100vw - 24px), 330px); } }
/* WhatsApp Button */
.floating-chat-button { border-color: #25d366; background: #25d366; color: #ffffff; box-shadow: 0 14px 36px rgba(37, 211, 102, .28); }
.floating-chat-button:hover, .floating-chat-button:focus-visible { background: #1ebe5d; border-color: #1ebe5d; }
.floating-chat-icon { background: #ffffff; color: #128c4a; }
.floating-chat-actions button { border-color: #25d366; background: #25d366; color: #ffffff; }
.floating-chat-actions button:hover, .floating-chat-actions button:focus-visible { background: #1ebe5d; border-color: #1ebe5d; }
/* Cookie-Banner & WhatsApp-Chat */
.cookie-consent-panel, .floating-chat-panel { border: 2px solid var(--ink); border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.cookie-consent-panel h2, .cookie-consent-panel h3, .floating-chat-head strong { color: var(--ink); font-family: var(--font-display); }
.cookie-consent-panel p, .cookie-info-card p { color: var(--ink-2); }
.cookie-info-card { border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; }
.cookie-consent-actions .btn { box-shadow: 3px 3px 0 var(--red); }
.cookie-plain-button { color: var(--ink); text-decoration: underline; }
.floating-chat-button { border: 2px solid var(--ink); border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--red); }
.floating-chat-button:hover { background: var(--ink); box-shadow: 6px 6px 0 var(--red); }
.floating-chat-head { background: var(--ink); color: #fff; }
.floating-chat-message { border: 1.5px solid var(--ink); border-radius: 10px; background: var(--hl); color: var(--ink); }
.floating-chat-actions .btn { box-shadow: 3px 3px 0 var(--red); }

/* Tabellen (Cookie-Liste) */
.cookie-table th { background: var(--ink); color: var(--paper); }
.cookie-table td, .cookie-table th { border-color: var(--rule); }


.floating-chat-actions button, .floating-chat-actions a:first-child { border-color: var(--ink); background: var(--ink); color: #fff; }
.floating-chat-actions button:hover, .floating-chat-actions button:focus-visible { background: var(--ink); border-color: var(--ink); }
.floating-chat-button:hover, .floating-chat-button:focus-visible { border-color: var(--ink); }
.floating-chat-icon { background: var(--paper); color: var(--ink); }
.floating-chat-field { color: var(--ink); }
.floating-chat-field input, .floating-chat-field textarea { border: 2px solid var(--ink); background: #fff; }
.floating-chat-status { color: var(--ink-2); }
.cookie-consent-actions .btn { background: var(--ink); color: #fff; border-radius: 10px; }
.cookie-consent-head span, .cookie-consent-head h2 { color: var(--ink); }
.cookie-choice { border-color: var(--ink); background: #fff; }
.cookie-choice input { accent-color: var(--red); }
