.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 100vh;
	padding:20px 0;
    background: #fff;
    box-shadow: 0 -2px 5px rgba(50, 50, 50, 0.1);
    z-index: 1000;
    overflow-y: auto; /* Hinzugefügt, um Scrollen zu ermöglichen */
    border: 1px solid #ccc;
    border-bottom: none;
    border-left: none;
    display: none;	/* Initial versteckt */
	font-size:0.9rem;
}

.cookie-banner a {
    color:#333;
	text-decoration:none;
}

.cookie-banner.hidden {
    display: none; /* Klasse, um den Cookie-Banner zu verstecken */
}

.cookie-banner.visible {
    display: block; /* Klasse, um den Cookie-Banner anzuzeigen */
}

.cookie-inner {
	width:90%;
    max-width: var(--max-width-inner);
    margin: 0 auto;
    padding: 0;
}

.banner-content {
    display: block;
    width: 100%;
}

/* Stil für den Link nach dem Widerruf */

.btn-cookie {	
	display:inline-block;
	margin:20px 0;
	padding:12px 25px;
	color:#891F1F;
	letter-spacing:0.08rem;
	text-decoration:none;
	border:1px solid #891F1F;
	border-radius:8px;
}

.btn-cookie:hover {
	background:#891F1F;
	color:#fff;
}

.btn-cookie.revoked {
	background:#708886;
	border:1px solid #708886;
	color:#fff;
    cursor: not-allowed; /* Zeigt an, dass der Link nicht mehr klickbar ist */
}

.btn-cookie.revoked:hover {
    cursor: not-allowed; /* Zeigt an, dass der Link nicht mehr klickbar ist */
}

.cookie-banner button { /* Cookiebanner Akzeptieren Button */
    margin: 19px 30px 19px 0;
    padding: 12px 24px;
    cursor: pointer;
    float: left;
    font-size: 0.9rem;
	letter-spacing:0.1em;
	background:#fff;
}

.cookie-banner button:hover {
	/*transition: color 0.3s ease, background 0.3s ease;*/
}

.cookie-banner button.disabled {
    background-color: #d3d3d3;
    color: #a9a9a9;
    cursor: not-allowed;
    box-shadow: none;
    transition: none;
}

.cookie-link {
    display: inline-block;
    width: auto;
    margin: 20px 0 0;
    float: right;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
}

.cookie-link ul {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.cookie-link li {
    float: left;
    height: auto;
    margin-left: 30px;
    padding: 0;
}

.cookie-link a {
    display: block;
    padding: 10px 0;
	color:var(--color-theme-dark);
}

.cookie-link a:hover {	
	color:var(--color-theme-light);
	text-decoration:underline;
	transition: color 0.5s ease;
}

@media screen and (max-width: 900px) {

    .cookie-banner {
        width: 100%;
        padding: 20px 0 0;
    }

    .banner-content {
        width: 100%;
        margin: 0 auto;
    }

    .banner-button {
        display: flex;
        justify-content: space-between;
    }

    .cookie-banner button {
        width: 30%;
        padding: 15px 0;
        margin: 10px 0;
        float: left;
    }
}

@media screen and (max-width: 600px) {

    .banner-button {
        display: block;
    }

    .cookie-banner button {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cookie-banner p {
        font-size: 0.9rem;
        line-height: 1.6rem;
        margin: 10px 0;
    }

    .cookie-link {
        width: 100%;
        margin: 10px auto;
    }

    .cookie-link li {
        width: 48%;
        height: auto;
        margin: 0 1% 0 0;
        background: #e3e3e3;
    }

    .cookie-link li:last-child {
        float: right;
    }

    .cookie-link a {
        text-align: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
