/*OVERRIDES */

/* source-sans-3-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/source-sans-3-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/source-sans-3-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/source-sans-3-v19-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



body {
    font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #3F3A37;
  background-color: #F4F1EC;
  margin: 0;
}

:root {
--logograu: #A8A5A3;
--cliniqorot: #812828;
--sand: #F2EFEF;
--hellsand: #f8f7f7;
--h2: #6E6A67;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
}

h2, h3 {
  color: #6E6A67;
}


h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8em;
  margin-top: 2rem;
}

.hero h1 { margin-top: 0; }

h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.6em;
}

.darwiche h2 { margin-top: 0; }

h3 {
  font-size: 1.3rem;
  margin-top: 2.2rem;
  margin-bottom: 0.5em;
}
h4 {
  font-size: 1.25rem;
}

h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-subline {
  font-size: 1.1rem;
  font-weight: 400;
  color: #6B625A;
  max-width: 520px;
  margin: auto;
  font-weight: bold;
}

strong {
  font-weight: 600;
}


p + p {
  margin-top: 0.4em;
}

ul, ol {
  margin-bottom: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

ul {
  list-style-type: disc;
}



/* Links */
a {
  color: #5F6F5F; /* Oliv */
  text-decoration: none;
  font-weight: 600;
}

a:hover,
a:focus {
  color: #4E5D4E;
  text-decoration: underline;
}

.content-image img,
.content-text img { border-radius: 4px; }

#container, #header {
  width: 100%;
  margin: 0 auto;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.03);
}


#header {
  position: sticky;
  top: 0;
  z-index: 3;
}

#header .inside {
  display: flex; 
  justify-content: space-between;
  padding: 1rem;
  max-width: 1500px;
  margin: auto;
} 

.header-image { background-color: var(--sand); }
.header-image img { max-width: 1500px; margin: auto; }
.mod_rocksolid_slider {
  width: 100%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

#logo { margin-top: 1rem; }

#logo img {
 width: 150px;
 height: auto; 
}

.mod_article {
max-width: 600px; 
margin: auto; 
padding: 4rem 0 5rem 0; 
}
.mod_article.hero { padding: 0; background: #f7f7f7; }
.mod_article.breit { width: 100%; max-width: 100%; }
.mod_article.breit [class^="content-"] { max-width: 600px; margin: auto; }
.mod_article.breiter { max-width: 1100px; }
.mod_article.breit .extrawide { max-width: 1100px; margin: auto; }


.extrawide.media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.extrawide.media figure,
.extrawide.media .rte {
  padding: 0 1rem;
}

.extrawide.media figure {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.extrawide.media img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

.extrawide.media .rte {
  max-width: 600px;
}

/* Breakpoint */
@media (max-width: 900px) {
  .extrawide.media {
    grid-template-columns: 1fr;
  }

  .extrawide.media figure {
    justify-content: center;
  }

  .extrawide.media .rte {
    max-width: 600px;
    margin: auto;
  }
}





.mod_article.galerie { 
width: 100%; 
max-width: 100%;
background: var(--sand);
background-image: url(../../images/bg_galerie.jpg);
background-attachment: fixed;
background-size: cover;
padding: 0;
}

.insights-intro {
max-width: 600px;
margin: 0 auto 4rem;
}


.contrastbg { background: var(--sand); }

.red { 
  background: var(--cliniqorot);
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.red .inner {
  display:flex;
  align-items:center;
  gap:40px;
  max-width: 1500px;
  margin: auto;
}

.red .content-image,
.red .content-text{
  flex:1;
}

.red .content-image {
  max-width: 50%;
}


.red .content-text {
  max-width: 500px;
}

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

@media (max-width:900px){
.red {
  padding-top: 0!important;
}
 .red  .inner{
    flex-direction:column;
  }
.red .content-image {
  max-width: 100%;
}
}



.red, .red h2 {
  color: var(--sand);
  margin-top: 0;
}

.red a {
  display:inline-block;
  margin-top:25px;
  padding:12px 26px;
  background:transparent;
  color:#ffffff;
  box-shadow:inset 0 0 0 2px #ffffff;
  text-decoration:none;
  font-weight:600;
  border-radius:4px;
  transition:all .25s ease;
}

.red a:hover{
  background:#ffffff;
  color:#8f2a2a;
}


.akkordeon .inner{
  max-width: 600px;
  margin: auto;
}

.akkordeon h2 {
  margin-bottom: 1rem!important;
}

.ce_accordion ul {
list-style-type: none;
margin-left: 1rem;
}


.ce_accordion .toggler{
  position:relative;
  padding-left:28px;
  cursor:pointer;
  color: var(--cliniqorot);
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.ce_accordion .toggler{
  transition:transform .2s ease;
}

.ce_accordion .toggler:hover{
  transform:translateX(2px);
}


.ce_accordion .toggler::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:8px;
  height:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-50%) rotate(-45deg);
  transition:transform .2s ease;
}

.ce_accordion .toggler.active::before{
  transform:translateY(-50%) rotate(45deg);
}



.ce_accordion .accordion{
  overflow:hidden;
  transition:max-height .95s ease, opacity .85s ease;
  max-height:0;
  opacity:0;
}

.ce_accordion .toggler.active + .accordion{
  opacity:1;
}



 .hero-grid {
  display: grid;
}

 .hero-grid > * {
  grid-area: 1 / 1;
}


.hero-grid .content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-grid .hero-text {
  z-index: 2;
  align-self: flex-end;     
  justify-self: center;  
  text-align: center;
  max-width: 700px;
  padding: 2rem;
  background: rgba(242, 239, 239, 0.8);
  margin-bottom: 2rem;
  border-radius: 4px;
}


.startteaser {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;

}

.startteaser .ce_linkteaser {
  max-width: 600px;
  margin: auto;
}

.startteaser .ce_linkteaser a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  font-weight: 400;
}

.startteaser .ce_linkteaser .inside {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  background: var(--hellsand);
  transform: scale(1);
border-radius: 4px;
}

.startteaser .ce_linkteaser:hover .inside {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: scale(1.025);
}

.startteaser figure {
  margin: 0 0 1rem 0;
}

.startteaser img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.12);
  filter: saturate(0.6) contrast(0.95);
  transition: filter 0.25s ease;
border-radius: 4px;
}

.startteaser .ce_linkteaser:hover img {
  filter: saturate(1) contrast(1);
}

.startteaser h3 {
  margin: 0 0 0.6rem 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.startteaser .teaser p {
  margin: 0;
}

/* Breakpoint: untereinander, zentriert */
@media (max-width: 900px) {
  .startteaser {
    grid-template-columns: 1fr;
  }

  .startteaser .ce_linkteaser {
    max-width: 400px;
    margin: 0 auto;
  }
}


.enum ul {
padding: 0;
list-style-type: none; 
}


.galerie {
  position: relative;
}

.galerie::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.1)
  );
}

.galerie .content-gallery {
  overflow: hidden;
}

.galerie .content-gallery ul {
  display: flex;
  margin: 0 auto;
  padding: 0.25rem;
  list-style: none;
  justify-content: center;
  gap: 0.25rem;
  max-width: 1100px;
}

.galerie .content-gallery li {
  flex: 0 0 25%;
  max-width: 25%;
margin: 0;
}

.galerie figure {
  margin: 0;
}

.galerie img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.6) contrast(0.95);
  transition: filter 0.35s ease;
  border-radius: 4px;
}

.galerie img:hover {
  filter: saturate(1) contrast(1);
}

/* Mobil: 2x2 Bilder */
@media (max-width: 640px) {
.galerie .content-gallery ul {
  flex-wrap: wrap;
  }
.galerie .content-gallery li {
  flex: 0 0 50%;
  max-width: calc(50% - 0.25rem);
}
}


.mod_newsreader .layout_full  {
  max-width: 600px;
  margin: auto;
}

#news:has(.mod_newsreader) .insights-intro {
  display: none;
}

.back {
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.back a {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
}

.back a:hover {
  border-color: rgba(0, 0, 0, 0.3);
}


.mod_article.referenzen .content-text {
max-width: 900px;
font-weight: 600;
font-size: 1.1em;
}


.referenzen .content-text .rte ul {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 0.5rem;
}

.referenzen .content-text .rte ul li {
  padding: 0.5rem 0;
  margin: 0;
}

@media (max-width: 900px) {
  .referenzen .content-text .rte ul {
    grid-template-columns: 1fr;
  }

.mod_article.referenzen .content-text {
max-width: fit-content;
}
}

.referenzen {
background-image: url(../../images/bg_referenzen.jpg);
background-attachment: fixed;
background-size: cover;
background-position: center center;
position: relative;
z-index: 1;
color: #92908e;
padding: 6rem 0;

}

.referenzen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3); /* Farbe + Transparenz */
  pointer-events: none;
}

.referenzen > * {
  position: relative;
  z-index: 1;
}

.referenzen h2 {
color: #92908e;

}



#footer {
background: #484846;
background-image: url(../../images/footer.jpg);
background-attachment: fixed;
background-size: cover;
padding: 5rem 0;
}

.footer-logo { 
text-align: center;
margin-bottom: 1rem;
}

.footer-logo img {
max-width: 100px; }

