@charset "utf-8";


/* ============================
   Schriften & Grundvariablen
   ============================ */

@font-face {
  font-family: 'PTCFont';
  src: url('image/webfonts/PTC55F/PTC55F_W.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PTCFont';
  src: url('image/webfonts/PTC75F/PTC75F_W.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

:root {
  --braun: rgba(90, 32, 29, 1);
  --braun-trans: rgba(90, 32, 29, 0.8);
  --beige: rgba(232, 221, 208, 0.2);
  --orange: rgba(221, 87, 40, 1); 
  --white: #ffffff;
  --schrift: 'PTCFont', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ============================
   Globales Layout
   ============================ */

html {
  font-size: clamp(15px, 1.1vw, 18px);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--schrift);
  font-size: 1rem;
  background-color: var(--white);
  overflow-x: hidden;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.wrapper {
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}

section {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--braun);
}

main section {
  margin-top: clamp(0px, 5vh, 80px);
}

.content-wrapper {
  max-width: 90%;
  margin: 0 auto;
}

/* ============================
   Header Kontaktzeile
   ============================ */

.header-contact {
  background-color: var(--orange);
  color: var(--white);
  padding: 6px 0;
  display: flex;
  justify-content: center;
  gap: 35px;
  font-size: clamp(0.9rem, 1.1vw, 1.2rem);
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
}

.header-contact span {
  display: flex;
  align-items: center;
  gap: 0.4em;
  min-width: 0;
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-contact a:hover,
.header-contact a:active {
  color: var(--braun);
}

.header-contact img {
  width: 0.8rem;
  height: auto;
}

/* ============================
   Header + Navigation
   ============================ */

.main-header {
  padding: 0;
}

.main-header .wrapper,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo links, Menu rechts */
  gap: 20px;
  width: 100%;
  padding-top: clamp(0.5rem, 1.5vw, 1.4rem);
  padding-bottom: clamp(0.5rem, 1.5vw, 1.4rem);
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: clamp(8rem, 16vw, 12rem);
  height: auto;
  display: block;
}

/* Grundstil Menu */

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  font-size: clamp(14px, 2.5vw, 20px);
  font-family: var(--schrift);
  text-decoration: none;
  color: var(--braun);
  font-weight: 700;
  padding: 10px;
  display: inline-block;
  letter-spacing: 0.02em;
	white-space: nowrap;
}

.main-menu a:hover,
.main-menu a.active {
  border-bottom: 3px solid var(--orange);
}

/* Hamburger-Basis */

.menu-toggle {
  display: none; /* nur mobil/Tablet sichtbar */
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--braun);
  cursor: pointer;
}

/* =========================================
   Navigation Desktop ab 1101px
   (Mobil bleibt unverändert)
   ========================================= */

@media (min-width: 1101px) {

  /* Kopfbereich mit Logo links, Menü rechts */

  .main-header .wrapper,
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .logo {
    flex-shrink: 0;
  }

  .logo img {
    width: clamp(8rem, 16vw, 12rem);
    height: auto;
    display: block;
  }

  /* Burger auf Desktop ausblenden */

  .menu-toggle {
    display: none;
  }

  /* Hauptnavigation oben */

  .main-menu {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: clamp(70px, 10vw, 180px);
    gap: clamp(30px, 3.5vw, 60px);
  }

  .main-menu > li {
    position: relative;
  }

  .main-menu > li > a {
    font-family: var(--schrift);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 0 4px;
    border-bottom: 2px solid transparent;
    color: var(--braun);
    text-decoration: none;
    white-space: nowrap;
    text-transform: none !important;
  }

  .main-menu > li > a:hover,
  .main-menu > li > a.active {
    border-bottom-color: var(--braun);
  }

  /* Grundstil Untermenüs */

  .main-menu li {
    position: relative;
  }

  .main-menu li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    max-width: min(340px, 60vw);
    margin: 0;
    padding: 22px 26px;
    list-style: none;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    z-index: 50;
    box-sizing: border-box;
  }

  .main-menu li .submenu li a {
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--braun);
    border-bottom: none;
    white-space: nowrap;
    text-transform: none;
  }

  .main-menu li .submenu li a:hover {
    color: var(--orange);
    background: transparent;
  }

  /* alte Icon Regeln sicher entfernen */

  .main-menu li .submenu li a::before {
    content: none;
  }

  /* Anzeigen der Untermenüs */

  .main-menu > li:hover > .submenu,
  .main-menu > li.open > .submenu {
    display: block;
  }

  .main-menu li .submenu li:hover > .submenu,
  .main-menu li .submenu li.open > .submenu {
    display: block;
    top: 0;
    left: 100%;
  }

  .main-menu li.lock-open > .submenu {
    display: block !important;
  }

  .main-menu ul,
  .main-menu ul li {
    list-style: none;
  }

  /* Mega Menü für Objektmöbel (zweiter Punkt oder Klasse nav-objektmoebel) */

  .main-menu > li.nav-objektmoebel > .submenu,
  .main-menu > li:nth-child(2) > .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 640px;
    max-width: 700px;
    padding: 20px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    display: none;
    background: #ffffff;
    box-sizing: border-box;
  }

  .main-menu > li.nav-objektmoebel:hover > .submenu,
  .main-menu > li.nav-objektmoebel.open > .submenu,
  .main-menu > li:nth-child(2):hover > .submenu,
  .main-menu > li:nth-child(2).open > .submenu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* exakt zwei Spalten */
    column-gap: 0px;    /* Spalten direkt nebeneinander */
    row-gap: 18px;
  }

  /* Gruppen im Mega Menü (Polstermöbel, Relax Sessel usw.) */

  .main-menu > li.nav-objektmoebel > .submenu > li,
  .main-menu > li:nth-child(2) > .submenu > li {
    break-inside: avoid;
    margin-bottom: 0.8rem;
    border: none;
  }

  .main-menu > li.nav-objektmoebel > .submenu > li > a,
  .main-menu > li:nth-child(2) > .submenu > li > a {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0 0 4px;
    margin-bottom: 4px;
    border-bottom: none;
  }

  /* Ebene drei im Mega Menü immer sichtbar unter der Gruppe */

  .main-menu > li.nav-objektmoebel > .submenu > li > .submenu,
  .main-menu > li:nth-child(2) > .submenu > li > .submenu {
    position: static;
    display: block;
    margin: 4px 0 0 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .main-menu > li.nav-objektmoebel > .submenu > li > .submenu li a,
  .main-menu > li:nth-child(2) > .submenu > li > .submenu li a {
    font-size: 0.85rem;
    padding: 3px 0;
    border: none;
  }

  /* alle Linien im Untermenü sicher entfernen */

  .main-menu .submenu,
  .main-menu .submenu * {
    border: none !important;
    box-sizing: border-box;
  }

  /* kleinere Standard Dropdowns (Branchen, Service, Über uns, Kontakt) */

  .submenu-branchen,
  .submenu-service,
  .submenu-ueberuns,
  .submenu-kontakt {
    min-width: 260px;
    max-width: min(340px, 60vw);
    padding: 18px 22px;
  }

}



/* =======================
   Navigation Mobil/Tablet
   (bis 1100px Breite)
   ======================= */

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex !important;
    margin-left: auto;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92); /* heller, leicht transparenter Hintergrund */
    backdrop-filter: blur(6px);            /* dezenter Glas Effekt */
    width: 100%;
    margin: 0;
    padding: 3.5rem 0 10px; /* Platz für X Button */
    gap: 10px;
    position: fixed;
    top: 40px;              /* wird durch JS dynamisch korrigiert */
    left: 0;
    z-index: 9999;
    box-sizing: border-box;
  }

  .main-menu.show {
    display: flex;
  }

  /* keine Bullets in mobiler Navigation */
  .main-menu,
  .main-menu li,
  .main-menu .submenu {
    list-style: none;
  }

  .main-menu li {
    width: 100%;
  }

  /* Grundstil für alle Links im mobilen Menü */
  .main-menu li a {
    padding: 12px 20px;
    color: var(--braun);
    border-bottom: none;
    display: block;
    font-weight: 700; /* erste Ebene */
  }

  /* erste Ebene */
  .main-menu > li > a {
    padding-left: 20px;
  }

  /* Untermenüs mobil via .open ein und ausklappbar */
  .main-menu li .submenu {
    display: none;
    position: static;
    background: transparent;
    color: var(--braun);
    box-shadow: none;
    backdrop-filter: none;
    padding-left: 0;
    margin: 0;
    min-width: 0;
  }

  .main-menu li.open > .submenu {
    display: block;
  }

  /* zweite Ebene stärker eingerückt, normale Schriftstärke */
  .main-menu > li > .submenu > li > a {
    padding-left: 40px;
    font-weight: 400;
  }

  /* dritte Ebene noch stärker eingerückt, normal */
  .main-menu > li > .submenu > li > .submenu > li > a {
    padding-left: 60px;
    font-weight: 400;
  }

  /* vierte Ebene */
  .main-menu > li > .submenu > li > .submenu > li > .submenu > li > a {
    padding-left: 80px;
    font-weight: 400;
  }

  /* alle Links in Untermenüs nicht fett */
  .main-menu li .submenu a {
    font-weight: 400;
  }

  /* Textfarbe alle Untermenüs */
  .submenu li a {
    color: var(--braun);
  }

  /* Hover Zustand */
  .main-menu li a:hover {
    color: var(--orange);
  }

  /* Schließen Button */
  .menu-close {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--braun);
    cursor: pointer;
    z-index: 10001;
  }

  /* Pfeile für Untermenüs mobil */

  .main-menu li.has-submenu > a {
    position: relative;
    padding-right: 45px; /* Platz für den Pfeil */
  }

  .main-menu li.has-submenu > a::after {
    content: "⌄";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--braun);
    font-size: 1.1rem;
    pointer-events: none;
    opacity: 0.8;
  }

  .main-menu li.has-submenu.open > a::after {
    content: "⌃";
  }
}


/* ============================
   Typografie / Content
   ============================ */

.headline {
  color: var(--braun);
  font-family: var(--schrift);
  letter-spacing: 0.02em;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  font-weight: 700;
  margin-bottom: -0.1em;
}

.subheadline {
  color: var(--orange);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.1em;
}
.section-title {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem); 
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--braun);
  margin-bottom: 0.1em;
}

.textbereich {
  font-size: clamp(1rem, 1.8vw, 1.0rem);
  color: var(--braun);
  letter-spacing: 0.02em;
  margin-top: 0;
  line-height: 1.5;
}
main section p {
  font-size: clamp(1rem, 1.8vw, 1.0rem);
  line-height: 1.5;
}

.erster-textbereich {
  margin-top: clamp(3rem, 6vh, 6rem);
  margin-bottom: clamp(6rem, 12vh, 12rem);
  column-count: 1;
}
main p {
  font-size: clamp(1rem, 1.8vw, 1.0rem);
}
@media (min-width: 1200px) {
  .erster-textbereich {
    column-count: 2;
    column-gap: 3rem;
  }
}

/* Kontaktbuttons im Hero (falls vorhanden) */
@media (max-width: 600px) {
  .kontakt-buttons-hero {
    width: 100%;
    gap: 0.5rem;
  }

  .kontakt-buttons-hero .kontakt-button {
    flex: 1 1 50%;
    min-width: 0;
  }
}

/* E-Mail / Tel Links im Text */

.email-link {
  color: var(--braun);
  text-decoration: none;
  transition: color 0.3s ease;
}

.email-link:hover,
.email-link:active {
  color: var(--orange);
  text-decoration: underline;
}

.mail-link {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mail-link:hover {
  color: var(--braun);
  text-decoration: underline;
}

a[href^="tel"],
a[href^="fax"] {
  text-decoration: none;
  color: inherit;
}

/* ============================
   Cookie-Banner
   ============================ */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--braun);
  color: var(--white);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: left;
  z-index: 9999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
  box-sizing: border-box;
}

#cookie-banner p {
  margin: 0;
  max-width: 95%;
}

#cookie-banner a {
  color: var(--orange);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

#cookie-banner button {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  white-space: nowrap;
}

#cookie-decline {
  background-color: var(--braun);
}

#cookie-banner button:hover {
  opacity: 0.3;
}

/* ============================
   Video-/Text-Kacheln
   ============================ */

.video-balken {
  background-color: var(--beige);
  padding: 100px 0;
  width: 100%;
}

.dreier-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}

.kachel {
  background-color: transparent;
  padding: 20px;
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kachel.video-kachel {
  flex: 1 1 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.kachel.text-kachel {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 40px;
}

.kachel.video-kachel video {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 700px) {
  .kachel.video-kachel,
  .kachel.text-kachel {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Textspalten allgemein */

.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

@media (max-width: 950px) {
  .text-columns {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Footer
   ============================ */

footer {
  color: var(--braun);
  font-size: 0.9em;
  line-height: 1.6;
	margin-bottom: 40px;
}

.footer-line {
  width: 100%;
  height: 3px;
  background-color: var(--braun);
  margin-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 0 auto;
  text-align: left;
}

footer a {
  color: var(--braun);
  text-decoration: none;
}

.footer-link {
  text-decoration: none;
  border-bottom: 2px solid var(--white);
  color: var(--braun);
  transition: border-color 0.3s ease;
}

.footer-link:hover {
  border-color: var(--braun);
}

footer a:hover,
footer a:active {
  color: var(--braun);
}

/* ============================
   Floating Contact Buttons
   ============================ */

.floating-contact {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 9999;
}

.contact-btn {
  background-color: var(--braun);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.contact-btn img {
  width: 18px;
  height: 18px;
}

.contact-btn:hover {
  background-color: var(--orange);
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .contact-btn {
    width: 32px;
    height: 32px;
  }

  .contact-btn img {
    width: 14px;
    height: 14px;
  }
}

/* Telefon-Button nur auf Handy */
@media (min-width: 768px) {
  .floating-contact .tel-btn {
    display: none;
  }
}

/* ============================
   Breadcrumb
   ============================ */

.breadcrumb {
  font-family: var(--schrift);
  font-size: clamp(1rem, 1.8vw, 1.0rem);
  color: var(--braun);
  margin-top: clamp(0.5rem, 1.5vh, 1.5rem);
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
  /* keine eigene Breite, keine extra Zentrierung
     die Breadcrumb nutzt die volle Breite des Wrappers */
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

/* sauberes Trennzeichen > ohne Sonderzeichen */
.breadcrumb li:not(:last-child)::after {
  content: ">";
  color: var(--braun);
  margin: 0 0.5em;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--braun);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--orange);
}

@media (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}

@media (min-width: 769px) {
  .breadcrumb {
  margin-bottom: clamp(6rem, 12vh, 10rem); /* mehr Raum zur Headline */
  }
}


/* ============================
   Sitemap
   ============================ */

.sitemap {
  width: 100%;
  background-image: url('images/stoff-40.jpg');
  background-size: cover;        /* Bild fuellt den Bereich komplett */
  background-position: center;   /* mittig ausrichten */
  background-repeat: no-repeat;  /* nicht kacheln */
  padding-top: clamp(3rem, 6vh, 6rem);
  padding-bottom: clamp(8rem, 10vh, 12rem);
  margin-top: clamp(8rem, 14vh, 16rem);
}

.sitemap .wrapper {
  width: 90%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  max-width: none;
}

.sitemap-title {
  text-align: center;
  font-weight: 700;
  color: var(--braun);
  margin-top: 0;
  margin-bottom: 2rem;
  /* keine font-size hier */
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  justify-items: stretch;
}

.sitemap-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: var(--braun);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
border-left: 4px solid var(--braun); /* Hier von 10px auf 4px reduziert */
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.sitemap-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.sitemap-card-text {
  position: relative;
  z-index: 1;
  background: var(--braun);
  color: var(--white);
  text-align: center;
padding: 0.3rem 0.8rem !important; /* Vorher 1rem. Erste Zahl ist oben/unten, zweite links/rechts */
  font-size: clamp(1rem, 1.8vw, 1.0rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease;
	opacity: 1 !important;
}

@media (min-width: 901px) {
  .sitemap-card-text {
    font-size: clamp(0.9rem, 1.4vw, 1.0rem);
    padding: 0.9rem 0.8rem;
  }
}

/* Hover-Zustand: Karte hoch + orange Linie + orange Flaeche */
/* Hover-Zustand */
.sitemap-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--orange);
}

.sitemap-card:hover img {
  opacity: 1;
}

.sitemap-card:hover .sitemap-card-text {
  background: var(--orange);
  color: var(--white);
}

/* Active-Zustand */
.sitemap-card.active,
.sitemap-card.active:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(90, 32, 29, 0.3);
  border-left-color: var(--orange);
}

.sitemap-card.active .sitemap-card-text,
.sitemap-card.active:hover .sitemap-card-text {
  background: var(--orange);
  color: var(--white);
}




@media (max-width: 900px) {
  .sitemap-grid,
  .sitemap .sitemap-grid,
  .sitemap.sitemap-start .sitemap-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Headerbild + Logo-Mittig
   ============================ */

.headerbild {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.headerbild img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

/* Text-Overlay im Bild */

.headerbild .headline-overlay {
  position: absolute;
  bottom: 12%;
  left: 5%;
  text-align: left;
  color: var(--white);
  max-width: 90%;
  z-index: 3;
}

.headerbild .headline {
  font-size: clamp(0.6rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.2em;
  animation: none !important;
}

.headerbild .subheadline {
  font-size: clamp(0.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  color: var(--orange);
  animation: none !important;
}

@media (max-width: 768px) {
  .headerbild .headline-overlay {
    bottom: 6%;
    left: 5%;
  }

  .headerbild .headline {
    font-size: clamp(1.3rem, 6vw, 2.2rem);
  }

  .headerbild .subheadline {
    font-size: clamp(1rem, 4.5vw, 1.4rem);
  }
}

/* Logo-Einblendung im Headerbild */

.logo-einfaden {
  opacity: 0;
  transform: translateX(80%) translateY(-50%);
  animation: logoSlideIn 2.8s cubic-bezier(0.25, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes logoSlideIn {
  0% {
    opacity: 0;
    transform: translateX(80%) translateY(-50%);
  }
  60% {
    opacity: 1;
    transform: translateX(-3%) translateY(-50%);
  }
  80% {
    transform: translateX(1%) translateY(-50%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%) translateY(-50%);
  }
}

/* Logo-Mittig Position */

.logo-mittig {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  text-align: left;
  z-index: 3;
  left: 5%;
  top: 44%;
  transform: translateY(-50%);
  width: clamp(280px, 24vw, 480px);
}

.logo-mittig img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .logo-mittig {
    left: 5%;
    top: 43%;
    width: clamp(260px, 26vw, 460px);
  }
}

@media (max-width: 768px) {
  .logo-mittig {
    left: 5%;
    top: 46%;
    transform: translateY(-50%);
    width: clamp(220px, 70vw, 420px);
  }
}

@media (max-width: 420px) {
  .logo-mittig {
    left: 5%;
    top: 47%;
    width: clamp(200px, 80vw, 360px);
  }
}

/* ============================
   Speziell: Sitemap Hauptbereiche
   ============================ */

/* Headline/Subheadline in diesem Bereich komplett braun */
.leistungen-bereich .headline,
.leistungen-bereich .subheadline {
  color: var(--braun);
}


/* ============================
   Speziell: Slider im Header
   ============================ */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

/* Grundzustand: alle Slides liegen uebereinander, nur active ist sichtbar */
.hero-slider .slide {
    opacity: 0;
    transition: opacity 1s ease;
    position: absolute;
    inset: 0;           /* top/right/bottom/left: 0 */
    width: 100%;
    display: none;      /* nimmt keinen Platz ein */
}

.hero-slider .slide.active {
    opacity: 1;
    position: relative; /* dieser Slide darf Layout-HÃ¶he bestimmen */
    display: block;
}


/* Desktop: Textbox unten rechts ueber dem Bild */
/* Desktop: Textbox unten im Wrapperbereich */
.slide-text {
    position: absolute;
    bottom: 40px;
    left: 5%; 
    right: auto;   
    background: var(--braun-trans);
    padding: 10px 25px;
    max-width: 700px;
    color: var(--white);
}

.slide-text h2 {
    font-size: 22px;
    margin-bottom: 8px;
  font-weight: 400;  
	letter-spacing: 0.03em;
}

.slide-text p {
      font-weight: 400;
	font-size: 15px;
    line-height: 1.4;
	  letter-spacing: 0.03em;
}
@media (min-width: 1101px) {
  .slide-text {
   width: clamp(400px, 50vw, 700px);  }
}


/* Dots */
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 100%;
    text-align: center;
}

.slider-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
background: rgba(90, 32, 29, 0.45);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dots span.active {
background: rgba(90, 32, 29, 0.9);
    transform: scale(1.1);
}

/* MOBIL: Textbox 100% Breite unter dem Bild, Bild bleibt oben auf gleicher Position */
@media (max-width: 768px) {

    /* slides bleiben uebereinander gestapelt, nur active ist sichtbar diese Regeln oben NICHT ueberschreiben! */

    .slide-text {
        position: static;        /* im normalen Flow direkt unter dem Bild */
        width: 100%;
        margin: 0;
        padding: 16px 18px;
        box-sizing: border-box;
        max-width: none;
        border-radius: 0;
        background: var(--braun);
    }

    .slide-text h2 {
        font-size: 18px;
    }

    .slide-text p {
        font-size: 14px;
    }

    .hero-slider {
        margin-bottom: 20px; /* optional */
    }
}

@media (max-width: 768px) {

    /* Dots nicht mehr ueber dem Bild positionieren */
    .slider-dots {
        position: static;
        margin-top: 12px;
        margin-bottom: 20px;  /* etwas Luft nach unten */
        text-align: center;
    }

    /* Dots etwas groesser fuer mobile Bedienbarkeit */
    .slider-dots span {
        width: 10px;
        height: 10px;
        margin: 0 6px;
		background: rgba(120, 40, 30, 0.35);
    }
	
	    .slider-dots span.active {
        background: rgba(120, 40, 30, 0.75); /* aktiver Dot dunkler */
    }
}


/* -----------------------------------
BRANCHENLÖSUNGEN 
-----------------------------------*/
.einsatzbereiche {
    position: relative;
    width: 100%;
    background-color: var(--beige);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(3rem, 6vh, 6rem) 0 clamp(6rem, 10vh, 10rem);
    overflow: hidden;
    margin-bottom: clamp(5rem, 10vh, 10rem);
}

.einsatzbereiche-kopf {
    text-align: center;
    margin-bottom: 2.5rem;
}

.einsatzbereiche-kopf h2 {
    font-size: clamp(1.6rem, 4.5vw, 2.1rem);
    margin-bottom: 0.5rem;
    color: var(--braun);
    font-family: var(--schrift);
}

.einsatzbereiche-kopf p {
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--braun);
    opacity: 0.85;
}

/* GRID */
.einsatzbereiche-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
}

/* KARTE Grundzustand immer sichtbar */
.einsatzbereiche-karte {
    background: #ffffff;
    border-radius: 0rem; /* Hier vorher auf 0.75rem */
    padding: 1.5rem 1.4rem;
    text-align: center;
    text-decoration: none;
    color: var(--braun);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* ICON */
.einsatzbereiche-icon {
    margin-bottom: 0.3rem;
}

.einsatzbereiche-icon img {
    width: 120px;
    height: 120px;
    display: block;
}

/* TEXT */
.einsatzbereiche-karte h3 {
    font-size: 1.0rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
    color: var(--braun);
    line-height: 1.4;
    font-weight: 700;
}

.einsatzbereiche-karte p {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
    color: var(--braun);
    opacity: 0.9;
    margin-bottom: 0.9rem;
    margin-top: 0;
}

/* HOVER */
.einsatzbereiche-karte:hover,
.einsatzbereiche-karte:focus {
    background: var(--braun);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.einsatzbereiche-karte:hover h3,
.einsatzbereiche-karte:hover p {
    color: #ffffff;
}

/* ICON auf Hover weiss */
.einsatzbereiche-karte:hover .einsatzbereiche-icon img {
    filter: brightness(0) invert(1);
}

/* RESPONSIVE GRID fuer Einsatzbereiche */

/* Desktop gross: fuenf Spalten */
@media (min-width: 1100px) {
    .einsatzbereiche-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Tablet quer: drei Spalten */
@media (max-width: 1099px) and (min-width: 800px) {
    .einsatzbereiche-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablet hoch und kleine Laptops: zwei Spalten */
@media (max-width: 799px) and (min-width: 500px) {
    .einsatzbereiche-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Handy: eine Spalte */
@media (max-width: 499px) {
    .einsatzbereiche-grid {
        grid-template-columns: 1fr;
    }
}

/* optional: etwas weniger vertikales Padding auf sehr schmalen Screens */
@media (max-width: 640px) {
    .einsatzbereiche {
        padding: 3rem 0;
    }
}

.einsatzbereiche-intro {
    text-align: center;
}

.einsatzbereiche-intro > p {
    width: 100%;
    margin: 0 auto 3rem auto;
    font-size: 1rem;
    line-height: 1.45;
    text-align: center;
}

/* Karten Animation nur wenn der Bereich animate-cards hat */
.einsatzbereiche.animate-cards .einsatzbereiche-karte {
    opacity: 0;
    transform: translate3d(0, 38px, 0);
    transition: opacity 0.95s ease-out,
                transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sichtbare Karten im Animationsmodus */
.einsatzbereiche.animate-cards .einsatzbereiche-karte.is-visible-card {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Auf kleinen Bildschirmen keine Fade-In Animation, immer sichtbar */
@media (max-width: 768px) {
    .einsatzbereiche.animate-cards .einsatzbereiche-karte {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* Den Pfeil vorbereiten */
.einsatzbereiche-karte {
    position: relative; /* Notwendig für die Positionierung des Pfeils */
    padding-bottom: 2.5rem; /* Platz schaffen, damit der Pfeil nicht im Text klebt */
}

.einsatzbereiche-karte::after {
    content: '➜'; /* Der Pfeil als Text-Icon */
    position: absolute;
    bottom: 1.2rem;
    right: 1.4rem;
    font-size: 1.2rem;
    opacity: 0; /* Standardmäßig unsichtbar */
    transform: translateX(-10px); /* Leichte Verschiebung nach links */
    transition: all 0.3s ease; /* Sanfter Übergang */
}

/* Den Pfeil beim Hover einblenden */
.einsatzbereiche-karte:hover::after {
    opacity: 1;
    color: #ffffff; /* Weiss auf dem braunen Hintergrund */
    transform: translateX(0); /* Gleitet an die Endposition */
}

/* AKTIVE SEITE (Hervorhebung der aktuellen Branche) */
.einsatzbereiche-karte.active {
    background: var(--braun);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.einsatzbereiche-karte.active h3,
.einsatzbereiche-karte.active p {
    color: #ffffff;
}

.einsatzbereiche-karte.active .einsatzbereiche-icon img {
    filter: brightness(0) invert(1);
}

/* Pfeil auch bei der aktiven Seite anzeigen */
.einsatzbereiche-karte.active::after {
    opacity: 1;
    color: #ffffff;
    transform: translateX(0);
}


/* -----------------------------------
BUTTON 
-----------------------------------*/

.pdf-textblock-button {
    display: block;
	  width: 100%; 
    margin-top: 18px;
    padding: 12px 20px;
    background-color: var(--braun); /* Braun */
    color: #ffffff;
    border-radius: 1px;  /* 8px */
    font-family: var(--schrift);
      font-weight: 700;
font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
 box-sizing: border-box; 
}

/* ab Desktop: rechtsbündig unter dem Text */
@media (min-width: 900px) {
    .pdf-textblock-button {
        width: fit-content;
        margin-left: auto;
        margin-right: 0;
    }
}

.pdf-textblock-button .arrow {
    margin-left: 10px;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.25s ease;
}

.pdf-textblock-button:hover {
    background-color: var(--orange); /* Orange */
    color: #ffffff;
}

.pdf-textblock-button:hover .arrow {
    transform: translateX(4px);
}
/* ab Desktop: rechtsbündig unter dem Text */
@media (min-width: 900px) {
    .pdf-textblock-button {
        width: fit-content;   /* nur so breit wie der Inhalt */
        margin-left: auto;    /* schiebt den Button nach rechts */
        margin-right: 0;
    }
}


/* -----------------------------------
DETAILBEREICH 
-----------------------------------*/
.detailbereich {
    width: 100%;                 
    max-width: 100%;             
    margin: 0;                   
    padding: clamp(3rem, 6vh, 5rem) 0;
    display: flex;
    flex-direction: column;
    gap: 0rem;
    background-color: var(--beige);
}

/* Jede Zeile ist ein Kärtchen */
.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-radius: 0rem;
    overflow: hidden;

    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.6s ease-out,
                transform 1.6s ease-out;
}

/* Startzustand von links oder rechts für die Animation */
.detail-row.anim-left {
    opacity: 0;
    transform: translateX(-180px);
}

.detail-row.anim-right {
    opacity: 0;
    transform: translateX(120px);
}

/* sichtbarer Zustand nach dem Einsliden */
.detail-row.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.detail-image {
    width: 100%;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Textbereich */
.detail-text {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-text h3 {
    color: var(--braun);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
	    letter-spacing: 0.02em;
}

.detail-text p {
    color: var(--braun);
    font-size: clamp(1rem, 1.8vw, 1rem);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* Reihenfolge nur auf Desktop drehen:
   reverse = Text links, Bild rechts */
@media (min-width: 901px) {
    .detail-row.reverse .detail-text {
        order: 1;
    }
    .detail-row.reverse .detail-image {
        order: 2;
    }
}

/* Mobil einspaltig, immer Bild vor Text */
@media (max-width: 900px) {

    .detail-row {
        grid-template-columns: 1fr;
    }

    .detail-row .detail-image {
        order: 1;
    }

    .detail-row .detail-text {
        order: 2;
    }
}



/* -----------------------------------
Bundesweite Objekteinrichtung 
-----------------------------------*/
.bundesweite-objekteinrichtung {
  width: 100%;
margin-top: clamp(6rem, 10vh, 12rem);
  margin-bottom: clamp(6rem, 10vh, 10rem);
  color: var(--braun); /* Textfarbe korrekt setzen */
}

.bundesweite-objekteinrichtung .wrapper {
  text-align: center;
}

.bundesweite-objekteinrichtung h3 {
  font-size: clamp(1.6rem, 4.5vw, 2.1rem); /* exakt wie Headlines */
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--braun);
  margin-top: 0;
  margin-bottom: 1rem;
}

.bundesweite-intro,
.bundesweite-text {
  font-size: clamp(1rem, 1.8vw, 1.0rem);
  color: var(--braun);
  letter-spacing: 0.02em;
  margin-left: auto;
  margin-right: auto;
}

.bundesweite-intro {
  margin-bottom: 1.8rem;
}

.bundesweite-line {
  width: 60px;
  height: 6px;
  margin: 1.8rem auto;
  background: repeating-linear-gradient(
    to right,
    var(--braun),
    var(--braun) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.35;
}




/* -----------------------------------
Bildergalerie
-----------------------------------*/

.bildergalerie {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(3rem, 6vh, 5rem) 0 clamp(4rem, 8vh, 6rem);
  background-color: var(--beige);
}

.bildergalerie .section-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2.5rem;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--braun);
}

/* flexible Anordnung der Bilder im Wrapper */

/* Bildergalerie Raster nach Bildschirmbreite */

.bildergalerie-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.8rem);
  grid-template-columns: 1fr;               /* Standard klein: 1 Bild */
}

/* mittlere Breite etwa Tablet quer: 2 Bilder */

@media (min-width: 641px) and (max-width: 1100px) {
  .bildergalerie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* große Breite Desktop: 4 Bilder */

@media (min-width: 1101px) {
  .bildergalerie-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Kartenstil mit sanfter Animation */

.galerie-item {
  position: relative;
  overflow: hidden;
  border-radius: 0rem;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin: 0;

  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.9s ease-out,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

/* sichtbarer Zustand */

.galerie-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Hover Effekt */

.galerie-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translate3d(0, -4px, 0);
}

.galerie-item:hover img {
  transform: scale(1.08);
}


/* ============================
   Vergleichstabelle Polstermöbel – Optimiert
   ============================ */

/* Abschnitt-Abstand */
.polstermoebel-tabelle-abschnitt {
	margin-top: 1rem !important;   /* clamp(3rem, 8vw, 5rem) */
    margin-bottom: clamp(4rem, 9vw, 6rem);
    padding: 0; /* Sicherstellen, dass kein extra Padding stört */
}


.table-container {
    width: 100%;
    overflow-x: auto;
}

/* Tabelle */
.vergleichstabelle-objektmoebel {
	margin-top: 0rem;
	margin-bottom: 0rem;
    width: 100%;
    border-collapse: collapse;
    font-family: var(--schrift);
    letter-spacing: 0.02em;
    table-layout: auto; /* WICHTIG: Damit Spalten breiter werden dürfen */
}

/* Kopfzeile */
.vergleichstabelle-objektmoebel thead th {
    background-color: var(--braun);
    color: var(--white);
    padding: 14px 14px;
    text-align: left; /* WICHTIG: Links bündig */
    font-weight: 700;
    border-bottom: 0px solid var(--orange);
    font-size: 1rem;
    white-space: nowrap;
}

/* Mindestbreiten pro Spalte für bessere Lesbarkeit */
.vergleichstabelle-objektmoebel th:nth-child(1),
.vergleichstabelle-objektmoebel td:nth-child(1) {
    min-width: 110px; /* Serie */
}

.vergleichstabelle-objektmoebel th:nth-child(2),
.vergleichstabelle-objektmoebel td:nth-child(2) {
    min-width: 120px; /* Sitzhöhe */
}

.vergleichstabelle-objektmoebel th:nth-child(3),
.vergleichstabelle-objektmoebel td:nth-child(3) {
    min-width: 150px; /* Kissen */
}

.vergleichstabelle-objektmoebel th:nth-child(4),
.vergleichstabelle-objektmoebel td:nth-child(4) {
    min-width: 200px; /* Brandschutz / Bezüge */
}

.vergleichstabelle-objektmoebel th:nth-child(5),
.vergleichstabelle-objektmoebel td:nth-child(5) {
    min-width: 180px; /* Armlehnen */
}

.vergleichstabelle-objektmoebel th:nth-child(6),
.vergleichstabelle-objektmoebel td:nth-child(6) {
    min-width: 240px; /* Einsatzbereich */
}

/* Zeilen */
.vergleichstabelle-objektmoebel tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.vergleichstabelle-objektmoebel tbody tr:nth-child(even) {
    background-color: rgba(245, 245, 245, .5);
}

/* Datenzellen */
.vergleichstabelle-objektmoebel td {
    font-size: 1rem;
    padding: 10px 14px;
    text-align: left; /* KORREKTUR: ebenfalls links */
    color: var(--braun);
    line-height: 1.5;
}

/* Seriennamen hervorheben */
.vergleichstabelle-objektmoebel strong {
    color: var(--orange);
    font-weight: 700;
}

/* Links in der Tabelle einheitlich gestalten */
.vergleichstabelle-objektmoebel td a.table-link {
    color: var(--braun) !important; /* Nutzt dein Standard-Braun */
    text-decoration: none;
    border-bottom: 1px solid var(--orange); /* Zeigt dezent die Kötter-Farbe */
    transition: all 0.3s ease;
    display: inline-block;
}

.vergleichstabelle-objektmoebel td a.table-link:hover {
    color: var(--orange) !important; /* Wird beim Drüberfahren Orange */
    border-bottom-color: var(--braun);
}

/* Verhindert, dass das strong-Tag innerhalb des Links die Farbe überschreibt */
.vergleichstabelle-objektmoebel td a.table-link strong {
    color: inherit !important; 
}
/* ============================
   Mobile Ansicht
   ============================ */

@media screen and (max-width: 768px) {
    .vergleichstabelle-objektmoebel thead {
        display: none;
    }

    .vergleichstabelle-objektmoebel tbody tr {
        display: block;
        margin-bottom: 25px;
        border: 1px solid #ddd;
        padding: 15px;
        background: var(--white);
        border-left: 5px solid var(--orange);
    }

    .vergleichstabelle-objektmoebel td {
        display: block;
        text-align: right;
        padding-left: 50%;
        border-bottom: 1px dotted #ccc;
        position: relative;
    }

    .vergleichstabelle-objektmoebel td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        text-align: left;
        font-weight: 700;
    }

    .vergleichstabelle-objektmoebel td:last-child {
        border-bottom: none;
    }
}




/* Desktop: Seriennamen (stark markiert) in var(--braun) statt orange */
@media screen and (min-width: 769px) {
    .vergleichstabelle-objektmoebel td strong {
        color: var(--braun) !important;
    }
}
/* ============================================
   MOBILE-EINSPALTIGES LAYOUT (nur Smartphones)
   ============================================ */
@media screen and (max-width: 600px) {

  /* Kopfzeile weiterhin ausblenden */
  .vergleichstabelle-objektmoebel thead {
    display: none;
  }

  /* Jede Tabellenzeile als eigenes Block-Element */
  .vergleichstabelle-objektmoebel tbody tr {
    display: block;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
    border-left: 5px solid var(--orange);
    background-color: var(--white);
  }

  /* Tabellenzellen als Block untereinander */
  .vergleichstabelle-objektmoebel td {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-align: left;      /* NEU: linksbündig */
    border: none;
    border-bottom: 1px dotted #ccc;
    font-size: 1rem;
    line-height: 1.5;
    white-space: normal !important; /* verhindert Überlaufen */
    word-break: break-word;
  }

  .vergleichstabelle-objektmoebel td:last-child {
    border-bottom: none;
  }

  /* Label oben anzeigen, linksbündig */
  .vergleichstabelle-objektmoebel td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--braun);
    margin-bottom: 4px;
    position: relative;
    left: 0;
    width: 100%;
    text-align: left;     /* NEU */
    white-space: normal;
  }
}

/* ============================
   Polstertabelle Desktop Optik (mit funktionierendem Hover, ohne runde Ecken)
   ============================ */
@media (min-width: 769px) {

.polstermoebel-tabelle-abschnitt .table-container {
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 2rem; /* überall exakt gleich */
    border-left: 6px solid var(--orange);
    border-radius: 0;
}

  .vergleichstabelle-objektmoebel {
    width: 100%;
    border-collapse: collapse;
  }

  .vergleichstabelle-objektmoebel thead th {
    background-color: var(--braun);
    color: var(--white);
    padding: 12px 10px;
    font-weight: 700;
    font-size: 0.95rem;
  }

  .vergleichstabelle-objektmoebel tbody tr {
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.25s ease, transform 0.15s ease;
  }

  /* ZEBRA-Look */
  .vergleichstabelle-objektmoebel tbody tr:nth-child(even) {
    background-color: rgba(240, 240, 240, 0.45);
  }

  /* ✔ Deutlich sichtbarer Hover-Effekt */
  .vergleichstabelle-objektmoebel tbody tr:hover {
    background-color: rgba(232, 221, 208, 0.8);
    transform: translateX(4px); /* leichte Bewegung für mehr Wertigkeit */
    cursor: default;
  }

  .vergleichstabelle-objektmoebel td {
    font-size: 0.95rem;
    padding: 10px 10px;
    text-align: left;
    color: var(--braun);
  }

  /* Seriennamen braun (nur Desktop) */
  .vergleichstabelle-objektmoebel tbody td:first-child strong {
    color: var(--braun);
    font-weight: 700;
  }
}
/* Abstand über der Vergleichstabelle korrigieren */
.polstermoebel-tabelle-abschnitt .vergleichstabelle-objektmoebel {
    margin-top: 0.2rem !important; /* statt 30px */
}

/* -----------------------------------
   KATALOG MEDIATHEK
-----------------------------------*/
/* Spezifische Korrektur für die Überschrift in diesem Bereich */
.katalog-bereich .section-title {
    text-align: center;
    width: 100%;
    display: block;
    /* Angleichung an Branchenlösungen */
    font-size: clamp(1.6rem, 4.5vw, 2.1rem); 
    margin-bottom: 0.5rem;
}

.katalog-bereich {
    background-color: var(--beige);
    padding: clamp(4rem, 8vh, 8rem) 0;
    margin: 4rem 0;
}

.katalog-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--braun);
}

.katalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.katalog-item {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 1.2rem;
    text-decoration: none;
    border-left: 4px solid var(--braun);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.katalog-icon {
    width: 80px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .katalog-icon {
        width: 60px;
        margin-right: 1rem;
    }
}
.katalog-icon img {
    width: 100%;
    height: auto;
}

.katalog-info h4 {
    margin: 0;
    color: var(--braun);
    font-size: 1.0rem;
    font-weight: 700;
}

.download-link {
    font-size: 0.8rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* Hover-Effekt */
.katalog-item:hover {
    transform: translateY(-3px);
    border-left-color: var(--orange);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.katalog-item:hover .download-link {
    color: var(--braun);
}

/* ============================
   Referenz-Grid Styling (Angeglichen)
   ============================ */

.referenz-container {
    margin-top: clamp(2rem, 5vh, 4rem);
    margin-bottom: clamp(4rem, 8vh, 8rem);
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem; /* Leicht reduziert für kompaktere Optik */
}

.ref-card {
    background: #fff;
    /* Linienstärke auf 4px angepasst (wie im Katalog-Bereich) */
    border-left: 4px solid var(--braun); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Schatten weicher wie im Katalog */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ref-card:hover {
    transform: translateY(-3px); /* Hover-Anhebung angepasst */
    border-left-color: var(--orange);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ref-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.ref-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ref-card:hover .ref-img {
    transform: scale(1.05);
}

.ref-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ref-info h3 {
    margin: 0 0 0.8rem 0;
    color: var(--braun);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.ref-info p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--braun);
}

/* Anpassung für mobile Geräte */
@media (max-width: 480px) {
    .ref-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ref-img-wrapper {
        height: 200px;
    }
    
    .ref-card {
        border-left-width: 4px; /* Sicherstellen, dass es mobil gleich bleibt */
    }
}



.datenschutz-content {
    width: 100%;
    max-width: 1000px;
    margin: 0;
    padding: 20px 0;
    /* Hier wird die Farbe für den gesamten Bereich gesetzt */
    color: var(--braun); 
}

/* Falls die Überschriften eine andere Farbe haben sollen, kannst du sie separat steuern */
.datenschutz-content h2, 
.datenschutz-content h3 {
    color: var(--braun);
    /* optional: etwas dunkler oder fetter */
}


/* Erzwungene Anpassung für Consentmanager */
/* Wir überschreiben die internen Variablen des Consentmanagers */
.cmpstyleroot {
    --clrButton: rgba(90, 32, 29, 1) !important;      /* Dein Braun für Buttons */
    --clrButtonText: #ffffff !important;             /* Weißer Text */
    --clrLink: rgba(90, 32, 29, 1) !important;        /* Links in Braun */
    --clrHighlight: rgba(90, 32, 29, 0.1) !important; /* Dezentes Braun für Highlights */
}

/* Form-Anpassungen (Eckig statt rund) */
.cmpbox, .cmpbox * {
    border-radius: 0px !important;
    font-family: var(--schrift) !important;
}

/* Den Akzeptieren-Button explizit färben */
.cmpbox .cmpaccept, .cmpbox .cmpall {
    background-color: var(--braun) !important;
    border: none !important;
}




