html {
  font-size: 100%; /* Respektiert Benutzereinstellungen */
}
body {
  font-family: 'Rotis Sans Serif', sans-serif;
  font-weight: 400;
  font-size: 1.5rem; /* = Browser default (meist 16px) */
  line-height: 1.5; /* Mindestens 1.5 für Lesbarkeit */
  font-style: normal; /* Explizit normal setzen (optional) */
  color: #959BA1;
  background-color: #F2F3F4;
}
#header > .inside {margin: 0 1.5rem;}
.container {width: 100%;}
#main {
    max-width: 1200px;       /* gewünschte feste Breite */
    width: 100%;             /* flüssig bis max 1200px */
    padding: 30px 0px;      /* innen-Abstand */
    margin: 0 auto;          /* zentriert */
    box-sizing: border-box;  /* Padding innerhalb der max-width */
    float: none;             /* float raus */
}
.mod_breadcrumb {max-width: 1200px;}

.logo_container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo {
    position: relative;
    display: block;
    max-width: 767px;
    padding-right: 56px; /* Platz für Zusatzlogo */
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Zusatzlogo */
.logo::after {
    content: "";
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 56px;
    height: 51px;
    background: url("../layout/Spohrs_Buero_Kopf-2025.png")
                no-repeat center / contain;
    pointer-events: none;
}
.body_gmbh .logo::after {right:30px;}
.body_works .logo::after {bottom: 8px;}
.mod_breadcrumb {
  font-size: 16px;
  margin: 0 auto; /* zentriert */
}
.mod_breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;         /* horizontal nebeneinander */
  align-items: center;
  gap: 0.5em;            /* Abstand zwischen Items */
  color: #959BA1;        /* Standardfarbe für alle li */
}
/* Trennzeichen "-" zwischen li (außer letztem) */
.mod_breadcrumb li:not(:last-child)::after {
  content: " -";
  margin-left: 0.5em;
  color: #959BA1;
}
.mod_breadcrumb li:first-child {
  display: none;
}
/* Alle Links innerhalb von Breadcrumb */
.mod_breadcrumb a {
  color: #959BA1;
  text-decoration: none; /* optional */
}
.mod_breadcrumb a:hover {
  color: #000000;
}
/* Aktuelles Element (letzte Seite) */
.mod_breadcrumb li.active {
  color: #000000;        /* schwarz */
}
/* Bild + Text zentriert als Block */
.center.content-text.media {display: flex;flex-direction: column;align-items: center; /* horizontale Zentrierung */}
/* Bildbreite fix */
.center.content-text.media figure {width: 376px;margin: 0;}
/* Text exakt so breit wie das Bild */
.center.content-text.media .rte {width: 376px;text-align: left;}
.spohr #main ul {list-style: none;padding-left: 1.2em;}
.spohr #main ul li::marker {content: "- ";}
.spohr #main p:has(+ ul) {margin-bottom:0px;}
hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #231F20, transparent);
  margin: 0 auto;
  width: 80%;        
}

.works .columns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* optionaler Rand */
}

.works .columns ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 60px;    /* vertikal */
    column-gap: 40px; /* horizontal */
}
.works .columns ul li {
    display: flex;
    align-items: center;      /* vertikal zentriert */
    justify-content: center;  /* horizontal zentriert */
    min-height: 220px;        /* Zeilenhöhe für vertikale Zentrierung */
}
/* Sonderfall: Logos linksbündig statt zentriert */
.works.linksamrand .columns ul li {
    justify-content: flex-start; /* horizontal linksbündig */
    /* vertikal bleibt zentriert */
    align-items: center;
}
.works .columns ul li figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.works .columns ul li img {
    display: block;
    max-width: none; /* wichtig, damit JS-Breite nicht überschrieben wird */
    height: auto;
}
/* Optional: responsive auf 1 Spalte */
@media (max-width: 700px) {
    .works .columns ul {
        grid-template-columns: 1fr;
    }
}

/* hier die Galerie für die Ebene mit Mouseover-Effekt */
.arbeiten .gallery figure {border: 1px solid #000;}
.arbeiten .gallery {position: relative;width: 100%;max-width: 1200px; margin: 0 auto; min-height: 500px;}
.arbeiten .gallery [data-item] {position: absolute;}
.arbeiten .gallery [data-item] img {display: block;max-width: 100%;height: auto;}

/* DAS reicht für den Mouseover-Effekt! */
.arbeiten .gallery figure {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.arbeiten .gallery figcaption {
  position: absolute;
  background: rgba(223, 238, 247, 0.9);
  color: #000;
  padding: 20px 30px;
  transition: transform 0.3s ease;
  font-size:2rem;
  pointer-events: none; /* ← HIER: Klicks gehen durch */
}
/* Linke Spalte: Overlay von rechts reinfahren - Rand nach links (zur Mitte) */
.arbeiten .gallery .column-left figcaption {
  inset: 20% 0 20% 20%;  
  transform: translateX(100%);
  text-align: left;
}
/* Rechte Spalte: Overlay von links reinfahren - Rand nach rechts (zur Mitte) */
.arbeiten .gallery .column-right figcaption {
  inset: 20% 20% 20% 0;
  transform: translateX(-100%);
  text-align: right;
}
.arbeiten .gallery figure figcaption {
  visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .arbeiten .gallery .column-left figure:hover figcaption,
  .arbeiten .gallery .column-right figure:hover figcaption {
    transform: translateX(0);
    pointer-events: none;
    visibility: visible;
  }
}

/* Touch-Device Unterstützung - nur für Geräte mit Maus-Hover */
@media (hover: hover) and (pointer: fine) {
  .arbeiten .gallery .column-left figure:hover figcaption {
    transform: translateX(0);
  }
  
  .arbeiten .gallery .column-right figure:hover figcaption {
    transform: translateX(0);
  }
}



/* Für alle <strong> und <b> Tags */
strong, b {color: #231F20;  font-weight: 700;}
.center {text-align:center;}
.logo_container {
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  align-items: center;     /* vertikal zentrieren, falls Container Höhe hat */
  text-align: center;      /* zusätzliche Sicherheit */
  padding: 3.5rem 0;    /* = 1.5 × 16px = 24px */
  gap: 1rem;          /* = 16px */
}
.logo {display: inline-block;}
.logo_container {position: relative;}

/* --------------------------*/
/* Ab hier Burger-Menü       */
/* --------------------------*/
.burger {
    position: absolute;
    right: calc((100% - 1200px) / 2);
    bottom: 0;
    transform: translateY(-100%);
    width: 40px;
    height: 30px;
    cursor: pointer;
}
/* Die drei Striche */
.burger span {
  position: absolute;
  height: 4px;
  width: 100%;
  background: #333;
  left: 0;
  transition: 0.4s;
  border-radius: 2px;
}
/* Position der Striche */
.burger span:nth-child(1) {top: 0;}
.burger span:nth-child(2) { top: 13px;}
.burger span:nth-child(3) { top: 26px;}
/* Hover-Effekt: Striche zum X transformieren */
.burger:hover span:nth-child(1) {transform: rotate(45deg);top: 13px;}
.burger:hover span:nth-child(2) {opacity: 0;}
.burger:hover span:nth-child(3) {transform: rotate(-45deg);top: 13px;}
/* Standard: versteckt */
#mobile_menu {display: none;}
/* Nur sichtbar, wenn mmenu aktiv */
body.mm-wrapper--opened #mobile_menu {display: block;}

/* --------------------------*/
/* Ab hier Media-Queries */
/* --------------------------*/
@media (min-width: 1240px) {
  #main {max-width: 1200px;margin: 0 auto;}
}
@media (max-width: 1239px) {
  .burger {bottom: 0;right:0rem;}
  #main {padding: 30px 20px;}
}
@media (max-width: 786px) {
  #main {padding: 20px;}
}
@media (max-width: 600px) {
  .columns ul {grid-template-columns: 1fr; /* eine Spalte auf Mobil */}
  .columns ul li {justify-content: flex-start;text-align: left;}
}

/* --------------------------*/
/* Ab hier Font-Definitionen */
/* --------------------------*/
@font-face {
  font-display: swap;
  font-family: 'Rotis Serif';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/RotisSerif-Italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Serif';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/RotisSerif-Bold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/RotisSerif.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Semi Serif';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/RotisSemiSerif-Bold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Semi Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/RotisSemiSerif.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Semi Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/RotisSemiSans-LightItalic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Semi Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/RotisSemiSans-Light.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Semi Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/RotisSemiSans-Italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Semi Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/RotisSemiSans-ExtraBold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Semi Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/RotisSemiSans.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Sans Serif';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/RotisSansSerif-LightItalic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Sans Serif';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/RotisSansSerif-Light.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Sans Serif';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/RotisSansSerif-Italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Sans Serif';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/RotisSansSerif-Bold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Rotis Sans Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/RotisSansSerif.woff2') format('woff2');
}