* {
    font-family: "Raleway", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f4eb;
    padding: 10px 20px;
}

.logo img {
    width: 200px; /* Adjust the logo size */
}

.nav-links {
    list-style: none;
    display: flex;
    transition: max-height 0.4s ease;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
  font-weight: bold;
    text-decoration: none;
    color: grey;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 50px 10px 80px;
}

.nav-links a:hover {
    color: #e65c00; /* Gold color on hover */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: grey;
    transition: 0.3s;
}

/* --------------------------
   RESPONSIVE FÜR MOBILE
   -------------------------- */
@media (max-width: 768px) {

  /* Hamburger sichtbar */
  .hamburger {
    display: flex;
  }

  /* Navigation verstecken */
  .nav-links {
    position: absolute;
    top: 120px;  /* unter der Navbar */
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: #f8f4eb;
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 1000;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links a {
    font-size: 20px;
    padding: 10px 0;
  }

  /* Menü geöffnet */
  .nav-links.open {
    max-height: 500px; /* genug Platz */
    opacity: 1;
    display: flex;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

  .hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
}

    /* Slideshow Container */
    .slideshow-container {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

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

    .slide.active {
      opacity: 1;
      z-index: 1;
    }

    /* Text auf der linken Hälfte */
    .slide-content {
      position: absolute;
      top: 50%;
      left: 10%;
      transform: translateY(-50%);
      color: #fff;
      max-width: 40%;
    }

    .slide-content h1 {
      color: white;
      font-size: 3rem;
      margin-bottom: 20px;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
      background-color: rgba(255, 102, 0, 0.5);;
      border-radius: 9px;
      padding: 10px 15px;
    }

    .slide-content button {
      padding: 12px 24px;
      font-size: 1rem;
      border: none;
      border-radius: 5px;
      background: #ff6600;
      color: #fff;
      cursor: pointer;
    }

    .slide-content button:hover {
      background: #f8f4eb;
      color: black;
    }

    @media (max-width: 768px) {

  /* Slideshow weniger hoch */
  .slideshow-container {
    height: 50vh; /* Bildhöhe halbiert für Mobilgeräte */
    margin-top: 0px;
  }

  .slide {
    background-size: contain;  /* Bild wird vollständiger gezeigt */
    background-repeat: no-repeat;
    background-position: center;
  }

  /* Textbox komplett ausblenden */
  .slide-content {
    display: none;
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    height: 40vh; /* Noch kompakter auf sehr kleinen Screens */
  }


#Produkte {
  min-height: 100vh;
}


.kachel-container{
max-width:1400px;
margin: auto;
margin-top: 7%;
display: grid;
grid-template-columns: repeat(5, 1fr); /* fünf nebeneinander */
gap: var(--gap);
padding: 0 16px;
align-items: start;
}


.kachel{
min-width: 260px;
background:var(--card-bg);
border:1px solid var(--card-border);
border-radius:var(--radius);
box-shadow:var(--shadow);
overflow:hidden;
display:flex;
flex-direction:column;
align-items: stretch;
transition: transform .18s ease, box-shadow .18s ease;
}

.kachel figure {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 320px; /* feste Bildbox-Höhe */
  overflow: hidden;
}


.kachel:hover{transform: translateY(-6px); box-shadow: 0 12px 30px rgba(20,30,50,0.09)}


.kachel figure{margin:0}
.kachel img{display:block;width:100%;height:160px;object-fit:cover}
.bild-ueberschrift{padding:8px 12px;font-size:0.85rem;font-weight:600;background:rgba(0,0,0,0.04);color:#0f1720}


.kachel-titel{font-size:1rem;margin:12px 12px 6px 12px}
.kachel-text{font-size:0.9rem;margin:0 12px 16px 12px;line-height:1.35;color:#3b4852}}


/* responsive: bei kleineren Bildschirmen umschichten */
@media (max-width:1100px){
.kachel-container{grid-template-columns: repeat(3, 1fr)}
.kachel img{height:140px}
}
@media (max-width:700px){
.kachel-container{grid-template-columns: repeat(2, 1fr)}
.kachel img{height:120px}
}
@media (max-width:420px){
.kachel-container{grid-template-columns: 1fr}
.kachel img{height:200px}
}

  #Eigenschaften h1 {
    margin-top: 30px;
  }


.container-Eigenschaften {
      margin-bottom: 50px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 0px;
      padding-right: 50px;
      padding-left: 50px;
      padding-bottom: 50px;
    }

    .text-section {
      flex: 1;
      padding-right: 40px;
    }

    .text-section h1 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .text-section p {
      font-size: 1.1rem;
      line-height: 1.6;
      text-align: center;
    }

    .image-section {
      flex: 1;
      text-align: right;
    }

    .image-section img {
      max-width: 100vh;
      height: auto;
      border-radius: 10px;
      font-size: 2rem;
    }

    @media (max-width: 768px) {

  .container-Eigenschaften {
    display: flex;
    flex-direction: column !important; /* Reihenfolge untereinander */
    padding: 20px !important;
    text-align: center;
  }

  /* Bild kommt oben */
  .image-section {
    order: 1;
    width: 100%;
    text-align: center !important;
    margin-bottom: 20px;
  }

  .image-section img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
  }

  /* Text kommt darunter */
  .text-section {
    order: 2;
    width: 100%;
    padding: 0 !important;
  }

  .text-section p {
    text-align: center !important;
  }
}

table {
    margin: 0 auto; 
    height: 80vh;
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeIn 0.6s ease-in-out;
  }

  thead {
    background: linear-gradient(135deg, #000000, #000000);
    color: white;
  }

  th {
    text-align: center;
    font-size: 1.2em;
    padding: 16px;
  }

  tbody td {
    padding: 14px 16px;
    vertical-align: center;
    border-bottom: 1px solid #e0e0e0;
  }

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

  tbody tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
  }

  td:first-child {
    font-weight: 600;
    color: #000000;
    width: 35%;
  }

  /* FSC- und Recycling-Icons (Unicode) */
  .icon {
    margin-right: 6px;
  }

  .fsc::before {
    content: "🌳 ";
  }

  .recycle::before {
    content: "♻️ ";
  }

  /* Einfache Fade-in Animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive Design */
  @media (max-width: 700px) {

  table {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  thead {
    display: none; /* Tabellenkopf ausblenden */
  }

  tbody, tr, td {
    display: block;
    width: 100%;
  }

  tr {
    background: #ffffff;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease-out;
  }

  /* Titel (1. Spalte) */
  td:first-child {
    font-weight: 700;
    color: #000;
    font-size: 1.15rem;
    margin-bottom: 6px;
    text-align: left;
    border-bottom: none;
  }

  /* Inhalt (2. Spalte) */
  td:nth-child(2) {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    padding-top: 4px;
  }

  /* Icons schöner darstellen */
  .icon {
    margin-right: 4px;
    font-size: 1.2rem;
  }
}


:root{
    --gap: 28px;
    --left-width: 55%;   /* Anteil für das Bild (Desktop) */
    --right-width: 45%;  /* Anteil für die Tabelle (Desktop) */
    --bg: #f9f9f9;
  }

  /* Grundlayout */

  .layout {
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    gap: var(--gap);
    align-items: stretch;
    justify-content: center;
    max-width: 2000px;
    margin: 0 auto;
    margin-bottom: 200px;
  }

  /* Linke Spalte (Bild) */
  .left {
    flex: 0 0 var(--left-width);
    display: flex;
    align-items: center;      /* vertikal zentrieren */
    justify-content: center;  /* horizontal zentrieren */
    padding: 12px;
    box-sizing: border-box;
  }

  .left .hero-img {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;     /* Bei Bedarf zuschneiden, erhält Aspect Ratio */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: block;
  }

  /* Rechte Spalte (Tabelle) */
  .right {
    flex: 0 0 var(--right-width);
    display: flex;
    align-items: center;       /* vertikal zentrieren der Tabelle in der Spalte */
    justify-content: center;   /* horizontal zentrieren der Tabelle in der Spalte */
    padding: 12px;
    box-sizing: border-box;
  }

  /* Falls die Tabelle größer ist, ermöglicht dieser Container Scrollen innerhalb der Spalte */
  .right .table-wrapper {
    width: 100%;
    max-height: 200vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }

  /* Beispiel: Styling für die tatsächliche Tabelle (optional, wird vom table-container übernommen) */
  

  /* Responsive: Bei schmalen Bildschirmen stapeln */
  @media (max-width: 900px) {
    .layout {
      flex-direction: column;
      gap: 18px;
    }

    .left, .right {
      flex: 1 1 100%;
    }

    .left .hero-img, .right .table-wrapper {
      max-height: none;
    }
  }

  /* Kleiner Feinschliff: scrollbar styling (optional) */
  .right .table-wrapper::-webkit-scrollbar { height: 8px; width: 8px; }
  .right .table-wrapper::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 6px; }

.Hintergrund {
      background-image: url('BEDROO~1.JPG'); /* Beispielbild */
      background-attachment: fixed;
      background-position: center;
      background-size: cover;
      min-height: 300px; /* volle Höhe */
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 3rem;
      font-weight: bold;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
      }

#Musterbox {
  min-height: 100vh;
}

#Musterbox h3 {
  text-align: center;
  margin-top: 50px;
}

h1 {
      font-size: 3rem;
      margin-bottom: 10px;
      padding-bottom: 50px;
      padding-top: 50px;
      text-align: center; /* nur Überschrift zentrieren */
    }

    #Musterbox h2 {
      text-align: center;
      padding: 40px;
    }

    p {
      margin-bottom: 30px;
      color: #555;
      text-align: center; /* Text auch zentrieren */
    }

    .Musterbox-kacheln {
      display: flex;
      justify-content: center; /* Kacheln mittig ausrichten */
      gap: 20px; /* Abstand zwischen den Kacheln */
      flex-wrap: wrap; /* bei kleinen Bildschirmen umbrechen */
    }

    .Musterbox-kachel {
      background: white;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s;
      width: 150px; /* feste Breite, damit gleichmäßig */
      height: 100%;
    }

    .Musterbox-kachel:hover {
      transform: translateY(-5px);
    }

    .Musterbox-kachel p {
      padding-top: 10px;
    }

    .Musterbox-kachel img {
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 6px;
      display: block;
    }

    .Musterbox-Bild {
      height: 300px;
       display: block;
      margin-left: auto;
      margin-right: auto;
      border-radius: 8px;
      margin-bottom: 20px;
      margin-top: 50px;
    }

.kachel img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

#kontakt {
  min-height: 100vh;
}

#kontakt-bereich {
  max-width: 600px;
  min-height: 100dvh;    /* moderne Einheit für echte nutzbare Höhe */
  text-align: center;
  margin: 80px auto 0 auto; /* oben etwas Abstand, horizontal automatisch */
  text-align: center;
}

.kontakt-div {
  margin-top: 100px;
}

/* --- Überschrift & Text --- */
.kontakt-ueberschrift {
  font-size: 2rem;
  margin-bottom: 12px;
}

.kontakt-text {
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* --- Kachel-Container --- */
.kontakt-kachel-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Einzelne Kacheln --- */
.kontakt-kachel {
  color: black;
  padding: 20px;
  border-radius: var(--kontakt-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kontakt-kachel:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* --- Titel & Text in der Kachel --- */
.kontakt-kachel-titel {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
}

.kontakt-kachel-text {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- Farbvarianten --- */
.kontakt-telefon {
  background: var(--kontakt-blau);
}

.kontakt-email {
  background: var(--kontakt-gruen);
}

/* --- Responsive: nebeneinander auf größeren Bildschirmen --- */
@media (min-width: 600px) {
  .kontakt-kachel-container {
    flex-direction: row;
    justify-content: center;
  }
  .kontakt-kachel {
    flex: 1;
  }
}


.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr; /* zwei gleich breite Spalten */
  height: 100vh;
  padding: 20px 40px; /* außen: oben/unten 20px, links/rechts 40px */
  gap: 40px; /* Abstand zwischen linker und rechter Spalte */
  overflow: hidden;
}

/* Linke Seite */
.left-side {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.left-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Rechte Seite: zwei exakt gleiche Hälften */
.right-side {
  display: grid;
  grid-template-rows: 1fr 1fr; /* 50% / 50% */
  overflow: hidden;
  gap: 20px; /* Abstand zwischen oberem und unterem Bereich */
}

/* Oberes rechtes Bild */
.right-image {
  overflow: hidden;
}

.right-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Unterer rechter Textblock */
.right-text {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-text h2 {
  margin-bottom: 10px;
  text-align: center;
}

@media (max-width: 768px) {

  /* Layout auf 1 Spalte */
  .split-section,
  .split-section-gespiegelt {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px;
    gap: 20px;
    height: auto !important;
  }

  /* Großes Bild immer oben */
  .left-side,
  .left-side-gespiegelt {
    order: 1;
    width: 100%;
  }

  .left-side img,
  .left-side-gespiegelt img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Rechte Seite darunter */
  .right-side,
  .right-side-gespiegelt {
    order: 2;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    width: 100%;
  }

  /* Kleines Bild */
  .right-image,
  .right-image-gespiegelt {
    width: 100%;
  }

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

  /* Textblock */
  .right-text,
  .right-text-gespiegelt {
    width: 100%;
    padding: 20px;
    order: 3;
  }
}


#section-installation {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px;
  background-color: #fff;
}

/* Video */
.video-installation-wrapper {
  width: 100%;
  max-width: 960px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#video-installation {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}
/* Kachel-Container */
.info-installation-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 960px;
}

/* Einzelne Kachel */
.info-installation-card {
  background-color: #fafafa;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-installation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.info-installation-title {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #333;
}

.info-installation-text {
  line-height: 1.6;
  color: #555;
}


.split-section-gespiegelt{
  display: grid;
  grid-template-columns: 1fr 1fr; /* zwei gleich breite Spalten */
  height: 100vh;
  padding: 20px 40px; /* außen: oben/unten 20px, links/rechts 40px */
  gap: 40px; /* Abstand zwischen linker und rechter Spalte */
  overflow: hidden;

  direction: rtl; /* ← Spiegelung: Reihenfolge umkehren */
}

.split-section-gespiegelt > * {
  direction: ltr; /* Inhalte bleiben normal ausgerichtet */
}

/* Linke Seite (jetzt optisch rechts) */
.left-side-gespiegelt {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.left-side-gespiegelt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Rechte Seite (jetzt optisch links): zwei exakt gleiche Hälften */
.right-side-gespiegelt {
  display: grid;
  grid-template-rows: 1fr 1fr; /* 50% / 50% */
  overflow: hidden;
  gap: 20px; /* Abstand zwischen oberem und unterem Bereich */
}

/* Oberes rechtes Bild */
.right-image-gespiegelt {
  overflow: hidden;
}

.right-image-gespiegelt img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Unterer rechter Textblock */
.right-text-gespiegelt {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-text-gespiegelt h2 {
  margin-bottom: 10px;
  text-align: center;
}

.karte-container {
  padding-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Klickbare Karte in Kacheloptik */
.karte-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.karte {
  width: 600px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  margin-bottom: 30px;
}

/* Hover-Effekt */
.karte-link:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Iframe füllt die Karte komplett */
.karte iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none; /* verhindert Klick direkt im Iframe */
}

@media (max-width: 700px) {
  .karte-container {
    display: none;
  }
}

/* Gemeinsamer Stil für alle Icons */
.social-icons a {
  text-decoration: none;
  color: white;
  font-size: 28px;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Plattform-Farben */
.tiktok {
  background: linear-gradient(45deg, #25F4EE, #FE2C55);
}

.instagram {
  background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5);
}

.facebook {
  background: #1877f2;
}

/* Hover-Effekt */
.social-icons a:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fett {
  font-weight: bold;
}

h3 {
  text-align: center;
  padding-bottom: 20px;
}

h2 {
  text-align: center;
  padding-bottom: 40px;
}

h1 {
  color: grey;
}

.Eigenschaften-button {
      margin: 0 auto;
      padding: 12px 24px;
      font-size: 1rem;
      border: none;
      border-radius: 5px;
      background: #ff6600;
      color: #fff;
      cursor: pointer;
      text-decoration: none;
    }

    .Eigenschaften-button:hover {
      background: #f8f4eb;
      color: black;
    }

#anwendung-bereich {
  min-height: 80vh;
}

/* Container */
    .anwendung-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      max-width: 1200px;
      margin: 80px auto;
      padding: 0 20px;
    }

    /* Kacheln */
    .anwendung-box {
      flex: 1 1 calc(33.333% - 30px);
      background: #fff;
      border-radius: 12px;
      overflow: hidden; /* wichtig, damit das Bild rund abgeschnitten wird */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      aspect-ratio: 16 / 9; /* sorgt für ein gleichmäßiges Verhältnis */
    }

    .anwendung-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    }

    /* Bilder in den Boxen */
    .anwendung-box img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* skaliert das Bild ohne Verzerrung */
      display: block;
    }

    /* Responsiv: bei kleinerem Bildschirm weniger Spalten */
    @media (max-width: 1024px) {
      .anwendung-box {
        flex: 1 1 calc(50% - 30px);
      }
    }

    @media (max-width: 600px) {
      .anwendung-box {
        flex: 1 1 100%;
      }
    }


.kontakt-button {
      display: flex;
      justify-content: center; /* horizontal zentriert */
      align-items: center;    /* vertikal zentriert */
      padding-top: 30px;
    }

    /* Button-Styling */
    .scroll-button {
      margin: 0 auto;
      padding: 12px 24px;
      font-size: 1rem;
      border: none;
      border-radius: 5px;
      background: #ff6600;
      color: #fff;
      cursor: pointer;
      text-decoration: none;
    }

    .scroll-button:hover {
      background: #f8f4eb;
      color: black;
    }
    

    main {
      flex: 1; /* schiebt den Footer ans Seitenende */
      margin-top: 10px;
    }

    #footer {
      margin-top: 10px;
    }

    footer {
      height: 100%;
      margin-top: 100px;
      background-color: #222;
      color: #ccc;
      text-align: center;
      padding: 20px 10px;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 10px;
    }

    .footer-links a {
      color: #ccc;
      text-decoration: none;
      font-size: 1rem;
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: #fff;
    }

    .footer-copy {
      font-size: 0.9rem;
      color: #777;
      margin-top: 10px;
    }