.erthal-consent[hidden],
.erthal-consent [hidden] { display: none !important; }

.erthal-consent { position: fixed; inset: 0; z-index: 2147483000; color: #202124; font-family: inherit; }
.erthal-consent__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 58%); }
.erthal-consent__dialog { position: absolute; right: clamp(16px, 4vw, 48px); bottom: clamp(16px, 4vw, 48px); width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; padding: clamp(22px, 4vw, 34px); border-top: 5px solid var(--erthal-consent-accent); border-radius: 12px; background: #fff; box-shadow: 0 24px 70px rgb(0 0 0 / 30%); }
.erthal-consent__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--erthal-consent-accent); font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; }
.erthal-consent__close:hover, .erthal-consent__close:focus-visible { background: color-mix(in srgb, var(--erthal-consent-accent) 10%, white); outline: 2px solid var(--erthal-consent-accent); }
.erthal-consent h2, .erthal-consent h3 { margin: 0 0 12px; color: #171717; line-height: 1.15; }
.erthal-consent h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
.erthal-consent h3 { font-size: 1.35rem; }
.erthal-consent p { margin: 0; line-height: 1.65; }
.erthal-consent__links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; }
.erthal-consent__links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.erthal-consent__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
.erthal-consent__button, .erthal-consent-inline-button, .erthal-consent-frame button { appearance: none; min-height: 52px; border: 2px solid var(--erthal-consent-accent, #a41916); border-radius: 8px; padding: 12px 18px; background: #fff; color: var(--erthal-consent-accent, #a41916); font: inherit; font-weight: 750; line-height: 1.2; cursor: pointer; transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.erthal-consent__button:hover, .erthal-consent-inline-button:hover, .erthal-consent-frame button:hover { background: var(--erthal-consent-accent, #a41916); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--erthal-consent-accent, #a41916) 22%, transparent); transform: translateY(-1px); }
.erthal-consent__button:focus-visible, .erthal-consent-inline-button:focus-visible, .erthal-consent-frame button:focus-visible { outline: 3px solid color-mix(in srgb, var(--erthal-consent-accent, #a41916) 30%, transparent); outline-offset: 3px; }
.erthal-consent__button--primary { background: var(--erthal-consent-accent); color: #fff; }
.erthal-consent__button--primary:hover { filter: brightness(.9); }
.erthal-consent__button--link { text-decoration: none; }
.erthal-consent__group-list { margin-top: 18px; border-top: 1px solid #e5e5e5; }
.erthal-consent__group, .erthal-consent__service { position: relative; display: grid; grid-template-columns: 1fr 48px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e5e5e5; cursor: pointer; }
.erthal-consent__group strong, .erthal-consent__group small, .erthal-consent__service strong, .erthal-consent__service small { display: block; }
.erthal-consent__group small, .erthal-consent__service small { margin-top: 4px; color: #5f6368; line-height: 1.45; }
.erthal-consent__group input, .erthal-consent__service input { position: absolute; opacity: 0; }
.erthal-consent__switch { position: relative; box-sizing: border-box; width: 46px; height: 26px; border: 2px solid var(--erthal-consent-accent); border-radius: 99px; background: #fff; transition: .2s; }
.erthal-consent__switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--erthal-consent-accent); transition: .2s; }
.erthal-consent__group input:checked + .erthal-consent__switch, .erthal-consent__service input:checked + .erthal-consent__switch { background: var(--erthal-consent-accent); }
.erthal-consent__group input:checked + .erthal-consent__switch::after, .erthal-consent__service input:checked + .erthal-consent__switch::after { background: #fff; transform: translateX(20px); }
.erthal-consent__group input:focus-visible + .erthal-consent__switch, .erthal-consent__service input:focus-visible + .erthal-consent__switch { outline: 3px solid color-mix(in srgb, var(--erthal-consent-accent) 30%, transparent); outline-offset: 3px; }
.erthal-consent__group input:disabled + .erthal-consent__switch, .erthal-consent__service input:disabled + .erthal-consent__switch { opacity: 1; cursor: default; }
.erthal-consent__service-group { margin-top: 20px; }
.erthal-consent__service-group h4 { margin: 0 0 4px; font-size: 1.05rem; }
.erthal-consent__service-group > p { color: #5f6368; font-size: .9rem; }
.erthal-consent__service { padding-left: 10px; }
.erthal-consent__service a { color: inherit; text-decoration: underline; }
.erthal-consent__back { margin: 0 0 14px; padding: 0; border: 0; background: transparent; color: var(--erthal-consent-accent); font: inherit; font-weight: 700; cursor: pointer; }
.erthal-consent__legal { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: .9rem; }
.erthal-consent__legal a { color: var(--erthal-consent-accent); text-decoration: underline; text-underline-offset: 3px; }
.erthal-consent-reopen { position: fixed; z-index: 9999; right: 14px; bottom: 14px; padding: 9px 13px; border: 2px solid var(--erthal-consent-accent, #a41916); border-radius: 8px; background: #fff; color: var(--erthal-consent-accent, #a41916); box-shadow: 0 5px 18px rgb(0 0 0 / 14%); font: 700 12px/1.2 inherit; cursor: pointer; }
.erthal-consent-reopen:hover, .erthal-consent-reopen:focus-visible { background: var(--erthal-consent-accent, #a41916); color: #fff; outline: 3px solid color-mix(in srgb, var(--erthal-consent-accent, #a41916) 30%, transparent); outline-offset: 3px; }
.erthal-consent-frame { position: relative; min-height: 260px; background: #eee; }
.erthal-consent-frame iframe { display: block; width: 100%; }
.erthal-consent-frame__notice { position: absolute; inset: 0; display: flex; flex-flow: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: #eee; color: #222; box-sizing: border-box; }
.erthal-consent-frame__notice p { margin: 0 0 6px; }
.erthal-consent-frame.is-loaded .erthal-consent-frame__notice { display: none; }
.erthal-cookie-policy section { margin: 2rem 0; }
.erthal-cookie-policy article { margin: 1rem 0; padding: 1.25rem; border: 1px solid #ddd; border-radius: 10px; }
.erthal-cookie-policy dl { display: grid; grid-template-columns: minmax(100px, 160px) 1fr; gap: .5rem 1rem; }
.erthal-cookie-policy dt { font-weight: 700; }
.erthal-cookie-policy dd { margin: 0; }
.erthal-cookie-policy table { width: 100%; margin-top: 1rem; border-collapse: collapse; }
.erthal-cookie-policy th, .erthal-cookie-policy td { padding: .6rem; border: 1px solid #ddd; text-align: left; vertical-align: top; }
@media (max-width: 600px) { .erthal-consent__dialog { right: 10px; bottom: 10px; width: calc(100% - 20px); max-height: calc(100vh - 20px); border-radius: 10px; } .erthal-consent__button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .erthal-consent * { scroll-behavior: auto !important; transition: none !important; } }
