/* General */

body {
	
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Armata', 'Helvatica', 'sans-serif';
}

p, div {
    font-family: 'Armata', 'Helvetica', 'sans-serif';
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

a:visited {
    text-decoration: none;
    color: inherit;
}

a:active {
    text-decoration: none;
    color: #a31d41;
}

.table-borderless tbody tr td, .table-borderless tbody tr th, .table-borderless thead tr th {
    border: none;
}

[class*="col-"] {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Header */

/* Container for all brand logos */
.brand-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 10px;
}

/* Individual brand box */
.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* Image styling */
.brand img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.brand img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Tablets */
@media (max-width: 768px) {
    .brand-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .brand-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Footer */

footer p {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.0;
}

footer .container {
    padding-top: 10px;
    background-color: #222222;
}

footer .heading {
    font-size: 16px;
}

footer .phone {
    font-size: 22px;
}

footer .copyright-wrapper {
    display: table;
    width: 100%;
    padding-top: 10px;
    font-size: 9px;
    color: #cccccc;
}

footer .copyright-left {
    display: table-cell;
    width: 50%;
    padding-right: 12px;
}

footer .copyright-center {
    display:table-cell;
}

footer .copyright-right {
    display: table-cell;
    width: 50%;
    padding-left: 12px;
}

footer .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 15px;
}

/* Footer XS */

.footer-xs .container {
    padding-top: 20px;
}

.footer-xs p {
    font-size: 16px;
}

.footer-xs .heading {
    padding-top: 5px;
    font-size: 22px;
}

.footer-xs .phone {
    font-size: 22px;
}

.footer-xs hr {
    margin: 0px;
}

.footer-xs .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 36px;
}

.footer-xs table {
    margin: 0px;
    padding: 0px;
}

/* Footer XS Index */

.footer-index-xs .container-light {
    padding-top: 20px;
    background-color: #ffffff;
}

.footer-index-xs .container-light p {
    color: #222222;
}

.footer-index-xs .container-light hr {
    border-color: #cccccc;
}

.footer-index-xs .container {
    padding-top: 20px;
}

.footer-index-xs .container p {
    font-size: 16px;
    color: #cccccc;
}

.footer-index-xs .heading {
    padding-top: 5px;
    font-size: 22px;
}

.footer-index-xs .phone {
    font-size: 22px;
}

.footer-index-xs hr {
    margin: 0px;
}

.footer-index-xs .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 36px;
}

.footer-index-xs table {
    margin: 0px;
    padding: 0px;
}

.footer-index-xs #mapid {
    width: 100%;
    height: 320px;
}

.footer-index-xs #mapid>div {
    padding-bottom: 0px;
}

/* Anfahrt */

#mapid {
	  width: 100%;
    height: 600px;
}

@media(min-width:768px){
    .public-transport {
        text-align: left;
    }
    
    .address {
        text-align: center;
    }
    
    .parking-lots {
        text-align: right;
    }
    
    .contact-information {
        text-align: left;
    }
    
    .opening-hours {
        text-align: right;
    }
    
    .contact-form {
        max-width: 70%;
     }
}

@media(max-width:768px) {
    .public-transport {
        text-align: center;
    }
    
    .address {
        text-align: center;
    }
    
    .parking-lots {
        text-align: center;
    }
    
    .contact-information {
        text-align: center;
    }
    
    .opening-hours {
        display: none;
    }
}
.cta-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.cta-container img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  pointer-events: none; /* allows image to stay clickable */
  width: 100%;
  padding: 0 10px; /* keep text from touching edges */
}

.cta-container:hover img {
  filter: brightness(70%);
  transition: filter 0.3s ease;
}

.banner-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-container img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  pointer-events: none;
  width: 100%;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    justify-items: center;
}

/* Image container */
.img-container {
    width: 100%;
    max-width: 300px; /* slightly larger box */
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-container:hover {
    transform: translateY(-6px);
}

/* Images */
.img-gray-scale {
    width: 100%; /* larger image fill */
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

/* --- Responsive Adjustments --- */

/* Tablets */
@media (max-width: 992px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .img-container {
        max-width: 260px;
    }
    .img-gray-scale {
        width: 97%;
        height: 97%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .img-container {
        max-width: 220px;
        margin:auto;
    }
    .img-gray-scale {
        width: 100%;
        height: 100%;
    }

}




.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    overflow: hidden;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}
