/* ========== BASE ========== */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

section {
    padding-block: 4rem;
}

h1, h2, h3 {
    color: var(--color-dark);
    line-height: 1.2;
}

p {
    color: var(--color-dark);
}



/* Section titles */
.value-header h2,
.tools-header h2,
.kontakt-header h2,
.testimonials-header h2 {
    font-size: 2rem;
}

.tools-header h2 span, .testimonials-header h2 span, .tools-header h2 span, .value-header h2 span {
    font-weight: normal;
}
h1.hero-title  span {
    font-weight: normal;
}


/* ========== HERO ========== */
.hero {
    background: var(--color-bg-highlight);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-media img {
    width: 100%;
    height: auto;
}

.hero-references {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-ref-title {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.hero-ref-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-ref-logos img {
    height: 28px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.hero-ref-logos img:hover {
    opacity: 1;
}

/* ========== VALUE SECTION ========== */
.value {
    background: var(--color-white);
}

.value-header {
    text-align: center;
    margin-bottom: 3rem;
}

.value-header h2 {
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: normal;
}

.value-header h2 em {
    font-style: normal;
    font-weight: bold;
}

.value-subtitle {
    color: #6b7280;
    max-width: 700px;
    margin-inline: auto;
    font-size: 1rem;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Carousel Styles */
.value-carousel {
    position: relative;
}

.carousel {
    position: relative;
    height: 22rem;
}

.carousel-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 5rem;
    height: 5rem;
    background: var(--color-dark);
    border: 3px solid var(--color-dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-badge-number {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.carousel-badge-text {
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.carousel-track {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    height: 100%;
}

.carousel-slide {
    display: none;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;

}

.carousel-dot:hover,
.carousel-dot.active {
    background: var(--color-primary);
}

/* Expertise Section */
.expertise {
    margin-top: 2rem;
}

.expertise-title {
    color: var(--color-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.expertise-text {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Value Items */
.value-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
}

.value-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	padding-top: 0.25rem;
}

.value-text h3 {
    color: var(--color-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.value-text p,
.value-text div {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.value-icon-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 2.5rem;
    gap: 0.75rem;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.value-line {
    width: 1px;
    background: var(--color-dark);
    flex: 1;
}

.value-icon-wrapper {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon {
    width: 100%;
    height: auto;
}

/* ========== TOOLS GRID ========== */
.tools {
    padding-top: 2rem;
}

.tools-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tools-header h2 {
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.tools-subtitle {
    color: #6b7280;
    max-width: 700px;
    margin-inline: auto;
    font-size: 1rem;
}

.tools-grid {
    display: flex;
    gap: 1.5rem;
}

.tools-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-card {
    padding: 1.25rem;
    border-radius: var(--radius);
}

.tool-card-light {
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-grey);
}

.tool-card-dark {
    background: var(--color-dark);
}

.tool-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
}

.tool-card-light h3 {
    color: var(--color-dark);
}

.tool-card-dark h3 {
    color: var(--color-white);
}

.tool-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.tool-card-light p {
    color: #6b7280;
}

.tool-card-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    justify-content: space-between;
}

.tool-link:hover {
    text-decoration: underline;
}

.tool-card-light .tool-link {
    color: var(--color-dark);
}

.tool-card-dark .tool-link {
    color: var(--color-white);
}

.tool-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.tool-card-image {
    border-radius: var(--half-radius);
    overflow: hidden;
}

.tool-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== KONTAKT SECTION ========== */
.kontakt {
    background: var(--color-white);
}

.kontakt-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kontakt-header h2 {
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.kontakt-subtitle {
    color: #6b7280;
    max-width: 700px;
    margin-inline: auto;
    font-size: 1rem;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 4rem;
    max-width: 900px;
    margin-inline: auto;
}

.kontakt-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* First column: align right */
.kontakt-item:nth-child(odd) {
    text-align: right;
}

.kontakt-item:nth-child(odd) .kontakt-item-header {
    flex-direction: row-reverse;
}

/* Second column: align left */
.kontakt-item:nth-child(even) {
    text-align: left;
}

.kontakt-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kontakt-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.kontakt-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kontakt-content h3 {
    font-size: 1.25rem;
    color: var(--color-dark);
    font-weight: normal;
    line-height: 1.3;
}

.kontakt-content h3 .title-light {
    font-weight: normal;
}

.kontakt-content h3 strong {
    font-weight: 700;
    display: block;
}

.kontakt-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.kontakt-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding-top: 2rem;;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header h2 {
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    color: #6b7280;
    max-width: 700px;
    margin-inline: auto;
    font-size: 1rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin-inline: auto;
}

.testimonials-track {
    position: relative;
    overflow: hidden;
}

.testimonials-slide {
    display: none;
}

.testimonials-slide.active {
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-bg-highlight);
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius);
    display: flex;
    gap: 1rem;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
}

.testimonial-quote-icon {
    color: var(--color-primary);
    width: 1.5rem;
    height: 1rem;
}

.testimonial-quote-icon-inverted {
    color: var(--color-primary);
    width: 1.5rem;
    display: flex;
    align-items: flex-end;
}

.testimonial-quote-icon-inverted > svg {
    transform: rotate(-180deg);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-dark);
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--color-dark);
}

.testimonial-author strong {
    font-weight: 600;
}

.testimonial-author-title {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.testimonials-nav:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.testimonials-nav-prev {
    left: -4rem;
}

.testimonials-nav-next {
    right: -4rem;
}

.testimonials-dots {
    display: none;
}

.testimonials-logos {
    margin-top: 4rem;
    text-align: center;
}

.testimonials-logos h3 {
    color: var(--color-dark);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.testimonials-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        flex-direction: column;
    }

    section {
        padding-block: 3rem;
    }

    .value-carousel {
        order: -1;
    }

    .carousel-badge {
        width: 4rem;
        height: 4rem;
    }

    .carousel-badge-number {
        font-size: 1.25rem;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-nav {
        display: none;
    }

    .testimonials-dots {
        display: flex;
        gap: 0.5rem;
        margin-top: 1.5rem;
        align-items: center;
        justify-content: center;
    }

    .testimonials-dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background: #d1d5db;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background 0.3s ease;
    }

    .testimonials-dot:hover,
    .testimonials-dot.active {
        background: var(--color-primary);
    }

    .testimonials-logos-grid {
        gap: 2rem;
    }

    .kontakt-item:nth-child(odd) {
        text-align: left;
    }
    .kontakt-item:nth-child(odd) .kontakt-item-header {
        flex-direction: row;
    }
}
