
html, body {
    height: 100%;

    background-repeat:repeat-x;
    margin: 0;
    padding: 0;
    font-family: arial;
    font-size:20px;
}
html{scroll-behavior:smooth}


table, tr, td, th {
    font-family: arial;
    font-size:20px;
}

.text-right,
.align-right {
    text-align:right;

}
.text-center,
.align-center {
    text-align:center;
}
.clear { clear:both; }



* { box-sizing:border-box;    -webkit-font-smoothing: antialiased;   -moz-osx-font-smoothing: grayscale; }

.btn,
.team .c33,
img,
.top, .top .main, .nav,
.teaser img, input, .nbar, .st0, .st1,
a, li {
    -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
  }
img {
  border:0px;
}


.all {
  width:100%;
  min-width:100%;
  padding-left:40px;
  padding-right:40px;
}
.all.content {  scroll-margin-top: 0px; } /* sticky navi offset */

.main {
  max-width:1600px;
  margin: 0px auto;
  padding:0px;
  position:relative;
  text-align: left;
}
.main:after { content:''; display:table; clear:both; }


.cStage {display: flex;margin:0 -15px;flex-wrap: wrap;}
.cStage > div{padding:0 15px;}

.cStage.f-10 {align-items: center}
.cStage.f-11 {align-items: flex-end}

.c33 { -ms-flex: 0 0 33.3333%;flex: 0 0 33.3333%; max-width: 33.3333%; }
.c66 { -ms-flex: 0 0 66.6666%;flex: 0 0 66.6666%; max-width: 66.6666%; }
.c16 { -ms-flex: 0 0 16.6666%;flex: 0 0 16.6666%; max-width: 16.6666%; }
.c30 { -ms-flex: 0 0 30%;flex: 0 0 30%; max-width: 30%; }
.c70 { -ms-flex: 0 0 70%;flex: 0 0 70%; max-width: 70%; }
.c40 { -ms-flex: 0 0 40%;flex: 0 0 40%; max-width: 40%; }
.c20 { -ms-flex: 0 0 20%;flex: 0 0 20%; max-width: 20%;}
.c50 { -ms-flex: 0 0 50%;flex: 0 0 50%; max-width: 50%;}
.c25 { -ms-flex: 0 0 25%;flex: 0 0 25%; max-width: 25%; }
.c75 { -ms-flex: 0 0 75%;flex: 0 0 75%; max-width: 75%; }
.c30 { -ms-flex: 0 0 30%;flex: 0 0 30%; max-width: 30%;}
.c35 { -ms-flex: 0 0 35%;flex: 0 0 35%; max-width: 35%; }
.c60 { -ms-flex: 0 0 60%;flex: 0 0 60%; max-width: 60%; }
.c80 { -ms-flex: 0 0 80%;flex: 0 0 80%; max-width: 80%; }
.c20 { -ms-flex: 0 0 20%;flex: 0 0 20%; max-width: 20%; }


img,video {max-width: 100%; height:auto;}

a + p,
.main * > *:first-child {margin-top:0px;}
.main * > *:last-child {margin-bottom:0px;}


a {color:inherit; text-decoration: none}




a + p,
.main div > *:first-child {margin-top:0px;}

.ce-gallery[data-ce-columns="3"] .ce-column {
    width:calc(33.3333% - 15px)
}
.ce-gallery[data-ce-columns="2"] .ce-column {
    width:calc(50% - 15px)
}

@media (max-width: 1100px) {
	.projects .c25 {width:33.3333%;}
    .ce-textpic.ce-intext .ce-gallery {max-width:50%;}
}

/* Only Phones */
@media (max-width: 900px) {

    .c33,
    .c66,
    .c16,
    .c30,
    .c70,
    .c40,
    .c20,
    .c50,
    .c80,
    .c25,
    .c75,
    .c30,
    .c35,
    .c60 { -ms-flex: 0 0 100%;flex: 0 0 100%; max-width: 100%; }

    .cStage > div + div {margin-top:30px;}
    .cStage.l-99 {flex-direction: column-reverse}

	span.big {
		font-size: 30px;
		line-height: 40px;
	}
}

@media (max-width: 650px) {

    .content .ce-left .ce-gallery,
    .content .ce-right .ce-gallery {
        float: none;
    }
    .content .ce-intext.ce-right .ce-gallery {
        margin-left: 0px;
    }
    .content .ce-intext.ce-left .ce-gallery {
        margin-right: 0px;
    }
    .ce-textpic.ce-intext .ce-gallery {max-width:100%;}

	.c30, .c35 {width:100%; padding-bottom:20px;}
}




/* Formulare */


.frame-type-form_formframework p { font-size:90%; }

input[type="checkbox"] { margin-right:15px; }
.control-label { display:none; }
.form-element input[type="text"],
.form-element textarea,
.csc-form-element-textline input {
  font-family:inherit;
  font-size:inherit;
  color: var(--color-1);
  background:#fff;
  width:100%;
  border:1px solid var(--color-1);
  padding:8px 15px;

  margin-bottom:6px;
}
.form-element input[type="text"]:focus,
.form-element textarea:focus {
  background:#222e59;
}


form .row {display: flex; flex-wrap: wrap; margin:0 -10px;}
form .row .col-1 { --cols: calc( 100% / 12 * 1); }
form .row .col-2 { --cols: calc( 100% / 12 * 2); }
form .row .col-3 { --cols: calc( 100% / 12 * 3); }
form .row .col-4 { --cols: calc( 100% / 12 * 4); }
form .row .col-5 { --cols: calc( 100% / 12 * 5); }
form .row .col-6 { --cols: calc( 100% / 12 * 6); }
form .row .col-7 { --cols: calc( 100% / 12 * 7); }
form .row .col-8 { --cols: calc( 100% / 12 * 8); }
form .row .col-9 { --cols: calc( 100% / 12 * 9); }
form .row .col-10 { --cols: calc( 100% / 12 * 10); }
form .row .col-11 { --cols: calc( 100% / 12 * 11); }
form .row .col-12 { --cols: calc( 100% / 12 * 12); }
form .row > div {-ms-flex: 0 0 var(--cols);flex: 0 0 var(--cols); max-width: var(--cols); padding:0 10px;}

@media (max-width: 1000px) {
    form .row > div {-ms-flex: 0 0 100%;flex: 0 0 100%; max-width: 100%; padding:0 10px;}
}



/* The container */
.form-check-label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.form-check-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.form-check-label span {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: transparent;
  border:2px solid  var(--color-1);
}
.form-check-label span.required { position:relative;width:auto; height:auto; border:0px; }

/* On mouse-over, add a grey background color */
.form-check-label:hover input ~ span {
  background-color:  var(--color-1);
}

/* When the checkbox is checked, add a blue background */
.form-check-label input:checked ~ span {
  background-color:  var(--color-1);
}

/* Create the checkmark/indicator (hidden when not checked) */
span:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.form-check-label input:checked ~ span:after {
  display: block;
}

/* Style the checkmark/indicator */
.form-check-label span:after {
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}



/* ==========================================================================
   Le Mariage
   ========================================================================== */

@font-face { font-family: 'BreuerText'; font-weight: 300; font-style: normal; font-display: swap; src: url('../Fonts/BreuerText-Light.woff') format('woff'); }
@font-face { font-family: 'BreuerText'; font-weight: 500; font-style: normal; font-display: swap; src: url('../Fonts/BreuerText-Medium.woff') format('woff'); }
@font-face { font-family: 'BreuerText'; font-weight: 700; font-style: normal; font-display: swap; src: url('../Fonts/BreuerText-Bold.woff') format('woff'); }

:root {
    --color-bg: #262626;
    --color-bg-2: #424242;
    --color-bg-dark: #161513;
    --color-text: #ffffff;
    --color-gold: #b3ae8d;
    --color-grey: #cccccc;
    --color-grey-2: #aeaeae;
    --color-line: rgba(255, 255, 255, .25);
    --color-1: var(--color-gold);          /* wird von den Formular-Styles oben verwendet */

    --font: 'BreuerText', Arial, sans-serif;
    --content-width: 1140px;
    --header-height: 90px;
    --gap: 30px;
    --space-section: 70px;
}

html, body,
table, tr, td, th {
    font-family: var(--font);
    font-weight: 300;
    font-size: 20px;
}
body {
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.3;
}
html { scroll-padding-top: var(--header-height); }

strong, b { font-weight: 500; }
::selection { background: var(--color-gold); color: var(--color-bg-dark); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skiplink { position: absolute; left: 10px; top: -60px; z-index: 1000; background: var(--color-gold); color: var(--color-bg-dark); padding: 10px 20px; }
.skiplink:focus { top: 10px; }

:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* Inhaltsbreite wie im bisherigen Theme (boxed 1140px) */
.content > .main { max-width: var(--content-width); }
.all.content { padding-top: calc(var(--space-section) / 2); padding-bottom: calc(var(--space-section) / 2); }
main > .all.content:first-child { padding-top: var(--space-section); }
main > .all.content:last-child { padding-bottom: var(--space-section); }
.all.content.full { padding-left: 0; padding-right: 0; }
.frame + .frame { margin-top: 40px; }

.f-centered,
.f-narrow { text-align: center; }
.f-narrow > .main { max-width: 900px; }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
h1, h2, .headline {
    font-weight: 300;
    font-size: 50px;
    line-height: 1.38;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--color-grey);
    margin: 0 0 25px;
}
h3, .headline.small {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--color-grey-2);
    margin: 0 0 20px;
}
h3.headline.caps, .headline.caps {
    font-weight: 300;
    font-size: 24px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-grey);
}
h4, h5 { font-weight: 500; font-size: 20px; margin: 0 0 10px; }
p { margin: 0 0 20px; }
.headline a { color: inherit; }

.overline {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    color: var(--color-gold);
    margin: 0 0 5px;
}
.quote { font-style: italic; }
.quote-author { font-size: 90%; color: var(--color-grey); }
span.big { font-size: 30px; line-height: 1.3; }

.frame a:not(.btn):not(.notice):not(.lightbox),
.text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.frame a:not(.btn):not(.notice):not(.lightbox):hover { color: var(--color-gold); }

ul, ol { padding-left: 1.2em; }

/* Buttons (auch per RTE-Stil "Button" nutzbar) */
.btn,
a.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--color-text);
    color: var(--color-text);
    background: var(--color-bg-2);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: .03em;
    text-decoration: none !important;
    cursor: pointer;

}
.btn:hover, .btn:focus-visible { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-bg-dark); }
.button-wrap { text-align: center; margin: 0; }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.top {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    transition: background-color 300ms ease, box-shadow 300ms ease;
}
.top.scrolled,
body.nav-open .top {
    background: rgba(22, 21, 19, .94);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.top > .main {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
}
.top.scrolled > .main { height: 70px; }

.top .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.top .logo img { display: block; width: 160px; height: auto; }
.top.scrolled .logo img { width: 125px; }

/* style.ext.css (mmenu) blendet <nav> aus – hier wieder einblenden */
.top nav.mainnav { display: flex; }

.mainnav {
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.mainnav > ul {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 0;
}
.mainnav > ul.nav-left { justify-content: flex-end; padding-right: 130px; }
.mainnav > ul.nav-right { justify-content: flex-start; padding-left: 130px; }

.mainnav li { position: relative; }
.mainnav li > a {
    display: block;
    padding: 5px 12px;
    border: 2px solid transparent;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-text);
    white-space: nowrap;
}
.mainnav li > a:hover,
.mainnav li.act > a { border-color: var(--color-text); }

.mainnav .openSub {
    background: none; border: 0; color: var(--color-text);
    padding: 5px; cursor: pointer;
}
.mainnav li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    background: rgba(22, 21, 19, .96);
}
.mainnav li > ul[hidden] { display: none; }
.mainnav li > ul a { border: 0; padding: 8px 20px; text-transform: none; font-size: 15px; }
.mainnav li > ul li.act > a,
.mainnav li > ul a:hover { color: var(--color-gold); }

.burger { display: none; }

/* Seiten ohne Kopfbild: Platz für den fixierten Header schaffen */
body > header:empty { display: block; height: var(--header-height); background: var(--color-bg-dark); }

/* --------------------------------------------------------------------------
   Kopf-Slider
   -------------------------------------------------------------------------- */
.slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: 100svh;
    min-height: 420px;
    background: var(--color-bg-dark);
}
.slider.h-large { height: 75vh; height: 75svh; }
.slider.h-medium { height: 55vh; height: 55svh; }

.slider .slides, .slider .slide { position: absolute; inset: 0; margin: 0; }
.slider .slide {
    opacity: 0;
    transition: opacity 1000ms ease;
}
.slider .slide.active { opacity: 1; z-index: 1; }
.slider .slide img,
.slider .slide picture { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.slider .overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center;
    background: rgba(0, 0, 0, .25);
    text-align: center;
    padding: 0 40px;
}
.slider .overlay .main { width: 100%; }
.slider-title { font-size: 60px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 10px; }
.slider-subtitle { font-size: 24px; font-weight: 500; color: var(--color-gold); margin: 0; }

.slider .dots {
    position: absolute; z-index: 3;
    left: 0; right: 0; bottom: 30px;
    display: flex; justify-content: center; gap: 10px;
}
.slider .dots button {
    width: 10px; height: 10px; padding: 0;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
}
.slider .dots button[aria-selected="true"] { background: #fff; }

.slider .scrolldown {
    position: absolute; z-index: 3;
    left: 50%; bottom: 60px;
    transform: translateX(-50%);
    color: #fff;
    animation: bounce 2.2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* Kopfbild (bestehendes Element) */
.header.all { padding: 0; position: relative; }
.header.all picture img { display: block; width: 100%; }
.header.all .overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0 40px 60px; }
.header.all .overlay .main { width: 100%; max-width: var(--content-width); }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro { text-align: center; }
.intro .text { margin-top: 10px; }
.intro .text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Galerie + Lightbox
   -------------------------------------------------------------------------- */
.frame-type-ig_gallery .headline { text-align: center; }
.gallery {
    --cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.gallery.cols-2 { --cols: 2; }
.gallery.cols-4 { --cols: 4; }
.gallery a { position: relative; display: block; overflow: hidden; }
.gallery img { display: block; width: 100%; height: auto; }
/* Einblenden pro Bild wie im Original (TheGem „move-up“: 40 px statt AOS-Standard 100 px) */
.gallery [data-aos="fade-up"] { transform: translate3d(0, 40px, 0); }

/* Hover wie im Original: grauer Schleier, Kamera-Icon fällt von oben ein */
.gallery-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    pointer-events: none;
}
.gallery-hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(174, 174, 174, .8);
    opacity: 0;
    transition: opacity .5s;
}
.gallery-hover svg {
    position: relative;
    opacity: 0;
    transform: translateY(-200px);
    transition: opacity .3s, transform .3s;
}
.gallery a:hover .gallery-hover::before,
.gallery a:focus-visible .gallery-hover::before { opacity: 1; }
.gallery a:hover .gallery-hover svg,
.gallery a:focus-visible .gallery-hover svg {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s .12s, transform .5s .12s;
}

.lb {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 10, 10, .94);
    opacity: 0;
    transition: opacity 250ms ease;
}
.lb.open { opacity: 1; }
.lb[hidden], .lb [hidden] { display: none !important; }
.lb figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lb img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.lb figcaption { margin-top: 12px; font-size: 16px; color: var(--color-grey); }
.lb button {
    position: absolute;
    background: none; border: 0; color: #fff;
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: .8;
}
.lb button:hover { opacity: 1; color: var(--color-gold); }
.lb .lb-close { top: 15px; right: 15px; }
.lb .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; top: 28px; left: 25px; font-size: 14px; color: var(--color-grey); }
body.lb-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Logo-Reihe
   -------------------------------------------------------------------------- */
.frame-type-ig_logos .headline { text-align: center; }
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 30px 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.logos li { flex: 0 1 260px; text-align: center; }
.logos img { max-height: 280px; width: auto; }
.logos a:hover img { opacity: .8; }

/* --------------------------------------------------------------------------
   Hinweisbox
   -------------------------------------------------------------------------- */
.notice {
    display: block;
    border: 1px solid var(--color-grey);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    padding: 8px 20px;
    text-align: center;
    color: var(--color-text);
    text-decoration: none !important;
}
.notice-title { display: block; color: rgba(255, 255, 255, .5); line-height: 1.2; }
.notice-text { display: block; font-weight: 500; line-height: 1.2; }
a.notice:hover { border-color: var(--color-gold); }
a.notice:hover .notice-text { color: var(--color-gold); }

/* --------------------------------------------------------------------------
   iFrame / Video
   -------------------------------------------------------------------------- */
.frame-type-ig_iframe .headline,
.frame-type-ig_video .headline { text-align: center; }
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--color-bg-dark); }
.embed.ratio-21-9 { aspect-ratio: 21 / 9; }
.embed.ratio-4-3 { aspect-ratio: 4 / 3; }
.embed.ratio-3-4 { aspect-ratio: 3 / 4; }
.embed.ratio-1-1 { aspect-ratio: 1 / 1; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.full .embed { aspect-ratio: auto; height: 450px; }
/* Google-Karte wie auf der alten Seite: feste Höhe, Graustufen */
.embed.ratio-map,
.full .embed.ratio-map { aspect-ratio: auto; height: 625px; }
.embed.ratio-map iframe { filter: saturate(0); }
.video video { display: block; width: 100%; height: auto; background: #000; }

/* --------------------------------------------------------------------------
   Bewertung
   -------------------------------------------------------------------------- */
.review { margin: 0; text-align: center; }
.review-name { font-size: 18px; color: var(--color-grey); margin-bottom: 6px; }
.review .stars { display: inline-flex; gap: 3px; margin-bottom: 12px; color: var(--color-gold); }
.review .stars .off { color: var(--color-bg-2); }
.review blockquote { margin: 0; font-size: 24px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Icon-Box
   -------------------------------------------------------------------------- */
.iconbox {
    height: 100%;
    border: 1px solid var(--color-line);
    padding: 45px 25px 35px;
    text-align: center;
}
.cStage > div > .frame-type-ig_iconbox { height: 100%; }
.iconbox-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    color: var(--color-gold);
    margin-bottom: 25px;
}
.iconbox-title { font-size: 18px; font-weight: 700; letter-spacing: .08em; color: var(--color-text); margin-bottom: 15px; }
.iconbox p { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Social-Media-Leiste
   -------------------------------------------------------------------------- */
.frame-type-ig_social .headline { text-align: center; }
.social { display: flex; align-items: center; gap: 20px; }
.social::before, .social::after { content: ''; flex: 1; border-top: 3px double var(--color-grey); }
.social ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.social a {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    border: 2px solid var(--color-grey);
    color: var(--color-text);
}
.social a:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--color-bg); }
.metabar { background: var(--color-bg-2); padding-top: 22px; padding-bottom: 22px; font-size: 16px; }
.metabar .main { display: flex; justify-content: center; align-items: center; max-width: var(--content-width); }
.metanav { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.metanav li + li::before { content: '|'; margin: 0 14px; color: var(--color-grey); }
.metanav a:hover { color: var(--color-gold); }
.metabar-social { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; }
.metabar-social:hover { color: var(--color-gold); }

/* --------------------------------------------------------------------------
   Container (b13/container) – Abstände im dunklen Layout
   -------------------------------------------------------------------------- */
.cStage { margin: 0 calc(var(--gap) / -2); }
.cStage > div { padding: 0 calc(var(--gap) / 2); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .mainnav > ul.nav-left { padding-right: 105px; }
    .mainnav > ul.nav-right { padding-left: 105px; }
    .mainnav li > a { padding: 5px 7px; font-size: 13px; }
    .top .logo img { width: 140px; }
}

@media (max-width: 1024px) {
    .embed.ratio-map,
    .full .embed.ratio-map { height: 500px; }
    :root { --header-height: 70px; --space-section: 50px; }
    h1, h2, .headline { font-size: 38px; }

    .top .logo { left: 0; transform: translateY(-50%); }
    .top .logo img,
    .top.scrolled .logo img { width: 120px; }
    .top > .main,
    .top.scrolled > .main { height: var(--header-height); justify-content: flex-end; }

    .burger {
        display: flex; align-items: center; justify-content: center;
        width: 46px; height: 46px;
        background: none; border: 0; padding: 0; cursor: pointer;
        position: relative; z-index: 3;
    }
    .burger-lines, .burger-lines::before, .burger-lines::after {
        display: block; width: 28px; height: 2px; background: #fff;
        transition: transform 250ms ease, background-color 250ms ease;
    }
    .burger-lines { position: relative; }
    .burger-lines::before, .burger-lines::after { content: ''; position: absolute; left: 0; }
    .burger-lines::before { top: -8px; }
    .burger-lines::after { top: 8px; }
    .burger[aria-expanded="true"] .burger-lines { background: transparent; }
    .burger[aria-expanded="true"] .burger-lines::before { transform: translateY(8px) rotate(45deg); }
    .burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-8px) rotate(-45deg); }

    .top nav.mainnav {
        position: fixed;
        top: var(--header-height); left: 0; right: 0; bottom: 0;
        display: block;
        overflow-y: auto;
        padding: 20px 40px 40px;
        background: rgba(22, 21, 19, .98);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 250ms ease, transform 250ms ease, visibility 0s 250ms;
    }
    body.nav-open .top nav.mainnav { visibility: visible; opacity: 1; transform: none; transition: opacity 250ms ease, transform 250ms ease; }
    body.nav-open { overflow: hidden; }

    .mainnav > ul,
    .mainnav > ul.nav-left,
    .mainnav > ul.nav-right { display: block; padding: 0; }
    .mainnav li { border-bottom: 1px solid var(--color-line); }
    .mainnav li > a { padding: 15px 0; font-size: 16px; border: 0; }
    .mainnav li.act > a { color: var(--color-gold); }
    .mainnav .openSub { position: absolute; right: 0; top: 8px; padding: 12px; }
    .mainnav li > ul { position: static; background: none; padding: 0 0 10px 15px; }
    .mainnav li > ul li { border: 0; }
    .mainnav li > ul a { padding: 8px 0; }

    .slider-title { font-size: 40px; }
    .gallery.cols-4 { --cols: 3; }
}

@media (max-width: 991px) {
    .gallery.cols-3,
    .gallery.cols-4 { --cols: 2; }
}

@media (max-width: 767px) {
    .all { padding-left: 20px; padding-right: 20px; }
    h1, h2, .headline { font-size: 30px; letter-spacing: .04em; }
    h3, .headline.small, .overline { font-size: 18px; }
    body, html { font-size: 18px; }

    .gallery,
    .gallery.cols-2,
    .gallery.cols-3,
    .gallery.cols-4 { --cols: 1; }
    .slider-title { font-size: 30px; }
    .slider .scrolldown { bottom: 50px; }
    .logos li { flex-basis: 40%; }
    .review blockquote { font-size: 20px; }
    .metabar .main { flex-direction: column; gap: 14px; }
    .metabar-social { position: static; transform: none; }
    .full .embed { height: 350px; }
}

@media (prefers-reduced-motion: reduce) {
    .slider .slide { transition: none; }
    .slider .scrolldown { animation: none; }
    .gallery-hover::before,
    .gallery-hover svg,
    .gallery a:hover .gallery-hover svg { transition: none; }
    html { scroll-behavior: auto; }
}




/* Formulare */


.frame-type-form_formframework p { font-size:90%; }

input[type="checkbox"] { margin-right:15px; }


.control-label { display:none; }

.captcha path,
.captcha g {fill:#fff !important}

fieldset {border:0; padding:0;    margin-bottom:15px !important; }
fieldset .form-check {display:inline-block;margin-right:20px ;     margin-bottom: 5px;}
fieldset .form-check + .form-check {}

.igconsent-wrapper-marketing {width: 100%; height:100%;}

.form-element-check {margin-bottom:15px;}

nav.form-navigation {display:block; }

.frame-type-form_formframework input[type="text"],
.form-element input[type="text"],
.form-element input[type="date"],
.form-element input[type="email"],
.form-element input[type="number"],
.form-element input[type="tel"],
.form-element textarea,
.csc-form-element-textline input {
    font-family:inherit;
    font-size:inherit;
    color: var(--color-1);
    background:#fff;
    width:100%;
    border:1px solid var(--color-1);
    padding:8px 15px;

    margin-bottom:15px;
}
.form-element input[type="text"]:focus,
.form-element textarea:focus {
}


form .row {display: flex; flex-wrap: wrap; margin:0 -10px;}
form .row .col-1 { --cols: calc( 100% / 12 * 1); }
form .row .col-2 { --cols: calc( 100% / 12 * 2); }
form .row .col-3 { --cols: calc( 100% / 12 * 3); }
form .row .col-4 { --cols: calc( 100% / 12 * 4); }
form .row .col-5 { --cols: calc( 100% / 12 * 5); }
form .row .col-6 { --cols: calc( 100% / 12 * 6); }
form .row .col-7 { --cols: calc( 100% / 12 * 7); }
form .row .col-8 { --cols: calc( 100% / 12 * 8); }
form .row .col-9 { --cols: calc( 100% / 12 * 9); }
form .row .col-10 { --cols: calc( 100% / 12 * 10); }
form .row .col-11 { --cols: calc( 100% / 12 * 11); }
form .row .col-12 { --cols: calc( 100% / 12 * 12); }
form .row > div {-ms-flex: 0 0 var(--cols);flex: 0 0 var(--cols); max-width: var(--cols); padding:0 10px;}

@media (max-width: 1000px) {
    form .row > div {-ms-flex: 0 0 100%;flex: 0 0 100%; max-width: 100%; padding:0 10px;}
}



/* The container */
.form-check-label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.form-check-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.form-check-label span {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border:2px solid  var(--color-1);
}
.form-check-label span.required { position:relative;width:auto; height:auto; border:0px; }

/* On mouse-over, add a grey background color */
.form-check-label:hover input ~ span {
    background-color:  var(--color-1);
}

/* When the checkbox is checked, add a blue background */
.form-check-label input:checked ~ span {
    background-color:  var(--color-1);
}

/* Create the checkmark/indicator (hidden when not checked) */
span:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.form-check-label input:checked ~ span:after {
    display: block;
}

/* Style the checkmark/indicator */
.form-check-label span:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* --------------------------------------------------------------------------
   Akkordeon / FAQ (frame_class 40 bei Text, Text mit Bild, Text & Medien)
   -------------------------------------------------------------------------- */
/* direkt aufeinanderfolgende Akkordeons bilden eine Liste */
.all.content.f-40:has(+ .all.content.f-40) { padding-bottom: 0; }
.all.content.f-40 + .all.content.f-40 { padding-top: 0; }
.frame-accordion + .frame-accordion { margin-top: 0; }

.accordion {
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    text-align: left;
}
.frame-accordion + .frame-accordion .accordion,
.all.content.f-40 + .all.content.f-40 .accordion { border-top: 0; }

.accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
}
.accordion-head::-webkit-details-marker { display: none; }
.accordion-head::marker { content: ""; }
.accordion-head:focus-visible { outline-offset: 0; }

.accordion .accordion-title {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--color-grey);
    transition: color .2s;
}
.accordion-head:hover .accordion-title,
.accordion[open] .accordion-title { color: var(--color-gold); }

/* Plus / Minus */
.accordion-icon {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}
.accordion-icon::before,
.accordion .accordion-icon::after {
    content: "";
    display: block;
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 2px;
    margin-top: -1px;
    background: var(--color-gold);
    transition: transform .25s ease;
}
.accordion .accordion-icon::after { transform: rotate(90deg); }
.accordion[open] .accordion-icon::after { transform: rotate(0deg); }

.accordion-body { padding: 0 0 25px; }
.accordion-body > :last-child,
.accordion-body .ce-bodytext > :last-child { margin-bottom: 0; }

/* sanftes Auf-/Zuklappen in Browsern, die es können */
@supports (interpolate-size: allow-keywords) {
    .accordion { interpolate-size: allow-keywords; }
    .accordion::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size .3s ease, content-visibility .3s allow-discrete;
    }
    .accordion[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .accordion::details-content,
    .accordion-icon::before,
    .accordion .accordion-icon::after { transition: none; }
}
@media (max-width: 767px) {
    .accordion .accordion-title { font-size: 19px; }
    .accordion-head { padding: 18px 0; }
}
