/* Goffex Theme - Clean CSS
   Design system: teal #7CC8C8 (primary), yellow #FFE600 (accent),
   gray swoosh #D9D6D0, white background.
   White is the base. Teal is identity. Yellow is accent only.
*/

html { scroll-behavior: smooth; }

/* Nav */
.nav-blur {
    backdrop-filter: blur(12px);
    background: #ffffff;
    border-bottom: 3px solid #FFE600;
}

/* Hero */
.hero-gradient {
    background-color: #0b4343;
    border-bottom: 3px solid #FFE600;
}

/* Products section */
.products-pattern {
    background-color: #ffffff;
    border-bottom: 3px solid #FFE600;
}

/* Page hero (subpages) */
.page-hero {
    border-bottom: 3px solid #FFE600;
    background-color: #0b4343;
    border-bottom: 3px solid #FFE600;
}

/* Section divider */
.section-border {
    border-bottom: 3px solid #FFE600;
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11,67,67,0.12);
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.product-grid > a {
    display: flex;
    flex-direction: column;
}
.product-grid > a .product-card-link {
    margin-top: auto;
}
.product-grid-spacer {
    visibility: hidden;
    pointer-events: none;
}

/* Dropdown menus */
.dropdown-menu {
    display: none;
    padding-top: 0.5rem;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

/* Timeline (ueber-uns) */
.timeline-line {
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: 0;
    width: 2px;
    background: #edf7f7;
}
