


/* marck-script-regular - latin */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/marck-script-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/marck-script-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/marck-script-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/marck-script-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/marck-script-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/marck-script-v16-latin-regular.svg#MarckScript') format('svg'); /* Legacy iOS */
}


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

.hellgelb {background:#dddcd6;}
body {
background-color: #f3f3f3;
	font-family: 'Noto Sans', sans-serif !important;
	font-size:16px; 
	
}

.rot a {color:#f9e2bc !important;}
.rot a:hover {text-decoration: none !important;}
.ce-bodytext p {


}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root {
  --primary: #3f4b54;
  --primary-dark: #3f4b54;
--green: #4e6458;
--green-dark: #35483f;
--text: #383838;
--text-light: #666666;
--background: #f7f3f2;
--page-background: rgba(247, 243, 242, 0.7);
--white: #ffffff;
--font-headline: "Source Sans 3", sans-serif;
--font-body: "Source Sans 3", sans-serif;
	    /* Bootstrap Linkfarben */
    --bs-link-color: ##1f28b5;
    --bs-link-hover-color: #3f4b54;

    /* Optional */
    --bs-link-decoration: none;
    --bs-link-hover-decoration: underline;
}

.frame a:not([class]) {
  color:#1f28b5 !important;
}
	
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
}
footer *,
footer a {
  color: #fff;
}

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

.copyright a, .copyright p {color:#3f4b54;}

strong {
  font-weight: 700;
}

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


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



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

#pageid1 .kopfbild .frame-inner {
  padding-top: 0px;
}
footer .frame {gap:0; padding: 0;}
footer .textmedia {gap:0;}
header .textmedia {gap:0;}


footer .footer-menu,
footer .frame-inner {padding-top:14px; padding-bottom: 14px;}

.header-claim span {
    font-size: clamp(1.4rem, 3vw, 3rem);
    color: #ffca00;
    line-height: 1.15;
}
.grau {background: #3f4b54;}

.site-header {
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 99999;
  background: #1f28b5;;
 box-shadow: 0 8px 35px rgba(0,0,0,.08);
}

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


main h4 {
  font-family: 'Marck Script', cursive;
  font-size: 2rem;
  text-align: center;
  color: #c2433a;
  border-bottom: 1px solid #c2433a;
  border-top: 1px solid #c2433a;
  padding: 20px 0;
}




/* Tablet */
@media (max-width: 991.98px) {
    .headerimage-outer.kopfbild .headerimage-inner img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center center;
    }
}

/* Smartphone */
@media (max-width: 575.98px) {
    .headerimage-outer.kopfbild .headerimage-inner img {
        height: auto;
        min-height: 0;
        aspect-ratio: 3 / 4;      /* Hochformat */
        object-fit: cover;
        object-position: center center;
    }
}


.headerimage-outer.kopfbild .textmedia-text{
    position:absolute;
    left:8%;
    bottom:14%;
    z-index:50;
    max-width:520px;
}

.headerimage-outer.kopfbild .textmedia-text h1{
    margin:0;
    color:#fff;
    font-family:var(--font-headline);
    font-size:clamp(3rem,5vw,4.8rem);
    font-weight:600;
    line-height:1.05;
}



.headerimage-outer.kopfbild .textmedia-text h2{
    margin:.5rem 0 0;
    color:#fff;
    font-family:var(--font-body);
    font-size:clamp(1.5rem,2vw,2rem);
    font-weight:400;
    line-height:1.35;
}

.headerimage-outer.kopfbild .textmedia-text h2::after{
    content:"";
    display:block;
    width:110px;
    height:4px;
    background:var(--primary);
    margin-top:22px;
}

/* TYPO3 Logo Frames neutralisieren */
.site-logo .frame,
.site-logo .frame-group-container,
.site-logo .frame-group-inner,
.site-logo .frame-container,
.site-logo .frame-inner,
.site-logo .textmedia,
.site-logo .textmedia-item,
.site-logo .gallery-row,
.site-logo .gallery-item,
.site-logo figure,
.site-logo picture {
  margin: 0;
  padding: 0;
}

.site-logo img,
.site-logo svg {
  width: 300px;
  height: auto;
  display: block;
}

/* Menü */
.desktop-menu {
  display: flex;
  justify-content: center;
}

.desktop-menu .navilo {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-menu .navilo > li {
  position: relative;
}

.desktop-menu .navilo > li > a {
  display: flex;
  align-items: center;
  color: #15372b;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

/* Mobile */
.mobile-toggle {
  display: none;
}

@media (max-width: 1199.98px) {
  body {
    padding-top: 82px;
  }

  .site-header,
  .site-header .container,
  .header-inner {

  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .desktop-menu,
  .amtstafel-btn {
    display: none;
  }

  .site-logo img,
  .site-logo svg {
    width: 180px;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
  }

  .mobile-toggle span {
    width: 40px;
    height: 3px;
    background: #fff;
  }
}


.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-outer {margin-top: -130px;}

.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%;}


/* =========================================
   TYPO3 FRAME SPACING – RESPONSIV
========================================= */

/* Abstand oben */
.frame-space-before-extra-small {
  margin-top: clamp(8px, 1vw, 16px) !important;
}

.frame-space-before-small {
  margin-top: clamp(20px, 3vw, 48px) !important;
}

.frame-space-before-medium {
  margin-top: clamp(36px, 6vw, 90px) !important;
}

.frame-space-before-large {
  margin-top: clamp(56px, 9vw, 135px) !important;
}

/* Abstand unten */
.frame-space-after-extra-small {
  margin-bottom: clamp(8px, 1vw, 16px) !important;
}

.frame-space-after-small {
  margin-bottom: clamp(20px, 3vw, 48px) !important;
}

.frame-space-after-medium {
  margin-bottom: clamp(36px, 6vw, 90px) !important;
}

.frame-space-after-large {
  margin-bottom: clamp(56px, 9vw, 135px) !important;
}

.footergrid .gallery-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.footergrid .gallery-item {
    width: 100%;
    min-height: 180px;
    padding: 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(194,67,58,.08);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);

    transition: all .3s ease;
}

.footergrid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(0,0,0,.12);
}

.footergrid figure {
    width: 100%;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.footergrid img {
    width: 100%;
    max-width: 240px;
    max-height: 100px;
    object-fit: contain;
}


/* =========================================
   Moderne H1 im Card-Group-Stil
========================================= */

h1 {
    margin: 0 0 40px;
    text-align: center;
    color: #3f4b54;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    position: relative;
}

/* Dekorative Linie */
h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 999px;
    background:#ffd21f;
}


h2 {color:#3f4b54;}

/* =========================================
   Globale Bildgestaltung innerhalb von main
   ========================================= */

main figure.image {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;

    border-radius: 12px;
    background: #f2f2f2;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08);

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


/* Picture-Element muss die komplette Fläche ausfüllen */
main figure.image picture {
    display: block;
    width: 100%;
    height: 100%;
}


/* Alle Bilder einheitlich croppen */
main figure.image img {
    display: block;
    width: 100%;
    height: 100%;

    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.4s ease;
}


/* Hover-Effekt */
main figure.image:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.18),
        0 5px 12px rgba(0, 0, 0, 0.1);
}


/* Bild beim Hover leicht vergrößern */
main figure.image:hover img {
    transform: scale(1.07);
    filter: brightness(1.04) contrast(1.03);
}


/* Optionaler dezenter Glanz-/Farbverlauf */
main figure.image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.12),
            transparent 45%,
            rgba(0, 0, 0, 0.08)
        );

    opacity: 0;
    transition: opacity 0.35s ease;
}


main figure.image:hover::after {
    opacity: 1;
}

/* =========================================
   Teamfotos (Hochformat)
   ========================================= */

main .team figure.image {
    aspect-ratio: 3 / 4;
	max-width: 300px;
  margin: 0 auto;
}

main .team figure.image picture {
    width: 100%;
    height: 100%;
}

main .team figure.image img {
    width: 100%;
    height: 100%;

    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 20%; /* Fokus etwas höher auf das Gesicht */
}

@media (max-width: 575.98px) {
    .site-logo img {
        max-width: 190px;
     
    }
}

#c25 .textmedia-text p {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0;
}

#c25 .textmedia-text a {
    color: #2f4a66;
    text-decoration: none;
    padding: 0 .5rem;
    transition: color .3s ease;
}

#c25 .textmedia-text a:hover {
    color: #ffd400;
}


@media (max-width: 767.98px) {
    .telefon {
        display: block;
        margin-top: 5px;
    }
	
	#footer {text-align: center;}

}

	#footer .grau .frame a:not([class]) {color:#FFFFFF !important;}
.btn-primary,
.frame-type-felogin_login input[type="submit"] {
    color: #2f36b3;
    background: #ffc928;
    border: 2px solid #ffc928;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all .25s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

.btn-primary:hover,
.frame-type-felogin_login input[type="submit"]:hover {
    background: #ffd84d;
    border-color: #ffd84d;
    color: #2f36b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

.btn-primary:focus,
.frame-type-felogin_login input[type="submit"]:focus {
    box-shadow: 0 0 0 .25rem rgba(255, 201, 40, .35);
}

.btn-primary:active,
.frame-type-felogin_login input[type="submit"]:active {
    transform: translateY(0);
    background: #e7b300;
    border-color: #e7b300;
}


/* =========================================
   POWERMAIL – MODERNES EINSPALTIGES DESIGN
   ========================================= */

.tx-powermail {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

/* Bootstrap-Zweispalten im Formular aufheben */
.tx-powermail .row {
    display: block;
    margin: 0;
}

.tx-powermail .powermail_fieldwrap {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 0;
}

/* Labels */
.tx-powermail .powermail_label,
.tx-powermail .form-label {
    display: block;
    margin-bottom: 8px;
    color: #454d59;
    font-size: 16px;
    font-weight: 600;
}

/* Pflichtstern */
.tx-powermail .mandatory {
    margin-left: 3px;
    color: #ffc928;
}

/* Eingabefelder */
.tx-powermail .form-control,
.tx-powermail .powermail_input,
.tx-powermail .powermail_textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    color: #2f3742;
    background: #f6f7f9;
    border: 1px solid #d8dde3;
    border-radius: 10px;
    outline: none;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

/* Textareas */
.tx-powermail .powermail_textarea {
    min-height: 150px;
    resize: vertical;
}

/* Fokus */
.tx-powermail .form-control:focus,
.tx-powermail .powermail_input:focus,
.tx-powermail .powermail_textarea:focus {
    background: #ffffff;
    border-color: #3039b8;
    box-shadow: 0 0 0 4px rgba(48, 57, 184, 0.12);
}

/* Datenschutz */
.tx-powermail .powermail_fieldwrap_datenschutz {
    padding: 18px 20px;
    background: #f3f4f6;
    border-left: 4px solid #ffc928;
    border-radius: 10px;
}

.tx-powermail .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tx-powermail .form-check-input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #3039b8;
}

.tx-powermail .form-check-label {
    color: #454d59;
    line-height: 1.6;
}

/* Absenden-Button */
.tx-powermail .powermail_fieldwrap_absenden {
    margin-top: 10px;
    margin-bottom: 0;
}

.tx-powermail .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 52px;
    padding: 12px 28px;
    color: #3039b8;
    background: #ffc928;
    border: 2px solid #ffc928;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 201, 40, 0.25);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.tx-powermail .btn-primary:hover {
    color: #3039b8;
    background: #ffd84d;
    border-color: #ffd84d;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 201, 40, 0.35);
}

.tx-powermail .btn-primary:focus {
    color: #3039b8;
    background: #ffd84d;
    border-color: #ffd84d;
    box-shadow: 0 0 0 4px rgba(255, 201, 40, 0.28);
}

.tx-powermail .btn-primary:active {
    transform: translateY(0);
}

/* Fehlermeldungen */
.tx-powermail .powermail_field_error,
.tx-powermail .powermail_field_error_container,
.tx-powermail .invalid-feedback {
    margin-top: 7px;
    color: #b42318;
    font-size: 14px;
}

/* Felder mit Fehler */
.tx-powermail .parsley-error,
.tx-powermail .is-invalid {
    border-color: #b42318;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

/* Honeypot sicher versteckt */
.tx-powermail input[tabindex="-1"] {
    pointer-events: none;
}

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

@media (max-width: 767.98px) {
    .tx-powermail {
        margin-bottom: 35px;
        padding: 24px 18px;
        border-radius: 12px;
    }

    .tx-powermail .powermail_fieldwrap {
        margin-bottom: 20px;
    }

    .tx-powermail .form-control,
    .tx-powermail .powermail_input,
    .tx-powermail .powermail_textarea {
        font-size: 16px;
    }

    .tx-powermail .btn-primary {
        width: 100%;
    }
}
