


/* 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;
}
.rot {background:#c2433a;}
.hellgelb {background:#dddcd6;}
body {
background-color: #f4ece1;
	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: #c2433a;
  --primary-dark: #8c342d;
--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: #c2433a;
    --bs-link-hover-color: #a73830;

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

}
	
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 a {
  color: #c2433a !important;
}

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

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

header .textmedia {gap:0;}

main h1 {    font-size: 3rem;  }


.site-header {
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 99999;
  background: #dddcd6;
 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;
}


.footermenue {  background: #dddcd6; line-height: 4rem;}
.rot * {color:#f9e2bc !important;}

footer p  {    margin-bottom: 0;}

.hotline p {font-size: 2rem; font-weight: 400;}

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

/* 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 {
    height: 82px;
  }

  .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: 30px;
    height: 2px;
    background: #15372b;
  }
}


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


/* =====================================================
   BETREUUNGSANGEBOT – MODERNE CARD GROUP
   Betrifft ausschließlich das Inhaltselement #c14
===================================================== */

#c14 {
  --card-primary: #cf493f;
  --card-primary-dark: #b83d35;
  --card-text: #403d3b;
  --card-muted: #77716d;
  --card-background: #ffffff;
  --card-radius: 24px;

  padding: clamp(55px, 7vw, 100px) 20px;
  background:
    radial-gradient(
      circle at top left,
      rgba(207, 73, 63, 0.08),
      transparent 35%
    ),
    var(--card-section-background);
}

/* Gesamte Inhaltsbreite */
#c14 .frame-container {
  width: min(1240px, 100%);
  margin-inline: auto;
}

/* Hauptüberschrift zentrieren */
#c14 .frame-header {
  max-width: 850px;
  margin: 0 auto clamp(35px, 5vw, 60px);
  text-align: center;
}

#c14 .frame-header .element-header {
  margin: 0;
  color: var(--card-text);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-align: center;
}

/* Kleine dekorative Linie unter der Hauptüberschrift */
#c14 .frame-header .element-header::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: var(--card-primary);
}

/* Card Group als modernes Grid */
#c14 .card-group-element {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

/* TYPO3-/Bootstrap-Breiten neutralisieren */
#c14 .card-group-element-item {
  width: auto;
  max-width: none;
  padding: 0;
  display: flex;
}

/* Einzelne Karte */
#c14 .card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(64, 61, 59, 0.08);
  border-radius: var(--card-radius);
  background: var(--card-background);
  box-shadow:
    0 12px 35px rgba(62, 48, 43, 0.08),
    0 2px 8px rgba(62, 48, 43, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Hover-Effekt */
#c14 .card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 73, 63, 0.18);
  box-shadow:
    0 24px 50px rgba(62, 48, 43, 0.14),
    0 5px 14px rgba(62, 48, 43, 0.06);
}

/* Bildbereich */
#c14 .card-img-top {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

#c14 .card-img-top::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(35, 28, 25, 0.15),
    transparent 45%
  );
}

#c14 .card-img-top picture {
  display: block;
  width: 100%;
  height: 100%;
}

#c14 .card-img-top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

#c14 .card:hover .card-img-top img {
  transform: scale(1.055);
}

/* Karteninhalt zentrieren */
#c14 .card-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 105px;
  padding: 25px 20px 12px;
  text-align: center;
}

#c14 .card-title {
  margin: 0;
  color: var(--card-text);
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Footer und Button zentrieren */
#c14 .card-footer {
  padding: 12px 20px 28px;
  border: 0;
  background: transparent;
  text-align: center;
}

/* Moderner Weiterlesen-Button */
#c14 .card-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--card-primary);
  border-radius: 999px;
  background: transparent;
  color: var(--card-primary);
  text-decoration: none;
  box-shadow: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Originalen Text visuell ausblenden */
#c14 .card-footer .btn-text {
  font-size: 0;
  line-height: 1;
}

/* Deutschen Text einsetzen */
#c14 .card-footer .btn-text::before {
  content: "Weiterlesen";
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

/* Kleiner Pfeil */
#c14 .card-footer .btn::after {
  content: "→";
  margin-left: 9px;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

#c14 .card-footer .btn:hover,
#c14 .card-footer .btn:focus-visible {
  color: #fff;
  background: var(--card-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(207, 73, 63, 0.24);
}

#c14 .card-footer .btn:hover::after,
#c14 .card-footer .btn:focus-visible::after {
  transform: translateX(4px);
}

/* Tastaturfokus */
#c14 .card-footer .btn:focus-visible {
  outline: 3px solid rgba(207, 73, 63, 0.25);
  outline-offset: 4px;
}

/* Tablet: zwei Karten nebeneinander */
@media (max-width: 1050px) {
  #c14 .card-group-element {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Smartphone: eine Karte pro Reihe */
@media (max-width: 620px) {
  #c14 {
    padding-inline: 16px;
  }

  #c14 .card-group-element {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #c14 .card {
    max-width: 440px;
    margin-inline: auto;
  }

  #c14 .card-body {
    min-height: 85px;
  }
}

/* Animationen bei entsprechender Systemeinstellung reduzieren */
@media (prefers-reduced-motion: reduce) {
  #c14 .card,
  #c14 .card-img-top img,
  #c14 .card-footer .btn,
  #c14 .card-footer .btn::after {
    transition: none;
  }

  #c14 .card:hover {
    transform: none;
  }

  #c14 .card:hover .card-img-top img {
    transform: none;
  }
}


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

h1 {
    margin: 0 0 40px;
    text-align: center;
    color: #403d3b;
    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: var(--primary);
}


/* =========================================
   Team / Hebammen – Profilbilder
========================================= */

.frame-custom-11 .gallery-item {
    display: flex;
    justify-content: center;
}

.frame-custom-11 .image {
    margin: 0;
}

.frame-custom-11 .image img {
    width: 220px;
    height: 220px;
    object-fit: cover;

    border-radius: 50%;
    border: 8px solid #fff;

    box-shadow:
        0 15px 40px rgba(0,0,0,.12),
        0 4px 12px rgba(0,0,0,.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.frame-custom-11 .image img:hover {
    transform: translateY(-6px) scale(1.03);

    box-shadow:
        0 25px 50px rgba(0,0,0,.18),
        0 10px 24px rgba(0,0,0,.10);
}

/* Name unter dem Bild */
.frame-custom-11 .textmedia-text {
    text-align: center;
}

.frame-custom-11 .textmedia-text a {
    color: #403d3b;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s ease;
}

.frame-custom-11 .textmedia-text a:hover {
    color: var(--primary);
}

/* ==================================================
   TEAM – ruhige, moderne Variante
================================================== */

/* Nur die Team-Elemente ab c30 */
#c30,
#c33,
#c35,
#c37 {
  max-width: 1280px;
  margin: clamp(60px, 8vw, 110px) auto;
  padding: 0 30px;
}

/* Bild und Text */
#c30 .textmedia,
#c33 .textmedia,
#c35 .textmedia,
#c37 .textmedia {
  display: flex;
  align-items: flex-start;
  gap: clamp(35px, 5vw, 75px);
}

/* Bild deutlich kleiner */
#c30 .textmedia-gallery,
#c33 .textmedia-gallery,
#c35 .textmedia-gallery,
#c37 .textmedia-gallery {
  flex: 0 0 clamp(260px, 28vw, 360px);
  max-width: 360px;
}

/* Bildgestaltung */
#c30 .textmedia-gallery img,
#c33 .textmedia-gallery img,
#c35 .textmedia-gallery img,
#c37 .textmedia-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 16px 35px rgba(55, 45, 40, 0.10),
    0 4px 12px rgba(55, 45, 40, 0.06);
}

/* Text ohne große Card */
#c30 .textmedia-text,
#c33 .textmedia-text,
#c35 .textmedia-text,
#c37 .textmedia-text {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
}

/* Name */
#c30 .textmedia-text h3,
#c33 .textmedia-text h3,
#c35 .textmedia-text h3,
#c37 .textmedia-text h3 {
  margin: 0 0 22px;
  color: var(--primary);
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Kleine Linie unter dem Namen */
#c30 .textmedia-text h3::after,
#c33 .textmedia-text h3::after,
#c35 .textmedia-text h3::after,
#c37 .textmedia-text h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--primary);
}

/* Fließtext */
#c30 .textmedia-text p,
#c33 .textmedia-text p,
#c35 .textmedia-text p,
#c37 .textmedia-text p,
#c30 .textmedia-text li,
#c33 .textmedia-text li,
#c35 .textmedia-text li,
#c37 .textmedia-text li {
  color: #4b4744;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

/* Absatzabstände */
#c30 .textmedia-text p,
#c33 .textmedia-text p,
#c35 .textmedia-text p,
#c37 .textmedia-text p {
  margin: 0 0 1.15em;
}

/* Listen */
#c30 .textmedia-text ul,
#c33 .textmedia-text ul,
#c35 .textmedia-text ul,
#c37 .textmedia-text ul {
  margin: 20px 0 24px;
  padding-left: 1.3rem;
}

/* Dezente Trennung zwischen Personen */
#c30,
#c33,
#c35 {
  padding-bottom: clamp(55px, 7vw, 90px);
  border-bottom: 1px solid rgba(75, 71, 68, 0.14);
}

/* Mobile */
@media (max-width: 850px) {
  #c30,
  #c33,
  #c35,
  #c37 {
    padding-inline: 18px;
  }

  #c30 .textmedia,
  #c33 .textmedia,
  #c35 .textmedia,
  #c37 .textmedia {
    flex-direction: column !important;
    gap: 30px;
  }

  #c30 .textmedia-gallery,
  #c33 .textmedia-gallery,
  #c35 .textmedia-gallery,
  #c37 .textmedia-gallery {
    flex-basis: auto;
    width: min(100%, 340px);
    max-width: 340px;
    margin-inline: auto;
  }

  #c30 .textmedia-text,
  #c33 .textmedia-text,
  #c35 .textmedia-text,
  #c37 .textmedia-text {
    padding-top: 0;
  }
}
