/* Local Fonts */

/* Geologica */

/* dunkelblau #021d46 
dunkeldunkelblau #021d46
mittelblau/türkis #3397c6
mittelblau #0158ae
rot oben links #c92d1b
rot unten rechts #f03c1d
blass rot #fe6f57
dunkelrot #80150c
 rot #cf0f20
dunkleres redline rot (aktuell) #bb0403*/

@font-face {
    font-family: 'Geologica';
    src: url('../fonts/Geologica-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Geologica';
    src: url('../fonts/Geologica-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Geologica';
    src: url('../fonts/Geologica-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Geologica';
    src: url('../fonts/Geologica-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Geologica';
    src: url('../fonts/Geologica-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* IBM Plex Sans */

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}





/* Reset * * * * * * * * */
*{
    margin: 0;
    padding: 0;
    -mozbox-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }

html {
    max-width: 100%;
}

/* Basisformatierung */

body {
    background: linear-gradient(180deg, #f9f9f9 0%, #f5f5f5 100%);
    font: 400 1.1rem/1.5 'IBM Plex Sans', 'open sans', sans-serif;
    color: #1d0902;
    max-width: 100%;
    }

a {
    text-decoration: none;
    color: #be0616; 
}

/* Layout */

section {
    padding: 5rem 0;
}

section.light {
    background: #fff;
}

section.light-gradient {
    background: linear-gradient (to bottom, #fff, #efefef);
}

section.no-gutter {
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 8px;
    box-sizing: border-box;
}



.container.full {
    width: 100%;
    padding: 0 4rem;
}

/* Header */
.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-primary {
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10002;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-secondary {
    background: #eaeaea;
    margin-top: 70px;
    margin-bottom: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1rem 2rem;
    margin: 0 auto;
    overflow: visible;
    width: 100%;
    max-width: 1400px;
}

.secondary-nav {
    padding: 1rem;
    margin: 0;
}

.secondary-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.secondary-nav li {
    margin: 0;
}

.secondary-nav a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: color 0.3s ease, border-bottom 0.2s ease;
}

.secondary-nav a:hover,
.secondary-nav a.current {
    color: #bb0403;
    border-bottom: 1.5px solid #bb0403;
}



#logo img {
    max-height: 37px;
    width: auto;
    display: flex;
    align-items: flex-end;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: #bb0403;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
    padding: 80px 0.5rem 2rem 0.5rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-search {
    padding: 0 2rem 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.mobile-search .search-form {
    display: flex;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
}

.mobile-search .search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.5rem;
}

.mobile-search .search-input:focus {
    outline: none;
}

.mobile-search .search-button {
    background: #bb0403;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mobile-search .search-button:hover {
    background: #8a0914;
}

.mobile-search .search-button svg {
    stroke: white;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav > ul > li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-nav > ul > li > a {
    display: block;
    padding: 1rem 2rem;
    color: #333;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav > ul > li > a:hover,
.mobile-nav > ul > li > a.current {
    background: #f8f9fa;
    color: #bb0403;
    padding-left: 2.5rem;
}

.mobile-nav .submenu {
    background: #f8f9fa;
    padding: 0.5rem 0;
}

.mobile-nav .submenu li a {
    display: block;
    padding: 0.75rem 2rem 0.75rem 3rem;
    color: #666;
    text-decoration: none;
    font-size: 1rem;
}

.mobile-nav .submenu li a:hover,
.mobile-nav .submenu li a.current {
    color: #bb0403;
    padding-left: 3.5rem;
}

.mobile-nav .contact-nav-item {
    background: linear-gradient(270deg, #bb0403 0%, #9e0303 100%);
    border-radius: 8px;
    margin: 0.5rem 0;
}

.mobile-nav .contact-nav-item a {
    color: white !important;
    font-weight: 600;
}

.mobile-nav .contact-nav-item a:hover {
    background: rgba(0, 0, 0, 0.1);
}


.header-search {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 24px;
    padding: 0.4rem 0.8rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.search-form:focus-within {
    border-color: #700710;
    box-shadow: 0 0 0 3px rgba(112, 7, 16, 0.1);
}

.search-button {
    background: none;
    border: none;
    padding: 0;
    margin-right: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #666;
    transition: color 0.3s ease;
}



.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: #1d0902;
    flex: 1;
    min-width: 200px;
}

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

/* Search Dropdown */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    min-width: 400px;
}

.search-results-wrapper {
    padding: 0.5rem 0;
}

.search-result-link {
    display: block;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #1d0902;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-link:last-of-type {
    border-bottom: none;
}

.search-result-link:hover {
    background-color: #f8f9fa;
}

.search-result-title {
    font-weight: 600;
    color: #1d0902;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.search-result-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.search-see-all {
    padding: 0.75rem 1.25rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.search-see-all a {
    color: #700710;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.search-see-all a:hover {
    color: #700710;
}

.search-no-results {
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: flex-end;
}

.main-nav > ul {
    overflow: visible;
}

.main-nav li {
    margin-bottom: 0;
    padding-bottom: 0;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: color 0.3s ease, border-bottom 0.2s ease;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1.5px solid transparent;
    transform: translateY(5.5px);
}

.main-nav a:hover,
.main-nav a.current {
    color: #bb0403;
    border-bottom-color: #bb0403;
}

/* Submenu styles */
.main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: max-content;
    width: max-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0.5rem;
    margin-top: 0.3rem;
    z-index: 10002;
    list-style: none;
    flex-direction: column;
    gap: 0;
    overflow-x: visible;
    white-space: nowrap;
    border-radius: 6px;
}

/* Position submenu from right for last nav items */
.main-nav > ul > li:nth-last-child(-n+2) .submenu {
    left: auto;
    right: 0;
}

.main-nav .has-submenu:hover .submenu {
    display: flex;
}

.main-nav .submenu li {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
}

.main-nav .submenu a {
    display: block;
    padding: 0.6rem;
    color: #333;
    border-bottom: none;
    transform: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.main-nav .submenu a:hover,
.main-nav .submenu a.current {
    background-color: #f5f5f5;
    color: #bb0403;
    border-bottom: none;
}



#topnav li {
    padding: 0;
    list-style: none;
    display: inline;
    line-height: 1em; 
}

#topnav a {
    text-decoration: none;
    color: #1d0902;
}


/*Buttons*/
.button {
    display: inline-block;
    margin: 0.5rem 0 2rem 0;
    padding: 0.875rem 2rem;
    background: #fff;
    color: #bb0403;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease, color 0.2s ease;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #bb0403;
    box-shadow: 0 2px 8px rgba(112, 7, 16, 0.1);
    width: auto;
    min-width: 200px;
    text-align: center;
}


.button:hover {
    background: linear-gradient(270deg, #9e0303 0%, #9e0303 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 7, 16, 0.3);
}

/* CTA Button - Solid Red */
.button.cta {
    background: linear-gradient(270deg, #bb0403 0%, #9e0303 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(112, 7, 16, 0.2);;
}

.button.cta:hover {
    background: linear-gradient(270deg, #9e0303 0%, #9e0303 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 7, 16, 0.3);
}



div.product-buttons {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: auto;
    width: fit-content;
}

.product-buttons a.button {
    margin: 0;
    width: fit-content;
}

.product-info h3 {
    margin-top: 1rem;
}

t
/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.2rem;
}

h1 {
    font: 900 4rem/0.8 'Geologica', 'Arial Narrow', Arial, sans-serif;
}

h1.hero {
    font: 900 6rem/0.8 'Geologica', 'Arial Narrow', Arial, sans-serif;
    color: #f2f2f2;
    text-shadow: 0 0 2px #f2f2f2;
}



h2 {
    font: 700 2rem/1 'Geologica', 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 2rem;
}

h3 {
    font: 600 1.4rem/1 'Geologica', 'Arial Narrow', Arial, sans-serif;
}

p {
    margin-bottom: 1rem;
}

br {
    display: block;
    content: "";
    margin-bottom: 1rem;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
    text-align: left;
}



ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: 0.5rem;
}

.centered {
    text-align: center;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #cf0f20 0%, #f03c1d 100%);
    color: #fff;
}

thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody td {
    padding: 1rem 1.25rem;
    color: #333;
    font-size: 0.95rem;
}

tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

tbody tr:nth-child(even):hover {
    background-color: #f8f9fa;
}

/* Page Header with Image */
.page-header-image {
    width: 100%;
    background: radial-gradient(ellipse at top center, #bb0403 0%, #6b0202 60%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 0;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-image.image-coloring::before {
    filter: grayscale(100%) sepia(15%) hue-rotate(335deg) saturate(400%) brightness(0.65) contrast(1.3);
    mix-blend-mode: linear-light;
}

.color-filter-hero {
        filter: grayscale(100%) sepia(15%) hue-rotate(335deg) saturate(350%) brightness(0.8) contrast(1.3);
        filter: grayscale(100%) sepia(15%) hue-rotate(335deg) saturate(400%) brightness(0.65) contrast(1.3);
    mix-blend-mode: linear-light;
}

.color-filter {
    filter: grayscale(100%) sepia(14%) hue-rotate(335deg) saturate(200%) brightness(0.85) contrast(1.3);
    mix-blend-mode: linear-light;
}

.color-filter:hover {
    filter: none;
}

/* Base page header without image */
.page-header {
    background: radial-gradient(ellipse at top center, #bb0403 0%, #6b0202 60%);
    padding: 0;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-header h1 {
    color: #fff;
    margin: 0;
}

.page-header-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-header-image .container {
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 0;
}

.page-header-image h1 {
    color: #fff !important;
    margin: 0;
}

/* Category Boxes Section */
.category-boxes {
    background-color: #fff;
}

.category-boxes h2 {
    text-align: left;
    color: #1a1a1a;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

.boxes-grid {
    display: grid;
    --box-min: 200px;
    --box-max: 360px;
    grid-template-columns: repeat(auto-fit, minmax(clamp(var(--box-min), 18vw, var(--box-max)), 1fr));
    gap: 2rem;
}

.box-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    line-height: 1.7;
    color: #555;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.box-icon {
    font-size: 2.5rem;
    color: #bb0403;
    margin-bottom: 0.5rem;
}

.box-text {
    width: 100%;
}

.box-item p {
    margin: 0 0 1rem 0;
}

.box-item p:last-child {
    margin-bottom: 0;
}

.category-description {
    padding: 0 0 5rem 0;
    background: #fff;
}

.category-description .category-description-box {
    border-left: 2.2px solid #bb0403;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-radius: 0 8px 8px 0;
    padding: 2rem;
}

.category-description-headline h2 {
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    text-align: left;
    color: #1a1a1a;
}

.products-headline {
    text-align: left;
    margin-bottom: 2rem;
    padding-top: 1rem;
}


.category-description h2 {
    margin: 2rem 0 1.5rem 0;
    line-height: 1.3;
    text-align: left;
    color: #1a1a1a;
}

.category-description br {
    display: block;
    content: "";
    margin-bottom: 1rem;
}



.category-description h3 {
    font-size: 1.4rem;
}

.category-description ul,
.category-description ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    max-width: none;
    margin: 2rem 0 2.5rem 0;
    list-style: none;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
}

.category-description li {
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 0;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1.4;
}

.page-header-image .page-intro {
    color: #fdfdfd;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.page-header.light,
section.hero {
    background: radial-gradient(ellipse at top center, #bb0403 0%, #6b0202 60%);
    color: #fbfbfb;
    margin-top: 0;
}

.product-section.image-left {
    background: radial-gradient(ellipse at top center, #f2f2f23d 60%, #eeeeee);
}


.page-header.light {
    padding: 0;
    text-align: center;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header.light.page-header-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.page-header.light.page-header-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
}


.page-header.light.page-header-image .container {
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 0;
}

.page-header.light h1 {
    color: #fff;
}

.page-header.light .page-intro {
    color: #e9ecef;
    font-size: 1.2rem;
}

/* Hero */
section.hero {
    background-color: #021d46;
    color: #fdfdfd;
    overflow: visible;
    min-height: 400px;
    padding: 5rem 0 10.5rem 0;
}

.hero {
    text-align: center;
}

.bright-font {
    color: #fdfdfd;
}

.hero-subline {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
}

.hero-image-wrapper {
    height: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 auto;
    transform: translateY(1.6rem);
    border-radius: 8px;
}
/* ========================================
   PRODUCTS SECTION
   ======================================== */

/* Products Wrapper with Radial Gradient Background */
.products-wrapper {
    background: linear-gradient(to bottom, #ffffff 0%, #f6f6f6 50%, #d5d5d5 100%);
    padding: 13.5rem 0 6rem 0;
}



.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 0;
}

.product-box {
    background: #ffffff;
    border: none;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.product-box.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.product-box:nth-child(1).animate { animation-delay: 0.3s; }
.product-box:nth-child(2).animate { animation-delay: 0.6s; }
.product-box:nth-child(3).animate { animation-delay: 0.9s; }
.product-box:nth-child(4).animate { animation-delay: 0.3s; }
.product-box:nth-child(5).animate { animation-delay: 0.6s; }
.product-box:nth-child(6).animate { animation-delay: 0.9s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(190, 6, 22, 0.15);
}

.product-box:hover .product-box-image img.color-filter {
    filter: none;}

.product-box-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-box:hover .product-box-image img {
    transform: scale(1.05);
}

.product-box-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-box-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-box-content p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-box .button {
    margin-top: auto;
    margin-bottom: 0;
}

/* Products Note */
.products-note {
    margin: 5rem auto 0;
    padding: 2.5rem 3rem;
    max-width: 700px;
    background: #fff;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.products-note:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.products-note p {
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.7;
}

.products-note a {
    color: #b40917;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.products-note a:hover {
    color: #8a0914;
}

/* Über uns */
.about-grid-full {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 500px;
}

.about-text-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.about-text-inner {
    margin-left: auto;
    max-width: 1000px;
    padding-right: 3rem;
}


.about-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-height: 600px;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-image-container.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image-container img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    background: radial-gradient(
    circle at 50% 50%,
    #be0615e2      0%,       /* „Boden“ */
    #be0615   50%,
    #a00513   70%,
    #a00513    90%,
    #62040f    100%
  );
    padding: 6rem 0 8rem;
    margin: 0 auto;
}

.contact-section h2 {
    margin-bottom: 2rem;
}

.contact-intro {
    font-size: 1.125rem;
    color: #ececec;
    margin-bottom: 3rem;
}

.contact-form-intro {
    max-width: 850px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
    color: #ececec;
    line-height: 1.7;
    text-align: left;
    padding-left: 1.5rem;
    border-left: 1.5px solid #fff;
}

.contact-form-intro p {
    margin-bottom: 1rem;
}

.contact-form-intro a {
    color: #fff;
    text-decoration: underline;
}

.contact-form-intro a:hover {
    color: #fff;
    opacity: 0.8;
}

.contact-form {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-message {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.form-message.success {
    background: linear-gradient(135deg, #eff5f0 0%, #e6f0e9 100%);
    border: 2px solid #929292;
    color: #000000;
}

.form-message.success p {
    margin: 0;
    font-weight: 600;
}

.form-message.error {
    background: linear-gradient(135deg, #f2eeee 0%, #f1e3e5 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.form-message.error p {
    margin: 0 0 0.75rem 0;
}

.form-message.error ul {
    margin: 0;
    padding-left: 1.5rem;
}

.form-message.error li {
    margin-bottom: 0.5rem;
}

.form-message.error li:last-child {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'IBM Plex Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #be0616;
    box-shadow: 0 0 0 3px rgba(190, 6, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.form-checkbox a {
    color: #be0616;
    text-decoration: underline;
}

.button-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    text-align: center;
}

/* ========================================
   CONTACT TEASER SECTION
   ======================================== */

.contact-teaser-section {
    padding: 5rem 0 0 0;
    text-align: center;
}



.contact-teaser-section h2 {
    margin-bottom: 1rem;
}

.contact-teaser-text {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-teaser-button {
    margin-top: 2rem;
}

.button-large {
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
    text-align: center;
}

/* Contact Nav Item Styling */
.secondary-nav .contact-nav-item a {
    font-weight: 600;
    color: #be0616;
}

.secondary-nav .contact-nav-item a:hover {
    color: #8a0914;
}

/* Info Box */
.info-box {
    padding: 40px 0;
    margin-top: 60px;
}



.product-section.image-left {
    padding: 4rem 0;
        a {
      color: #f6f6f6;}

        .product-summary li {
          color: #1d0902;
        }
}

.product-section.image-left a.button {
    color: #bb0403;
}

.product-section.image-left a.button:hover {
    color: #f2f2f2;
}

.product-section.image-right {
    background: #fcfcfc;
    color: #1d0902;
    padding: 4rem 0;
        li {
            border: 1px solid #e0e0e0;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            font-size: 0.95rem;
            margin-bottom: 0;
        }
}

.product-section:last-of-type {
    border-bottom: none;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    align-items: center;
}



.product-image-col img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-content-col .button {
    width: auto;
    max-width: none;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    min-width: 150px;
}

.product-downloads {
    display: inline-flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-downloads .button {
    margin: 0;
    text-align: center;
    white-space: nowrap;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}

.product-content-col h2 {
    margin-bottom: 1.5rem;
}

.product-content-col h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-content-col h2.product-name {
    color: inherit;
    margin-bottom: 1.25rem;
}

.product-info h3 {
    margin-bottom: 0;
}

.product-content-col .product-summary {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-summary p {
    margin: 0 0 0.5rem 0;
}

.product-summary p:last-child {
    margin-bottom: 0;
}

.product-summary ul,
.product-summary ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin: 0.5rem 0 1.5rem 0;
    list-style: none;
    padding: 0;
}

.product-summary li {
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   PRODUCT SINGLE PAGE
   ======================================== */

/* Product Header Section */
.product-header {
    padding: 4rem 0;
    background: white;
}

.product-header .container {
    padding-bottom: 0;
}

.product-header-grid {
    display: grid;
    grid-template-columns: calc(45% - 4rem) 55%;
    gap: 4rem;
    align-items: start;
}

.product-image-container {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa2b 0%, #ffffff85 100%);
}

.product-image-figure {
    margin: 0;
}

.product-image-container picture {
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecefb7;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-image-container picture:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.033);
    transform: translateY(-2px);
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.product-image-container picture:hover img {
    transform: scale(1.03);
}

.image-caption {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #555;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 2.2px solid #bb0403;
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: space-between;
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.product-info .product-summary {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

/* List styling in product summary - same as category page */
.product-info ul,
.product-summary ul,
.product-info ol,
.product-summary ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin: 1rem 0 1.5rem 0;
    list-style: none;
    padding: 0;
}

.product-info li,
.product-summary li {
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 0 !important;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1.4;
}

.product-info .product-summary li::before {
    display: none;
}

.product-info .product-summary li:hover {
    background: #ebebeb;
    border-color: #be0616;
}

/* Product Details Section */
.product-details {
    padding: 3rem 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.product-details .container {
    max-width: 900px;
    padding-left: 2.5rem;
    border-left: 2.2px solid #bb0403;
}

.product-details h2 {
    color: #1a1a1a;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #bb0403;
}

.product-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.product-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}



/* Lists in product details - horizontal flex layout */
.product-details ul,
.product-details ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
}

.product-details li {
    border: 1px solid #e0e0e0;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 0 !important;
    color: #555;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: inline-block;
    line-height: 1.4;
}

.product-details li::before {
    display: none;
}

.product-details li:hover {
    background: #be0616;
    color: white;
    border-color: #be0616;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(190, 6, 22, 0.2);
}

/* Tables in Product Details */

.product-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.25rem;
}

.product-details ul,
.product-details ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-details li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.75rem;
}

.product-details ul li {
    list-style-type: disc;
}

/* Tables in Product Details */
.product-details table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 2rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.product-details table thead {
    background: linear-gradient(135deg, #be0616 0%, #8a0914 100%);
    color: white;
}

.product-details table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-details table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #555;
}

.product-details table tbody tr:hover {
    background: #f8f9fa;
}

.product-details table tbody tr:last-child td {
    border-bottom: none;
}

/* Product Gallery (Category Page) */
.product-gallery {
    padding: 5rem 0;
    background: #f8f9fa;
}

.product-gallery h2 {
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.gallery-item picture {
    flex: 1;
    overflow: hidden;
}

.gallery-item .image-caption {
    margin-top: 0;
    border-left: none;
    border-radius: 0;
    background: rgba(248, 249, 250, 0.95);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.813rem;
    border-top: 1px solid #e9ecef;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Product Navigation */
.product-navigation {
    padding: 3rem 0;
    background: white;
    border-top: 1px solid #e9ecef;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #be0616;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: 2px solid #be0616;
    border-radius: 8px;
}

.back-link:hover {
    background: #be0616;
    color: white;
}

/* Search Results */
.search-results {
    padding: 4rem 0;
}

.results-count {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-result-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-result-item h3 {
    margin-bottom: 0.75rem;
}

.search-result-item h3 a {
    color: #1d0902;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-item h3 a:hover {
    color: #700710;
}

.search-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.search-meta {
    font-size: 0.9rem;
    color: #888;
}

.breadcrumb {
    font-style: italic;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results h3 {
    color: #666;
    margin-bottom: 1rem;
}

section.last {
    position: relative;
    padding-bottom: 5rem;
    overflow-y: visible;
    --footer-height: 400px;
}

section.last::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    background: inherit;
    z-index: -2;
    transform: translateY(100%);
}

.contact-section.last::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    z-index: 0;
    pointer-events: none;
    transform: translateY(100%);
    background: linear-gradient(to bottom,  #610109 0%, #340208 90%);
}





/* Footer */

.footer {
    z-index: 1;
    position: relative;
}

.footer-container {
    width: 100%;
    max-width: none;
    border-radius: 8px 8px 0 0;
    margin: 0 auto;
    padding-top: 5rem;
    padding-bottom: 3rem;
    font-size: 1rem;
    min-height: 300px;
    z-index: 1;
    background: radial-gradient(
    circle at 50% -100%,
    #be0615e2      0%,       /* „Boden“ */
    #be0615   10%,
    #78020c   50%,
    #340208    100%   
  );
    color: #f2f2f2;
}




.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0 auto;
}


.footer-grid p,
.footer-grid a {
    margin: 0 auto 1rem auto;
}

.footer-column {
    max-width: 100%;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #efefef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-column:nth-child(2) {
    margin: 0;
}

.footer li {
    margin-bottom: 0;
}

footer .footer-container .footer-grid .footer-column {
    line-height: 2;
}

.footer-column:nth-child(3) {
    margin: 0;
}

.footer-column p {
    line-height: 2;
    margin: 0 0 1rem 0;
}

.footer-column:nth-child(2) p {
    margin: 0 0 1rem 0;
}

.footer-column:nth-child(3) p {
    margin: 0 0 1rem 0;
}

.footer-column a {
    color: #efefef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}


.footer-divider {
    border: 0.8px solid rgba(255, 255, 255, 0.3);
    margin: 2rem 4rem 1.5rem;
    padding: 0 2rem;
}

.footer-copyright {
    text-align: center;
    padding: 2rem 0 1rem;
    font-size: 0.9rem;
    color: #dfdfdfdd;
    margin: 0 auto;

}

.footer-copyright p {
    margin: 0;
}

/* Flexible Sections for Basic Page */

/* Text & Image Sections */
.text-image-section {
    padding: 6rem 0;
}




.text-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.text-container {
    padding: 2rem;
}

.text-inner {
    max-width: 600px;
}

.image-container {
    overflow: hidden;
    border-radius: 8px;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Column Sections */
.columns-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f2f4f7 0%, #e9ecef 100%);
}



/* Text Only Section */
.text-only-section {
    padding: 3rem 0;
    background-color: #fdfdfd;
}

.text-only-section .container {
    max-width: 800px;
}

.columns-section h2 {
    text-align: center;
    color: #1d0902;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    position: relative;
}

.columns-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 3px;
    background: linear-gradient(90deg, #cf0f20, #f03c1d);
    border-radius: 2px;
}

.columns-grid {
    display: grid;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

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

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

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

.column {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(207, 15, 32, 0.15);
}

.column > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin: 0;
    flex-shrink: 0;
}

.column-content {
    padding: 2.5rem;
    flex: 1;
    text-align: center;
}

/* Slider Gallery */
.slider-gallery-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.slider-gallery-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.slider-gallery {
    position: relative;
    width: 100%;
    max-width: calc(1400px - 4rem);
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.slider-container {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    border-radius: 12px;
}

.slide {
    position: relative;
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 1rem;
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #021d46;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.prev-btn:hover, .next-btn:hover {
    background: #cf0f20;
    color: #fff;
    transform: scale(1.1);
}

.slider-dots {
    text-align: center;
    padding: 2rem 0 0;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 8px;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: #cf0f20;
    transform: scale(1.3);
}

/* ========================================
   CONTACT INFO CARDS
   ======================================== */

.contact-info-section {
    background: #f9f9f9;
    padding: 4rem 0;
}

.contact-info-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-column {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-info-icon {
    width: auto;
    height: auto;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.contact-info-icon i {
    color: #bb0403;
    font-size: 2rem;
    line-height: 1;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-content .contact-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d0902;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.contact-info-content .contact-main a {
    color: #1d0902;
    text-decoration: none;
}

.contact-info-content .contact-main a:hover {
    color: #be0616;
}

.contact-info-content .contact-note {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.contact-info-content p {
    color: #555;
    line-height: 1.8;
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

.contact-info-content a {
    color: #be0616;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info-content a:hover {
    color: #8a0914;
    text-decoration: underline;
}

.contact-info-label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE STYLES - DESKTOP FIRST
   ======================================== */

/* Laptop (max-width: 1439px) */
@media (max-width: 1439px) {
    /* General */
    .container {
        width: 90%;
    }

    .footer-container {
        width: 100%;
    }
    
    /* Home Template */
    h1.hero {
        font-size: 5rem;
    }
}

/* Tablet (max-width: 1200px) */
@media (max-width: 1200px) {
    /* General - Navigation */
    .hamburger {
        display: flex;
    }

    .hero-img {
        max-width: 90%;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .header-search,
    .main-nav,
    .header-secondary {
        display: none;
    }
    
    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-box-image {
        height: 300px;
        min-height: 300px;
    }
    
    .header-primary {
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 1400px;
    }
    
    .header-inner {
        padding: 1rem 1.4rem;
        margin: 0;
    }
    
    #logo img {
        max-height: 32px;
    }
    
    .page-header-image {
        height: 250px;
        margin-top: 64px;
    }
    
    /* General - Sections */
    section {
        padding: 4rem 0;
    }

    section.page-header, section.page-header.light {
        margin-top: 64px;
        padding: 0;
    }

    section.hero {
        margin-top: 60px;
    }
    
    .category-description {
        margin-bottom: 0;
        padding-bottom: 3rem;
    }
    
    .product-section.image-left,
    .product-section.image-right {
        padding: 2.5rem 0;
    }
    
    .product-section:first-of-type {
        margin-top: 5rem;
    }
    
    .product-detail-grid {
        padding: 0 1.5rem;
    }
    
    /* General - Contact Info Cards */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-info-card {
        max-width: 100%;
    }
    
    /* Home Template - Hero */
    h1.hero {
        font-size: 4rem;
    }
    
    /* Home Template - Category Boxes */
    .boxes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Home Template - Slider Gallery */
    .slide {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
    
    /* Products grid will automatically adjust based on minmax */
    
    /* Product Category - Box Layout */
    .product-section {
        padding: 2rem 0;
        background: transparent !important;
    }
    
    .product-section.image-left,
    .product-section.image-right {
        background: transparent !important;
    }
    
    /* Use same container approach as category-boxes */
    .product-detail-grid {
        background: #fff !important;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-section.image-right .product-image-col,
    .product-section.image-left .product-image-col {
        order: 1;
    }
    
    .product-section.image-right .product-content-col,
    .product-section.image-left .product-content-col {
        order: 2;
    }
    
    .product-image-col {
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .product-image-col img {
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        height: 300px;
        min-height: 300px;
        object-fit: cover;
        display: block;
    }
    
    .product-content-col {
        padding: 2rem 2rem 2.5rem 2rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .product-content-col h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .product-content-col h2 {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .product-summary {
        overflow-x: hidden;
    }
}

/* Tablet Small / Mobile Landscape (max-width: 968px) */
@media (max-width: 968px) {
    /* General - Typography */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    /* General - About & Product Grids */
    .about-grid-full {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-grid {
        gap: 2rem;
    }
    
    .product-header-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .product-image-container {
        position: relative;
        top: auto;
        order: 2;
    }
    
    .product-info {
        order: 1;
        margin-top: 2rem;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .product-details table {
        font-size: 0.9rem;
    }
    
    .product-details table th,
    .product-details table td {
        padding: 0.75rem;
    }
    
    .columns-grid.columns-3,
    .columns-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* General - Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-column {
        text-align: left;
    }
    
    .footer-column p {
        margin: 0 auto 1rem auto;
    }

    .about-text-inner {
        margin-left: 0;
        max-width: 100%;
    }
    
    /* Home Template - Hero */
    h1.hero {
        font-size: 3.5rem;
    }
    
    .hero-subline {
        font-size: 2rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* General - Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    .about-text-inner {
        padding-right: 0;
    }

    .products-headline {
        padding-top: 3rem;
        margin-bottom: 0;
    }

    /* General - Tables */
    table {
        font-size: 0.85rem;
    }
    
    thead th,
    tbody td {
        padding: 0.75rem 1rem;
    }
    
    /* General - Forms */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* General - Sections */
    section {
        padding: 3rem 0;
    }
    
    .page-header-image h1 {
        font-size: 2.5rem;
    }
    
    section.product-section.image-left,
    section.product-section.image-right {
        padding: 1rem 0;
    }
    
    .product-detail-grid {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .container {
        width: 92%;
        padding: 1.5rem 0;
    }
    
    .footer-container {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding-top: 3rem;
    }

    .footer-divider {
        padding: 0 1rem;
    }
    
    /* General - Products */
    .products-wrapper {
        padding: 2rem 0;
    }

    .products-note {
        padding: 2rem 1rem 1.5rem;
    }
    
    /* Home Template - Hero */
    h1.hero {
        font-size: 3rem;
        margin-top: 2rem;
    }
    
    .hero-subline {
        font-size: 1.5rem;
    }

    .hero-img {
        display: none;
    }

    section.hero {
        padding: 5rem 0 2rem;
        min-height: fit-content;
        margin-top: 30px;
    }

      section.category-description {
        padding-bottom: 6rem;
    }
}

/* Mobile Small (max-width: 640px) */
@media (max-width: 640px) {
    /* General - Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    #logo img {
    max-height: 32px;
    }
    
    /* General - Typography */
    h1 {
        font-size: 2rem;
        display: block;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }
    
    /* General - Sections */
    section {
        padding: 2.5rem 0;
    }

    section.first {
        padding-top: 8rem;
    }

    section.last {
        padding-bottom: 4rem;
    }


    

    
    .product-section.image-left:first-of-type {
        margin-top: 3rem;
    }
    
    .product-detail-grid {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .container {
        width: 90%;
        padding-top: 1rem;
        padding-bottom: 1rem;
        overflow-x: hidden;
    }
    
    .product-content-col .button {
        white-space: normal;
        max-width: 100%;
    }

        .product-content-col {
        padding: 1rem;
        }
    
    .product-downloads {
        width: 100%;
    }
    
    .product-downloads .button {
        width: 100%;
    }
    
    .product-detail-grid {
        width: 100%;
        max-width: 100%;
    }
    
    /* General - Tables */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* General - Forms */
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .button {
        width: 100%;
        text-align: center;
    }
    
    /* General - Footer */
    footer .container {
        width: 100%;
        padding: 4rem 1.5rem 2rem 1.5rem;
        border-radius: 0;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        margin-top: 4rem;
        padding-bottom: 2rem;
        gap: 2.5rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    /* General - Navigation */
    .secondary-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* General - Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* General - Columns */
    .columns-grid.columns-2,
    .columns-grid.columns-3,
    .columns-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    /* General - About */
    .about-text-container {
        padding: 0;
        width: 90%;
        margin: 2rem auto 0;
    }

    .container.about-grid-full {
        width: 100%;
    }
    
    /* Home Template - Hero */
    h1.hero {
        font-size: 2.7rem;
        line-height: 1;
        margin-top: 0rem;
        margin-bottom: 0;
        padding-bottom: 1rem;
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem 0 2rem;
    }
    
    .hero-subline {
        font-size: 1.3rem;
    }

    .contact-teaser-text {
        font-size: 1.1rem;
        width: 92%;
        margin: 0 auto;
    }
    
    /* Home Template - Category Boxes */
    .category-boxes {
        padding: 2rem 0;
    }
    
    .category-boxes h2 {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }
    
    /* Home Template - Slider Gallery */
    .slide {
        flex: 0 0 100%;
        min-width: 100%;
        height: 300px;
    }
    
    .slider-container {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Category Boxes */
    .boxes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-container {
        padding: 3rem 0 4rem;
        border-radius: 20px 20px 0 0;
    }
    
    .product-box-image {
        height: 200px;
    }
    
    .products-note p {
        font-size: 1rem;
    }
    
    /* Product Pages */
    .page-header {
        height: 200px !important;
        align-items: center;
    }

    .page-header.light {
        height: 200px !important;
        align-items: center;
    }

    .product-header {
        padding: 2.5rem 0;
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }

    .product-info h3 {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-info a.button {
        margin-bottom: 0.5rem;
    }

    .page-header-image {
        height: 200px !important;
        width: auto;
        align-items: center;
    }

    .page-header.light.page-header-image {
        height: 200px !important;
        width: auto;
        align-items: center;
    }

    .product-header-grid {
        gap: 2rem;
    }

    .product-info {
        gap: 0rem;
        margin-top: 3rem;
    }

    .product-info h1 {
        font-size: 1.7rem;
    }

    section.product-section.image-right.last {
        padding-bottom: 5rem;
    }
    
    .product-info .product-summary {
        font-size: 1rem;
    }
    
    div.product-buttons {
        flex-direction: column;
    }
    
    .product-buttons .button {
        width: 100%;
        justify-content: center;
    }
    
    .product-details,
    .product-gallery {
        padding: 3rem 0;
    }
    
    .product-details table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .product-details li,
    .product-info .product-summary li {
        font-size: 0.85rem;
        padding: 0.45rem 0.85rem;
    }
}

/* Mobile Extra Small (max-width: 375px) */
@media (max-width: 375px) {
    /* General - Typography */
    body {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
    
    /* General */
    .container {
        width: 92%;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .about-image-container {
        width: 92%;
        margin: 0 auto;
    }
    
    .mobile-search,
    .mobile-nav > ul > li > a {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    footer .container {
        padding: 2.5rem 1rem 3rem;
    }
    
    /* Home Template - Hero */
    h1.hero {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0;
    }
    
    p.hero-subline {
        margin-top: 0;
        padding-top: 0;
        font-size: 1.1rem;
    }
}

/* Desktop Layouts (min-width: 900px) */
@media (min-width: 900px) {


    .product-detail-grid {
        grid-template-columns: 1fr 2fr;
    }
    
    /* Text & Image responsive */
    .text-image-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .text-image-section.image-left .text-image-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .text-image-section.image-left .image-container {
        order: 1;
    }
    
    .text-image-section.image-left .text-container {
        order: 2;
    }
    
    /* Columns responsive */
    .columns-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    .columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Alternate layout - image right */
    .product-section.image-right .product-detail-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .product-section.image-right .product-image-col {
        order: 2;
    }
    
    .product-section.image-right .product-content-col {
        order: 1;
    }
}

/* Landscape orientation fixes for mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu {
        padding: 70px 0 1rem 0;
    }
    
    .mobile-nav > ul > li > a {
        padding: 0.75rem 2rem;
    }

    p {
        font-size: 1rem;
    }

    h1.hero {
        font-size: 3.5rem;
        line-height: 0.9;
        margin-top: 1rem;
    }

    .products-note p {
        font-size: 1rem !important;
    }

    p.hero-subline {
        font-size: 1.3rem;
    }

    footer .container {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }

    section.last {
        padding-bottom: 4rem;
    }
}