/* Age of Settlements v0.12.22 · Cookie-/Speicherinformation im Übersicht-/Schwesterdesign */
.cookie-consent-v131[hidden] {
    display: none !important;
}

.cookie-consent-v131 {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(12px, 2vw, 24px);
    background: rgba(1, 8, 13, 0.72);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    pointer-events: auto;
}

.cookie-consent-v131 .cookie-consent-panel {
    position: relative;
    width: min(1080px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 0;
    border: 1px solid rgba(220, 153, 46, 0.46);
    border-radius: 18px;
    color: #e7dac6;
    background:
        radial-gradient(circle at 72% -30%, rgba(64, 103, 128, 0.12), transparent 44%),
        linear-gradient(155deg, rgba(4, 16, 25, 0.97), rgba(4, 13, 21, 0.985));
    box-shadow:
        0 28px 82px rgba(0, 0, 0, 0.58),
        inset 0 0 0 1px rgba(255, 225, 160, 0.025);
    pointer-events: auto;
}

.cookie-consent-v131 .cookie-consent-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(234, 169, 61, 0.44), transparent 12%, transparent 88%, rgba(234, 169, 61, 0.25)) top / 100% 1px no-repeat,
        radial-gradient(circle at 11% 0%, rgba(234, 170, 62, 0.07), transparent 28%);
}

.cookie-consent-v131 .cookie-consent-copy,
.cookie-consent-v131 .cookie-consent-options,
.cookie-consent-v131 .cookie-consent-actions,
.cookie-consent-v131 .cookie-consent-links {
    position: relative;
    z-index: 1;
}

.cookie-consent-v131 .cookie-consent-copy {
    padding: clamp(20px, 2.7vw, 30px) clamp(20px, 3vw, 34px) 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cookie-consent-v131 .cookie-consent-copy .eyebrow {
    margin: 0 0 6px;
    color: #dca03a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cookie-consent-v131 .cookie-consent-copy h2 {
    margin: 0;
    color: #f0e4d2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -.02em;
}

.cookie-consent-v131 .cookie-consent-copy p:last-child {
    max-width: 850px;
    margin: 7px 0 0;
    color: #b6aea2;
    font-size: .94rem;
    line-height: 1.58;
}

.cookie-consent-v131 .cookie-consent-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 18px clamp(18px, 2.7vw, 30px) 0;
}

.cookie-consent-v131 .cookie-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: flex-start;
    min-height: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(6, 20, 30, 0.72), rgba(8, 18, 26, 0.80));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.cookie-consent-v131 .cookie-option.is-required {
    border-color: rgba(218, 155, 48, 0.30);
    background:
        linear-gradient(145deg, rgba(92, 59, 19, 0.28), rgba(8, 18, 26, 0.82));
}

.cookie-consent-v131 .cookie-option input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #dca03a;
}

.cookie-consent-v131 .cookie-option strong {
    display: block;
    margin: 0 0 4px;
    color: #efe3d1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .96rem;
}

.cookie-consent-v131 .cookie-option small {
    display: block;
    color: #9d9a94;
    font-size: .78rem;
    line-height: 1.5;
}

.cookie-consent-v131 .cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 16px clamp(18px, 2.7vw, 30px) 0;
}

.cookie-consent-v131 .cookie-action-button {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: none;
}

.cookie-consent-v131 .cookie-action-button-primary {
    color: #241607;
    border: 1px solid rgba(255, 220, 145, 0.52);
    background: linear-gradient(180deg, #efbd5b, #d79527);
    box-shadow: inset 0 1px 0 rgba(255, 244, 205, 0.42), 0 7px 18px rgba(0, 0, 0, .23);
}

.cookie-consent-v131 .cookie-action-button-secondary {
    color: #e5d8c6;
    border: 1px solid rgba(218, 155, 48, .24);
    background: rgba(5, 18, 28, .74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.cookie-consent-v131 .cookie-action-button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.cookie-consent-v131 .cookie-consent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 14px clamp(18px, 2.7vw, 30px) 20px;
}

.cookie-consent-v131 .cookie-consent-links a {
    color: #cdbb9f;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.cookie-consent-v131 .cookie-consent-links a:hover {
    color: #f0c76b;
    text-decoration: none;
}

@media (max-width: 820px) {
    .cookie-consent-v131 {
        align-items: flex-end;
        padding: 8px;
    }

    .cookie-consent-v131 .cookie-consent-panel {
        max-height: calc(100vh - 16px);
        border-radius: 14px;
    }

    .cookie-consent-v131 .cookie-consent-options,
    .cookie-consent-v131 .cookie-consent-actions {
        grid-template-columns: 1fr;
    }

    .cookie-consent-v131 .cookie-consent-copy {
        padding: 18px 18px 15px;
    }

    .cookie-consent-v131 .cookie-consent-options,
    .cookie-consent-v131 .cookie-consent-actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cookie-consent-v131 .cookie-consent-links {
        padding: 13px 16px 17px;
    }
}

/* v0.12.22: Derzeit keine optionalen Statistik-/Marketingdienste aktiv. */
.cookie-consent-v131 .cookie-consent-options {
    grid-template-columns: 1fr;
}
.cookie-consent-v131 .cookie-option.is-required {
    grid-template-columns: auto minmax(0, 1fr);
}
.cookie-consent-v131 .cookie-option-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    margin-top: 1px;
    padding: 5px 8px;
    border: 1px solid rgba(218, 155, 48, .34);
    border-radius: 999px;
    color: #f2c96f;
    background: rgba(111, 73, 19, .24);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cookie-consent-v131 .cookie-consent-actions {
    grid-template-columns: minmax(180px, 320px);
    justify-content: end;
}
@media (max-width: 820px) {
    .cookie-consent-v131 .cookie-consent-actions {
        grid-template-columns: 1fr;
    }
}
