@font-face {
    font-family: 'Recoleta';
    src: url('/fileadmin/utzmedien/fonts/recoleta-regular-webfont.woff2') format('woff2'),
         url('/fileadmin/utzmedien/fonts/recoleta-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #222222;
} */

/* Header Container */
.header-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 20px 80px;
    animation: fadeInScale 1.2s ease-out;
    overflow: hidden;
    background-color: #000000; /* Schwarzer Hintergrund als Fallback */
}

/* Header Slideshow */
.header-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #000000; /* Schwarzer Hintergrund */
}

.header-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.header-slide.active {
    opacity: 1;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Title Section */
.hero-content {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Recoleta', Georgia, serif;
    color: white;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.hero-highlight {
    position: relative;
    display: inline-block;
}

.hero-underline {
    position: absolute;
    bottom: -8px;
    left: -5px;
    width: 110%;
    height: 20px;
    pointer-events: none;
}

.underline-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 0.6s ease-out 0.48s forwards;
    opacity: 0.8;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Special styling for Events planen */
.hero-highlight {
    font-weight: 400;
    letter-spacing: -0.5px;
    animation: glow 1.2s ease-in-out;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                    0 0 30px rgba(255, 255, 255, 0.6),
                    0 0 40px rgba(255, 255, 255, 0.4);
    }
    100% {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
}

.hero-subtitle-part {
    opacity: 0;
    font-weight: 300;
    animation: fadeInSubtitle 0.48s ease-out 0.6s forwards;
}

@keyframes fadeInSubtitle {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 0.8;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

/* Search Bar Container */
.search-bar-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1001;
}

.search-bar {
    background: white;
    border-radius: 32px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    overflow: visible;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.search-bar.dimmed {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

/* Dimming for individual segments */
.search-segment.dimmed {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.search-segment.active {
    opacity: 1 !important;
}

/* Dimming removed - causes issues with dropdown visibility */

.search-bar:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Search Segments */
.search-segment {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.search-segment:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    width: 1px;
    background-color: #DDDDDD;
}

.search-segment-button {
    width: 100%;
    padding: 14px 32px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 32px;
}

.search-segment-button:hover {
    background-color: #EBEBEB;
}

.search-segment-button.active {
    background-color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.search-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #222222;
    margin-bottom: 2px;
}

.search-value {
    display: block;
    font-size: 14px;
    color: #717171;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-value.has-value {
    color: #222222;
    font-weight: 500;
}

/* Search Button */
.search-submit {
    margin: 8px;
}

.search-submit-button {
    background: #FF385C;
    border: none;
    border-radius: 24px;
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-submit-button:hover {
    background: #E61E4D;
    transform: scale(1.04);
}

.search-submit-button i {
    font-size: 18px;
}

/* Dropdown Menus */
.search-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    padding: 32px;
    min-width: 420px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
    z-index: 10000;
}

.search-dropdown.show {
    display: block;
    z-index: 9999;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* Navigation Levels */
.dropdown-level {
    display: none;
}

.dropdown-level.active {
    display: block;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: #222;
}

.back-button i {
    font-size: 16px;
}

.subcategory-list {
    display: grid;
    gap: 12px;
}

.subcategory-item {
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    color: #333;
}

.subcategory-item:hover {
    background: #efefef;
    transform: translateX(4px);
}

.category-card {
    cursor: pointer;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #EBEBEB;
    transition: all 0.2s ease;
    text-align: center;
}

.category-card:hover {
    border-color: #222222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-card.selected {
    border-color: #222222;
    background-color: #F7F7F7;
}

.category-icon {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.category-name {
    font-size: 14px;
    font-weight: 500;
    color: #222222;
}

/* Canton Selection */
.canton-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 12px;
    max-height: 284px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom scrollbar for canton grid */
.canton-grid::-webkit-scrollbar {
    width: 6px;
}

.canton-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.canton-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.canton-grid::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.canton-chip {
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #DDDDDD;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #222222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.canton-chip:hover {
    border-color: #222222;
    background-color: #F7F7F7;
}

.canton-chip.selected {
    background-color: #222222;
    color: white;
    border-color: #222222;
}

/* Dropdown Header */
.dropdown-header {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #222222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.dropdown-close:hover {
    color: #222;
}

/* Dropdown Search */
.dropdown-search {
    position: relative;
    margin-bottom: 24px;
}

.dropdown-search-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border: 2px solid #EBEBEB;
    border-radius: 12px;
    font-size: 15px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.2s ease;
    background: white;
}

.dropdown-search-input:focus {
    outline: none;
    border-color: #222;
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08);
}

.dropdown-search-input::placeholder {
    color: #999;
}

.dropdown-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

/* Hide elements when searching */
.category-card.search-hidden,
.canton-chip.search-hidden,
.popular-section.search-hidden,
.subcategory-item.search-hidden {
    display: none;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    display: none;
}

.search-no-results.show {
    display: block;
}

/* AOS Custom Styles */
/* Ensure AOS elements are visible before animation */
[data-aos] {
    pointer-events: auto !important;
}

/* Wiggle animation for search button */
@keyframes wiggle {
    0%, 100% {
        transform: translateX(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateX(-2px) rotate(-2deg) scale(1.03);
    }
    75% {
        transform: translateX(2px) rotate(2deg) scale(1.03);
    }
}

.search-submit-button.wiggle {
    animation: wiggle 0.4s ease-in-out 2;
    transform-origin: center;
}


/* Popular Section */
.popular-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #EBEBEB;
}

.popular-title {
    font-size: 14px;
    font-weight: 600;
    color: #717171;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.popular-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.popular-tag {
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #F7F7F7;
    font-size: 14px;
    color: #222222;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popular-tag:hover {
    background-color: #EBEBEB;
}

/* Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1000;
    pointer-events: all;
}

.search-overlay.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 16px;
    }

    .search-segment {
        width: 100%;
    }

    .search-segment:not(:last-child)::after {
        display: none;
    }

    .search-segment-button {
        padding: 16px 24px;
        border-radius: 0;
    }

    .search-submit {
        width: 100%;
        margin: 0;
        padding: 16px;
    }

    .search-submit-button {
        width: 100%;
        justify-content: center;
    }

    .search-dropdown {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        top: 100px;
        transform: none;
        max-height: calc(100vh - 120px);
        padding: 24px 20px;
    }

    .category-grid,
    .canton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .dropdown-header {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .dropdown-search {
        margin-bottom: 20px;
    }
    
    .category-card {
        padding: 16px;
    }
    
    .category-icon {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    .canton-chip {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .back-button {
        padding: 8px 16px;
        font-size: 14px;
        margin-bottom: 16px;
    }

    /* Mobile styles for main categories */
    .main-categories-section {
        padding: 40px 0 0 0;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 32px;
    }

    /* Bootstrap responsive columns werden verwendet */

    .category-tile {
        max-width: 100%;
    }

    .category-content {
        padding: 20px;
    }

    .category-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .category-badge i {
        font-size: 12px;
    }

    .category-title {
        font-size: 26px;
    }

    .category-subtitle {
        font-size: 14px;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 14px;
    }

    .category-button {
        padding: 10px 22px;
        font-size: 13px;
    }
}

/* Main Categories Section */
.main-categories-section {
    padding: 80px 0 0 0;
    background-color: #FAF5F0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Recoleta', Georgia, serif;
    font-size: 48px;
    font-weight: 300;
    color: #000000;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Category Grid */
/* Bootstrap row/col wird verwendet */

.category-tile {
    text-decoration: none;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    isolation: isolate; /* Erstellt neuen Stacking Context */
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Advanced Hover Effect */
.category-tile.hover-active .category-header {
    overflow: hidden;
}

/* Button Styling für Hover - Invertiert */
.hover-overlay .category-button {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #000000 !important;
}

.hover-overlay .category-button:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Verhindere dass der normale Button-Hover den Overlay-Button beeinflusst */
.category-tile.hover-active .category-button {
    background-color: #1a1a1a;
    transform: none;
}

/* Slideshow Container - Vollbild Effekt */
.category-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 32px;
    overflow: hidden;
    z-index: 5;
    inset: 0; /* Füllt die gesamte Card aus */
    background-color: #000000; /* Schwarzer Hintergrund für sanfte Übergänge */
}

.category-tile.hover-active .category-slideshow {
    opacity: 1;
    visibility: visible;
}

/* Hover Overlay mit Titel und Button */
.hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    padding: 32px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 6;
}

.category-tile.hover-active .hover-overlay {
    transform: translateY(0);
}

.hover-overlay .category-title-copy {
    color: #ffffff;
    font-family: 'Recoleta', Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease, transform 8s ease;
    transform: scale(1);
}

.slideshow-image.active {
    opacity: 1;
    transform: scale(1.1);
}

/* Content beim Hover ausblenden */
.category-tile.hover-active .category-content {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.slideshow-progress {
    width: 50px;
    height: 50px;
    position: relative;
}

.progress-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.progress-segments {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-segments svg {
    width: 100%;
    height: 100%;
}

.progress-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 3;
    transform: rotate(-90deg);
    transform-origin: center;
}

.progress-ring-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 138.23; /* 2 * PI * 22 (radius) */
    stroke-dashoffset: 138.23;
    transform: rotate(-90deg);
    transform-origin: center;
}

.progress-ring-fill.active {
    animation: fillCircle 1.75s linear forwards;
}

.progress-ring-fill.active-alt {
    animation: fillCircle2 1.75s linear forwards;
}

@keyframes fillCircle {
    0% {
        stroke-dashoffset: 138.23;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fillCircle2 {
    0% {
        stroke-dashoffset: 138.23;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.progress-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1;
}

/* Category Header Image */
.category-header {
    position: relative;
    width: calc(100% - 20px);
    margin: 10px 10px 0 10px;
    padding-bottom: 90%; /* Aspect Ratio */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 24px;
    transition: background-size 8s ease;
}

.category-header picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.category-header img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.category-tile:hover .category-header {
    background-size: 110%;
}

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #666666;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.category-badge i {
    font-size: 12px;
    opacity: 0.9;
}


/* Category Content */
.category-content {
    padding: 32px 32px 32px 32px;
    background-color: #FFFFFF;
}

.category-role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 20px;
}

/* Category role in main categories section ausblenden */
.main-categories-section .category-role {
    display: none;
}

.category-title {
    font-family: 'Recoleta', Georgia, serif;
    color: #000000;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

/* Abstand anpassen wenn category-role ausgeblendet ist */
.main-categories-section .category-title {
    margin-top: 4px;
}

.category-subtitle {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #939393;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* Category Stats */
.category-stats {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.stat-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #6b6b6b;
}

/* Category Button */
.category-button {
    background-color: #1a1a1a;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.category-tile:hover .category-button {
    background-color: #000000;
    transform: translateX(4px);
}

/* Tools Section */
.tools-section {
    text-align: center;
    background-color: #FAF5F0;
    padding: 80px 0;
}

.tools-title {
    font-family: 'Recoleta', Georgia, serif;
    font-size: 48px;
    font-weight: 300;
    color: #000000;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Bootstrap row/col wird verwendet */

.tool-card {
    background: #FFFFFF;
    border-radius: 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 400px;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tool-header {
    position: relative;
    width: calc(100% - 20px);
    margin: 10px 10px 0 10px;
    padding-bottom: 70%;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
}

.tool-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #666666;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tool-badge i {
    font-size: 12px;
    opacity: 0.9;
}

.tool-content {
    padding: 24px 32px 32px 32px;
}

.tool-role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 20px;
}

.tool-name {
    font-family: 'Recoleta', Georgia, serif;
    color: #000000;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.tool-description {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #939393;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 32px;
}

.tool-button {
    background-color: #1a1a1a;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.tool-card:hover .tool-button {
    background-color: #000000;
    transform: translateX(4px);
}

/* Responsive for Categories */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    /* Bootstrap responsive columns werden verwendet */

    .category-tile {
        height: 240px;
    }

    .category-title {
        font-size: 24px;
    }
    .hover-overlay .category-title-copy {
        font-size: 24px;
    }

    .category-subtitle {
        font-size: 14px;
    }

    /* Bootstrap responsive columns werden verwendet */

    .tool-card {
        max-width: 100%;
    }

    .tool-name {
        font-size: 28px;
    }

    .tool-description {
        font-size: 14px;
    }

    .tool-content {
        padding: 20px;
    }

    .tool-button {
        padding: 10px 22px;
        font-size: 13px;
    }
}