@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,700;1,800;1,900&display=swap');


:root {
  --font-body: "Source Sans 3", sans-serif;
}



html {  scroll-padding-top: 200px;}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root {
  --bs-link-color-rgb: 239, 125, 0;       /* #ef7d00 */
  --bs-link-hover-color-rgb: 201, 101, 0; /* #c96500 */
}

a {
  color: var(--primary);
}

a:hover,
a:focus-visible {
  color: var(--primary-dark);
}

:root {
  --primary: #ef7d00;
  --primary-dark: #c96500;

  --anthrazit: #374b53;
  --anthrazit-dark: #2b3a40;

  --gray: #dadada;
  --gray-light: #f2f2f2;

  --text: #383838;
  --text-light: #666666;

  --background: #f7f7f7;
  --page-background: rgba(247, 247, 247, 0.85);

  --white: #ffffff;

}

.anthrazit {
  background: var(--anthrazit);
  padding: 20px 0;
}

.anthrazit * {
  color: var(--white);
}

.orange {
  background: var(--primary);
  padding: 20px 0;
}

.orange * {
  color: var(--white);
}

.grau {
  background: var(--gray);
  padding: 20px 0;
}


body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
}

/* ==========================================
   SEITENTITEL
========================================== */

/* mmenu Fix */
.mm-page .site-header,
.mm-wrapper .site-header {
  position: sticky;
  top: 0;
	z-index: 10000;
}


h1,
h2,
h3,
.logo-title {
  font-family: var(--font-body);
}

body {
  font-family: var(--font-body);
}





h1 {
    position: relative;
    display: block;

    margin: 0 0 3rem;
    padding-bottom: 1rem;

    color: var(--anthrazit);

    font-size: clamp(2.6rem, 3vw, 3.2rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.02em;
	text-transform: uppercase;
}
h1::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 90px;
    height: 4px;

    border-radius: 20px;

    background: #ef7d00;
}


/* ==========================================
   LISTEN
========================================== */

ul:not(.navilo):not(.sub2),
ol {

    margin: 1.5rem 0;
    padding-left: 1.4rem;
}

ul:not(.navilo):not(.sub2) li,
ol li {

    margin-bottom: .7rem;

    color: #4b5563;
}

/* ==========================================
   LINKS
========================================== */
main 
a {

    color: #294a70;

    text-decoration: none;

    transition: .25s;
}

main a:hover {

    color: #c7a76a;
}

/* ==========================================
   CONTENT
========================================== */



/* ==========================================
   MOBIL
========================================== */

@media (max-width:991px){

    .page-header,
    .frame-type-header,
    .ce-header{

        padding-left:22px;
        margin-bottom:2.8rem;
    }

    .page-header::before,
    .frame-type-header::before,
    .ce-header::before{

        width:3px;
    }

    h1{

        font-size:2.4rem;
    }

    h2{

        font-size:1.8rem;
    }

    p{

        font-size:1rem;
        line-height:1.75;
    }

}

main a {
  color: var(--primary);
}

main a:hover {
  color: var(--primary-dark);
}

strong {
  font-weight: 700;
}

small {
  color: var(--text-light);
}


.carousel-header {display: none;}

/* Navigation */
nav,
.mainnav,
.navbar,
.navigation {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

/* ==========================================================
   Buttons
========================================================== */

.btn,
.button,
.more,
input[type="submit"],
button{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.75rem;

    min-height:44px;
    padding:0 1.4rem;

    background:var(--primary);
    border:2px solid var(--primary);
    border-radius:3px;

    color:#fff !important;

    font-size:.75rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    text-decoration:none !important;

    cursor:pointer;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

/* Hover */

.btn:hover,
.button:hover,
.more:hover,
input[type="submit"]:hover,
button:hover,

.btn:focus-visible,
.button:focus-visible,
.more:focus-visible,
input[type="submit"]:focus-visible,
button:focus-visible{

    background:#1f3e60;
    border-color:#c7a76a;
    color:#fff !important;

    transform:translateY(-2px);

    box-shadow:
        0 10px 25px rgba(24,58,93,.22);
}

/* Active */

.btn:active,
.button:active,
.more:active,
button:active{

    transform:translateY(0);

    box-shadow:none;
}

/* Icon */

.btn i,
.button i,
.more i{

    transition:transform .25s ease;
}

.btn:hover i,
.button:hover i,
.more:hover i{

    transform:translateX(4px);
}

/* Textauswahl */
::selection {
  background: var(--primary);
  color: var(--white);
}


header .textmedia {gap:0;}



main {margin-top: 100px;}
/* mmenu Fix */
.mm-page .site-header,
.mm-wrapper .site-header {
  position: sticky;
  top: 0;
	z-index: 10000;
}



footer p  {    margin-bottom: 0;}

.footer-menu {background: #dddcd6; line-height: 3rem;}



.hunderter .megazeil,
.hunderter .ce-outer,
.hunderter .ce-row,
.hunderter .ce-gallery,
.hunderter .ce-textpic,
.hunderter .image { width: 100% !important;}
.hunderter .container {padding: 0 !important;}
.hunderter .frame {width: 100%; height: auto; margin: 0;
padding: 0;}

.hunderter .ce-gallery[data-ce-columns="3"] .ce-column {
    width: 33.33333% !important;}

.hunderter {max-width: 100% !important; padding: 0 !important; z-index: 0;}
.hunderter .ce-gallery img {padding: 0;width: 100%; }
.hunderter .ce-column {padding: 0 !important ;}
.hunderter .textmedia {gap:0;}
.hunderter hr {height: 0; padding: 2% 0; background:none !important;}
.hunderter .frame-container-default {
  max-width: 100%; padding: 0; margin:0;
}


.headerimage {position: relative; width: 100%; overflow: hidden; margin-bottom: 0.5%;}
.headerimage .carousel-image picture {width: 100%;}
.headerimage .carousel .carousel-content-inner,
.headerimage  .frame-container {min-width: 100% !important; max-width: inherit !important; padding: 0; margin:0; }


.headerimage .carousel .carousel-content {  height: inherit;}
.headerimage .carousel-item-type-image .carousel-image img {	width: 100%;}
.headerimage .frame {padding: 0;}
.headerimage .carousel .item {height: auto;}


.headerimage .carousel-image {
  display: block;
	z-index: 1;
  width: 100%;
}

.headerimage .carousel-text p {text-align: center; background-color: rgba(255,255,255,0.55); font-size: 3rem; padding: 1% 0.5%; }

.headerimage  .carousel-image img {
	width: 100%;}


/* Abstände vor Inhaltselementen */
.frame-space-before-extra-small { margin-top: 0.75rem !important; }
.frame-space-before-small       { margin-top: 1.5rem !important; }
.frame-space-before-medium      { margin-top: 3rem !important; }
.frame-space-before-large       { margin-top: 5rem !important; }

/* Abstände nach Inhaltselementen */
.frame-space-after-extra-small  { margin-bottom: 0.75rem !important; }
.frame-space-after-small        { margin-bottom: 1.5rem !important; }
.frame-space-after-medium       { margin-bottom: 3rem !important; }
.frame-space-after-large        { margin-bottom: 5rem !important; }

@media (max-width: 767.98px) {
  .frame-space-before-medium,
  .frame-space-after-medium {
    margin-top: 0;
  }

  .frame-space-before-medium { margin-top: 2rem !important; }
  .frame-space-after-medium  { margin-bottom: 2rem !important; }

  .frame-space-before-large { margin-top: 3rem !important; }
  .frame-space-after-large  { margin-bottom: 3rem !important; }
}



.frame-custom-22 .gallery-item img {  width: 80%;}
.frame-custom-23 .gallery-item img {  width: 60%;}
.frame-custom-24 .gallery-item img {  width: 40%;}
.frame-custom-25 .gallery-item img {  width: 20%;}
.frame-custom-26 .gallery-item img {  width: 10%;}

/* Linksbündig */
.frame-custom-27 .gallery-item img {
    display: block;
    width: 80%;
    margin-right: auto;
}

.frame-custom-28 .gallery-item img {
    display: block;
    width: 60%;
    margin-right: auto;
}

.frame-custom-29 .gallery-item img {
    display: block;
    width: 40%;
    margin-right: auto;
}

.frame-custom-30 .gallery-item img {
    display: block;
    width: 20%;
    margin-right: auto;
}

.frame-custom-31 .gallery-item img {
    display: block;
    width: 10%;
    margin-right: auto;
}

.frame-custom-27 .gallery-item img,
.frame-custom-28 .gallery-item img,
.frame-custom-29 .gallery-item img,
.frame-custom-30 .gallery-item img,
.frame-custom-31 .gallery-item img {
    margin-left: 0;
    margin-right: 0;
}




.back-button{

    display:inline-flex;
    align-items:center;
    gap:12px;

    color:var(--primary);

    font-weight:700;
    text-decoration:none;
    letter-spacing:.08em;
    text-transform:uppercase;

    padding-bottom:8px;

    border-bottom:2px solid #c7a76a;

    transition:.3s;
	margin-top: 60px;
}

.back-button:hover{

    gap:18px;

    color:#c7a76a;
}

#pageid1 .back-button {display: none;}

.section-divider {
  position: relative;
  height: 20px;
  background: var(--primary);
}

.section-divider::after {
  position: absolute;
  top: 0;
  right: 3.4%;
  width: 14.3%;
  height: 100%;
  background: var(--anthrazit);
  content: "";
}


/* ================================================================
   STROMMER – Portierung des bisherigen WordPress-Designs (TYPO3 13)
   Bestandscode bleibt erhalten; diese projektspezifischen Regeln
   haben am Dateiende Vorrang.
   ================================================================ */

:root {
  --font-body: 'Poppins', Arial, sans-serif;
  --primary: #e5231b;
  --primary-dark: #c71915;
  --anthrazit: #202532;
  --anthrazit-dark: #1b202b;
  --gray: #e1e1e1;
  --gray-light: #f5f5f5;
  --text: #403a34;
  --text-light: #737373;
  --background: #fff;
  --page-background: #fff;
  --bs-link-color-rgb: 229,35,27;
  --bs-link-hover-color-rgb: 199,25,21;
}

html { scroll-padding-top: 110px; background: #fff; }
body { font-family: var(--font-body); font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--text); background: #fff; }
main { margin-top: 0; }
main p { margin: 0 0 1.25em; }
main h1, main h2 { font-family: var(--font-body); font-style: italic; font-weight: 900; color: #202532; text-transform: none; letter-spacing: -.025em; line-height: 1.13; }
main h1 { font-size: clamp(2.35rem, 3.2vw, 3.4rem); margin: 0 0 1.4rem; padding: 0; }
main h1::after { display: none; }
main h2 { font-size: clamp(2.1rem, 3vw, 3rem); margin: 0 0 1.2rem; }
main h3 { font-weight: 300; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.3; color: var(--anthrazit); }
main h4, main h5, main h6 { font-weight: 300; color: var(--anthrazit); }
main a, .back-button { color: var(--primary); }
main a:hover, .back-button:hover { color: var(--primary-dark); }
main .btn, main .button, main .more, main input[type='submit'], main button {
  min-height: 44px; padding: .75rem 1.1rem; border: 2px solid #403a34; border-radius: 0;
  background: #fff; color: #403a34 !important; font: 600 12px/1.3 var(--font-body);
  letter-spacing: 0; text-transform: uppercase; box-shadow: none;
}
main .btn:hover, main .button:hover, main .more:hover, main input[type='submit']:hover, main button:hover {
  border-color: var(--primary); background: var(--primary); color: #fff !important; box-shadow: none;
}
.section-divider { display: none; }
.frame-type-header, .ce-header { font-family: var(--font-body); }

/* Optional: Wellen-Sektion wie in der WordPress-Vorlage, bei Bedarf
   im TYPO3-Backend der betreffenden Sektion die Klasse strommer-wave geben. */
.strommer-wave { position: relative; isolation: isolate; padding: 4.5rem 0 8rem; }
.strommer-wave::before { content: ''; position: absolute; z-index: -1; inset: 25% 0 0; background: #e7e7e7; clip-path: ellipse(85% 55% at 50% 70%); }
.strommer-wave::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px; background: var(--primary); }

/* Footer – Layout gemäß früherer Website */
.strommer-footer { background: #fff; padding-top: 65px; color: #737373; font: 300 13px/1.9 var(--font-body); }
.strommer-footer .footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 1150px; margin: 0 auto 64px; padding: 0 20px; }
.strommer-footer .footer-col { padding: 0 45px; text-align: center; }
.strommer-footer .footer-col + .footer-col { border-left: 1px solid #dedede; }
.strommer-footer h2 { margin: 0 0 18px; font: 700 16px/1.5 var(--font-body); text-transform: uppercase; color: #403a34; }
.strommer-footer p { margin: 0 0 7px; }
.strommer-footer a { color: var(--primary); text-decoration: none; }
.strommer-footer a:hover { color: var(--primary-dark); }
.strommer-footer .footer-services { list-style: none; padding: 0; margin: 0; }
.strommer-footer .footer-services li { margin: 0 0 5px; color: inherit; }
.strommer-footer .footer-services a { color: #737373; }
.strommer-footer .footer-services a:hover { color: var(--primary); }
.strommer-footer strong { color: #403a34; font-weight: 700; }
.strommer-footer .footer-bottom { background: #f5f5f5; text-align: center; padding: 12px 20px; color: #403a34; font-size: 14px; }
.strommer-footer .footer-bottom a { color: #403a34; }
.strommer-footer .footer-bottom a:hover { color: var(--primary); }
@media (max-width: 767.98px) {
  .strommer-footer { padding-top: 38px; }
  .strommer-footer .footer-cols { grid-template-columns: 1fr; gap: 25px; margin-bottom: 35px; }
  .strommer-footer .footer-col { padding: 0 12px 25px; }
  .strommer-footer .footer-col + .footer-col { border-left: 0; border-top: 1px solid #dedede; padding-top: 25px; }
  main h1 { font-size: 2.2rem; } main h2 { font-size: 2rem; }
}

/* Headerbild / Video – volle Bildschirmbreite */

.headerimage-outer.kopfbild {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    overflow: hidden;
}

.headerimage-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.headerimage-inner .frame,
.headerimage-inner .frame-container,
.headerimage-inner .frame-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Video */
.headerimage-inner .strommer-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
}

.headerimage-inner iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
