/*CSS Document*/

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-VariableFont_opsz\,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all .4s;
}

:root {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-default: 4px 4px 25px 10px rgba(0, 0, 0, 0.05);

}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    background: linear-gradient(to top,
            #F3ECE6 0%,
            #FFFFFF 100%);
}

main {
    margin-top: 149px;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

.subtle {
    font-weight: 350;
}

.wrap {
    margin: 0 auto;
    width: 1200px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul li {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

nav ul li ul {
    position: absolute;
    left: 0;
    top: 100%;
    background-color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
}

nav ul li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

header {
    padding: 60px 0;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

nav ul li a {
    padding: 5px;
    margin: 0 10px;
    font-size: 15px;
    text-decoration: none;
    color: #4D4C4B;
}


nav ul li a:hover {
    color: #BF1D1D;
}

nav>ul:first-of-type>li:last-child a {
    background-color: #BF1D1D;
    border-radius: 30px;
    color: white;
    padding: 5px 15px;
}

nav>ul:first-of-type>li:last-child a:hover {
    background-color: #4D4C4B;
}

nav li:has(> ul)::after {
    content: url('img/dropdown-nav-btn.svg');
    top: -1px;
    left: -13px;
    display: inline-block;
    position: relative;
}

#header-logo {
    width: 130px;
    height: auto;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

nav ul li ul li {
    display: block;
    padding: 10px 0;
}

.hero {
    background-image: url('img/bg-hero-large.svg');
    padding: 50px 0 55px;
    position: relative;
    background-repeat: no-repeat;
    background-position: top;
}

.flex-wrap {
    flex-wrap: wrap;
}

.hero figure {
    width: 50%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-default);
}

.hero figure img {
    border-radius: 0;
    box-shadow: none;
    animation:
        heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both,
        kenBurns 15s ease-in-out 1.2s infinite alternate;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: scale(1.15) translate(0, 0);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translate(0, 0);
        filter: blur(0);
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1) translate(0, 0);
    }

    to {
        transform: scale(1.12) translate(-3%, -2%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero figure img {
        animation: none;
    }
}

.hero aside {
    width: 45%;
}

.fund-card img {
    width: 50px;
    margin-bottom: 15px;
}

.fund-card {
    background-color: white;
    padding: 20px;
    box-shadow: var(--shadow-default);
    border-radius: 15px;
}

.fundament {
    padding: 100px 0 50px;
}

.fundament h2 {
    text-align: center;
}

.fundament-head {
    margin-bottom: 30px;
}

.fundament .flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.fundament p {
    line-height: initial;
}

.fundament h3 {
    margin-bottom: 10px;
}

h3 {
    color: #4D4C4B;
    font-size: 16px;
}

.partnernetzwerk hr {
    border-radius: 0;
    background-color: #CECECE;
    height: 1px;
    width: 100%;
    border: none;
    margin-bottom: 50px;
}

.logo-banner {
    margin-top: 0;
}

.partnernetzwerk h2 {
    text-align: center;
}

.partnernetzwerk {
    padding-bottom: 50px;
}

.faq {
    padding: 100px 0;
}

.faq-content {
    margin-top: 40px;
}

.faq-entry {
    border-bottom: 1px solid #e5e5e5;
}

.faq-entry:first-child {
    border-top: 1px solid #e5e5e5;
}

.faq-question {
    /* Button-Defaults wegräumen */
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;

    /* Layout: Text links, Icon rechts */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question-text {
    font-size: 16px;
    font-weight: 800;
    color: #4D4C4B;
}

.faq-question:hover .faq-question-text {
    color: #BE1E1E;
}

/* Plus-Icon aus zwei Pseudo-Elementen */
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #BE1E1E;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    /* horizontaler Strich */
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    /* vertikaler Strich — wird beim Öffnen wegrotiert */
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

/* Antwort — animiert über max-height */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 0 25px 0;
}

.faq-answer-inner p {
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.faq h2 {
    text-align: center;
}

.cc-exp-slider {
    padding: 100px 0;
    overflow: hidden;
}

.cc-exp-subtitle {
    color: #666;
    margin-top: 8px;
    margin-bottom: 50px;
}

/* Viewport begrenzt den sichtbaren Bereich des Sliders */
.cc-slider-viewport {
    width: 100%;
    overflow: hidden;
    /* Sanfter Fade-Effekt links und rechts */
    mask-image: linear-gradient(to right,
            transparent 0,
            black 80px,
            black calc(100% - 80px),
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0,
            black 80px,
            black calc(100% - 80px),
            transparent 100%);
}

/* Der eigentliche Track, der animiert wird */
.cc-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: cc-scroll 60s linear infinite;
    will-change: transform;
}

/* Pause bei Hover (Desktop) oder Touch (Mobile via JS-Klasse) */
.cc-slider-viewport:hover .cc-slider-track,
.cc-slider-track.is-paused {
    animation-play-state: paused;
}

@keyframes cc-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Einzelne Review-Card */
.cc-review-card {
    flex: 0 0 360px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cc-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #BE1E1E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.cc-review-meta {
    flex: 1;
    min-width: 0;
}

.cc-review-name {
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-review-date {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.cc-review-stars {
    color: #FBBC04;
    font-size: 16px;
    letter-spacing: 2px;
}

.cc-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
    /* Begrenzt lange Texte auf 5 Zeilen, damit Cards gleich hoch bleiben */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-review-google {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

/* CTA unter dem Slider */
.cc-slider-cta {
    margin-top: 40px;
    text-align: center;
}

.cc-google-link {
    display: inline-block;
    color: #BE1E1E;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.2s ease;
}

.cc-google-link:hover {
    opacity: 0.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: stretch;
}

.cc-why {
    text-align: center;
}

.cc-reasons {
    margin: 50px 0;
}

.logo-banner img {
    width: 130px;
}

/* ----- Restaurant-Quiz-Page ---------------------------------- */

.quiz-hero {
    padding: 80px 0 100px;
    text-align: center;
}

.quiz-content {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-hero h1 {
    font-size: 32px;
    margin: 15px 0 25px;
    line-height: 1.3;
}

.quiz-hero h2 {
    color: var(--color-success, #257D3D);
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.quiz-hero p {
    margin-bottom: 20px;
}

.quiz-lead {
    font-size: 17px;
    font-weight: 500;
    color: #4D4C4B;
}

.quiz-highlight {
    margin: 30px 0;
    font-style: italic;
}

input,
textarea,
select {
    font-size: 16px;
}

.quiz-highlight strong {
    color: #BF1D1D;
    font-style: normal;
}

.quiz-duration {
    font-size: 13px;
    color: #6D666C;
    margin-top: 10px;
}

@media (max-width: 675px) {
    .quiz-hero {
        padding: 40px 0 60px;
    }

    .quiz-hero h1 {
        font-size: 24px;
    }
}

.reason-card {
    text-align: center;
}

.reason-card img {
    width: 50px;
    margin: 0 auto 15px;
}

.reason-card h3 {
    font-size: 16px;
    text-align: center;
}


/* Barrierefreiheit — Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
    .cc-slider-track {
        animation: none;
    }
}

/* Mobile-Anpassung — schmalere Cards */
@media (max-width: 600px) {
    .cc-review-card {
        flex: 0 0 300px;
        padding: 20px;
    }

    .cc-slider-viewport {
        mask-image: linear-gradient(to right,
                transparent 0,
                black 40px,
                black calc(100% - 40px),
                transparent 100%);
        -webkit-mask-image: linear-gradient(to right,
                transparent 0,
                black 40px,
                black calc(100% - 40px),
                transparent 100%);
    }
}

.logo-banner {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}


.hero h2 {
    color: #257D3D;
    font-size: 12px;
    font-weight: 300;
    text-transform: none;
    margin: 0;
}

h1 {
    font-weight: 800;
    font-size: 27px;
    color: #4D4C4B;
    margin: 10px 0;
}

h1 strong {
    color: #BF1D1D;
    font-weight: 800;
}

p,
ul li {
    font-size: 15px;
    line-height: 1.867;
    color: #4D4C4B;
    font-weight: 300;
}

.button {
    background-color: #BF1D1D;
    color: white;
    text-decoration: none;
    padding: 10px 17px;
    border-radius: 30px;
    font-size: 15px;
    margin: 30px 0;
    display: inline-block;
}

.button:hover {
    background-color: #4D4C4B;
}

.ctas {
    justify-content: flex-start;
    gap: 30px;
}

.secondary {
    background-color: #4D4C4B;
}

.secondary:hover {
    background-color: #BF1D1D;
}

.google-badge {
    position: absolute;
    top: 45%;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    font-size: 12px;
    color: #4D4C4B;
    white-space: nowrap;
    border-radius: 5px 0 0 5px;
}

.google-badge__logo {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.5px;
}

.google-badge__rating {
    font-weight: 600;
}

.google-badge__star {
    color: #FBBC05;
    font-size: 18px;
}

.cc-promise {
    text-align: center;
    margin: 100px 0 0;
}

.promise-card {
    box-shadow: var(--shadow-default);
    width: 44%;
    padding: 30px;
    border-radius: 15px;
    background-color: white;
}

.promise-card img {
    height: 40px;
    width: auto;
    margin: 4px 0 0 0;
}

.cc-promise-cards {
    margin: 55px 0;
    text-align: left;
}

.cc-promise h2 {
    color: #4D4C4B;
    font-size: 20px;
    margin: 15px 0;
    font-weight: 800;
    text-transform: uppercase;
}

.cc-promise h2 strong {
    font-weight: 800;
    color: #BF1D1D;
}

.card-head {
    text-align: left;
    gap: 0 15px;
}

.promise-card hr {
    width: 100%;
    border-radius: 0;
    margin: 5px 0;
    background-color: #CECECE;
    height: 1px;
    border: none;
}

.cc-promise-cards .promise-card:nth-child(1) .card-head h3,
.cc-promise-cards .promise-card:nth-child(1) .card-head h4 {
    color: #257D3D;
}


.cc-promise-cards .promise-card:nth-child(2) .card-head h3,
.cc-promise-cards .promise-card:nth-child(2) .card-head h4 {
    color: #B8842B;
}

.card-head h3 {
    font-size: 40px;
}

.card-head h4 {
    font-size: 15px;
    width: 100%;
    font-weight: 300;
}

.flex-start {
    justify-content: flex-start;
    align-items: flex-start;
}

.promise-card h5 {
    font-size: 16px;
    color: #4D4C4B;
    margin: 15px 0 5px;
}

.breaker-overlay {
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.75) 100%);
    padding: 150px 0;
}

.breaker {
    background-attachment: fixed;
    background-repeat: no-repeat;
}

h2 {
    color: #4D4C4B;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin: 15px 0;
}

h2 strong {
    color: #BF1D1D;
    font-weight: 800;
}

.breaker-content {
    max-width: 75%;
}

.cc-loesungen {
    background-image: url('img/cc-loesungen-bg.svg');
    padding: 100px 0;
}

.cc-loesungen article {
    width: 45%;
}

.cc-loesungen h3 {
    color: #257D3D;
    font-size: 12px;
    font-weight: 300;
    text-transform: none;
    margin: 0;
}

.cc-loesungen h4 {
    font-size: 18px;
    color: #4D4C4B;
    letter-spacing: 0.03em;
    font-weight: 800;
    margin: 10px 0 15px;

}

.cc-loesungen h4 strong {
    font-weight: 800;
    color: #BF1D1D;
}

.overlay-deal-breaker {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.30) 100%);
    padding: 100px 0;
}

.overlay-deal-breaker aside {
    width: 45%;
}

.overlay-deal-breaker article {
    width: 45%;
}

.overlay-deal-breaker h2 {
    color: white;
    font-size: 33px;
    letter-spacing: 0.03em;
}

.overlay-deal-breaker h3 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 18px;
}

.overlay-deal-breaker h2 strong {
    background-color: white;
    color: #BF1D1D;
    font-weight: 800;
    padding: 0 6px;
}

.overlay-deal-breaker p {
    color: white;
}

.breaker-deal {
    background-attachment: fixed;
}

.about-us {
    padding: 100px 0;
}

.about-us article {
    width: 45%;
}

.about-us aside {
    width: 45%;
}

.about-us aside img {
    border-radius: 15px;
    box-shadow: var(--shadow-default);
}

.about-us h3 {
    font-size: 15px;
    font-weight: 300;
    color: #4D4C4B;
    margin-bottom: 10px;
}

h4 {
    font-size: 20px;
    color: #4D4C4B;
    margin: 10px 0;
}

h4 strong {
    color: #BF1D1D;
    font-weight: 800;
}

.cc-business-areas-cards {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow-default);
    padding: 40px;
}

.cc-business-areas-cards article:nth-of-type(2) {
    background-color: white;
    box-shadow: var(--shadow-default);
    padding: 30px 50px;
    border-radius: 15px;
}

.cc-business-areas-cards article {
    width: 48%;
}

.cc-business-areas-head {
    text-align: center;
    margin-bottom: 30px;
}

.cc-business-areas-head h3 {
    color: #257D3D;
    font-size: 13px;
    font-weight: 300;
}

.cc-business-areas-cards h3 {
    color: #257D3D;
    font-size: 13px;
    font-weight: 300;
}

.cc-business-areas-cards h4 {
    margin: 5px 0 0px;
}

.cc-business-areas-cards hr {
    width: 100%;
    border-radius: 0;
    margin: 20px 0;
    background-color: #CECECE;
    height: 1px;
    border: none;
}

.cc-business-areas-cards ul {
    padding-left: 25px;
}

.cc-business-areas-cards ul li {
    list-style-image: url('img/list-icon.svg');
    padding-left: 15px;
    margin-bottom: 21px;
}

.flex-center {
    justify-content: center;
}

.cc-leistungen {
    padding: 100px 0;
    background-position: bottom;
    background-image: url(img/cc-loesungen-bg.svg);
}

.cc-leistungen-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

.cc-leistungen-card {
    border-radius: 15px;
    box-shadow: var(--shadow-default);
    background-color: white;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    line-height: initial;
    position: relative;
    bottom: 0;
}

.cc-leistungen-card:hover {
    bottom: 5px;
    background-color: #fafafa;
    color: white;
}

.cc-leistungen-card img {
    max-height: 75px;
    margin: 0 auto 30px;
}

.cc-leistungen-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #6D666C;
    margin-bottom: 10px;
}

.cc-leistungen-intro {
    text-align: center;
}

.cc-leistungen-intro {
    margin-bottom: 30px;
    max-width: 50%;
    margin: 0 auto 30px;
}

.outdoor-breaker {
    height: 400px;
    background-attachment: fixed;
}

.cc-about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
    position: relative;
    align-items: start;
}

.about-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-default);
    padding: 30px;
    max-width: 480px;
    z-index: 10;
}

.about-card--top {
    grid-column: 1 / -1;
    justify-self: center;
}

.about-card--left {
    grid-column: 1;
}

.about-card--right {
    grid-column: 2;
}

.about-card__icon {
    width: 72px;
    height: auto;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #6D666C;
}

.about-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4D4C4B;
}

.about-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 410px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.anchor {
    position: relative;
    top: -109px;
}


.cc-about {
    background-image: url(img/cc-loesungen-bg.svg);
    background-position: center;
}

.cc-exp article {
    width: 45%;
}


.tag-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    background: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: var(--shadow-default);
    font-family: inherit;
    font-size: 14px;
    color: #4D4C4B;
    border: solid 1px #6D666C;
}

.tag::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: currentColor;
}

.tag--green::before {
    color: #B5BC2E;
}

.tag--blue::before {
    color: #2E5BBC;
}

.tag--green {
    background: linear-gradient(to left,
            #FFFFFF 0%,
            #FEFFEB 100%);
}

.tag--blue {
    background: linear-gradient(to left,
            #FFFFFF 0%,
            #DBECFF 100%);
}

.tag--positive {
    background: linear-gradient(to left,
            #FFFFFF 0%,
            #F2FFF6 76%,
            #EEFFF3 100%);
}

.tag--negative {
    background: linear-gradient(to left,
            #FFFFFF 0%,
            #FFEBEB 100%);
}

.cc-accs {
    margin: 30px 0 0;
}

.tag.tag--positive::before,
.tag.tag--negative::before {
    display: none;
}

.cc-showcase {
    background-image: url(img/cc-loesungen-bg.svg);
}

.cc-showcase-cards {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow-default);
    padding: 50px 30px;
    margin-bottom: 50px;

}

.cc-showcase-cards article {
    width: 45%;
}

.cc-showcase-cards aside {
    width: 45%;
}

.cc-showcase-cards h3 {
    color: #6D666C;
}

.cc-showcase-cards:nth-of-type(2) {
    flex-direction: row-reverse;
}

.cc-showcase-cards .subline {
    font-size: 12px;
}

.cc-showcase-cards img {
    border-radius: 15px;
}

.cc-showcase h2 {
    text-align: center;
    margin-bottom: 30px;
    text-transform: initial;
    font-weight: 800;
    color: #6D666C;
}


.cta-card-text-container {
    max-width: 50%;
    margin: 0 auto;
}

.cc-showcase {
    padding: 100px 0;
    background-image: url(img/cc-loesungen-bg.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.cta-card {
    padding: 100px 0;
    background-image: url(img/cta-large-bg.svg);
    background-size: cover;
    text-align: center;
}

.cta-card h2 {
    margin-bottom: 15px;
    font-size: 30px;
}

.cta-footer-perso img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.cta-footer-perso {
    justify-content: flex-start;
    gap: 25px;
    margin-bottom: 16px;
}

.cc-first-footer h3 {
    font-size: 16px;
    color: #4D4C4B;
    margin-bottom: 0;
    line-height: initial;
}

.sub-online-tage {
    color: #257D3D;
    font-size: 11px;
    line-height: initial;
}

.contacts a {
    width: 100%;
    justify-content: flex-start;
    gap: 13px;
    text-decoration: none;
    font-size: 15px;
    color: #4D4C4B;
    margin-bottom: 15px;
}

.contacts a img {
    height: 25px;
    width: auto;
}

.cc-first-footer .button {
    margin-top: 10px;
}

.full {
    grid-column: 1 / -1;
    /* spannt über alle 3 Spalten */
    border-radius: 5px;
    border: solid 1px #BF1D1D;
    background-color: white;
    box-shadow: var(--shadow-default);
    padding: 50px 30px;
    position: relative;
}

.third {
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--shadow-default);
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.full .button {
    margin: 0;
}

.legal-page ul {
    padding-left: 30px;
}

.legal-page a {
    color: #BE1E1E;
}

.cc-ctas {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    display: grid;
}

.cc-ctas img {
    width: 54px;
}

.fahne {
    position: absolute;
    top: 0;
    right: 30px;
    background-color: #BF1D1D;
    border-radius: 30px;
    text-transform: uppercase;
    color: white;
    padding: 3px 12px;
    transform: translateY(-50%);
}

.fahne p {
    font-size: 10px;
    color: white;
    font-weight: 800;
}

.cc-first-footer {
    align-items: flex-start;
}

.cc-first-footer article {
    width: 60%;
}

.cc-first-footer h2 {
    text-transform: initial;
    margin-top: 0;
}

.check-head h4 {
    color: #257D3D;
    font-size: 14px;
    font-weight: 300;
    margin-top: 0;
}

.third h4,
.full h4 {
    font-size: 15px;
    color: #6D666C;
    margin: 0;
    margin-bottom: 5px;
}

.third p,
.full p {
    line-height: 20px;
}

.third {
    position: relative;
    bottom: 0;
}

.third:hover {
    background-color: #fafafa;
    bottom: 5px;
}

.third:hover h4,
.third:hover p {
    color: #BF1D1D;
}

.third img {
    margin-bottom: 15px;
}

.cc-last-bar {
    padding: 150px 0 30px;
    background-image: url(img/cc-loesungen-bg.svg);
}

.cc-socials {
    justify-content: flex-start;
    gap: 12px;
}

.cc-last-bar .flex div {
    width: 30%;
}

.cc-last-bar .flex {
    justify-content: space-between;
}

.cc-proof img {
    max-width: 250px;
    margin-bottom: 50px;
}

.cc-socials {
    margin: 15px 0;
}

.cc-last-bar a {
    text-decoration: none;
    color: #4D4C4B;
}

.cc-last-bar ul {
    list-style-type: none;
}

.cc-last-bar h5 {
    font-size: 15px;
    color: #4D4C4B;
}

.cc-last-bar a:hover {
    color: #BF1D1D;
}

.cc-legal.flex {
    justify-content: center;
    padding-top: 60px;
}

.is-scrolled {
    padding: 20px 0;
    box-shadow: var(--shadow-default);
}

.is-scrolled #header-logo {
    width: 90px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#nav-btn {
    display: none;
}

/* Cookie Banner */

/* ----- Cookie-Banner ----------------------------------------- */

.cc-banner [hidden] {
    display: none !important;
}

.cc-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 460px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-default);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cc-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cc-banner__inner {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.cc-banner h3 {
    font-size: 16px;
    font-weight: 800;
    color: #4D4C4B;
    margin-bottom: 10px;
}

.cc-banner p {
    font-size: 13px;
    line-height: 1.5;
    color: #4D4C4B;
    margin-bottom: 15px;
}

.cc-banner a {
    color: #BF1D1D;
    text-decoration: underline;
}

.cc-banner__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #CECECE;
}

.cc-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.cc-option input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #BF1D1D;
    cursor: pointer;
    flex-shrink: 0;
}

.cc-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cc-option strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #4D4C4B;
    margin-bottom: 2px;
}

.cc-option span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #6D666C;
    font-weight: 300;
}

.cc-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Banner-Buttons nutzen .button, aber kompakter und ohne Top-/Bottom-Margin */
.cc-btn {
    margin: 0;
    padding: 8px 16px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Vimeo-Platzhalter (vor Consent) */
.vimeo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
}

.vimeo-placeholder p {
    color: white;
    font-size: 14px;
    margin-bottom: 15px;
    max-width: 80%;
    line-height: 1.5;
}

.vimeo-placeholder .button {
    margin: 0;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

@media (max-width: 675px) {
    .cc-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }

    .cc-banner__inner {
        padding: 20px;
    }

    .cc-banner__buttons {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
        text-align: center;
    }
}

/* Cookie Banner */

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


@media (max-width: 1250px) {
    .wrap {
        width: 768px;
    }

    .fundament {
        padding: 30px 0;
    }

    .faq {
        padding: 30px 0;
    }

    .fundament .flex {
        grid-template-columns: repeat(2, 1fr);
    }

    .cc-business-areas-cards {
        align-items: flex-start;
    }

    .cc-leistungen-intro {
        max-width: 100%;
    }

    .cc-leistungen-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .overlay-deal-breaker .flex,
    .about-us .flex,
    .cc-exp .flex,
    .cc-showcase-cards,
    .cc-first-footer {
        flex-wrap: wrap;
    }

    .overlay-deal-breaker aside,
    .overlay-deal-breaker article,
    .about-us article,
    .about-us aside,
    .cc-exp article,
    .cc-showcase-cards article,
    .cc-showcase-cards aside,
    .cc-first-footer article {
        width: 100%;
    }

    header {
        padding: 30px 0;
    }

    main {
        margin-top: 105px;
    }


    .cc-first-footer article {
        margin-bottom: 30px;
    }

    .cc-legal p {
        font-size: 13px;
    }

    .cc-first-footer {
        flex-direction: column-reverse;
    }

    .cc-showcase-cards {
        flex-direction: column-reverse;
    }

    .cc-showcase-cards:nth-of-type(2) {
        flex-direction: column-reverse;
    }

    .cta-card-text-container {
        max-width: 90%;
    }


    .about-us aside,
    .cc-showcase-cards article {
        margin-top: 30px;
    }

    .promise-card {
        width: 48%;
    }

    .cc-loesungen .flex {
        flex-wrap: wrap;
    }

    .cc-loesungen article {
        width: 100%;
    }

    .google-badge {
        top: 28%;
    }

    #nav-btn {
        display: block;
        position: relative;
    }

    #nav-btn img {
        width: 45px;
    }

    nav ul li ul li {
        padding: 0;
        border-bottom: solid 1px lightgray;
    }

    nav ul li ul li:last-of-type {
        border-bottom: none;
    }

    nav ul li ul {
        background-color: rgb(240, 240, 240);
    }

    nav ul li a {
        display: block;
    }

    nav ul li {
        display: block;
        margin: 7px 0;
    }

    nav li:has(> ul)::after {
        display: none;
    }

    nav ul li ul {
        position: initial;
        visibility: visible;
        opacity: 1;
        margin-left: 15px;
    }

    nav {
        position: fixed;
        right: -100%;
        background-color: white;
        top: 0;
        height: 100vh;
        padding: 0 30px;
        display: flex;
        align-items: center;
    }

    .is-open {
        right: 0;
    }

    .hero figure {
        width: 100%;
        margin-bottom: 15px;
    }

    .hero figure img {
        width: 100%;
        max-width: 100%;
        max-height: 50vh;
        object-fit: cover;
    }

    .hero{
        padding: 20px 0 55px;
    }

    .hero aside {
        width: 100%;
    }

    .cc-first-footer aside {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .cta-footer-perso,
    .contacts {
        width: 48%;
    }

    .cc-first-footer h2 {
        width: 100%;
    }

    .google-badge {
        position: initial;
    }

    .cc-showcase {
        padding: 30px 0;
    }

    .cc-exp-slider {
        padding: 30px 0;
    }
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .logo-banner img{
        width: 90px;
    }

    .about-card--top,
    .about-card--left,
    .about-card--right {
        grid-column: 1;
        max-width: 100%;
    }

    .breaker-content {
        max-width: 100%;
    }

    .cc-business-areas-cards article {
        width: 100%;
        margin-bottom: 30px;
    }

    .cc-business-areas-cards {
        flex-direction: column-reverse;
    }

    .about-center {
        display: none;
    }

    .cc-business-areas-cards {
        padding: 20px;
    }

    .cc-business-areas-cards article:nth-of-type(2) {
        padding: 20px;
    }

    .cc-business-areas-cards ul li {
        margin-bottom: 10px;
    }

    .wrap {
        width: 90%;
    }

    .google-badge {
        margin-top: 30px;
    }

    .cc-promise-cards {
        align-items: flex-start;
    }

    .breaker-overlay {
        padding: 75px 0;
    }

    .promise-card {
        width: 100%;
        margin-bottom: 30px;
    }

    .cc-promise-cards {
        flex-wrap: wrap;
    }

    .cc-last-bar .flex div {
        width: 100%;
        margin: 15px 0;
    }

    .cc-last-bar .flex.cc-socials {
        justify-content: flex-start;
    }

    .cc-proof img {
        margin-bottom: 10px;
    }

    .cc-legal.flex {
        padding-top: 20px;
    }
}

@media (max-width: 675px) {
    .cc-leistungen-wall {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .fundament .flex {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero,
    .cc-leistungen {
        padding: 10px 0 30px 0;
    }

    nav {
        right: -150%;
    }

    .cc-promise-cards {
        margin: 30px 0;
    }

    .logo-banner {
        flex-wrap: wrap;
    }

    .cc-ctas img {
        margin-bottom: 15px;
    }

    .full .button {
        margin-top: 20px;
    }

    .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .cc-ctas {
        grid-template-columns: repeat(1, 1fr);
    }

    .google-badge {
        position: initial;
        margin-top: 30px;
    }

    .logo-banner {
        margin-top: 15px;
        justify-content: space-around;
    }

    .logo-banner img{
        width: 80px;
    }

    .full {
        flex-wrap: wrap;
        grid-column: initial;
    }

    h2,
    .cc-promise h2,
    .overlay-deal-breaker h2 {
        font-size: 17px;
    }

    .cc-about {
        padding: 30px 0;
    }

    p,
    ul li {
        line-height: 1.4em;
    }

    .outdoor-breaker {
        height: 250px;
    }

    .overlay-deal-breaker {
        padding: 50px 0;
    }

    .cc-business-areas-cards ul li {
        padding-left: 5px;
        line-height: initial;
    }

    .about-us {
        padding: 30px 0;
    }

    .overlay-deal-breaker article {
        margin-top: 30px;
    }

    .ctas {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .ctas .button {
        margin: 0;
    }

    h1 {
        font-size: 20px;
    }

    .full div {
        width: 100%;
    }

    .cta-footer-perso,
    .contacts {
        width: 100%;
        margin: 20px 0;
    }

    .cc-last-bar {
        padding: 30px 0;
    }

    .cc-showcase {
        padding: 30px 0 0;
    }

    .full div.fahne {
        width: auto;
    }

    .tag-filter {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tag::before {
        width: 7px;
        height: 7px;
    }

    .cta-card h2 {
        font-size: 17px;
    }

    .cc-promise {
        margin: 30px 0 0;
    }

    #header-logo {
        width: 80px;
    }

    main {
        margin-top: 75px;
    }

    .is-scrolled #header-logo {
        width: 70px;
    }

    .is-scrolled {
        padding: 10px 0;
    }

    header {
        padding: 15px 0;
    }

    .hero figure{
        height: 200px;
    }

    .cc-proof img {
        max-width: 200px;
    }

    #nav-btn img {
        width: 35px;
    }

    .cc-showcase-cards {
        padding: 20px;
    }

    main{
        margin-top: 65px;
    }
}