﻿:root {
    --brand-orange: #782b3a;
    --brand-orange-strong: #5f2230;
    --brand-blue: #0c1b28;
    --brand-blue-soft: #172e42;
    --bg: #f3f0ea;
    --surface: #ffffff;
    --text: #0c1b28;
    --text-soft: #5a6a78;
    --line: rgba(12, 27, 40, 0.12);
    --divider: rgba(12, 27, 40, 0.2);
    --shadow-soft: 0 0 0 1px var(--line);
    --shadow-strong: 0 0 0 1px rgba(12, 27, 40, 0.22);
    --font-head: "Rajdhani", sans-serif;
    --font-body: "Work Sans", sans-serif;
    --transition: color 0.24s cubic-bezier(0.4,0,0.2,1), background-color 0.24s cubic-bezier(0.4,0,0.2,1), border-color 0.24s cubic-bezier(0.4,0,0.2,1), box-shadow 0.24s cubic-bezier(0.4,0,0.2,1), transform 0.24s cubic-bezier(0.4,0,0.2,1), opacity 0.24s cubic-bezier(0.4,0,0.2,1), gap 0.24s cubic-bezier(0.4,0,0.2,1);
    --radius: 1rem;
    --radius-lg: 1.5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--brand-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    z-index: 1200;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 999px;
    padding: 0.68rem 1rem;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(243, 240, 234, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(243, 240, 234, 0.97);
    box-shadow: 0 1px 0 var(--line);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.1rem;
    min-height: 0;
    height: 72px;
    overflow: hidden;
    padding: 0;
}

.brand {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 0.76rem;
    padding-right: 0.3rem;
}

.brand-logo-icon {
    height: 9.375rem;
    width: auto;
    max-width: 24rem;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    mix-blend-mode: normal;
}

.brand-text strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.28rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: rgba(83, 97, 112, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.64rem;
}

.primary-nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.primary-nav a {
    display: block;
    padding: 0.48rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.primary-nav a:hover {
    background: rgba(12, 27, 40, 0.07);
    color: var(--text);
}

.primary-nav a.active {
    background: var(--brand-orange);
    color: #fff;
    box-shadow: none;
}

.primary-nav li:last-child {
    margin-left: 0.6rem;
}

.primary-nav li:last-child a {
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
    padding: 0.44rem 0.9rem;
}

.primary-nav li:last-child a:hover {
    background: var(--brand-blue);
    color: #fff;
}

.primary-nav li:last-child a.active {
    background: var(--brand-orange);
    color: #fff;
    border-color: var(--brand-orange);
}

.mobile-toggle {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.5rem;
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--brand-blue);
    font-size: 1.2rem;
    box-shadow: none;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: rgba(12, 27, 40, 0.06);
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
    color: var(--text);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 700;
}

p {
    color: var(--text-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.72rem;
    color: var(--brand-orange);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 1.4rem;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.hero {
    padding: 4rem 0 3.5rem;
}

.home-hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--brand-blue);
    color: #fff;
}

/* Hero slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.04);
    animation: hero-zoom 8s ease-in-out infinite alternate;
}

.hero-slide.active {
    opacity: 0.55;
}

@keyframes hero-zoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.00); }
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 120% at 105% -10%, rgba(140, 35, 55, 0.35) 0%, transparent 65%),
        linear-gradient(to right, rgba(12, 27, 40, 0.72) 30%, rgba(12, 27, 40, 0.35) 100%);
}

.home-hero .eyebrow {
    color: rgba(255, 200, 200, 0.7);
}

.home-hero .eyebrow::before {
    background: rgba(255, 150, 150, 0.5);
}

.home-hero p {
    color: rgba(255, 255, 255, 0.65);
}

.hero-layout {
    position: relative;
    z-index: 1;
    max-width: 80ch;
}

.home-hero .hero-layout h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1rem;
    max-width: 54ch;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.5rem;
    border-radius: 0.55rem;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-strong) 100%);
    color: #fff;
    border-color: var(--brand-orange-strong);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6b2535 0%, #4d1b27 100%);
    border-color: #4d1b27;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--brand-blue);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: rgba(120, 43, 58, 0.28);
    color: var(--brand-orange);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.16);
}

.section {
    padding: 4rem 0;
    border-top: 1px solid var(--divider);
}

/* Remove double-line when trust bar's red bottom meets the section's grey top */
.section-trust + .section {
    border-top: none;
}

.section-soft {
    background: #fff;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.section-soft .card {
    border-left-color: rgba(120, 43, 58, 0.28);
    background: var(--bg);
}

.section-soft .card:hover {
    border-left-color: var(--brand-orange);
    background: #fff;
}

.section-head {
    max-width: 68ch;
    margin-bottom: 2.5rem;
    padding-top: 0.5rem;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 0.65rem;
}

.section-lead {
    margin-top: 0.4rem;
    font-size: 1.05rem;
    max-width: 62ch;
    color: var(--text-soft);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand-orange);
    border-radius: 0.65rem;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
    overflow: hidden;
}

/* Warm left-side gradient wash — matches the accent bar direction */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(120, 43, 58, 0.04) 0%, transparent 32%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-2px);
    border-left-color: var(--brand-orange-strong);
    box-shadow: 0 6px 28px rgba(12, 27, 40, 0.09);
}

.card h3 {
    margin-bottom: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.service-cta {
    margin-top: auto;
    align-self: flex-start;
}

.service-highlight i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(120, 43, 58, 0.1);
    border: 1px solid rgba(120, 43, 58, 0.2);
    border-radius: 0.5rem;
    color: var(--brand-orange);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

/* Focus cards – Schwerpunkte on homepage */
.focus-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.focus-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.focus-card:hover {
    box-shadow: none;
    border-color: var(--brand-orange);
    transform: translateY(-2px);
}

.focus-card-icon {
    flex-shrink: 0;
    width: 100%;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(170deg, var(--brand-orange) 0%, var(--brand-orange-strong) 100%);
    color: #fff;
    font-size: 2rem;
    position: relative;
}

/* Inner top-highlight sheen */
.focus-card-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.focus-card-body {
    padding: 1.6rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.focus-card-body h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    color: var(--text);
}

.focus-card-sub {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.focus-card-sub li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.focus-card-sub li i {
    color: var(--brand-orange);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.focus-card-link {    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin-top: 0.25rem;
    transition: var(--transition);
}

.focus-card-link:hover {
    color: var(--brand-orange-strong);
    gap: 0.55rem;
}

.focus-secondary {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: nowrap;
    transition: var(--transition);
}

.focus-secondary:hover {
    border-color: var(--brand-orange);
    transform: translateY(-2px);
}

.focus-secondary-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--brand-orange);
    margin: 0;
    white-space: nowrap;
}

.focus-secondary-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    flex: 1;
}

.focus-secondary-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    background: var(--bg);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
}

.focus-secondary-list li:hover {
    border-color: var(--brand-orange);
    background: rgba(120, 43, 58, 0.05);
}

.focus-secondary-list i {
    color: var(--brand-orange);
    font-size: 1.05rem;
}

.focus-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-orange);
    transition: var(--transition);
    white-space: nowrap;
}

.focus-secondary-cta:hover {
    color: var(--brand-orange-strong);
    gap: 0.6rem;
}

/* ── Services carousel (leistungen.html) ── */
.svc-carousel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.svc-viewport {
    flex: 1;
    min-width: 0;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    position: relative;
    scrollbar-width: none;
}

.svc-viewport::-webkit-scrollbar { display: none; }

.svc-track {
    display: flex;
    gap: 1.25rem;
}

.svc-card {
    flex: 0 0 var(--svc-cw);
    min-width: 0;
    scroll-snap-align: start;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.svc-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
}

.svc-card-media {
    height: 160px;
    overflow: hidden;
}

.svc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.svc-card:hover .svc-card-media img {
    transform: scale(1.05);
}

.svc-card-icon {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(120, 43, 58, 0.06), rgba(120, 43, 58, 0.14));
}

.svc-card-icon i {
    font-size: 3rem;
    color: var(--brand-orange);
}

.svc-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    flex: 1;
}

.svc-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.svc-card-body p {
    font-size: 0.875rem;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.5;
}

.svc-btn {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0;
}

.svc-btn:hover:not(:disabled) {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: rgba(120, 43, 58, 0.05);
}

.svc-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

@media (max-width: 580px) {
    .svc-btn { display: none; }
}

.cta-row {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    background: var(--brand-blue);
    border-radius: var(--radius);
    padding: 0.95rem 1rem;
}

.cta-row p {
    color: #eaf1f8;
    font-weight: 600;
}

/* Secondary services block */
.secondary-services {
    margin-top: 2.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    text-align: center;
}

.secondary-services .eyebrow {
    margin-bottom: 0;
}

.secondary-services-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.secondary-services-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.92rem;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 0.55rem;
    padding: 0.5rem 1.1rem;
    box-shadow: none;
    transition: var(--transition);
}

.secondary-services-list li:hover {
    border-color: var(--brand-orange);
    box-shadow: none;
    transform: translateY(-2px);
}

.secondary-services-list i {
    color: var(--brand-orange);
    font-size: 1.15rem;
}

.page-hero {
    padding: 3.2rem 0 2.8rem;
    background:
        linear-gradient(135deg, var(--brand-blue) 45%, #1a0d13 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 120% at 105% -10%, rgba(140, 35, 55, 0.45) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .eyebrow {
    color: rgba(255, 200, 200, 0.7);
}

.page-hero .eyebrow::before {
    background: rgba(255, 150, 150, 0.5);
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 62ch;
}

.list-check {
    list-style: none;
    display: grid;
    gap: 0;
}

.list-check li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.list-check li:last-child {
    border-bottom: none;
}

.list-check i {
    color: var(--brand-orange);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.18rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--divider);
    flex: 1;
}

.faq-centered {
    max-width: 780px;
    margin: 0 auto;
}

/* Two-column FAQ layout: sticky sidebar left, accordion right */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.faq-sidebar h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0;
}

.faq-sidebar p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-soft);
}

.faq-sidebar-btn {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    padding: 0.65rem 1.25rem;
}

.faq-list details {
    border: none;
    border-bottom: 1px solid var(--divider);
    background: transparent;
    padding: 0;
    transition: var(--transition);
}

.faq-list details[open] {
    background: rgba(120, 43, 58, 0.025);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 1.08rem;
    letter-spacing: -0.01em;
    color: var(--text);
    list-style: none;
    padding: 1.35rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: color 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-list summary:hover {
    color: var(--brand-orange);
}

.faq-list details[open] > summary {
    color: var(--brand-orange);
}

.faq-list summary::after {
    content: '+';
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--text-soft);
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: var(--surface);
    transition: var(--transition);
}

.faq-list details[open] summary::after {
    content: '−';
    color: #fff;
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

.faq-list details > p,
.faq-list details > div {
    padding: 0 3rem 1.4rem 0;
    color: var(--text-soft);
    border-top: none;
    max-width: 72ch;
    font-size: 0.97rem;
    line-height: 1.75;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.contact-list {
    display: grid;
    gap: 0.5rem;
}

.contact-list a,
.contact-list p {
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    border: 1px solid var(--line);
    background: var(--surface);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    transition: var(--transition);
}

.contact-list a:hover {
    border-color: var(--brand-orange);
}

.contact-list i {
    color: var(--brand-orange-strong);
}

.contact-grid {
    align-items: stretch;
}

.contact-info-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.contact-info-body {
    padding: 1.5rem 2rem 1.25rem;
}

.contact-map-frame {
    position: relative;
    flex: 1;
    height: 340px;
    border-top: 1px solid var(--line);
    overflow: hidden;
    border-radius: 0 0 0.65rem 0.65rem;
    background: #d7ebe0;
}

.contact-map-image {
    position: absolute;
    inset: 0;
    background-image: url("Bilder/image.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.simple-form {
    display: grid;
    gap: 0.7rem;
}

.simple-form label {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
}

.simple-form input,
.simple-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.55rem;
    border: 1.5px solid var(--line);
    background: var(--surface);
    font: inherit;
    color: var(--text);
    transition: var(--transition);
}

.simple-form input:focus,
.simple-form textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
}

.form-note {
    margin-top: 0.25rem;
    font-size: 0.84rem;
    color: var(--text-soft);
}

/* ── Partners Section ── */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-soft);
    text-align: center;
    letter-spacing: 0.02em;
    transition: var(--transition);
    min-height: 3.5rem;
}

.partner-item:hover {
    border-color: var(--brand-orange);
    color: var(--text);
}

/* when logo imgs are added later */
.partner-item img {
    max-height: 2.5rem;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Unsure CTA Section */
.unsure-cta-section {
    background: var(--bg);
    padding: 4rem 0;
    border-top: 1px solid var(--divider);
}

.unsure-cta-card {
    background:
        linear-gradient(135deg, var(--brand-blue) 40%, #1a0d13 100%);
    border-radius: var(--radius-lg);
    padding: 4.5rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.unsure-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 110% at 105% -5%, rgba(140, 35, 55, 0.4) 0%, transparent 65%);
    pointer-events: none;
}

.unsure-cta-icon {
    font-size: 2.6rem;
    color: var(--brand-orange);
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.unsure-cta-card .eyebrow {
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
}

.unsure-cta-card .eyebrow::before {
    background: rgba(255, 255, 255, 0.25);
}

.unsure-cta-card h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 1;
}

.unsure-cta-lead {
    color: rgba(255, 255, 255, 0.55);
    max-width: 50ch;
    margin: 0 0 0.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.65;
}

.unsure-cta-card .btn-primary {
    position: relative;
    z-index: 1;
}

.unsure-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.unsure-cta-text h2 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.unsure-cta-text p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 52ch;
    margin: 0;
}

.site-footer {
    margin-top: 0;
    background: linear-gradient(135deg, var(--brand-blue) 30%, #1a0d13 100%);
    color: rgba(255, 255, 255, 0.55);
    border-top: 3px solid rgba(120, 43, 58, 0.55);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* Same red corner glow as hero/CTA — originates top-right */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 140% at 105% -10%, rgba(140, 35, 55, 0.45) 0%, transparent 65%);
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding: 1.5rem 0 1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-col strong {
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
    margin-bottom: 0.3rem;
}

.footer-col a,
.footer-col p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-legal {
    align-items: flex-end;
    text-align: right;
}

.section-trust {
    background: #060e18;
    padding: 2rem 0 2.5rem;
    position: relative;
    border-top: none;
    border-bottom: 3px solid rgba(120, 43, 58, 0.65);
}

/* Directional red seam — subtle visual handoff from hero */
.section-trust::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(140, 35, 55, 0.7) 0%, rgba(140, 35, 55, 0.2) 50%, transparent 100%);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
}

.trust-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.5rem 1.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

/* Red accent bar that climbs up on hover */
.trust-stat::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 2px; height: 0;
    background: var(--brand-orange);
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-stat:hover::after { height: 100%; }

.trust-stat:first-child {
    padding-left: 0;
}

.trust-stat:last-child {
    border-right: none;
}

.trust-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(120, 43, 58, 0.16);
    border: 1px solid rgba(120, 43, 58, 0.3);
    border-radius: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 1.05rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.trust-number {
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.trust-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.65rem;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.gallery-img:hover {
    transform: scale(1.015);
}

.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--brand-blue-soft), var(--brand-blue));
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.card.prose > * + * {
    margin-top: 0.85rem;
}

.card.prose h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-top: 0;
    margin-bottom: 0;
}

.card.prose h3 {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: var(--brand-blue);
}

.card.prose a {
    color: var(--brand-orange-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Inhaber-Portrait-Sektion ─────────────────────────────── */
.owner-section {
    border-top: 1px solid var(--divider);
    padding: 4.5rem 0;
}

.owner-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.owner-layout.text-first {
    grid-template-columns: 1fr 400px;
}

.owner-text h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.owner-text > p {
    max-width: 52ch;
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
}

.owner-quote {
    border-left: 3px solid var(--brand-orange);
    padding: 0.9rem 1.2rem;
    margin: 1.2rem 0 1.5rem;
    background: rgba(120, 43, 58, 0.06);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.owner-quote cite {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 600;
}

.owner-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.owner-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 1rem;
    display: block;
    box-shadow: 0 16px 56px rgba(12, 27, 40, 0.28);
    filter: contrast(1.16) saturate(1.28) brightness(1.04) hue-rotate(-6deg);
}

/* Cinematic color grade overlay */
.owner-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(
        170deg,
        rgba(30, 55, 110, 0.14) 0%,
        transparent 42%,
        rgba(95, 34, 48, 0.18) 100%
    );
    mix-blend-mode: multiply;
    pointer-events: none;
}

.owner-badge {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    background: rgba(12, 27, 40, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 0.85rem 1.1rem;
    border-radius: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.owner-badge strong {
    font-family: var(--font-head);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.owner-badge span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.5rem;
    border-radius: 0.55rem;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline-dark:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Homepage Galerie-Vorschau ─────────────────────────────── */
.home-gallery-section {
    border-top: 1px solid var(--divider);
    padding: 4rem 0;
}

.home-gallery-grid {
    gap: 1rem;
}

.home-gallery-item {
    display: block;
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--brand-blue);
}

.home-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s;
}

.home-gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.88;
}

.home-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(12, 27, 40, 0.9) 0%, transparent 100%);
    color: rgba(255, 255, 255, 0.92);
    padding: 2rem 1rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.home-gallery-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Nacht-zu-Tag Filter für dunkle Projektfotos */
.home-gallery-item--daylight img {
    filter: brightness(2.6) saturate(1.5) contrast(0.82) hue-rotate(8deg);
}

@media (max-width: 1040px) {
    .primary-nav {
        position: absolute;
        top: calc(100% + 0.4rem);
        right: 4%;
        width: min(300px, 90vw);
        border-radius: var(--radius);
        padding: 0.45rem;
        display: grid;
        gap: 0.2rem;
        box-shadow: 0 8px 32px rgba(12, 27, 40, 0.14);
        background: rgba(243, 240, 234, 0.97);
        backdrop-filter: blur(16px);
        border: 1px solid var(--line);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.24s cubic-bezier(0.4,0,0.2,1), transform 0.24s cubic-bezier(0.4,0,0.2,1), visibility 0.24s;
    }

    .primary-nav[data-visible="true"] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .primary-nav a {
        border-radius: 0.55rem;
        padding: 0.62rem 0.8rem;
    }

    .primary-nav li:last-child a {
        box-shadow: none;
    }
}

@media (max-width: 860px) {
    .two-up {
        grid-template-columns: 1fr;
    }

    .three-up {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-sidebar {
        position: static;
    }

    .trust-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .trust-stat {
        padding: 1.25rem;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .trust-stat:first-child {
        padding-left: 1.25rem;
    }

    .trust-stat:nth-child(2n) {
        border-right: none;
    }

    .trust-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .focus-cards {
        grid-template-columns: 1fr;
    }

    .owner-layout,
    .owner-layout.text-first {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .owner-photo {
        aspect-ratio: 4 / 3;
        max-height: 380px;
    }

    .unsure-cta-card {
        padding: 3rem 1.75rem;
    }

    .focus-card-icon {
        width: 4.25rem;
        font-size: 1.35rem;
    }

    .focus-card-body {
        padding: 1.25rem 1.4rem;
    }

    .focus-secondary {
        padding: 1rem;
    }

    .contact-map-frame {
        height: 260px;
    }

    .contact-map-image {
        inset: 0;
    }
}

@media (max-width: 700px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-legal {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 3rem 0;
    }

    .focus-secondary {
        justify-content: center;
        text-align: center;
        gap: 0.8rem;
    }

    .focus-secondary-list {
        justify-content: center;
    }

    .three-up {
        grid-template-columns: 1fr;
    }

    .brand-text small {
        display: none;
    }

    .home-hero .hero-layout h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
}

/* ── Job Accordion ──────────────────────────────────────── */
.job-accordion {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.job-item {
    border-bottom: 1px solid var(--line);
}

.job-item:last-child {
    border-bottom: none;
}

.job-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background var(--transition);
}

.job-summary::-webkit-details-marker { display: none; }

.job-summary:hover {
    background: var(--divider);
}

.job-item[open] > .job-summary {
    background: var(--divider);
    border-bottom: 1px solid var(--line);
}

.job-title {
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
}

.job-mwd {
    font-weight: 400;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.job-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-orange-strong);
    white-space: nowrap;
}

.job-chevron {
    font-size: 1rem;
    color: var(--text-soft);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.job-item[open] .job-chevron {
    transform: rotate(180deg);
}

.job-body {
    padding: 1.5rem 1.4rem 1.25rem;
}

.job-apply {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
}

/* ── Job Cols ───────────────────────────────────────────── */
.job-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem 2rem;
}

.job-col-label {
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2500;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 240, 234, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(120, 43, 58, 0.18);
    box-shadow: 0 -10px 40px rgba(12, 27, 40, 0.1);
    padding: 0.9rem 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1240px;
    width: min(94%, 1240px);
    margin: 0 auto;
    padding: 0 0.5rem;
}

.cookie-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cookie-main p {
    flex: 1;
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-soft);
    min-width: 220px;
    line-height: 1.5;
}

.cookie-main p a {
    color: var(--brand-orange);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-settings-panel {
    display: none;
}

.cookie-banner.is-settings-open .cookie-main {
    display: none;
}

.cookie-banner.is-settings-open .cookie-settings-panel {
    display: block;
}

.cookie-settings-header {
    margin-bottom: 0.75rem;
}

.cookie-settings-header h3 {
    margin: 0 0 0.25rem;
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--brand-blue);
}

.cookie-settings-header p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-soft);
    line-height: 1.45;
}

.cookie-settings-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.cookie-actions,
.cookie-settings-actions {
    display: flex;
    gap: 0.55rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-actions .btn,
.cookie-settings-actions .btn {
    padding: 0.62rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.cookie-category {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(120, 43, 58, 0.12);
}

.cookie-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--brand-blue);
    font-size: 0.88rem;
}

.cookie-category p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-soft);
    line-height: 1.35;
}

.cookie-status-pill {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(120, 43, 58, 0.1);
    color: var(--brand-orange-strong);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.cookie-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch-ui {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(12, 27, 40, 0.14);
    transition: background-color 0.2s ease;
    position: relative;
}

.cookie-switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch-ui {
    background: var(--brand-orange);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
    transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch-ui {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

@media (max-width: 992px) {
    .cookie-settings-categories {
        grid-template-columns: 1fr;
    }

    .cookie-main {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .cookie-main {
        text-align: left;
    }

    .cookie-actions,
    .cookie-settings-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .cookie-settings-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cookie-actions .btn,
    .cookie-settings-actions .btn {
        width: 100%;
        padding-inline: 0.5rem;
    }

    .cookie-category-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

