body {
  margin: 0;
  font-family: Poppins, sans-serif;
  background: #111;
  color: white;
}

/* Apple Glass Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
}

/* GOLD LOGO */
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(
    120deg,
    #d4af37,
    #f6e27a,
    #d4af37,
    #f6e27a,
    #b8962e
  );
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 6s linear infinite;
}

@keyframes goldShimmer {
  0% { background-position: 0%; }
  100% { background-position: 300%; }
}

/* NAVIGATION */
nav a {
  color: white;
  margin: 20px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: gold;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  height: 90vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("hero-kueche.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  margin-top: -90px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 22px;
  margin-top: 100px;
  max-width: 900px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  font-size: 50px;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.cta {
  background: linear-gradient(45deg, #d4af37, #f6e27a);
  color: black;
  padding: 15px 35px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
  display: inline-block;
  margin-top: 24px;
}

.cta:hover {
  transform: scale(1.05);
}

/* SECTIONS */
section {
  padding: 100px 10%;
  text-align: center;
}

/* CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.card {
  background: #1a1a1a;
  width: 260px;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.35s;
}

.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

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

/* BRANDS */
.brands {
  display: flex;
  justify-content: center;
  gap: 80px;
  font-size: 28px;
  font-weight: 700;
  flex-wrap: wrap;
}

/* GALLERY */
.gallery,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery img,
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.35s;
  display: block;
}

.gallery img:hover,
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* CONTACT */
.contact {
  font-size: 20px;
}

.whatsapp {
  background: #25D366;
  padding: 15px 30px;
  text-decoration: none;
  color: white;
  display: inline-block;
  margin-top: 20px;
  border-radius: 6px;
}

/* FOOTER */
footer {
  background: black;
  text-align: center;
  padding: 30px;
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
}

.floating-whatsapp a {
  background: #25D366;
  color: white;
  padding: 18px;
  font-size: 24px;
  border-radius: 50%;
  text-decoration: none;
}

/* MATERIAL PAGE */
.material-header {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("hero-kueche.jpeg");
  background-size: cover;
  background-position: center;
  padding: 0 20px;
}

.material-header h1 {
  font-size: 48px;
}

.material-category {
  padding: 80px 10%;
}

.material-source {
  margin-bottom: 30px;
  color: #aaa;
}

.material-source a {
  color: #d4af37;
  text-decoration: none;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  gap: 40px;
  justify-content: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

.material-card {
  width: 320px;
  background: #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  padding: 20px;
  transition: 0.35s;
  box-sizing: border-box;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.material-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.material-card h3 {
  font-size: 16px;
  padding: 15px 0 0;
}

.color-sample {
  height: 120px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.wood {
  background: linear-gradient(45deg, #b88b5a, #9a6f3c);
}

.darkwood {
  background: linear-gradient(45deg, #5a3a1c, #3a2310);
}

.marble {
  background: linear-gradient(45deg, #e5e5e5, #cfcfcf);
}

.stone {
  background: linear-gradient(45deg, #444, #222);
}

.material-filter {
  text-align: center;
  margin-top: -40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.filter-btn {
  background: #1a1a1a;
  border: 1px solid #555;
  color: white;
  padding: 14px 28px;
  margin: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background: #d4af37;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* IMAGE VIEWER */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px;
  box-sizing: border-box;
}

.image-viewer img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .material-grid {
    grid-template-columns: repeat(2, 320px);
    max-width: 720px;
  }
}

@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 12px;
  }

  nav a {
    margin: 10px;
  }

  .hero-title {
    font-size: 48px;
    margin-top: -60px;
  }

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

@media (max-width: 700px) {
  .material-grid {
    grid-template-columns: 320px;
    justify-content: center;
    max-width: 360px;
    padding: 40px 20px;
  }
  .material-card {
    width: 320px;
  }

  .gallery,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery-grid img,
  .material-card img {
    height: 220px;
  }

  .hero-title {
    font-size: 38px;
    margin-top: -20px;
  }
}

/* FRONTEN GRUPPIERT WIE BEIM HERSTELLER */

.front-group-card {
  width: 320px;
  background: #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  padding: 20px;
  transition: 0.35s;
  box-sizing: border-box;
}

.front-group-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.front-group-main img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  cursor: pointer;
  background: #111;
}

.front-group-title {
  font-size: 28px;
  font-weight: 800;
  margin: 18px 0 16px;
  text-align: center;
}

.front-group-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  justify-content: center;
}

.front-thumb {
  background: #111;
  border-radius: 10px;
  padding: 6px;
}

.front-thumb img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  background: #111;
}

@media (max-width: 700px) {
  .front-group-card {
    width: 320px;
  }

  .front-group-main img {
    height: 220px;
  }

  .front-thumb img {
    height: 70px;
  }

  .front-group-title {
    font-size: 22px;
  }
}

.front-image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.front-image-viewer img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  border-radius: 12px;
  background: #111;
}

.cookie-banner{
position:fixed;
bottom:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
}

.cookie-box{
background:white;
color:black;
max-width:600px;
padding:30px;
border-radius:8px;
text-align:center;
}

.cookie-box h3{
margin-bottom:15px;
}

.cookie-box p{
font-size:15px;
line-height:1.6;
}

.cookie-buttons{
margin-top:20px;
display:flex;
justify-content:center;
gap:15px;
}

.cookie-buttons button{
padding:10px 25px;
border:none;
cursor:pointer;
font-weight:600;
}

.cookie-buttons button:first-child{
background:#d4af37;
color:black;
}

.cookie-buttons button:last-child{
background:#ddd;
}

.widerruf-form{
max-width:500px;
margin:40px auto;
display:flex;
flex-direction:column;
gap:15px;
}

.widerruf-form label{
font-weight:600;
color:white;
}

.widerruf-form input{
padding:12px;
border-radius:6px;
border:none;
background:#222;
color:white;
font-size:14px;
}

.widerruf-form input:focus{
outline:2px solid #d4af37;
}

.widerruf-form button{
margin-top:15px;
padding:12px;
border:none;
border-radius:6px;
background:#d4af37;
color:black;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.widerruf-form button:hover{
background:#f6e27a;
}