/* =========================================================
   DENZ BAUMASCHINEN
   Joomla 6.1 / Cassiopeia
   Aktueller Grundstand
========================================================= */

:root {
  --denz-anthrazit: #2f3439;
  --denz-anthrazit-dunkel: #24282c;
  --denz-grau: #a9afb6;
  --denz-hellgrau: #f3f4f5;
  --denz-rot: #c71920;
  --denz-weiss: #ffffff;
  --denz-text: #2b2f33;
  --denz-hintergrund: #f2f2f2;
}


/* =========================================================
   Grundlayout
========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--denz-text);
  background: var(--denz-hintergrund);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--denz-rot);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--denz-anthrazit);
  font-weight: 700;
  line-height: 1.2;
}

.container-component {
  padding-top: 40px;
  padding-bottom: 60px;
}


/* =========================================================
   Kopfbild
========================================================= */

.denz-kopfbild {
  width: 100%;
  margin: 0;
  padding: 0;
}

.denz-kopfbild img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}


/* =========================================================
   Menü direkt unter dem Kopfbild
   Modulposition: top-a
========================================================= */

.site-grid .container-top-a {
  grid-column: full-start / full-end;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--denz-anthrazit);
}


/* Joomla-Modulrahmen entfernen */

.container-top-a > *,
.container-top-a .moduletable,
.container-top-a .moduletable-menu,
.container-top-a .card,
.container-top-a .card-body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}


/* Menü horizontal und mittig ausrichten */

.container-top-a ul.mod-menu,
.container-top-a ul.mod-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  gap: 0 2.8rem;

  width: 100%;
  margin: 0;
  padding: 2px 20px;

  list-style: none;
  background: transparent;
}


/* Einzelne Menüpunkte */

.container-top-a ul.mod-menu > li,
.container-top-a ul.mod-list > li {
  display: block !important;
  width: auto !important;
  margin: 0;
  padding: 0;
}


/* Menülinks */

.container-top-a ul.mod-menu > li > a,
.container-top-a ul.mod-list > li > a {
  display: block;
  position: relative;

  padding: 2px 0;

  color: var(--denz-weiss);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 1px;

  text-decoration: none;

  transform: scale(1);
  transform-origin: center;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


/* Rote Linie unter dem Menüpunkt */

.container-top-a ul.mod-menu > li > a::after,
.container-top-a ul.mod-list > li > a::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: 3px;

  width: 100%;
  height: 3px;

  background: var(--denz-rot);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}


/* Menüpunkt beim Berühren leicht vergrößern */

.container-top-a ul.mod-menu > li > a:hover,
.container-top-a ul.mod-list > li > a:hover {
  color: var(--denz-weiss);
  text-decoration: none;
  transform: scale(1.06);
}


/* Rote Linie bei Hover und aktiver Seite anzeigen */

.container-top-a ul.mod-menu > li > a:hover::after,
.container-top-a ul.mod-list > li > a:hover::after,
.container-top-a ul.mod-menu > li.current > a::after,
.container-top-a ul.mod-menu > li.active > a::after,
.container-top-a ul.mod-list > li.current > a::after,
.container-top-a ul.mod-list > li.active > a::after {
  transform: scaleX(1);
}


/* Aktiver Menüpunkt */

.container-top-a ul.mod-menu > li.current > a,
.container-top-a ul.mod-menu > li.active > a,
.container-top-a ul.mod-list > li.current > a,
.container-top-a ul.mod-list > li.active > a {
  color: var(--denz-weiss);
  text-decoration: none;
}


/* =========================================================
   Abstand zwischen Kopfbild und Menü entfernen
========================================================= */

.container-banner,
.container-banner .banneritem,
.container-banner .custom,
.denz-kopfbild,
.denz-kopfbild img {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.container-top-a {
  margin-top: 0 !important;
}


/* =========================================================
   Smartphone
========================================================= */

@media (max-width: 767.98px) {

  .container-top-a ul.mod-menu,
  .container-top-a ul.mod-list {
    gap: 0 1.2rem;
    padding: 12px 14px;
  }

  .container-top-a ul.mod-menu > li > a,
  .container-top-a ul.mod-list > li > a {
    padding: 6px 0;
    font-size: 0.98rem;
    letter-spacing: 0.5px;
  }

  .container-top-a ul.mod-menu > li > a::after,
  .container-top-a ul.mod-list > li > a::after {
    bottom: -4px;
    height: 2px;
  }

  .container-component {
    padding-top: 25px;
    padding-bottom: 40px;
  }
}

.startseite-box{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:40px;
    align-items:start;
    margin:10px 0 5px;
}

.startseite-bilder{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.startseite-bilder img{
    width:100%;
    border-radius:6px;
    display:block;
}

.startseite-text h2{
    color:var(--denz-anthrazit);
    margin-top:0;
    margin-bottom:20px;
    font-size:2rem;
}

.startseite-text p{
    line-height:1.7;
    margin-bottom:18px;
    color:#555;
}

@media (max-width:900px){

.startseite-box{
    grid-template-columns:1fr;
}

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

.container-footer {
  margin-top: 20px;
  padding: 2px 30px;

  color: var(--denz-weiss);
  background: var(--denz-anthrazit);
}


/* Footer-Inhalt */

.container-footer .grid-child {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  align-items: start;
  justify-items: center;
}


/* Joomla-Modulrahmen entfernen */

.container-footer .grid-child > *,
.container-footer .moduletable,
.container-footer .moduletable-custom,
.container-footer .card,
.container-footer .card-body {
  width: auto !important;
  min-width: 0;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}


/* Überschriften */

.container-footer h3 {
  position: relative;

  margin: 0 0 14px;
  padding: 0 0 8px;

  color: var(--denz-weiss);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}


/* Roter Strich unter der Überschrift */

.container-footer h3::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: 0;

  width: 42px;
  height: 3px;

  background: var(--denz-rot);
}


/* Texte */

.container-footer p {
  margin: 0;
  color: #d8d8d8;
  font-size: 0.95rem;
  line-height: 1.55;
}


/* Listen */

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

.container-footer li {
  margin: 0 0 4px;
  padding: 0;

  color: #d8d8d8;
  font-size: 0.95rem;
  line-height: 1.55;
}


/* Links */

.container-footer a {
  color: #d8d8d8;
  text-decoration: none;

  transition: color 0.2s ease;
}

.container-footer a:hover {
  color: var(--denz-rot);
  text-decoration: none;
}


/* =========================================================
   Feste Reihenfolge der drei Footer-Module
========================================================= */

/*
Im Joomla-Modul unter "Erweitert" eintragen:

Firmenmodul:   footer-unternehmen
Kontaktmodul:  footer-kontakt
Infomodul:     footer-informationen
*/

.container-footer .footer-unternehmen {
  grid-column: 1;
  grid-row: 1;
}

.container-footer .footer-kontakt {
  grid-column: 2;
  grid-row: 1;
}

.container-footer .footer-informationen {
  grid-column: 3;
  grid-row: 1;
}


/* =========================================================
   Smartphone
========================================================= */

@media (max-width: 767.98px) {

  .container-footer {
    margin-top: 35px;
    padding: 28px 22px 22px;
  }

  .container-footer .grid-child {
    grid-template-columns: 1fr !important;
    gap: 26px;
  }

  .container-footer .footer-unternehmen {
    grid-column: 1;
    grid-row: 1;
  }

  .container-footer .footer-kontakt {
    grid-column: 1;
    grid-row: 2;
  }

  .container-footer .footer-informationen {
    grid-column: 1;
    grid-row: 3;
  }
}
/* =========================================================
   Menü und Footer exakt dieselbe Farbe
========================================================= */

html body .site-grid .container-top-a,
html body .container-footer {
  background: #2f3439 !important;
  background-color: #2f3439 !important;
  background-image: none !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Innere Elemente bleiben durchsichtig */

html body .container-top-a > *,
html body .container-top-a .moduletable,
html body .container-top-a .moduletable-menu,
html body .container-top-a .card,
html body .container-top-a .card-body,
html body .container-top-a ul,
html body .container-footer .grid-child,
html body .container-footer .moduletable,
html body .container-footer .card,
html body .container-footer .card-body {
  background: transparent !important;
  background-image: none !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
}
/* Menü optisch an den Footer angleichen */


html body .container-footer {
  background: #2f3439 !important;
  background-color: #2f3439 !important;
  background-image: none !important;
}
/* Footer sehr kompakt */

.container-footer {
  padding: 6px 24px !important;
}

.container-footer .grid-child {
  gap: 8px !important;
}

.container-footer h3 {
  margin: 0 0 4px !important;
  padding: 0 0 3px !important;
  line-height: 1.1 !important;
}

.container-footer h3::after {
  margin-top: 12px !important;
}

.container-footer p,
.container-footer ul,
.container-footer li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.container-footer li {
  margin-bottom: 3px !important;
}

.container-footer .moduletable,
.container-footer .moduletable-custom,
.container-footer .card,
.container-footer .card-body {
  margin: 0 !important;
  padding: 0 !important;
}
/* Footer-Rand oben und unten entfernen */

footer.container-footer {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

footer.container-footer .grid-child {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  min-height: 0 !important;
}

footer.container-footer .card,
footer.container-footer .card-body,
footer.container-footer .moduletable,
footer.container-footer .moduletable-custom {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

footer.container-footer h3 {
  margin-top: 0 !important;
}

footer.container-footer p:last-child,
footer.container-footer ul:last-child,
footer.container-footer li:last-child {
  margin-bottom: 0 !important;
}
.startseite-box {
    margin-top: 0px;
}
@media (max-width: 768px) {

    .container-footer .grid-child {
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
        gap: 20px;
    }

    .container-footer .grid-child > *,
    .container-footer .moduletable,
    .container-footer .moduletable-custom {
        width: 100% !important;
        text-align: center;
    }

    .container-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
.startseite-box {
    margin-bottom: 0;
}
.com-content-article,
.item-page {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Teamseite */

.team-liste {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.team-eintrag {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    align-items: center;

    padding: 22px;
    background: #fff;
    border-left: 4px solid #c71920;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

.team-bild {
    overflow: hidden;
    border-radius: 4px;
}

.team-bild img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;

    transform: scale(1);
    transition: transform 0.4s ease;
}

.team-bild:hover img {
    transform: scale(1.08);
}

.team-text h2 {
    margin: 0 0 5px;
    color: #2f3439;
    font-size: 1.5rem;
}

.team-text h3 {
    margin: 0 0 14px;
    color: #c71920;
    font-size: 1rem;
    font-weight: 600;
}

.team-text p {
    margin: 0;
    line-height: 1.7;
}

/* ==================================================
   LEISTUNGSSEITE
   Wilfried Denz Baumaschinen GmbH
   ================================================== */

.leistungen-seite {
    --denz-rot: #c71920;
    --denz-anthrazit: #2f3439;
    --denz-text: #565b60;
    --denz-weiss: #ffffff;
    --denz-grau: #f4f4f4;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--denz-text);
}


/* ==================================================
   EINLEITUNG
   ================================================== */

.leistungen-einleitung {
    margin-bottom: 32px;
}

.leistungen-einleitung h1 {
    margin: 0 0 12px;
    color: var(--denz-anthrazit);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.leistungen-einleitung h2 {
    margin: 0 0 18px;
    color: var(--denz-rot);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    line-height: 1.35;
}

.leistungen-einleitung p {
    max-width: 950px;
    margin: 0 0 12px;
    font-size: 1.05rem;
    line-height: 1.75;
}


/* ==================================================
   LEISTUNGSKÄSTEN
   Alle Bilder links, Text rechts
   ================================================== */

.leistungen-bereich {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: center;

    margin-bottom: 24px;
    padding: 22px;

    background: var(--denz-weiss);
    border-left: 5px solid var(--denz-rot);
    border-radius: 6px;

    box-shadow:
        0 8px 24px rgba(47, 52, 57, 0.08),
        0 2px 6px rgba(47, 52, 57, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.leistungen-bereich:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(47, 52, 57, 0.1),
        0 3px 8px rgba(47, 52, 57, 0.06);
}


/* ==================================================
   HOCHKANTBILDER
   ================================================== */

.leistungen-bild {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    width: 100%;
    min-width: 0;
}

.leistungen-bild img {
    display: block;

    width: 100%;
    max-width: 220px;
    height: auto;

    border-radius: 6px;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.leistungen-bild:hover img {
    transform: scale(1.025);
    filter: brightness(1.03);
}


/* ==================================================
   TEXT
   ================================================== */

.leistungen-text {
    min-width: 0;
}

.leistungen-text h2 {
    margin: 0 0 12px;
    color: var(--denz-anthrazit);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.25;
}

.leistungen-text p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.7;
}

.leistungen-text p:last-child {
    margin-bottom: 0;
}


/* ==================================================
   ABSCHLUSSKASTEN
   ================================================== */

.leistungen-abschluss {
    margin-top: 4px;
    padding: 26px 28px;

    background: var(--denz-weiss);
    border-left: 5px solid var(--denz-rot);
    border-radius: 6px;

    box-shadow:
        0 8px 24px rgba(47, 52, 57, 0.08),
        0 2px 6px rgba(47, 52, 57, 0.05);
}

.leistungen-abschluss h2 {
    margin: 0 0 12px;
    color: var(--denz-anthrazit);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.3;
}

.leistungen-abschluss p {
    margin: 0;
    color: var(--denz-text);
    font-size: 1rem;
    line-height: 1.7;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

    .leistungen-bereich {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .leistungen-bild img {
        max-width: 190px;
    }

}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 700px) {

    .leistungen-einleitung {
        margin-bottom: 24px;
    }

    .leistungen-bereich {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;

        margin-bottom: 20px;
        padding: 18px;
    }

    .leistungen-bild {
        justify-content: flex-start;
    }

    .leistungen-bild img {
        width: auto;
        max-width: 100%;
        max-height: 420px;
    }

    .leistungen-text h2 {
        margin-bottom: 10px;
    }

    .leistungen-abschluss {
        padding: 22px 20px;
    }

}


/* ==================================================
   SEHR KLEINE SMARTPHONES
   ================================================== */

@media (max-width: 420px) {

    .leistungen-bereich {
        padding: 15px;
    }

    .leistungen-bild img {
        max-height: 360px;
    }

    .leistungen-einleitung p,
    .leistungen-text p,
    .leistungen-abschluss p {
        font-size: 0.96rem;
    }

}


/* ==================================================
   MASCHINENVERMIETUNG
   Wilfried Denz Baumaschinen GmbH
   ================================================== */


/* Gesamter Seitenbereich */

.vermietung-seite {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: #2f3439;
}


/* ==================================================
   Einleitung
   Bild links – Text rechts
   ================================================== */

.vermietung-einleitung {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.vermietung-bild {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(47, 52, 57, 0.12);
}

.vermietung-bild img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.vermietung-bild:hover img {
    transform: scale(1.04);
}

.vermietung-einleitung-text h1 {
    margin: 0 0 14px;
    color: #2f3439;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.vermietung-einleitung-text h2 {
    margin: 0 0 22px;
    color: #c71920;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.3;
}

.vermietung-einleitung-text p {
    margin: 0 0 16px;
    color: #565b60;
    font-size: 1rem;
    line-height: 1.75;
}


/* ==================================================
   Mietpark
   ================================================== */

.vermietung-kategorien {
    margin: 0 0 50px;
}

.vermietung-kategorien > h2 {
    margin: 0 0 10px;
    color: #2f3439;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.25;
}

.vermietung-kategorien > p {
    max-width: 800px;
    margin: 0 0 28px;
    color: #565b60;
    line-height: 1.7;
}


/* Fünf Kacheln nebeneinander */

.vermietung-kategorien-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}


/* Einzelne Kachel */

.vermietung-kategorie-klein {
    display: flex;
    flex-direction: column;
    overflow: hidden;

    min-width: 0;

    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 6px;

    color: #2f3439;
    text-decoration: none;

    box-shadow: 0 5px 16px rgba(47, 52, 57, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.vermietung-kategorie-klein:hover,
.vermietung-kategorie-klein:focus {
    transform: translateY(-5px);
    border-color: #c71920;
    box-shadow: 0 12px 26px rgba(47, 52, 57, 0.15);
    text-decoration: none;
}


/* Kachelbild */

.vermietung-kategorie-klein img {
    display: block;
    width: 100%;
    height: 125px;
    object-fit: cover;
    object-position: center;

    transition: transform 0.35s ease;
}

.vermietung-kategorie-klein:hover img,
.vermietung-kategorie-klein:focus img {
    transform: scale(1.05);
}


/* Kachelüberschrift */

.vermietung-kategorie-klein h3 {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 76px;
    margin: 0;
    padding: 14px 10px;

    background: #ffffff;
    border-top: 4px solid #c71920;

    color: #2f3439;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.vermietung-kategorie-klein:hover h3,
.vermietung-kategorie-klein:focus h3 {
    color: #c71920;
    background: #fafafa;
}


/* Tastaturfokus */

.vermietung-kategorie-klein:focus-visible,
.vermietung-button:focus-visible {
    outline: 3px solid rgba(199, 25, 32, 0.35);
    outline-offset: 3px;
}


/* ==================================================
   Allgemeine Inhaltsbereiche
   ================================================== */

.vermietung-bereich {
    margin: 0 0 30px;
    padding: 28px 30px;

    background: #ffffff;
    border-left: 5px solid #c71920;
    border-radius: 5px;

    box-shadow: 0 6px 20px rgba(47, 52, 57, 0.08);
}

.vermietung-bereich h2 {
    margin: 0 0 14px;
    color: #2f3439;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    line-height: 1.3;
}

.vermietung-bereich p {
    margin: 0 0 14px;
    color: #565b60;
    line-height: 1.75;
}

.vermietung-bereich p:last-child {
    margin-bottom: 0;
}


/* Vorteilliste */

.vermietung-bereich ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;

    margin: 20px 0 0;
    padding: 0;

    list-style: none;
}

.vermietung-bereich li {
    position: relative;
    padding-left: 28px;

    color: #454a4f;
    line-height: 1.6;
}

.vermietung-bereich li::before {
    content: "✓";

    position: absolute;
    top: 0;
    left: 0;

    color: #c71920;
    font-weight: 700;
}


/* Falls im HTML bereits ein Häkchen steht */

.vermietung-bereich li {
    list-style: none;
}


/* ==================================================
   Abschluss / Kontaktbereich
   ================================================== */

/* Abschluss */

.vermietung-abschluss{
    margin-top:30px;
    padding:30px;

    background:#ffffff;
    border-left:5px solid #c71920;
    border-radius:5px;

    box-shadow:0 6px 20px rgba(47,52,57,.08);
}

.vermietung-abschluss h2{
    margin:0 0 15px;
    color:#2f3439;
    font-size:clamp(1.5rem,2.5vw,1.9rem);
}

.vermietung-abschluss p{
    margin:0 0 20px;
    color:#565b60;
    line-height:1.7;
}


.vermietung-button{
    display:inline-block;

    padding:12px 26px;

    background:#c71920;
    color:#fff;

    text-decoration:none;
    font-weight:600;

    border-radius:4px;

    transition:.3s;
}

.vermietung-button:hover{
    background:#2f3439;
    color:#fff;
}

/* ==================================================
   Tablet
   ================================================== */

@media (max-width: 1100px) {

    .vermietung-kategorien-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 850px) {

    .vermietung-einleitung {
        grid-template-columns: 260px 1fr;
        gap: 28px;
    }

    .vermietung-bild img {
        height: 320px;
    }

}


/* ==================================================
   Kleine Tablets
   ================================================== */

@media (max-width: 768px) {

    .vermietung-einleitung {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vermietung-bild {
        max-width: 520px;
    }

    .vermietung-bild img {
        height: 300px;
    }

    .vermietung-kategorien-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .vermietung-bereich ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

}


/* ==================================================
   Smartphone
   ================================================== */

@media (max-width: 520px) {

    .vermietung-seite {
        width: 100%;
    }

    .vermietung-einleitung {
        margin-bottom: 38px;
    }

    .vermietung-bild img {
        height: 240px;
    }

    .vermietung-einleitung-text h1 {
        font-size: 2rem;
    }

    .vermietung-einleitung-text h2 {
        font-size: 1.3rem;
    }

    .vermietung-kategorien {
        margin-bottom: 38px;
    }

    .vermietung-kategorien-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vermietung-kategorie-klein img {
        height: 105px;
    }

    .vermietung-kategorie-klein h3 {
        min-height: 70px;
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .vermietung-bereich {
        padding: 24px 20px;
    }

    .vermietung-abschluss {
        padding: 30px 20px;
    }

}


/* ==================================================
   Sehr kleine Smartphones
   ================================================== */

@media (max-width: 360px) {

    .vermietung-kategorien-grid {
        grid-template-columns: 1fr;
    }

    .vermietung-kategorie-klein img {
        height: 150px;
    }

    .vermietung-kategorie-klein h3 {
        min-height: auto;
    }

}
/* ==================================================
   Convert Forms – Denz
   ================================================== */

/* Gesamtes Kontaktformular */

.convertforms {
    background: #ffffff !important;
    color: #2f3439 !important;
    padding: 28px !important;
    border-left: 5px solid #c71920;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(47, 52, 57, 0.08);
}


/* Überschriften und allgemeine Texte */

.convertforms h1,
.convertforms h2,
.convertforms h3,
.convertforms p {
    color: #2f3439 !important;
}


/* Feldbeschriftungen */

.convertforms label,
.convertforms .cf-label {
    color: #2f3439 !important;
    font-weight: 600;
}


/* Hilfetexte unter den Feldern */

.convertforms .cf-desc,
.convertforms .cf-field-description,
.convertforms small,
.convertforms .form-text {
    color: #686d72 !important;
}


/* Eingabefelder */

.convertforms input[type="text"],
.convertforms input[type="email"],
.convertforms input[type="tel"],
.convertforms input[type="number"],
.convertforms input[type="url"],
.convertforms select,
.convertforms textarea {
    width: 100%;
    background: #ffffff !important;
    color: #2f3439 !important;
    border: 1px solid #cfd2d4 !important;
    border-radius: 4px !important;
    padding: 11px 12px !important;
    box-shadow: none !important;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* Fokus beim Anklicken */

.convertforms input:focus,
.convertforms select:focus,
.convertforms textarea:focus {
    border-color: #c71920 !important;
    box-shadow: 0 0 0 3px rgba(199, 25, 32, 0.12) !important;
    outline: none !important;
}


/* Platzhaltertexte */

.convertforms input::placeholder,
.convertforms textarea::placeholder {
    color: #8a8e92 !important;
    opacity: 1;
}


/* Checkbox und Datenschutztext */

.convertforms input[type="checkbox"] {
    accent-color: #c71920;
}

.convertforms .cf-control-group,
.convertforms .cf-field {
    color: #2f3439 !important;
}


/* Links im Formular */

.convertforms a {
    color: #c71920 !important;
    text-decoration: underline;
}

.convertforms a:hover {
    color: #2f3439 !important;
}


/* Absenden-Button */

.convertforms button[type="submit"],
.convertforms input[type="submit"],
.convertforms .cf-btn,
.convertforms .btn {
    background: #c71920 !important;
    border: 2px solid #c71920 !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    padding: 12px 26px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

/* Senden-Button */
.convertforms button,
.convertforms input[type="submit"],
.cf-btn,
.cf-btn-primary{
    background:#c71920 !important;
    border:2px solid #c71920 !important;
    color:#fff !important;
    transition:all .3s ease;
}

/* Hover */
.convertforms button:hover,
.convertforms input[type="submit"]:hover,
.cf-btn:hover,
.cf-btn-primary:hover{
    background:#000000 !important;
    border-color:#000000 !important;
    color:#ffffff !important;
}


/* Fehlermeldungen */

.convertforms .error,
.convertforms .cf-error,
.convertforms .invalid-feedback {
    color: #c71920 !important;
}


/* Smartphone */

@media (max-width: 600px) {
    .convertforms {
        padding: 20px !important;
    }
}
.convertforms form,
.convertforms .cf-form,
.convertforms .cf-form-wrap,
.convertforms .cf-content {
    background: #ffffff !important;
    color: #2f3439 !important;
}
/* Formular auf volle Breite */

.convertforms,
.convertforms form,
.convertforms .cf-form,
.convertforms .cf-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Senden-Button Kontaktformular */
.convertforms button,
.convertforms input[type="submit"]{
    background:#c71920 !important;
    color:#fff !important;
    border:2px solid #c71920 !important;
    transition:all .3s ease;
}

/* Hover */
.convertforms button:hover,
.convertforms input[type="submit"]:hover{
    background:#2f3439 !important;
    border-color:#2f3439 !important;
    color:#fff !important;
}


/* Kein grauer Hover-Hintergrund im Hauptmenü */

.mod-menu a:hover,
.mod-menu a:focus,
.mod-menu .metismenu-item > a:hover,
.mod-menu .metismenu-item > a:focus {
    background: transparent !important;
}

.footer-copyright{
    margin:25px 0 10px;
    text-align:center;
    font-size:0.9rem;
    color:#ffffff;
    opacity:.85;
}

.footer-copyright a{
    color:#ffffff;
    text-decoration:none;
}

.footer-copyright a:hover{
    color:#c71920;
}
/* Copyright-Modul über die gesamte Footerbreite */

.container-footer {
    display: flex;
    flex-wrap: wrap;
}

.container-footer .footer-copyright-modul {
    flex: 0 0 100%;
    width: 100%;
    order: 99;
}

.footer-copyright {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);

    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}
/* Rote Linie unter den Footer-Überschriften entfernen */

.container-footer h3::after{
    display:none !important;
}

.container-footer h3{
    border-bottom:none !important;
    padding-bottom:0 !important;
}

}
.maschine{
    padding:30px 0;
    border-bottom:2px solid #c71920;
}

.maschine:last-child{
    border-bottom:none;
}
.maschine{
    position:relative;
    padding:30px 0 40px;
}

.maschine::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;

    width:120px;
    height:3px;

    background:#c71920;
    border-radius:3px;
}

.maschine:last-child::after{
    display:none;
}

/* Dropdown-Menü */
.mod-menu .mod-menu__sub{
    background:#2f3439 !important;
}

/* Menüpunkte */
.mod-menu .mod-menu__sub a{
    background:#2f3439 !important;
    color:#ffffff !important;
    transition:background-color .25s ease;
}

/* Hover */
.mod-menu .mod-menu__sub a:hover,
.mod-menu .mod-menu__sub a:focus{
    background:#70767c !important;
    color:#ffffff !important;
}

/* Aktiver Menüpunkt */
.mod-menu .mod-menu__sub .current > a,
.mod-menu .mod-menu__sub .active > a{
    background:#70767c !important;
    color:#ffffff !important;
}

/* Convert Forms Free: Senden-Button */
.convertforms .cf-btn,
.convertforms button[type="submit"]{
    background-color:#c71920 !important;
    border-color:#c71920 !important;
    color:#ffffff !important;
    box-shadow:none !important;
    transition:background-color .25s ease, border-color .25s ease;
}

/* Hover: schwarz */
.convertforms .cf-btn:hover,
.convertforms .cf-btn:focus,
.convertforms button[type="submit"]:hover,
.convertforms button[type="submit"]:focus{
    background-color:#000000 !important;
    border-color:#000000 !important;
    color:#ffffff !important;
    box-shadow:none !important;
}
.start-kacheln {
    max-width: 1200px;
    margin: 20px auto 20px;
}

.start-kacheln-kopf {
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
}

.start-kacheln-kopf h2 {
    margin: 0 0 12px;
    color: #2f3439;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.start-kacheln-kopf p {
    margin: 0;
    line-height: 1.7;
}

.start-kacheln-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.start-kachel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    color: #2f3439 !important;
    text-decoration: none !important;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.start-kachel:hover,
.start-kachel:focus {
    color: #2f3439 !important;
    text-decoration: none !important;
    transform: translateY(-6px);
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.14);
}

.start-kachel-bild {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f2f2f2;
}

.start-kachel-bild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.start-kachel:hover .start-kachel-bild img {
    transform: scale(1.04);
}

.start-kachel-akzent {
    position: absolute;
    top: 0;
    left: -48px;
    width: 118px;
    height: 100%;
    background: #c71920;
    transform: skewX(-14deg);
    opacity: 0.95;
    transition: width 0.25s ease;
}

.start-kachel:hover .start-kachel-akzent {
    width: 135px;
}

.start-kachel-inhalt {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.start-kachel-inhalt h3 {
    margin: 0 0 12px;
    color: #2f3439;
    font-size: 1.5rem;
}

.start-kachel-inhalt p {
    margin: 0 0 22px;
    line-height: 1.65;
}

.start-kachel-link {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 4px;
    color: #c71920;
    font-weight: 700;
    border-bottom: 2px solid #c71920;
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.start-kachel:hover .start-kachel-link,
.start-kachel:focus .start-kachel-link {
    color: #000;
    border-color: #000;
}

@media (max-width: 900px) {
    .start-kacheln-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .start-kachel:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 13px);
        justify-self: center;
    }
}

@media (max-width: 650px) {
    .start-kacheln {
        margin-top: 45px;
    }

    .start-kacheln-grid {
        grid-template-columns: 1fr;
    }

    .start-kachel:last-child {
        grid-column: auto;
        width: 100%;
    }

    .start-kachel-bild {
        height: 190px;
    }

    .start-kachel-inhalt {
        padding: 22px;
    }
}
.footer a:hover,
.footer a:focus {
    color: #c71920 !important;
    transition: color .2s ease;
}

/* Desktop: Dropdown per Hover */
@media (min-width: 992px) {

    .container-top-a .metismenu-item {
        position: relative;
    }

    .container-top-a .metismenu-item > .mm-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 260px;
        z-index: 9999;

        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;

        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .container-top-a .metismenu-item:hover > .mm-collapse {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    /* Pfeil-Button am PC ausblenden */
    .container-top-a .metismenu-item > .mm-toggler {
        display: none !important;
    }
}


/* Dropdown im Denz-Design */
.container-top-a .metismenu-item > .mm-collapse {
    background: #2f3439 !important;
    border: 1px solid #3d4349;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.container-top-a .metismenu-item > .mm-collapse a {
    display: block;
    padding: 5px 14px;
  line-height: 1.2;
    color: #ffffff !important;
    background: #2f3439 !important;
    text-decoration: none;
  font-size: 0.98rem;
font-weight: 300;
letter-spacing: 1px;
}

.container-top-a .metismenu-item > .mm-collapse a:hover,
.container-top-a .metismenu-item > .mm-collapse .active > a,
.container-top-a .metismenu-item > .mm-collapse .current > a {
    background: #c71920 !important;
    color: #ffffff !important;
}


/* Mobil: Hamburger weiß, Pfeil ohne weißen Kasten */

@media (max-width: 991.98px) {
    .container-top-a .navbar-toggler {
        border-width: 1px !important;
        border-style: solid !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        box-shadow: none !important;
    }

    .container-top-a .navbar-toggler-icon {
        filter: brightness(0) invert(1) !important;
    }
}

    /* Pfeil-Button unverändert lassen */
    .container-top-a button.mm-toggler-link {
        background: #2f3439 !important;
        border: 0 !important;
        box-shadow: none !important;
        filter: none !important;
    }

    /* Nur das Pfeilsymbol weiß färben */
    .container-top-a button.mm-toggler-link::before,
    .container-top-a button.mm-toggler-link::after {
        background-color: transparent !important;
        color: #ffffff !important;
       
    }
}

@media (max-width: 991.98px) {

    /* Hamburger-Symbol weiß */
    
.container-top-a .icon-menu {
    color: #ffffff !important;
}

  
    /* Dünner weißer Rahmen */
    .container-top-a .navbar-toggler {
        border: 1px solid rgba(255,255,255,.7) !important;
    }
}

@media (max-width: 991.98px) {
    .container-top-a button.navbar-toggler,
    .container-top-a button.navbar-toggler .icon-menu,
    .container-top-a button.navbar-toggler .icon-menu::before {
        color: #ffffff !important;
        opacity: 1 !important;
    }

    .container-top-a button.navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.7) !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Desktop-Menüleiste schmaler */
@media (min-width: 992px) {
    .container-top-a ul.mod-menu,
    .container-top-a ul.mod-list {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        min-height: 0 !important;
    }

    .container-top-a ul.mod-menu > li > a,
    .container-top-a ul.mod-list > li > a {
        padding-top: 1 0 4px!important;
        padding-bottom: 0 !important;
        line-height: 1.1 !important;
    }

    .container-top-a .metismenu-item,
    .container-top-a .metismenu-item > a {
        min-height: 0 !important;
    }
}
.container-top-a ul.mod-menu > li > a::after,
.container-top-a ul.mod-list > li > a::after {
    bottom: 3px;
 
}

@media (min-width: 992px) {
    .container-top-a ul.mod-menu > li > a,
    .container-top-a ul.mod-list > li > a {
        padding: 0 0 5px 0 !important;
        line-height: 1.1 !important;
    }

    .container-top-a ul.mod-menu > li > a::after,
    .container-top-a ul.mod-list > li > a::after {
        bottom: 0 !important;
        height: 2px !important;
    }
}

@media (min-width: 992px) {
    .container-top-a ul.mod-menu > li > a,
    .container-top-a ul.mod-list > li > a {
        padding: 0 0 3px 0 !important;
        line-height: 1.1 !important;

        text-decoration: none !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    .container-top-a ul.mod-menu > li > a::after,
    .container-top-a ul.mod-list > li > a::after {
        bottom: 0 !important;
        height: 2px !important;
    }
}


/* n3t Cookie Consent an Denz-Design anpassen */

#cc-main {
    font-family: inherit;
}

#cc-main .cm {
    max-width: 620px;
    border-radius: 8px;
    padding: 24px !important;
    background: #2f3439 !important;
}

#cc-main .cm__title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

#cc-main .cm__desc {
    color: #e3e3e3;
    line-height: 1.6;
}

#cc-main .cm__btn {
    border-radius: 5px;
    font-weight: 500;
}

#cc-main .cm__btn--primary {
    background: #c71920 !important;
    border-color: #c71920 !important;
}

#cc-main .cm__btn--secondary {
    background: transparent !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}

#cc-main a {
    color: #c71920;
}

/* n3t Cookie Consent - Kategorien lesbar machen */

.cc-category-title,
.cc-category-header,
.cc-category-name,
.cc-cookie-category-title {
    color: #212529 !important;
    font-weight: 700 !important;
}

.cc-category-description,
.cc-cookie-description {
    color: #495057 !important;
}

.cc-category,
.cc-cookie-category {
    background: #f8f9fa !important;
}

/* n3t Cookie Consent – Kategorien besser lesbar */
#cc-main {
    --cc-cookie-category-block-bg: #eef1f3;
    --cc-cookie-category-block-hover-bg: #e3e7ea;
    --cc-cookie-category-expanded-block-bg: #eef1f3;
    --cc-cookie-category-expanded-block-hover-bg: #e3e7ea;
}

/* Texte innerhalb der Cookie-Kategorien */
#cc-main .pm__section-title,
#cc-main .pm__section-desc,
#cc-main .section__title,
#cc-main .section__desc {
    color: #2f3438 !important;
}

/* Pfeile ebenfalls dunkel darstellen */
#cc-main .pm__section-arrow,
#cc-main .section__toggle {
    color: #2f3438 !important;
}

/* Untere Schaltflächen sauber umbrechen */
#cc-main .pm__footer .pm__btn-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

/* Alle Schaltflächen sichtbar halten */
#cc-main .pm__footer .pm__btn {
    flex: 1 1 140px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Dialog darf auf kleinen Bildschirmen scrollen */
#cc-main .pm {
    max-height: calc(100vh - 20px) !important;
}

#cc-main .pm__body {
    overflow-y: auto !important;
}



#cc-main {
    outline: 5px solid lime !important;
}

/* n3t Cookie Consent Farben überschreiben */
.cc_div {
    --cc-cookie-category-block-text: #333333 !important;
    --cc-cookie-category-block-bg: #f3f4f6 !important;
    --cc-cookie-category-block-hover-bg: #e8eaed !important;

    --cc-btn-primary-bg: #c8102e;
    --cc-btn-primary-text: #ffffff;

    --cc-btn-secondary-bg: #ffffff;
    --cc-btn-secondary-text: #333333;
}

/* n3t Cookie Consent – untere Buttons sauber anordnen */
.cc_div #s-bns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    height: auto !important;
    overflow: visible !important;
}

.cc_div #s-bns button {
    flex: 1 1 140px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Cookie-Fenster vollständig sichtbar halten */
.cc_div #s-cnt {
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
}

.cc_div #s-cnt {
    width: 720px !important;
    max-width: 95vw !important;
}

/* n3t Cookie Consent - Buttonleiste */
.cc_div #s-bns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    padding: 20px !important;
    height: auto !important;
}

.cc_div #s-bns button,
.cc_div #s-bns .c-bn {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    font-size: 14px !important;
    padding: 12px 8px !important;
}

.cc_div #cm {
    max-width: 650px !important;
    width: 90% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.35) !important;
}

/* Convert Forms - Erfolgsmeldung */
.convertforms .alert-success,
.convertforms .cf-response-success,
.convertforms .cf-success {
    background: #2f3439 !important;
    color: #ffffff !important;
    border: 1px solid #343a40 !important;
}

.convertforms .alert-success *,
.convertforms .cf-response-success *,
.convertforms .cf-success * {
    color: #ffffff !important;
}

/* Convert Forms Erfolgsmeldung */
.convertforms {
    --color-success: #2f3439;
}

.convertforms .cf-response {
    color: #ffffff !important;
}

.convertforms .cf-response * {
    color: #ffffff !important;
}

/* Convert Forms – Erfolgsmeldung Kontaktformular */
#cf_1 {
    --color-success: #343a40 !important;
}

#cf_1.convertforms.cf-success #cf_1_response.cf-response {
    background: #343a40 !important;
    background-color: #343a40 !important;
    background-image: none !important;
    border-color: #343a40 !important;
    color: #ffffff !important;
}

#cf_1.convertforms.cf-success #cf_1_response.cf-response * {
    color: #ffffff !important;
}

document.addEventListener("click", function (e) {
    const link = e.target.closest("#cookie-settings-link");

    if (!link) {
        return;
    }

    e.preventDefault();

    if (
        window.n3tConsentManager &&
        n3tConsentManager.cookieConsent &&
        typeof n3tConsentManager.cookieConsent.showSettings === "function"
    ) {
        n3tConsentManager.cookieConsent.showSettings();
    }
});

.cc-consent-info,
.cc-consent-details,
.cc-consent-id,
.cc-consent-date {
    display: none !important;
}
  #cc-main [class*="consent"] {
    /* nicht verwenden – wäre zu allgemein */
}
  .n3tcc-has-consent .n3tcc-consent-info {
    display: none !important;
}
  #cookie-settings-link {
    font: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: inherit !important;
}
  #cookie-settings-link:hover {
    color: #c8102e !important;
}

  .denz-footer-block {
    text-align: center;
}

.denz-footer-block #cookie-settings-link {
    display: inline;
    position: static;
    float: none;
    font: inherit;
    color: inherit;
}

.denz-footer-block #cookie-settings-link:hover {
    color: #c8102e !important;
}

  .cc-trigger {
    display: none !important;
}


/* Teamseite – einheitliche Bildgrößen am PC */
.team-bild {
    width: 233px;
    flex: 0 0 233px;
}

.team-bild img {
    display: block;
    width: 233px;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
}

  



  /* Teamseite – Grundlayout */
.team-liste {
    width: 100%;
    max-width: 100%;
}

.team-eintrag {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.team-bild,
.team-text {
    min-width: 0;
    box-sizing: border-box;
}

.team-bild img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Darstellung auf Smartphone und Tablet */
@media (max-width: 768px) {

    .team-eintrag {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin: 0 0 30px;
        box-sizing: border-box;
    }

    .team-bild,
    .team-text {
        width: 100%;
        max-width: 100%;
    }

    .team-bild {
        margin-bottom: 20px;
    }

    .team-bild img {
        width: 100%;
        max-width: 375px;
        height: auto;
        margin: 0 auto;
    }

    .team-text {
        padding: 0;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .team-text h2,
    .team-text h3,
    .team-text p {
        width: auto;
        max-width: 100%;
    }
}

/* Verhindert horizontales Verschieben der Seite */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

  @media (max-width: 768px) {

    .team-bild {
        width: 100%;
        flex: none;
    }

    .team-bild img {
        width: 100%;
        max-width: 300px;   /* oder deine gewünschte Breite */
        height: auto;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

}