
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root {
  --primary: #bf4c43;
  --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: "Cormorant Garamond", serif;
  --font-body: "Source Sans 3", sans-serif;
}

html,
body {
  font-family: var(--font-body);
  line-height: 1.7;

  color: var(--text);
  background: var(--page-background);
}

h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
}

h2 {
    font-family: var(--font-headline);
    font-size: clamp(1.5rem, 2.3vw, 2.3rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

h3 {
    font-family: var(--font-headline);
    font-size: clamp(1.6rem, 2vw, 2rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
}

h4 {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--primary);
}

/* Fließtext */
p,
li {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
}

p {
  margin-top: 0;
  margin-bottom: 1.4em;
}

/* Links */
a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}

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

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

/* Buttons */
.btn,
.button,
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--primary);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.button:hover,
.more:hover,
.btn:focus,
.button:focus,
.more:focus {
  background: var(--primary-dark);
  color: var(--white) !important;
}

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

#pageid1 .kopfbild .frame-inner {
  padding-top: 0px;
}

header .textmedia,
main .textmedia {gap:0;}

.site-header {
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 99999;
  background-color: rgba(247, 243, 242, 0.7);
 box-shadow: 0 8px 35px rgba(0,0,0,.08);
}

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


footer p  {    margin-bottom: 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: 220px;
  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%;}


.frame-space-before-extra-small {margin-top:0.5% !important;display: inline-block;}
.frame-space-before-small {margin-top:3% !important;display: inline-block;}
.frame-space-before-medium {margin-top:6% !important;display: inline-block;}
.frame-space-before-large {margin-top:9% !important;display: inline-block;}

.frame-space-after-extra-small {margin-bottom:0.5% !important;display: inline-block;}
.frame-space-after-small {margin-bottom:3%!important;display: inline-block;}
.frame-space-after-medium {margin-bottom:6%!important;display: inline-block; padding-left: 5%;}
.frame-space-after-large {margin-bottom:9%!important; display: inline-block;}

