=== CCT 4U (Cookie Consent Tool) ===

Contributors: fhackforu
Tags: cookies, consent, gdpr, privacy, klaro
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 4.0.2
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

A powerful and flexible WordPress plugin for GDPR-compliant cookie consent management based on Klaro.

== Description ==

CCT 4U is a powerful and flexible WordPress plugin for easy integration and configuration of a cookie consent manager based on Klaro.

With CCT 4U you can:
- Easily embed GDPR-compliant cookie banners,
- Customize colors, layouts, and texts directly in the backend,
- Manage services and cookies comfortably,
- Control and translate all settings centrally.

This plugin is designed for website owners who value privacy and a professional user experience – no complex programming skills required!

== Features ==

* Easy Klaro integration with graphical user interface
* Customizable texts, colors, and layouts
* Translation-ready (German/English; more languages possible)
* Flexible management of services and cookies
* 100% GDPR-compliant (with correct configuration)
* Full WordPress multisite support
* Extendable and update-friendly

== Installation ==

1. Upload the plugin folder `cct-4u-cookie-consent-tool` to your WordPress `/wp-content/plugins/` directory (or simply install it from the WordPress plugin directory).
2. Activate the plugin in your WordPress backend under "Plugins".
3. Go to the new "CCT 4U" menu in your WordPress admin to configure the plugin.

== Frequently Asked Questions ==

= Can I add my own cookies and services? =

Yes, you can flexibly manage your own services and cookies via the backend.

= Is the plugin compatible with Multisite? =

Yes, CCT 4U is multisite-ready.

= Is the plugin really GDPR-compliant? =

The plugin is technically built to meet all GDPR requirements. Complete legal compliance depends on your configuration and texts. Consult a privacy expert if in doubt.

== Screenshots ==

1. The cookie consent banner as your visitors first see it - colors, texts, buttons and layout are fully customizable.
2. The settings dialog: visitors grant or withdraw consent per category and service, reachable any time via the floating settings button.
3. Layout: choose a cookie icon and configure all colors and opacities of the banner and settings popup.
4. Categories group your services by purpose - visitors accept or reject entire categories at once.
5. Services: register the third-party services that use cookies or scripts, each assigned to a category.
6. Cookies: register the cookies your services set - enables deletion on consent withdrawal and GDPR transparency.
7. Integration: link your privacy policy page and optionally show a small credit link.
8. Built-in help explaining how categories, services, scripts and cookies work together.

== Third-Party Services ==

**This plugin (as distributed on WordPress.org) makes no external connections.** All functionality runs completely standalone - no external API calls, no data transmission, no license system. The plugin also provides no interface for entering custom JavaScript; external services are integrated declaratively via data-name attributes (see the built-in documentation).

**Separate premium distribution:** A premium version with additional features (script manager, resource scanner, cross-domain consent) is distributed separately via https://plugins.4uweb.de/ (not through WordPress.org). Only that separate distribution connects to a license validation service:
- Service URL: https://gate.4uweb.de/wp-json/pm4u/v1/
- Purpose: Validate license keys and deliver plugin updates
- Data transmitted: License key, site URL
- Privacy: No personal user data is collected or transmitted
- Terms of Service: https://plugins.4uweb.de/agb/
- Privacy Policy: https://plugins.4uweb.de/datenschutz/

== Third-Party Libraries and Assets ==

This plugin bundles the following third-party open-source libraries and assets:

**Klaro Cookie Consent Manager**
- Version: 0.7.22
- License: BSD-3-Clause
- Source Code: https://github.com/kiprotect/klaro
- Purpose: Cookie consent banner functionality and consent management
- Files: assets/js/klaro.min.js

**anime.js Animation Library**
- Version: 4.2.2
- License: MIT
- Source Code: https://github.com/juliangarnier/anime
- Purpose: Smooth animations in the admin interface
- Files: assets/js/anime.min.js

**Twemoji (Twitter Emoji)**
- License: CC-BY 4.0 (graphics)
- Source: https://github.com/twitter/twemoji
- Purpose: Local SVG icons used throughout the admin interface and the cookie preference button (GDPR-compliant, no external emoji/CDN requests)
- Files: assets/icons/*.svg

All of the above are bundled locally in the plugin and do not make any external requests. The selectable cookie graphics (assets/images/cookies/) are original artwork by the plugin author and licensed as GPL together with the plugin.

== License ==

This plugin is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
See LICENSE.txt and https://www.gnu.org/licenses/gpl-3.0.html for details.

== Changelog ==

= 4.0.2 =
* Changed: The premium info page now simply lists the features contained in the separate premium version (script manager, resource scanner, cross-domain consent) instead of a free-vs-premium comparison table.
* Removed: Credit link is a plain opt-in toggle with a fixed text and URL - no customization is advertised anywhere in this package.

= 4.0.0 =
* Changed: Completely reworked distribution model. The free version is fully functional without any limits, locked features or upsell - all services, cookies, icons and colors are unrestricted.
* Changed: Premium functionality (script manager, resource scanner, cross-domain consent) lives in a separate commercial distribution and is not part of this package. The premium info page is a plain feature overview without prices.
* Removed: No script insertion interface - external services are integrated declaratively via data-name attributes. The credit link is a plain opt-in toggle with a fixed text and URL.
* Added: Transparency slider for every background color (banner keeps its classic glassmorphism default of 75%)
* Added: Entrance animations for the consent banner and the settings dialog (honors prefers-reduced-motion)
* Changed: All admin icons are bundled locally - no external emoji or CDN requests
* Fixed: PHP notice when a background color is missing from the configuration

