/* inovelop AGB-Zustimmung – Kundenseite (bewusst neutral, erbt Schrift vom Theme) */
.iagb {
	--iagb-accent: #1d6fb8;
	--iagb-ok: #1f7a3d;
	--iagb-ok-bg: #e9f6ee;
	--iagb-err: #b42318;
	--iagb-err-bg: #fdecea;
	--iagb-ins: #d8f5e0;
	--iagb-del: #fbe0e0;
	--iagb-border: #dcdfe4;
	--iagb-muted: #5f6670;
	max-width: 900px;
	margin: 0 auto;
	line-height: 1.6;
}
.iagb *, .iagb *::before, .iagb *::after { box-sizing: border-box; }

.iagb-head { margin-bottom: 1.5em; }
.iagb-for { margin: 0; color: var(--iagb-muted); font-size: .9em; text-transform: uppercase; letter-spacing: .05em; }
.iagb-head h2 { margin: .1em 0 .2em; }
.iagb-meta { margin: 0; color: var(--iagb-muted); }

.iagb-notice { padding: 1em 1.2em; border-radius: 8px; margin: 1em 0; border: 1px solid var(--iagb-border); background: #f6f7f9; }
.iagb-success { background: var(--iagb-ok-bg); border-color: #b5e0c3; color: var(--iagb-ok); }
.iagb-error { background: var(--iagb-err-bg); border-color: #f3b8b2; color: var(--iagb-err); }

.iagb-box { border: 1px solid var(--iagb-border); border-left: 4px solid var(--iagb-accent); border-radius: 8px; padding: 1em 1.4em; margin: 1.5em 0; background: #fff; }
.iagb-box h3, .iagb-section h3, .iagb-form h3 { margin-top: 0; }
.iagb-box ul { margin: .5em 0 0 1.2em; padding: 0; }
.iagb-box li { margin: .3em 0; }

.iagb-section { margin: 2em 0; }
.iagb-legend { color: var(--iagb-muted); font-size: .92em; }
.iagb-toggle { display: inline-flex; gap: .5em; align-items: center; margin: .3em 0 1em; cursor: pointer; font-weight: 600; }

.iagb-diff { border: 1px solid var(--iagb-border); border-radius: 8px; padding: 1em 1.4em; background: #fff; max-height: 70vh; overflow-y: auto; overflow-wrap: anywhere; }
.iagb-diff p { margin: 0 0 .8em; }
.iagb-diff p.iagb-heading { font-weight: 700; margin-top: 1.4em; }
.iagb-diff p.iagb-added, .iagb-diff p.iagb-removed, .iagb-diff p.iagb-changed { padding: .4em .6em; border-radius: 6px; background: #fafbfc; border-left: 3px solid var(--iagb-accent); }
.iagb-diff.iagb-only-changes p.iagb-same:not(.iagb-has-changes) { display: none; }

.iagb ins { background: var(--iagb-ins); color: #0f5323; text-decoration: none; border-radius: 3px; padding: 0 .15em; }
.iagb del { background: var(--iagb-del); color: #8a1c13; text-decoration: line-through; border-radius: 3px; padding: 0 .15em; }

.iagb-full summary { cursor: pointer; font-weight: 600; padding: .6em 0; }
.iagb-full .iagb-diff { margin-top: .5em; }
.iagb-pdf { font-weight: 600; }

.iagb-form { border: 1px solid var(--iagb-border); border-radius: 8px; padding: 1.4em; margin: 2em 0 1em; background: #f8fafc; }
.iagb-form label { display: block; }
.iagb-form input[type="text"] { width: 100%; max-width: 420px; padding: .6em .7em; border: 1px solid #b9bfc7; border-radius: 6px; font-size: 1em; margin-top: .3em; }
.iagb-check label { display: flex; gap: .7em; align-items: flex-start; cursor: pointer; }
.iagb-check input { margin-top: .35em; flex: 0 0 auto; width: 1.1em; height: 1.1em; }
.iagb-button { background: var(--iagb-accent); color: #fff; border: 0; border-radius: 6px; padding: .8em 1.6em; font-size: 1.05em; font-weight: 600; cursor: pointer; }
.iagb-button:hover, .iagb-button:focus { filter: brightness(1.1); }
.iagb-privacy, .iagb-contact { color: var(--iagb-muted); font-size: .88em; }

@media (max-width: 600px) {
	.iagb-diff, .iagb-box, .iagb-form { padding: .9em; }
	.iagb-button { width: 100%; }
}
