/* ==========================================
   TYPO3 Content Frames
   ========================================== */

:root {
    --ak-frame-width: 1320px;
    --ak-frame-gutter: 24px;
    --ak-space-xs: 1rem;
    --ak-space-sm: 2rem;
    --ak-space-md: 3rem;
    --ak-space-lg: 4rem;
    --ak-space-xl: 5rem;
  
}

.frame {
    --ak-space-before: 0rem;
    --ak-space-after: 0rem;
    --frame-background: transparent;
    --frame-background-image: none;
    --frame-background-position: center;
    --frame-background-size: cover;
    box-sizing: border-box;
    margin-top: var(--ak-space-before);
    margin-bottom: var(--ak-space-after);
}

/* Zentrierter Inhalt */
.frame-default {
    width: min(calc(100% - (2 * var(--ak-frame-gutter))), var(--ak-frame-width));
    margin-right: auto;
    margin-left: auto;
}

/* Volle Hintergrundbreite, Inhalt wie der Breadcrumb */
.frame-fullwidth {
    width: 100%;
    max-width: calc(var(--main-container) + var(--container-gutters));
    margin-right: auto;
    margin-left: auto;
    padding-right: calc(var(--container-gutters) / 2);
    padding-left: calc(var(--container-gutters) / 2);
}

/* Wirklich komplett volle Inhaltsbreite */
.frame-none {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

/* Appearance-Abstände */
.frame-space-before-extra-small { --ak-space-before: var(--ak-space-xs); }
.frame-space-before-small { --ak-space-before: var(--ak-space-sm); }
.frame-space-before-medium { --ak-space-before: var(--ak-space-md); }
.frame-space-before-large { --ak-space-before: var(--ak-space-lg); }
.frame-space-before-extra-large { --ak-space-before: var(--ak-space-xl); }

.frame-space-after-extra-small { --ak-space-after: var(--ak-space-xs); }
.frame-space-after-small { --ak-space-after: var(--ak-space-sm); }
.frame-space-after-medium { --ak-space-after: var(--ak-space-md); }
.frame-space-after-large { --ak-space-after: var(--ak-space-lg); }
.frame-space-after-extra-large { --ak-space-after: var(--ak-space-xl); }

/*
 * Farbe und Bild liegen auf einer vollbreiten Ebene. Der Inhalt bleibt beim
 * Standard-Frame auf 1320 px begrenzt, der Hintergrund reicht bis zum Rand.
 */
.frame-background-primary,
.frame-background-secondary,
.frame-background-tertiary,
.frame-background-quaternary,
.frame-background-light,
.frame-background-dark,
.frame-has-background-image {
    position: relative;
    isolation: isolate;
    background: transparent !important;
}

.frame-background-primary::before,
.frame-background-secondary::before,
.frame-background-tertiary::before,
.frame-background-quaternary::before,
.frame-background-light::before,
.frame-background-dark::before,
.frame-has-background-image::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: calc(-1 * var(--ak-space-before));
    bottom: calc(-1 * var(--ak-space-after));
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--frame-background);
    background-image: var(--frame-background-image);
    background-repeat: no-repeat;
    background-position: var(--frame-background-position);
    background-size: var(--frame-background-size);
    pointer-events: none;
}

/* Verbindliche Sutter-Hintergrundfarben aus der bisherigen costum.css */
.frame-background-primary { --frame-background:  #FFE600; }
.frame-background-secondary { --frame-background: #000000; }
.frame-background-tertiary { --frame-background: #F4F4F4;
    --frame-background-image: url("../Images/shape/bg-element.png");
    --frame-background-position: left center;
    --frame-background-size: min(48%, 900px) auto;
}
.frame-background-quaternary { --frame-background: #ffffff;

    --frame-background-image: url("../Images/shape/bg-element.png");
    --frame-background-position: right center;
    --frame-background-size: min(48%, 900px) auto;}
.frame-background-light { --frame-background: #F4F4F4; }
.frame-background-dark { --frame-background: #1F1F1F; }

.frame-background-secondary,
.frame-background-dark {
    color: #ffffff;
}

.frame-background-dark .frame-header.sec-title .element-header{
   margin-top:35px;
    color: #ffffff;
}

.frame-background-quaternary .frame-header.sec-title .element-header{
   margin-top:35px;

}

.frame-background-dark h1,
.frame-background-dark h2,
.frame-background-dark h3,
.frame-background-dark h4,
.frame-background-dark h5,
.frame-background-dark h6,
.frame-background-dark p,
.frame-background-dark a,
.frame-background-dark .sub-title,
.frame-background-dark .sec-title,
.frame-background-secondary h1,
.frame-background-secondary h2,
.frame-background-secondary h3,
.frame-background-secondary h4,
.frame-background-secondary h5,
.frame-background-secondary h6,
.frame-background-secondary p,
.frame-background-secondary a,
.frame-background-secondary .sub-title,
.frame-background-secondary .sec-title {
    color: inherit;

}

/* Linienzeichnung links bei Tertiary, rechts bei Quaternary */
.frame-background-tertiary.frame-background-pattern {
    --frame-background-image: url("../Images/shape/bg-element.png");
    --frame-background-position: left center;
    --frame-background-size: min(48%, 900px) auto;
}

.frame-background-quaternary.frame-background-pattern {
    --frame-background-image: url("../Images/shape/bg-element.png");
    --frame-background-position: right center;
    --frame-background-size: min(48%, 900px) auto;
}

/* Bei Frames mit Hintergrund: Abstand innerhalb der Hintergrundfläche */
.frame-fullwidth.frame-background-primary,
.frame-fullwidth.frame-background-secondary,
.frame-fullwidth.frame-background-tertiary,
.frame-fullwidth.frame-background-quaternary,
.frame-fullwidth.frame-background-light,
.frame-fullwidth.frame-background-dark,
.frame-fullwidth.frame-has-background-image {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: var(--ak-space-before);
    padding-bottom: var(--ak-space-after);
}

@media (max-width: 1024px) {
    :root {
        --ak-frame-gutter: 32px;
        --ak-space-xs: 0.75rem;
        --ak-space-sm: 1.5rem;
        --ak-space-md: 2rem;
        --ak-space-lg: 2.75rem;
        --ak-space-xl: 3.5rem;
    }
}

@media (max-width: 767px) {
    :root {
        --ak-frame-gutter: 12px;
        --ak-space-xs: 0.5rem;
        --ak-space-sm: 1rem;
        --ak-space-md: 1.5rem;
        --ak-space-lg: 2rem;
        --ak-space-xl: 2.5rem;
    }

    .frame-background-pattern {
        --frame-background-position: center top;
        --frame-background-size: 100% auto;
    }
}

/* ==========================================
   Breadcrumb / Unterseitenkopf – global
   ========================================== */

.breadcumb-title {
  max-width: 750px;
  margin: 0 0 12px;
  color: var(--title-color);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.breadcumb-subtitle {
  max-width: 850px;
  margin: 0;
  color: #332217;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-line;
}

@media (max-width: 991.98px) {
  .breadcumb-title {
    max-width: 580px;
    font-size: 38px;
  }
}

@media (max-width: 767.98px) {
  .breadcumb-title {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.15;
  }

  .breadcumb-subtitle {
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .breadcumb-title {
    font-size: 28px;
  }
}

/* ==========================================
   Header CTA Buttons
   Desktop Button + Mobile Menü Buttons
   ========================================== */

/* ------------------------------------------
   Grundzustand Desktop
   ------------------------------------------ */

/* Desktop Button sichtbar */
.ak-header-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Mobile CTA im Desktop immer ausblenden */
.ak-mobile-menu-cta {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}

/* Desktop Button Styling */
.ak-header-cta .th-btn,
.ak-header-cta a {
    white-space: nowrap;
}

/* ------------------------------------------
   Mobile CTA Buttons im Menü
   ------------------------------------------ */

.ak-mobile-cta-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ak-mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 14px 18px;

    border-radius: 999px;
    border: 1px solid #111;

    background: #ffe100;
    color: #111;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.ak-mobile-cta-btn:hover,
.ak-mobile-cta-btn:focus {
    background: #111;
    color: #fff;
    text-decoration: none;
}

.ak-mobile-cta-btn i {
    font-size: 16px;
    line-height: 1;
}

/* ------------------------------------------
   Umschaltung auf Mobile Menü
   Breakpoint passend zum Template
   ------------------------------------------ */

@media (max-width: 1199.98px) {

    /* Desktop Button ausblenden */
    .ak-header-cta {
        display: none !important;
        visibility: hidden;
        opacity: 0;
    }

    /* Mobile CTA im mobilen Menü anzeigen */
    .ak-mobile-menu-cta {
        display: block !important;
        visibility: visible;
        opacity: 1;

        padding: 24px 20px;
        margin-top: 30px;

        border-top: 2px solid rgba(0, 0, 0, 0.08);
    }
}

/* ------------------------------------------
   Smartphone Feinschliff
   ------------------------------------------ */

@media (max-width: 767.98px) {

    .ak-mobile-menu-cta {
        padding: 20px 16px;
    }

    .ak-mobile-cta-btn {
        padding: 13px 16px;
        font-size: 15px;
    }
}

/* ==========================================
   Header mit farbiger Headline
   ========================================== */

.frame-header.sec-title {
    margin-bottom: 28px;
}

.frame-header.sec-title .element-header {
    margin: 0;
    color: #332217;
    line-height: 1.12;
}

/* Gelber Teil der Headline */
.ak-colored-header {
    display: block;
    color: #ffdf00;
}

/* ==========================================
   Unterseiten Header / Breadcrumb Fix
   ========================================== */

.ak-subpage-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 99 !important;
    background: #fff !important;
}

.ak-subpage-header .sticky-wrapper,
.ak-subpage-header .menu-area {
    background: #fff !important;
}

.ak-subpage-header .main-menu > ul > li > a {
    color: #111 !important;
}

.ak-subpage-header .main-menu > ul > li > a:hover,
.ak-subpage-header .main-menu > ul > li.active > a {
    color: #332217 !important;
}

.ak-subpage-header .main-menu > ul > li.menu-item-has-children > a:after {
    color: #111 !important;
}

/* Startseite: transparenter/absoluter Header */
.ak-home-header {
    background: transparent;
}

.ak-home-header.header-absolute {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99;
}

/* ==========================================
   Sutter Header – kompakter Desktop-Header
   Startseite und Unterseiten, inkl. Sticky
   ========================================== */

@media (min-width: 1200px) {
    .th-header.ak-home-header,
    .th-header.ak-subpage-header {
        --ak-header-height: 104px;
        --ak-header-button-gap: 24px;
    }

    .th-header.ak-home-header .menu-area,
    .th-header.ak-subpage-header .menu-area {
        padding-top: 0;
        padding-bottom: 0;
    }

    .th-header.ak-home-header .menu-area > .row,
    .th-header.ak-subpage-header .menu-area > .row {
        min-height: var(--ak-header-height);
    }

    .th-header.ak-home-header .header-logo,
    .th-header.ak-subpage-header .header-logo {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .th-header.ak-home-header .main-menu > ul > li > a,
    .th-header.ak-subpage-header .main-menu > ul > li > a {
        line-height: 28px;
        padding-top: calc((var(--ak-header-height) - 28px) / 2);
        padding-bottom: calc((var(--ak-header-height) - 28px) / 2);
    }

    .th-header.ak-home-header .header-button,
    .th-header.ak-subpage-header .header-button {
        gap: var(--ak-header-button-gap);
        align-items: center;
    }

    /* TYPO3-Inhaltsrahmen darf den CTA-Bereich nicht aufpolstern. */
    .th-header.ak-home-header .ak-header-cta .frame,
    .th-header.ak-subpage-header .ak-header-cta .frame {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Alte, 134 px hohe Trennlinie passt nicht zum kompakten Header. */
    .th-header.ak-subpage-header .sticky-wrapper.sticky .header-button .icon-btn::before {
        display: none;
    }
}

/* Inhaltselement: Zwei Bilder nebeneinander */
.ak-two-images .service-img img {
    object-fit: cover;
}

/* ========================================
   Sutter Holzbau – Firmengeschichte
======================================== */

#cd-timeline {
  --timeline-brown: #333;
  --timeline-cream:  #F4F4F4;;
  --timeline-yellow: var(--theme-color, #d8a928);
  --timeline-line: rgba(31, 23, 19, 0.22);

  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  padding: 40px 0 20px;
}

/* Senkrechte Linie */
#cd-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--timeline-line);
  transform: translateX(-50%);
}

/* Einzelner Eintrag */
#cd-timeline .cd-timeline-block {
  position: relative;
  min-height: 180px;
  margin-bottom: 70px;
}

#cd-timeline .cd-timeline-block::after {
  content: "";
  display: table;
  clear: both;
}

/* Punkt auf der Mittellinie */
#cd-timeline .cd-timeline-img {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 2;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border: 5px solid var(--timeline-cream);
  border-radius: 50%;
  background-color: var(--timeline-yellow);
  box-shadow: 0 0 0 2px var(--timeline-yellow);
}

#cd-timeline .cd-timeline-img span {
  display: none;
}

/* Inhaltskarte */
#cd-timeline .cd-timeline-content {
  position: relative;
  width: calc(50% - 55px);
  padding: 34px 38px;
  border: 1px solid rgba(31, 23, 19, 0.08);
  border-radius: 3px;
  background-color: var(--timeline-cream);
  box-shadow: 0 12px 35px rgba(31, 23, 19, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#cd-timeline .cd-timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(31, 23, 19, 0.13);
}

/* Karten abwechselnd links und rechts */
#cd-timeline .cd-timeline-block:nth-child(odd) .cd-timeline-content {
  float: left;
}

#cd-timeline .cd-timeline-block:nth-child(even) .cd-timeline-content {
  float: right;
}

/* Kleine Spitze zur Mittellinie */
#cd-timeline .cd-timeline-content::after {
  content: "";
  position: absolute;
  top: 31px;
  width: 16px;
  height: 16px;
  background-color: var(--timeline-cream);
  transform: rotate(45deg);
}

#cd-timeline .cd-timeline-block:nth-child(odd) .cd-timeline-content::after {
  right: -8px;
}

#cd-timeline .cd-timeline-block:nth-child(even) .cd-timeline-content::after {
  left: -8px;
}

/* Doppelte Jahreszahl innerhalb der Karte ausblenden */
#cd-timeline .timeline-item-header-headline {
  display: none;
}

/* Überschrift im Text */
#cd-timeline .cd-timeline-content > div > p:first-child,
#cd-timeline .cd-timeline-content > div > h4:first-child {
  margin: 0 0 15px;
  color: var(--timeline-brown);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
}

#cd-timeline .cd-timeline-content > div > p:first-child strong {
  font-weight: 700;
}

#cd-timeline .cd-timeline-content p:last-child {
  margin-bottom: 0;
}

/* Jahreszahl gegenüber der Karte */
#cd-timeline .cd-date {
  position: absolute;
  top: 18px;
  display: block;
  width: 100%;
  color: var(--timeline-brown);
  line-height: 1;
}

#cd-timeline .cd-timeline-block:nth-child(odd) .cd-date {
  left: calc(100% + 110px);
  text-align: left;
}

#cd-timeline .cd-timeline-block:nth-child(even) .cd-date {
  right: calc(100% + 110px);
  text-align: right;
}

/* "Jan" wird bei der Firmengeschichte nicht benötigt */
#cd-timeline .cd-date-month {
  display: none;
}

/* ========================================
   Tablet und Smartphone
======================================== */

@media (max-width: 991.98px) {
  #cd-timeline {
    padding-left: 0;
  }

  #cd-timeline::before {
    left: 20px;
    transform: none;
  }

  #cd-timeline .cd-timeline-block {
    min-height: 0;
    margin-bottom: 45px;
  }

  #cd-timeline .cd-timeline-img {
    top: 24px;
    left: 20px;
    width: 20px;
    height: 20px;
    margin-left: -9px;
  }

  #cd-timeline .cd-timeline-content,
  #cd-timeline .cd-timeline-block:nth-child(odd) .cd-timeline-content,
  #cd-timeline .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: none;
    width: auto;
    margin-left: 58px;
    padding: 28px;
  }

  #cd-timeline .cd-timeline-content::after,
  #cd-timeline .cd-timeline-block:nth-child(odd) .cd-timeline-content::after,
  #cd-timeline .cd-timeline-block:nth-child(even) .cd-timeline-content::after {
    top: 26px;
    right: auto;
    left: -8px;
  }

  #cd-timeline .cd-date,
  #cd-timeline .cd-timeline-block:nth-child(odd) .cd-date,
  #cd-timeline .cd-timeline-block:nth-child(even) .cd-date {
    position: static;
    width: auto;
    margin-bottom: 15px;
    text-align: left;
  }

  #cd-timeline .cd-date-year {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  #cd-timeline .cd-timeline-content,
  #cd-timeline .cd-timeline-block:nth-child(odd) .cd-timeline-content,
  #cd-timeline .cd-timeline-block:nth-child(even) .cd-timeline-content {
    margin-left: 48px;
    padding: 23px 20px;
  }
}

#cd-timeline .cd-timeline-content h3 {
  margin: 0 0 15px;
  color: var(--timeline-brown);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
}

#cd-timeline .cd-date-year {
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.1;
  overflow-wrap: break-word;
      font-weight: 700;
  letter-spacing: 0;
display: block;
  color: var(--timeline-brown);
}

/* ==========================================
   Megamenü
   ========================================== */

@media (min-width: 1200px) {
  .menu-area,
  .main-menu,
  .main-menu > ul {
    position: static;
  }

  .main-menu > ul > li {
    margin-inline: clamp(7px, 0.8vw, 14px);
  }

  .main-menu > ul > li.has-mega-menu {
    position: static;
  }

  .main-menu ul.mega-menu {
    left: 50% !important;
    right: auto !important;
    display: block;
    width: min(1080px, calc(100vw - 48px));
    max-height: calc(100vh - 120px);
    padding: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    transform: scaleY(0) translateX(-50%) !important;
    transform-origin: top center;
  }

  .main-menu ul li:hover > ul.mega-menu,
  .main-menu ul li:focus-within > ul.mega-menu {
    visibility: visible;
    z-index: 20;
    opacity: 1;
    transform: scaleY(1) translateX(-50%) !important;
  }

  .main-menu ul.mega-menu > li {
    width: 100%;
    padding: 0;
  }

  .mega-menu-box {
    height: 100%;
  }

  .mega-menu-img {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background:  var(--smoke-color);
  }

  .mega-menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .mega-menu-box:hover .mega-menu-img img,
  .mega-menu-box:focus-within .mega-menu-img img {
    filter: none;
    transform: scale(1.04);
  }

  .mega-menu-box .mega-menu-img .btn-wrap {
    display: none;
  }

  .mega-menu-title {
    margin: 10px 0 0;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    line-height: 1.2;
  }

  .main-menu ul.mega-menu .mega-menu-title > a {
    padding: 0;
    line-height: inherit;
    text-transform: none;
  }
}

@media (max-width: 1199.98px) {
  .th-menu-area {
    width: min(420px, 100%);
    overflow-y: auto;
  }

  .th-mobile-menu {
    padding-bottom: 0;
  }

  .th-mobile-menu a {
    white-space: normal;
  }
}

/* ==========================================
   Bilder: dezenter Sutter-Hover
   ========================================== */

.frame-type-image .image,
.frame-type-textpic figure,
.frame-type-textmedia figure,
.ak-two-images .service-img,
.ak-service-overview-item__image {
  position: relative;
  overflow: hidden;
}

.frame-type-image .image::after,
.frame-type-textpic figure::after,
.frame-type-textmedia figure::after,
.ak-two-images .service-img::after,
.ak-service-overview-item__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.frame-type-image .image img,
.frame-type-textpic figure img,
.frame-type-textmedia figure img,
.ak-two-images .service-img img,
.ak-service-overview-item__image img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.frame-type-image .image:hover::after,
.frame-type-textpic figure:hover::after,
.frame-type-textmedia figure:hover::after,
.ak-two-images .service-img:hover::after,
.ak-service-overview-item__image:hover::after {
  opacity: 1;
}

.frame-type-image .image:hover img,
.frame-type-textpic figure:hover img,
.frame-type-textmedia figure:hover img,
.ak-two-images .service-img:hover img,
.ak-service-overview-item__image:hover img {
  transform: scale(1.035);
}

/* ==========================================
   Accordion
   ========================================== */

.toggle-view-custom {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(51, 34, 23, 0.2);
  list-style: none;
}

.toggle-view-custom > li {
  margin: 0;
  border-bottom: 1px solid rgba(51, 34, 23, 0.2);
}

.toggle-view-custom .ui-accordion-header {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
}

.ak-accordion-trigger {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  padding: 24px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #332217;
  font: inherit;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.ak-accordion-trigger:focus-visible {
  outline: 2px solid #f4c400;
  outline-offset: 4px;
}

.ak-accordion-trigger .link {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #332217;
  border-radius: 50%;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.ak-accordion-trigger .link::before,
.ak-accordion-trigger .link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ak-accordion-trigger .link::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease;
}

.ak-accordion-item.is-open .ak-accordion-trigger .link {
  border-color: #f4c400;
  background: #f4c400;
}

.ak-accordion-item.is-open .ak-accordion-trigger .link::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.toggle-view-custom .panel {
  padding: 0 72px 26px 0;
  color: #332217;
}

.toggle-view-custom .panel[hidden] {
  display: none;
}

.toggle-view-custom .panel > :last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .ak-accordion-trigger {
    gap: 14px;
    padding-block: 18px;
  }

  .ak-accordion-trigger .link {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .toggle-view-custom .panel {
    padding-right: 0;
    padding-bottom: 22px;
  }
}

/* ==========================================
   TYPO3 Form Framework
   ========================================== */

.frame-type-form form {
  --ak-form-border: rgba(51, 34, 23, 0.24);
  --ak-form-focus: #f4c400;
  max-width: 920px;
}

.frame-type-form .form-group,
.frame-type-form .form-element {
  margin-bottom: 24px;
}

.frame-type-form label,
.frame-type-form legend {
  display: block;
  margin-bottom: 8px;
  color: #332217;
  font-weight: 600;
  line-height: 1.35;
}

.frame-type-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.frame-type-form select,
.frame-type-form textarea {
  width: 100%;
  height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--ak-form-border);
  border-radius: 0;
  background-color: #fff;
  color: #332217;
  line-height: 1.4;
}

.frame-type-form textarea {
  min-height: 160px;
  resize: vertical;
}

.frame-type-form input:focus,
.frame-type-form select:focus,
.frame-type-form textarea:focus {
  border-color: var(--ak-form-focus);
  outline: 2px solid rgba(244, 196, 0, 0.2);
  outline-offset: 0;
  box-shadow: none;
}

.frame-type-form .form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.frame-type-form input[type="checkbox"],
.frame-type-form input[type="radio"] {
  position: static;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1px solid var(--ak-form-border);
  opacity: 1;
  visibility: visible;
  accent-color: #f4c400;
}

.frame-type-form .form-check label {
  margin: 0;
  font-weight: 400;
}

.frame-type-form .btn-primary,
.frame-type-form button[type="submit"],
.frame-type-form input[type="submit"] {
  width: auto;
  min-height: 52px;
  padding: 13px 28px;
  border: 1px solid #332217;
  border-radius: 999px;
  background: #f4c400;
  color: #332217;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.frame-type-form .btn-primary:hover,
.frame-type-form button[type="submit"]:hover,
.frame-type-form input[type="submit"]:hover {
  border-color: #332217;
  background: #332217;
  color: #fff;
}

.frame-type-form .invalid-feedback,
.frame-type-form .help-block {
  margin-top: 6px;
  color: #a3261b;
  font-size: 0.9rem;
}

/* ==========================================
   Footer – Grundelemente
   ========================================== */

.footer-layout2 .frame {
  width: 100%;
  max-width: none;
  margin: 0;
  color: inherit;
}

.footer-layout2 .frame::before {
  display: none;
}

.footer-layout2 h1,
.footer-layout2 h2,
.footer-layout2 h3,
.footer-layout2 h4,
.footer-layout2 h5,
.footer-layout2 h6,
.footer-layout2 strong {
  color: #fff;
}

.footer-layout2 a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-layout2 a:hover,
.footer-layout2 a:focus {
  color: #f4c400;
}

.footer-layout2 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Bewegungen für Nutzer mit entsprechender Systemeinstellung reduzieren. */
@media (prefers-reduced-motion: reduce) {
  .mega-menu-img img,
  .frame-type-image .image img,
  .frame-type-textpic figure img,
  .frame-type-textmedia figure img,
  .ak-two-images .service-img img,
  .ak-service-overview-item__image img {
    transition: none;
  }
}

/* Gelbe Linie um das gesamte Inhaltselement */
.frame-layout-101 {
  padding-left: 36px;
  border-left: 4px solid #ffdf00;
}

/* Liste selbst benötigt dann keine eigene Linie */
.frame-layout-101 ul.list-check {
  margin: 0;
  padding-left: 0;
  border-left: 0;
  list-style: none;
}

.frame-layout-101 ul.list-check > li {
  position: relative;
  padding-left: 36px;
}

.frame-layout-101 ul.list-check > li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;

  width: auto;
  height: auto;

  background: none !important;
  color: #2a1b12;
  font-family: inherit;
  font-weight: 700;
  line-height: inherit;
}

@media (max-width: 767.98px) {
  .frame-layout-101 {
    padding-left: 22px;
    border-left-width: 3px;
  }
}

ul.list-check {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

ul.list-check > li {
  position: relative !important;
  margin: 0;
  line-height: 30px;
    padding-left: 40px;
}

ul.list-check > li::before {
  content: "✓" !important;
  position: absolute;
  top: 0.05em !important;
  left: 23px !important;

  display: grid !important;
  place-items: center;

  width: 25px !important;
  height: 25px !important;
  border-radius: 50%;

  background: var(--theme-color) !important;
  background-image: none !important;
  color: #2a1b12 !important;

  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* ==========================================
   FAQ – Zwei Spalten
   Layout 102
   ========================================== */

.frame-type-ce_columns2.frame-layout-102 {
  overflow: hidden;
  width: min(calc(100% - 48px), 1620px);
  margin-inline: auto;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: 1px solid #d6d6d6;
  background: #fff;
}

/* Container des Zweispalten-Elements */
.frame-type-ce_columns2.frame-layout-102 > .container {
  width: 100%;
  max-width: none;
  padding: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.frame-type-ce_columns2.frame-layout-102 > .container > .row {
  --bs-gutter-x: 0;

  align-items: stretch;
  margin: 0;
}

.frame-type-ce_columns2.frame-layout-102
  > .container
  > .row
  > .ce-col {
  padding: 0;
}

/* Linke FAQ-Spalte */
.frame-type-ce_columns2.frame-layout-102
  > .container
  > .row
  > .ce-col:first-child {
  padding: clamp(36px, 4vw, 68px);
}

/* Rechte Bildspalte */
.frame-type-ce_columns2.frame-layout-102
  > .container
  > .row
  > .ce-col:last-child {
  min-height: 100%;
}

/* Verschachteltes Bild-Inhaltselement zurücksetzen */
.frame-layout-102
  > .container
  > .row
  > .ce-col:last-child
  > .frame,
.frame-layout-102
  > .container
  > .row
  > .ce-col:last-child
  > .frame
  > .container,
.frame-layout-102
  > .container
  > .row
  > .ce-col:last-child
  figure,
.frame-layout-102
  > .container
  > .row
  > .ce-col:last-child

  .image,
.frame-layout-102
  > .container
  > .row
  > .ce-col:last-child
  picture {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.frame-layout-102
  > .container
  > .row
  > .ce-col:last-child
  img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

/* ==========================================
   FAQ-Accordion
   ========================================== */

.frame-layout-102 .toggle-view-custom {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  counter-reset: faq-item;
}

.frame-layout-102 .ak-accordion-item {
  margin: 0;
  border: 1px solid #d6d6d6;
  background: #fff;
  counter-increment: faq-item;
}

.frame-layout-102 .ui-accordion-header {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.frame-layout-102 .ak-accordion-trigger {
  gap: 24px;
  padding: 24px 28px;
  color: #2a1b12;
  background: transparent;
}

/* Automatische Nummerierung */
.frame-layout-102 .ak-accordion-title::before {
  content: counter(faq-item) ". ";
}

/* Plus und Minus ohne Kreis */
.frame-layout-102 .ak-accordion-trigger .link {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2a1b12;
}

.frame-layout-102
  .ak-accordion-item.is-open
  .ak-accordion-trigger
  .link {
  border: 0;
  background: transparent;
}

/* Geöffneter Inhalt */
.frame-layout-102 .toggle-view-custom .panel {
  padding: 0 68px 28px 28px;
  color: #2a1b12;
  font-size: 17px;
  line-height: 1.65;
}

.frame-layout-102 .toggle-view-custom .panel > :last-child {
  margin-bottom: 0;
}

/* ==========================================
   Tablet und Smartphone
   ========================================== */

@media (max-width: 1199.98px) {
  .frame-type-ce_columns2.frame-layout-102
    > .container
    > .row
    > .ce-col:first-child {
    padding: 36px 28px;
  }

  .frame-layout-102
    > .container
    > .row
    > .ce-col:last-child
    img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 575.98px) {
  .frame-layout-102 .ak-accordion-trigger {
    padding: 20px;
  }

  .frame-layout-102 .toggle-view-custom .panel {
    padding: 0 20px 22px;
  }

  .frame-layout-102 .ui-accordion-header {
    font-size: 17px;
  }
}

/* Verschachtelte Inhaltselemente nutzen die komplette Spaltenbreite */
.frame-type-ce_columns2.frame-layout-102
  > .container
  > .row
  > .ce-col
  > .frame {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

/* Smartphone: kleinerer Außenabstand */
@media (max-width: 767.98px) {
  .frame-type-ce_columns2.frame-layout-102 {
    width: calc(100% - 24px);
  }
}

/* ==========================================
   TYPO3 FAQ-Accordion
   ce_accordion / pp-accordion-custom
   ========================================== */

.faq-accordion.pp-accordion-custom {
  display: grid;
  gap: 16px;
  margin: 0;
  counter-reset: faq-number;
}

/* Einzelne FAQ-Box */
.faq-accordion.pp-accordion-custom .accordion-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  counter-increment: faq-number;
}

/* Überschriften-Element zurücksetzen */
.faq-accordion.pp-accordion-custom .accordion-header {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

/* Klickbarer Fragetitel */
.faq-accordion.pp-accordion-custom .accordion-button {
  position: relative;
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 80px;
  margin: 0;
  padding: 22px 60px 22px 30px;

  border: 0;
  border-radius: 0;
  background: #fff;
  color: #2a1b12;

  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;

  box-shadow: none;
}

/* Automatische Nummerierung */
.faq-accordion.pp-accordion-custom
  .accordion-button::before {
  /*content: counter(faq-number) ".";*/
 content: none;
 flex: 0 0 auto;
  margin-right: 6px;
}

/* Pluszeichen */
.faq-accordion.pp-accordion-custom
  .accordion-button::after {
  content: "+";

  position: absolute;
  top: 50%;
  right: 28px;

  display: block;
  width: auto;
  height: auto;
  margin: 0;

  background: none !important;
  color: #2a1b12;

  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;

  transform: translateY(-50%) !important;
}

/* Minuszeichen beim geöffneten Element */
.faq-accordion.pp-accordion-custom
  .accordion-button:not(.collapsed)::after {
  content: "−";
  transform: translateY(-50%) !important;
}

/* Geöffneter Button bleibt weiß */
.faq-accordion.pp-accordion-custom
  .accordion-button:not(.collapsed) {
  border: 0;
  background: #efefef;
  color: #2a1b12;
  box-shadow: none;
}

.faq-accordion.pp-accordion-custom
  .accordion-button:hover {
  color: #2a1b12;
  background:  var(--smoke-color);
}

.faq-accordion.pp-accordion-custom
  .accordion-button:focus {
  outline: 2px solid #f4c400;
  outline-offset: -2px;
  box-shadow: none;
}

/* Antwortbereich */
.faq-accordion.pp-accordion-custom
  .accordion-collapse {
  border: 0;
}

.faq-accordion.pp-accordion-custom
  .ce-accordion-body {
  padding: 0 40px 26px;
  border: 0;
  background: #fff;
  color: #2a1b12;
  font-size: 17px;
  line-height: 1.6;
}

/* Inneres Text-Inhaltselement auf volle Breite setzen */
.faq-accordion.pp-accordion-custom
  .ce-accordion-body
  > .frame {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Automatisch nochmals ausgegebene zweite Überschrift ausblenden */
.faq-accordion.pp-accordion-custom
  .ce-accordion-body
  > .frame
  > .frame-header {
  display: none;
}

.faq-accordion.pp-accordion-custom
  .ce-accordion-body p:last-child,
.faq-accordion.pp-accordion-custom
  .ce-accordion-body ul:last-child {
  margin-bottom: 0;
}

/* Listen innerhalb der Antworten */
.faq-accordion.pp-accordion-custom
  .ce-accordion-body .list-normal {
  margin: 14px 0;
  padding-left: 22px;
}

/* ==========================================
   Smartphone
   ========================================== */

@media (max-width: 575.98px) {
  .faq-accordion.pp-accordion-custom {
    gap: 12px;
  }

  .faq-accordion.pp-accordion-custom
    .accordion-button {
    min-height: 70px;
    padding: 18px 50px 18px 20px;
    font-size: 16px;
  }

  .faq-accordion.pp-accordion-custom
    .accordion-button::after {
    right: 20px;
    font-size: 23px;
  }

  .faq-accordion.pp-accordion-custom
    .ce-accordion-body {
    padding: 0 20px 22px;
    font-size: 16px;
  }
}

.frame-type-ce_columns2.frame-layout-102 .ce-col:last-child,
.frame-type-ce_columns2.frame-layout-102 .ce-col:last-child > .frame,
.frame-type-ce_columns2.frame-layout-102 .ce-col:last-child figure,
.frame-type-ce_columns2.frame-layout-102 .ce-col:last-child picture {
  height: 100%;
}

.frame-type-ce_columns2.frame-layout-102 .ce-col:last-child img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================
   Kontaktformular – Grau mit dezenter Skizze (21.09.2026)
   Layout 103
   ========================================== */

.frame-type-ce_columns2.frame-layout-103 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(70px, 8vw, 130px) 0;
  color: #111;
}

/* Vorhandene Tertiary-Skizze, separat abgeschwaecht fuer lesbaren Text. */
.frame-type-ce_columns2.frame-layout-103::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  transform: none;
  background: url("../Images/shape/bg-element.png") left center / min(48%, 900px) auto no-repeat;
  opacity: 0.24;
  pointer-events: none;
}

/* Innerer Inhaltsbereich */
.frame-type-ce_columns2.frame-layout-103 > .container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1320px);
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.frame-type-ce_columns2.frame-layout-103 > .container > .row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(560px, 6fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  margin: 0;
}

.frame-type-ce_columns2.frame-layout-103 .ce-col {
  width: auto;
  max-width: none;
  padding: 0;
}

/* Verschachtelte Inhaltselemente zurücksetzen */
.frame-type-ce_columns2.frame-layout-103
  .ce-col
  > .frame {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* ==========================================
   Linke Textspalte
   ========================================== */

.frame-layout-103 .ce-col:first-child {
  color: #111;
}

.frame-layout-103 .ce-col:first-child .frame-header {
  margin-bottom: 28px;
}

.frame-layout-103 .ce-col:first-child .sub-title {
  color: #111;
}

.frame-layout-103 .ce-col:first-child .element-header {
  max-width: 590px;
  margin-top: 22px;
  color: #111;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.08;
}

.frame-layout-103 .ce-col:first-child p {
  max-width: 560px;
  color: #333;
  font-size: 18px;
  line-height: 1.7;
}

/* ==========================================
   Rechte Formularbox
   ========================================== */

.frame-layout-103 .ce-col:last-child {
  padding: clamp(32px, 4vw, 60px);
  background: #fff;
}

.frame-layout-103 .form-container {
  width: 100%;
  max-width: none;
}

/* Automatische Step-Überschrift ausblenden */
.frame-layout-103 .form-container form > h2 {
  display: none;
}

/* Feldabstände */
.frame-layout-103 .form-element {
  margin-bottom: 22px !important;
}

/* Standardbeschriftungen ausblenden –
   Placeholder bleiben sichtbar */
.frame-layout-103 .form-element > .form-label {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Beschreibungstexte ausblenden */
.frame-layout-103 .form-text {
  display: none;
}

/* Eingabefelder */
.frame-layout-103 .form-control,
.frame-layout-103 .form-select {
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 16px 24px;

  border: 1px solid transparent;
  border-radius: 0;
  background-color: #f0f0f0;
  color: #2a1b12;

  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.4;

  box-shadow: none;
}

/* Fehlenden E-Mail-Placeholder per Backend ergänzen:
   E-Mail Adresse */
.frame-layout-103 .form-control::placeholder {
  color: #554b46;
  opacity: 1;
}

/* Auswahlfeld */
.frame-layout-103 .form-select {
  cursor: pointer;
  color: #706966;
}

/* Textarea */
.frame-layout-103 textarea.form-control {
  min-height: 145px;
  resize: vertical;
}

/* Fokus */
.frame-layout-103 .form-control:focus,
.frame-layout-103 .form-select:focus {
  border-color: #f4c400;
  background-color: #f7f7f7;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(244, 196, 0, 0.15);
}

/* Pflichtfeld-Markierung */
.frame-layout-103 .required {
  color: #c33;
}

/* Formularbutton */
.frame-layout-103 .form-actions {
  margin-top: 8px;
}

.frame-layout-103 .form-navigation {
  display: flex;
}

.frame-layout-103 .form-navigation .btn-primary {
  min-width: 140px;
  padding: 16px 30px;

  border: 0;
  border-radius: 999px;
  background: var(--theme-color);
  color: #2a1b12;

  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  box-shadow: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.frame-layout-103 .form-navigation .btn-primary:hover {
  background: #2a1b12;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================
   Datenschutz-Checkbox
   ========================================== */

.frame-layout-103 .form-element-checkbox {
  position: relative;
}

.frame-layout-103 .form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-left: 0;
}

.frame-layout-103 .form-check-input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  border: 1px solid #ccc;
  border-radius: 0;
}

.frame-layout-103 .form-check-input:checked {
  border-color: #f4c400;
  background-color: #f4c400;
}

.frame-layout-103 .form-check-label {
  color: #2a1b12;
  font-size: 15px;
  line-height: 1.5;
}

/* ==========================================
   Tablet und Smartphone
   ========================================== */

@media (max-width: 1199.98px) {
  .frame-type-ce_columns2.frame-layout-103
    > .container
    > .row {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 1.25fr);
    gap: 50px;
  }
}

@media (max-width: 991.98px) {
  .frame-type-ce_columns2.frame-layout-103 {
    padding: 70px 0;
  }

  .frame-type-ce_columns2.frame-layout-103
    > .container
    > .row {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .frame-layout-103 .ce-col:last-child {
    padding: 40px;
  }
}

@media (max-width: 575.98px) {
  .frame-type-ce_columns2.frame-layout-103 {
    padding: 55px 0;
  }

  .frame-type-ce_columns2.frame-layout-103 > .container {
    width: calc(100% - 24px);
  }

  .frame-layout-103 .ce-col:last-child {
    padding: 28px 20px;
  }

  /* Name und E-Mail untereinander */
  .frame-layout-103 .form-element-gridrow > [class*="col-"] {
    width: 100%;
  }

  .frame-layout-103 .form-control,
  .frame-layout-103 .form-select {
    min-height: 58px;
    padding: 15px 18px;
  }

  .frame-layout-103 textarea.form-control {
    min-height: 130px;
  }
}

/* Layout 103: kein dekorativer Stern mehr. */
.frame-type-ce_columns2.frame-layout-103::after {
  content: none;
  display: none;
  animation: none;
}

@media (max-width: 1024px) {
  .frame-type-ce_columns2.frame-layout-103::before {
    background-position: left top;
    background-size: min(100%, 700px) auto;
    opacity: 0.18;
  }
}

/* ==========================================
   Footer – Sutter Holzbau
   ========================================== */

.footer-layout2 {
  background-color: #333333;
  background-image:
    linear-gradient(
      rgba(51, 51, 51, 0.7),
      rgba(51, 51, 51, 0.75)
    ),
    url("../Images/bg/slider_holzhintergrund.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: rgba(255, 255, 255, 0.72);
  --body-color: rgba(255, 255, 255, 0.72);
}

.footer-layout2 .widget-area {
  /* Footerhoehe hier einstellen: oben | seitlich | unten. */
  padding: 100px 0 80px !important;
}

.footer-layout2 .widget-area > .container {
  width: min(calc(100% - 48px), 1540px);
  max-width: 1540px;
  margin-inline: auto;
  padding-right: 0;
  padding-left: 0;
}

/* Vier-Spalten-Element */
.footer-layout2 .frame-type-ce_columns4.frame-layout-104 {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.footer-layout2
.frame-type-ce_columns4.frame-layout-104
> .row {
  display: grid;
  grid-template-columns:
    minmax(260px, 1.05fr)
    minmax(230px, 0.9fr)
    minmax(230px, 0.9fr)
    minmax(560px, 2.5fr);
  gap: 50px;
  align-items: start;
  margin: 0;
}

.footer-layout2
.frame-type-ce_columns4.frame-layout-104
> .row
> .ce-col {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.footer-layout2 .frame-layout-104 .ce-col > .frame {
  width: 100%;
  max-width: none;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
}

.footer-layout2 .frame-layout-104 .frame-header {
  margin-bottom: 28px;
}

.footer-layout2
.frame-layout-104
.ce-col:not(:last-child)
.element-header {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.footer-layout2 .frame-layout-104 p,
.footer-layout2 .frame-layout-104 li,
.footer-layout2 .frame-layout-104 a {
  color: #fff;
}

.footer-layout2 .frame-layout-104 a {
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-layout2 .frame-layout-104 a:hover,
.footer-layout2 .frame-layout-104 a:focus {
  color: var(--yellow-color);
}

/* Menüspalten */
.footer-layout2 .frame-layout-104 .ce-col:nth-child(2) ul,
.footer-layout2 .frame-layout-104 .ce-col:nth-child(3) ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-layout2 .frame-layout-104 .ce-col:nth-child(2) li,
.footer-layout2 .frame-layout-104 .ce-col:nth-child(3) li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 28px;
}

.footer-layout2 .frame-layout-104 .ce-col:nth-child(2) li::before,
.footer-layout2 .frame-layout-104 .ce-col:nth-child(3) li::before {
  content: "→";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--yellow-color);
  font-size: 20px;
  line-height: 1.2;
}

/* Großer Slogan */
.footer-layout2
.frame-layout-104
.ce-col:nth-child(4)
.frame-type-text
> h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(56px, 4.5vw, 86px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.footer-layout2
.frame-layout-104
.ce-col:nth-child(4)
.frame-type-text
> h2 strong {
  display: inline-block;
  margin-left: clamp(80px, 7.5vw, 150px);
  color: var(--yellow-color);
  font-weight: inherit;
}

/* Kontaktspalte */
.footer-layout2
.frame-layout-104
.ce-col:first-child
.frame-type-texticon {
  margin: 0 0 16px;
  padding: 0;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.frame-type-texticon
> [class*="texticon-"] {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.texticon-icon {
  flex: 0 0 40px;
  width: 40px;
  margin: 0;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.texticon-inner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background-color: var(--yellow-color);
  color: #000 !important;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.texticon-inner-icon svg {
  width: 16px;
  height: 16px;
  color: inherit;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.texticon-inner-icon svg path {
  fill: currentColor;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.texticon-content {
  min-width: 0;
  padding-top: 7px;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.texticon-content p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.65;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.texticon-content a {
  color: #fff;
  word-break: break-word;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.frame-type-texticon:hover
.texticon-inner-icon {
  border-color: #fff;
  background-color: #fff !important;
  color: #2a1b12 !important;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.frame-type-image {
  margin-top: 65px !important;
}

.footer-layout2
.frame-layout-104
.ce-col:first-child
.frame-type-image img {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  margin: 0;
}

/* Copyright */
.footer-layout2 .copyright-wrap {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

.footer-layout2 .copyright-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.99);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.footer-layout2 .copyright-text a {
  color: var(--yellow-color);
}

@media (max-width: 1399.98px) {
  .footer-layout2
  .frame-type-ce_columns4.frame-layout-104
  > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px 45px;
  }

  .footer-layout2
  .frame-layout-104
  .ce-col:nth-child(4)
  .frame-type-text
  > h2 strong {
    margin-left: clamp(50px, 8vw, 110px);
  }
}

@media (max-width: 767.98px) {
  .footer-layout2 .widget-area {
    padding: 45px 0 35px !important;
    text-align: left;
}

  .footer-layout2 .widget-area > .container {
    width: calc(100% - 32px);
  }

  .footer-layout2
  .frame-type-ce_columns4.frame-layout-104
  > .row {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-layout2
  .frame-layout-104
  .ce-col:nth-child(4)
  .frame-type-text
  > h2 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .footer-layout2
  .frame-layout-104
  .ce-col:nth-child(4)
  .frame-type-text
  > h2 strong {
    margin-left: clamp(30px, 10vw, 60px);
  }

  .footer-layout2 .copyright-wrap {
    padding-block: 18px;
  }
}
/* Kompakter Innenabstand für den About-Bereich auf der Startseite */
.space-xs {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 991.98px) {
  .space-xs {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ==========================================
   Rahmen – ohne äußere Abstände
   frame_class: no-spacing
   ========================================== */

.frame-no-spacing {
  --ak-space-before: 0 !important;
  --ak-space-after: 0 !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Inneren Container ebenfalls zurücksetzen */
.frame-no-spacing > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.well a {
  color: #000;
  text-decoration: none;
  outline: 0;
  -webkit-transition: all ease 0.4s;
  transition: all ease 0.4s;
}

.gallery-card .box-text p {
  margin-bottom: 0;
  color: #fff;
  line-height: 20px;
  font-size: 16px;
  margin-top: 5px;
}

/* ==========================================
   Referenz-Detailseite
   Styles liegen bewusst in EXT:il_sutter/Resources/Public/Css/il_sutter.css
   ========================================== */

.ak-service-detail-page {
  position: relative;
  z-index: 2;
}

.ak-service-topimage {
  position: relative;
  margin-top: -130px;
}

@media (max-width: 1199px) {
  .ak-service-topimage {
    margin-top: -80px;
  }
}

@media (max-width: 767px) {
  .ak-service-topimage {
    margin-top: -30px;
  }
}

.ak-service-topimage .ce-gallery,
.ak-service-topimage .ce-outer,
.ak-service-topimage .ce-inner,
.ak-service-topimage .ce-row,
.ak-service-topimage .ce-column,
.ak-service-topimage figure {
  width: 100%;
  max-width: none;
}

.ak-service-topimage .ce-outer,
.ak-service-topimage .ce-inner {
  float: none;
  right: auto;
}

.ak-service-topimage figure {
  margin: 0;
}

.ak-service-topimage .image-embed-item {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(280px, 32vw, 650px);
  object-fit: cover;
  object-position: center center;
}

.space-bottom-0,
.space-anja{
  padding-bottom: 80px;
}
.space-0,
.space-top-0 {
  padding-top: 0px;

}

.space-ak {
  padding: 80px 0;
}

.space-ak-1 {
  padding: 90px 0;
}

.space-ak-10 {
  padding: 55px 0;
}

@media (min-width: 576px) {
  .text-column {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
    background-color: var(--smoke-color);
    padding: 30px;
  }
}
.text-column {
  margin-bottom: 1rem;
}

.ak-service-content p {
  width: 100%;
  max-width: 900px;
  margin-right: auto;
}

/* Leistungsdetailseite: individuelle Spaltenbreiten */
@media (min-width: 1200px) {
  .ak-service-main {
    flex: 0 0 70%;
    max-width: 70%;
  }

  .ak-service-nav {
    flex: 0 0 30%;
    max-width: 30%;
  }

}

/* Hintergrund der Navigation */
.ak-service-nav .widget {
  background-color:  var(--smoke-color);
}

.ak-service-overview-item {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

/* Werte-Slider: Hintergrund über die volle Bildschirmbreite */
.choose-area.frame-fullwidth {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-right: 0;
    padding-left: 0;
}
.frame a[class=""], .frame a:not([class]) {
  color: var(--yellow-color);
}

/* Kontakt – gelbe Boxen untereinander, auch auf Desktop. */
.row.sutter-contact-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 0;
}

.sutter-contact-info > .ce-col {
    display: flex;
    width: 100%;
    min-width: 0;
    padding: 0;
}

/* Gelber Hintergrund pro Box */
.sutter-contact-info .frame-type-texticon {
    width: 100%;
    margin: 0;
    padding: 22px 24px !important;
    background: #ffe600 !important;
    color: #111;
}

/* Vollbreite Hintergrundebene hier deaktivieren */
.sutter-contact-info .frame-type-texticon::before {
    content: none;
}

/* Icon und Text nebeneinander */
.sutter-contact-info .texticon-left {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.sutter-contact-info .texticon-icon {
    flex: 0 0 56px;
    width: 56px;
    margin: 0;
}

.sutter-contact-info .texticon-icon .texticon-inner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 50%;
    background: #fff !important;
    color: #111 !important;
}

.sutter-contact-info .texticon-inner-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* Kontakttext */
.sutter-contact-info .texticon-content {
    flex: 1;
    min-width: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

.sutter-contact-info .texticon-content p {
    margin: 0;
    color: #111;
    line-height: 1.6;
}

.sutter-contact-info .texticon-content a {
    color: #111;
}

.sutter-contact-info .texticon-content a:hover {
    color: #111;
    text-decoration: underline;
}

/* Tablet und Handy */
@media (max-width: 991.98px) {
    .row.sutter-contact-info {
        grid-template-columns: 1fr;
    }
}

/* Bilder: Rundungen entfernen */
.gallery-item,
.gallery-item img,
.gallery_img {
  border-radius: 0 !important;
}

/* Der Seitenkopf wird über die Seiteneigenschaft "Seitenkopf ausblenden" gesteuert. */

.sutter-karriere-button {
    position: fixed;
    top: 210px;
    right: 35px;
    z-index: 100;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    box-sizing: border-box;
    width: 160px;
    height: 160px;
    padding: 20px;
    border-radius: 50%;

    background: var(--theme-color, #ffcc00);
    color: #000;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;

    box-shadow: 0 5px 18px rgb(0 0 0 / 15%);
    transform: rotate(-8deg);
    transition: transform 0.2s;
}

/* Feine Kreislinie innen */
.sutter-karriere-button::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgb(0 0 0 / 35%);
    border-radius: 50%;
    pointer-events: none;
}

.sutter-karriere-button strong {
    font-size: 36px;
    line-height: 1;
}

.sutter-karriere-button:hover,
.sutter-karriere-button:focus-visible {
    background: var(--theme-color, #ffcc00);
    color: #000;
    transform: rotate(0deg) scale(1.04);
}

.sutter-karriere-button:focus-visible {
    outline: 3px solid #000;
    outline-offset: 4px;
}

/* Auf kleineren Bildschirmen im Inhalt anzeigen */
@media (max-width: 991px) {
    .sutter-karriere-button {
        position: relative;
        top: auto;
        right: auto;
        z-index: auto;
        margin: 20px auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sutter-karriere-button {
        transition: none;
    }
}

/* Sutter SideMenu: */

.sidemenu-wrapper .ak-sidemenu-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Standardabstände der TYPO3-Inhaltselemente im SideMenu ersetzen */
.sidemenu-wrapper .ak-sidemenu-content > .frame {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Logo kompakt und linksbündig */
.sidemenu-wrapper .ak-sidemenu-content .frame-type-image .gallery-row {
    width: 210px;
    max-width: 100%;
    margin: 0;
}

.sidemenu-wrapper .ak-sidemenu-content .gallery-item {
    padding: 0;
    text-align: left;
}

.sidemenu-wrapper .ak-sidemenu-content figure.image {
    margin: 0;
}

.sidemenu-wrapper .ak-sidemenu-content .frame-type-image img {
    display: block;
    width: 100%;
    height: auto;
    transform: none;
    transition: none;
}

/* Grauen Bild-Hover und Zoom abschalten */
.sidemenu-wrapper .ak-sidemenu-content .frame-type-image .image::after {
    display: none;
}

.sidemenu-wrapper .ak-sidemenu-content .gallery-item:hover img,
.sidemenu-wrapper .ak-sidemenu-content .image:hover img {
    transform: none;
}

/* Text und Kontaktlinks */
.sidemenu-wrapper .ak-sidemenu-content p {
    font-size: 16px;
    line-height: 1.65;
    color: #000;
    margin: 0 0 18px;
}

.sidemenu-wrapper .ak-sidemenu-content p:last-child {
    margin-bottom: 0;
}

.sidemenu-wrapper .ak-sidemenu-content .frame-type-text a,
.sidemenu-wrapper .ak-sidemenu-content .frame-type-text a:hover,
.sidemenu-wrapper .ak-sidemenu-content .frame-type-text a:focus-visible {
    color: #000;
}

.sidemenu-wrapper .ak-sidemenu-content .frame-type-text a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Instagram mit geringem Abstand zum Text */
.sidemenu-wrapper .ak-sidemenu-content .th-social {
    margin: 0;
    padding: 0;
}

.sidemenu-wrapper .ak-sidemenu-content .th-social a {
    --icon-size: 40px;
    margin: 0;
    background-color: #000;
    color: #fff;
}

.sidemenu-wrapper .ak-sidemenu-content .th-social a:hover {
    background-color: #ffe600;
    color: #000;
}

/* Primary-Buttons mit animierter gelber Fläche */
.btn.btn-primary {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;

  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;

  color: #fff;
  background-color: #000;
  border: 1px solid #000;
  border-radius: 48px;

  transition: color 0.5s ease;
}

/* Gelbe Fläche startet rechts unten */
.btn.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-color: var(--theme-color);
  clip-path: circle(0% at 100% 100%);
  transition: clip-path 0.7s ease;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus-visible,
.btn.btn-primary:active {
  color: #000;
  background-color: #000;
  border-color: #000;
}

.btn.btn-primary:hover::before,
.btn.btn-primary:focus-visible::before,
.btn.btn-primary:active::before {
  clip-path: circle(150% at 100% 100%);
}

.btn.btn-primary:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn.btn-primary,
  .btn.btn-primary::before {
    transition: none;
  }
}

/* Textlinks innerhalb der Inhaltselemente */
.frame :where(p, li) a:not(.btn):not(.th-btn):not(.icon-btn) {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--theme-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;

  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover und Tastaturfokus: gelber Textmarker */
.frame :where(p, li) a:not(.btn):not(.th-btn):not(.icon-btn):hover,
.frame :where(p, li) a:not(.btn):not(.th-btn):not(.icon-btn):focus-visible {
  color: #000;
  background-color: var(--theme-color);
  text-decoration-color: transparent;
}

.frame :where(p, li) a:not(.btn):not(.th-btn):not(.icon-btn):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Footer: Textlinks ohne Unterstreichung */
:is(footer, .footer-wrapper) .frame :where(p, li)
a:not(.btn):not(.th-btn):not(.icon-btn) {
  text-decoration: none;
}

/* ==========================================
   Partnerlogos von Seite 32 unter dem Holz-Footer
   Beliebig viele einzelne Bild-Inhaltselemente in Spalte Normal (colPos 0).
   ========================================== */
.ak-footer-partners {
  padding: 22px 0;
  background: #fff;
  color: #222;
}

.ak-footer-partners__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 36px;
}

.ak-footer-partners__content > .frame {
  flex: 0 1 170px;
  width: 170px;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.ak-footer-partners .gallery-row {
  display: flex;
  justify-content: center;
  margin: 0;
}

.ak-footer-partners .gallery-item {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.ak-footer-partners figure {
  margin: 0;
}

.ak-footer-partners img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78px;
  margin-inline: auto;
  border-radius: 0;
}

/* Logo-Verlinkungen ohne Textmarker-Hintergrund */
.ak-footer-partners a,
.ak-footer-partners a:hover {
  background: transparent;
  text-decoration: none;
}

.ak-footer-partners a:focus-visible {
  outline: 2px solid #222;
  outline-offset: 4px;
}

/* Letztes Inhaltselement erzeugt keinen zusätzlichen unteren Abstand. */
.footer-layout2 .frame-layout-104 .ce-col > .frame:last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .ak-footer-partners {
    padding: 20px 0;
  }

  .ak-footer-partners__content {
    gap: 18px 20px;
  }

  .ak-footer-partners__content > .frame {
    flex-basis: 140px;
    width: 140px;
  }

  .ak-footer-partners img {
    max-height: 65px;
  }
}

/* Leistungen Detailseiten – oberes Bild */
.ak-service-topimage img {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(440px, 30vw, 680px);
  object-fit: cover;
  object-position: center;
}

/* Normalen Mauszeiger ohne nachlaufenden Punkt und Kreis verwenden */
.cursor,
.cursor2 {
  display: none !important;
}


.gallery-card .box-text p {
  margin-bottom: 0;
  color: #fff !important;
}


/* ==========================================
   Referenz-Detailseiten: Bildhöhe und Abstände
   ========================================== */

/* Einleitungstext oben: früher umbrechen */
body:has(.il-sutter-reference-detail) .breadcumb-text {
  max-width: 650px;
  margin-bottom: 0;
  white-space: normal;
}

/* Platz im Skizzenhintergrund für die Bildüberlappung */
body:has(.il-sutter-reference-detail) .breadcumb-wrapper {
  padding-bottom: 100px;
}

/* Referenzinhalt in den Skizzenhintergrund ziehen */
.frame.frame-type-ilsutter_referencedetail {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding-top: 0;
}

.frame-type-ilsutter_referencedetail .il-sutter-reference-detail {
  padding-top: 0;
}

/* Überschrift im Beschreibungstext: früher umbrechen */
.il-sutter-reference-detail .il-reference-content h2 {
  max-width: 560px;
  white-space: normal;
}

/* Auf dem Handy weniger Überlappung */
@media (max-width: 767px) {
  body:has(.il-sutter-reference-detail) .breadcumb-wrapper {
    padding-bottom: 72px;
  }

  .frame.frame-type-ilsutter_referencedetail {
    margin-top: -32px;
  }
}

/* Großes Bild: gleiche Höhe wie bei den Leistungen */
.il-sutter-reference-detail .il-reference-hero-image {
  height: clamp(440px, 30vw, 680px);
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
}

/* Bild flächenfüllend und Ausschnitt automatisch mittig */
.il-sutter-reference-detail .il-reference-hero-image__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

/* Weniger Abstand zwischen großem Bild und Text */
.il-sutter-reference-detail .il-reference-intro {
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* Abstand zwischen Beschreibungstext und Slider ergänzen */
.il-sutter-reference-detail .il-reference-content + .il-reference-gallery {
  margin-top: clamp(28px, 3vw, 44px);
}

/* Referenzslider: hellgrauer Hintergrund über volle Fensterbreite */
.il-sutter-reference-detail .il-reference-gallery {
  padding-block: clamp(28px, 4vw, 56px);
  background-color: #F4F4F4;

  /* Hintergrund seitlich bis zum Fensterrand erweitern */
  box-shadow: 0 0 0 100vmax #F4F4F4;
  clip-path: inset(0 -100vmax);
}

/* Beigen Hintergrund unter dem Sliderbild entfernen */
.il-sutter-reference-detail .il-reference-gallery__viewport {
  background: transparent;
  padding: 0;
}

/* Bild füllt den vorhandenen Sliderrahmen vollständig */
.il-sutter-reference-detail .il-reference-gallery__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Bildzähler unten rechts innerhalb des Bildes */
.il-sutter-reference-detail .il-reference-gallery__counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
}

/* Vorschaubilder näher zusammen und näher ans Hauptbild */
.il-sutter-reference-detail .il-reference-gallery__thumbs {
  margin-top: 6px;
  gap: 6px;
}


/* Sutter: Kundenstimme auf Referenz-Detailseiten.
   In costum.css übernehmen. Im Template die Klasse
   frame-background-quaternary zur il-reference-testimonial ergänzen. */

/* Die bisherigen Abstände von Galerie und Inhaltszeile addieren sich. */
.il-reference-main:has(+ .il-reference-testimonial) {
  margin-bottom: 32px;
}
.il-reference-main:has(+ .il-reference-testimonial) .il-reference-gallery {
  margin-bottom: 0;
}

.il-sutter-reference-detail .il-reference-testimonial {
  --ak-space-before: 0px;
  --ak-space-after: 0px;
  --frame-background: #F4F4F4;
  max-width: none;
  margin: 0 auto 48px;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 3vw, 40px);
  color: #111;
}

.il-reference-testimonial .il-reference-testimonial__header {
  margin: 0 0 28px;
  text-align: center;
}
.il-reference-testimonial .il-reference-testimonial__header .sub-title {
  display: inline-block;
  margin: 0 0 16px;
  padding: 0 16px;
  color: #111;
}
.il-reference-testimonial .il-reference-testimonial__header h2,
.il-reference-testimonial .il-reference-testimonial__header h2 span {
  color: #111;
}
.il-reference-testimonial .il-reference-testimonial__header h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.15;
}

/* Globale Blockquote-Darstellung für diese Kundenstimme zurücksetzen. */
.il-reference-testimonial .il-reference-testimonial__card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border: 0;
  background: #fff;
  color: #111;
  box-shadow: none;
  font-style: normal;
  letter-spacing: normal;
}
.il-reference-testimonial .il-reference-testimonial__card::before,
.il-reference-testimonial .il-reference-testimonial__card::after,
.il-reference-testimonial .il-reference-testimonial__profile::before,
.il-reference-testimonial .il-reference-testimonial__profile cite::before {
  content: none;
}

/* Gelbes Anführungszeichen */
.il-reference-testimonial .il-reference-testimonial__quote {
  width: auto;
  height: 52px;
  margin: 0 auto 12px;
  text-align: center;
}
.il-reference-testimonial .il-reference-testimonial__quote img {
  display: none;
}
.il-reference-testimonial .il-reference-testimonial__quote::before {
  content: '\201C';
  display: block;
  color: var(--theme-color, #FFE500);
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
}

.il-reference-testimonial .il-reference-testimonial__text,
.il-reference-testimonial .il-reference-testimonial__text p {
  color: #111;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.65;
  text-align: center;
}
.il-reference-testimonial .il-reference-testimonial__text p {
  margin: 0 0 12px;
}
.il-reference-testimonial .il-reference-testimonial__text p:last-child {
  margin-bottom: 0;
}
.il-reference-testimonial .il-reference-testimonial__profile {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  background: transparent;
}
.il-reference-testimonial .il-reference-testimonial__profile cite {
  position: static;
  display: block;
  margin: 0 0 4px;
  padding: 0;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  font-style: normal;
  white-space: normal;
}
.il-reference-testimonial .il-reference-testimonial__profile span {
  color: #555;
  font-size: 15px;
}
/* Übergang vom Bilderslider zur Kundenstimme ohne weißen Streifen */
.il-reference-main:has(+ .il-reference-testimonial) {
  margin-bottom: 0;
}

/* Grauer Bereich ohne äußeren Abstand nach unten */
.il-sutter-reference-detail .il-reference-testimonial {
  margin-bottom: 0;
}

/* Abstand des umgebenden TYPO3-Elements zum Footer entfernen */
.frame-type-ilsutter_referencedetail:has(.il-reference-testimonial) {
  --ak-space-after: 0px;
  margin-bottom: 0;
  padding-bottom: 0;
}


/* „Gschichta“ unterhalb des Video-Sliders */
.ak-video-area .ak-video-container > .ak-video-title.style2 {
    position: static;
    margin: 0px 0  25px 0;
    max-width: 100%;
    text-align: right;
}

/* Galerie und Referenznavigation ohne weißen Zwischenraum */
.il-sutter-reference-detail
.il-reference-main:has(+ .il-reference-navigation),
.il-sutter-reference-detail
.il-reference-main:has(+ .il-reference-navigation)
.il-reference-gallery {
  margin-bottom: 0;
}

/* Sutter: Startseiten-Referenzslider an die Vorschau angleichen.
   Am Ende von costum.css einfügen. Nur der Referenzslider wird verändert. */

/* Die Vorschau begrenzt den überbreiten Swiper an seiner äußeren Section. */
.frame-type-ilsutter_referenceslider {
  overflow: hidden;
}

.frame-type-ilsutter_referenceslider .il-sutter-reference-slider {
  --il-slider-ink: #111;
  --il-slider-muted: #bcbcbc;
}

/* Panoramaformat der Vorschau: 1412 × 664 statt bisher 16:9. */
.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-img {
  aspect-ratio: 1412 / 664;
  background: #f4f4f4;
  border-radius: 0;
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-wrapp {
  margin-top: 22px;
  gap: 24px;
  align-items: flex-start;
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 740px;
  margin-top: 0;
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-content .box-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 2vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

/* Die langen Detailseiten-Teaser bleiben im Datensatz vollständig erhalten. */
.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-text p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-number {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(44px, 4vw, 64px);
  line-height: 1;
  color: var(--il-slider-muted);
}

@media (max-width: 767.98px) {
  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-img {
    aspect-ratio: 16 / 9;
  }

  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-wrapp {
    flex-direction: row;
    margin-top: 16px;
    gap: 16px;
  }

  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-text {
    font-size: 15px;
  }
}
/* Ans Ende der bestehenden costum.css anhängen.
   Die vorige Ergänzung für die flacheren Bilder bleibt bestehen.
   Der Bildabstand wird durch spaceBetween im Slider.html gesteuert. */

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-img.global-img img {
  transform: scale(1);
  transition: transform 1.3s ease;
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2 .box-img.global-img::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: rgba(255, 255, 255, .3);
  z-index: 1;
  pointer-events: none;
  transition: none;
}

/* Hover an der Kachel funktioniert auch mit dem darüberliegenden Link. */
@media (hover: hover) and (pointer: fine) {
  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2:hover .box-img.global-img img {
    transform: scale(1.3);
  }

  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2:hover .box-img.global-img::after {
    height: 250%;
    background-color: transparent;
    transition: height 600ms linear, background-color 600ms linear;
  }
}

.frame-type-ilsutter_referenceslider
.il-sutter-reference-slider .project-box2:focus-within .box-img.global-img img {
  transform: scale(1.3);
}

@media (prefers-reduced-motion: reduce) {
  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-img.global-img img {
    transform: none !important;
    transition: none !important;
  }

  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-img.global-img::after {
    display: none;
  }
}

/* Google-Maps-Platzhalter – Inhaltselement 224 */
#c224 .klaro .context-notice {
  min-height: 350px;
  padding: 45px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/fileadmin/user_upload/sutter-standort.jpg")
    center / cover no-repeat;
}

#c224 .klaro .context-notice p {
  max-width: 680px;
  color: #fff;
}

#c224 .klaro .context-notice a {
  color: #fff;
  text-decoration: underline;
}

#c224 .klaro .context-notice .cm-btn {
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: #ffed00;
  color: #111;
  font-weight: 700;
}

/* Sutter Holzbau – Klaro
   Diesen gesamten Abschnitt einmal ganz unten in costum.css einfügen.
   Für das dunkle Klaro-Farbschema. */

.klaro {
  --sutter-consent-yellow: #FFE600;
  --green1: #FFE600;
  --green2: #FFE600;
  --blue1: #FFE600;
  --button-text-color: #171717;
}

/* Einheitliche Buttons in Hinweis und Einstellungsfenster */
.klaro .cookie-notice .cm-btn,
.klaro .cookie-modal .cm-btn {
  background: var(--sutter-consent-yellow) !important;
  color: #171717 !important;
  border: 1px solid var(--sutter-consent-yellow) !important;
  border-radius: 5px;
  padding: 10px 15px;
  min-height: 42px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  text-transform: none;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.klaro .cookie-notice .cm-btn:hover,
.klaro .cookie-modal .cm-btn:hover {
  background: #FFF27A !important;
  border-color: #FFF27A !important;
  color: #171717 !important;
}

/* Gelbe Links auf dunklem Hintergrund */
.klaro .cookie-notice a:not(.cm-btn),
.klaro .cookie-modal a:not(.cm-btn) {
  color: var(--sutter-consent-yellow) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.klaro .cookie-notice a:not(.cm-btn):hover,
.klaro .cookie-modal a:not(.cm-btn):hover {
  color: #FFFFFF !important;
}

.klaro .cookie-notice :is(a, button):focus-visible,
.klaro .cookie-modal :is(a, button):focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* Genug Platz für Buttons, auch am Handy */
.klaro .cookie-modal .cm-modal .cm-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.klaro .cookie-modal .cm-footer-buttons .cm-btn {
  flex: 1 1 150px;
  margin: 0;
}

.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
}

.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons .cm-btn {
  flex: 1 1 120px;
  width: auto;
  margin: 0;
}

.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-learn-more {
  flex-basis: 100%;
  margin-bottom: 10px;
}

/* Theme-Checkbox-Styling gezielt innerhalb von Klaro zurücksetzen.
   Das globale Theme setzt Labels auf position:relative und erzeugt
   zusätzliche Kästchen. Dadurch lagen die Klaro-Schalter über dem Text. */
.klaro .cookie-modal .cm-modal .cm-body li.cm-service,
.klaro .cookie-modal .cm-modal .cm-body li.cm-purpose {
  position: relative;
  padding-left: 68px !important;
  margin-bottom: 18px;
  min-height: 32px;
  list-style: none;
}

.klaro .cookie-modal .cm-modal .cm-body .cm-list-label {
  position: static !important;
  display: block;
  padding: 0 !important;
  margin: 0 0 6px !important;
  min-height: 30px;
  line-height: 1.5;
  color: #FFFFFF !important;
}

.klaro .cookie-modal .cm-list-label::before,
.klaro .cookie-modal .cm-list-label::after {
  content: none !important;
  display: none !important;
}

.klaro .cookie-modal .cm-modal .cm-body .cm-list-label .cm-switch {
  position: absolute;
  left: 0;
  width: 50px;
  height: 30px;
  margin: 0;
}

.klaro .cookie-modal .cm-modal .cm-body .cm-list-title {
  color: #FFFFFF !important;
}

.klaro .cookie-modal .cm-modal .cm-body .cm-list-description {
  color: #DDDDDD;
  line-height: 1.6;
}

/* Unsichtbare echte Checkbox für Tastaturbedienung wieder aktivieren */
.klaro .cookie-modal input.cm-list-input[type="checkbox"] {
  display: block !important;
  visibility: visible !important;
  position: absolute;
  width: 50px;
  height: 30px;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.klaro .cookie-modal .cm-list-label .slider {
  background: #777777;
  box-shadow: none;
}

.klaro .cookie-modal .cm-list-label .slider::before {
  background: #FFFFFF;
}

.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider {
  background: var(--sutter-consent-yellow);
}

.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider::before {
  background: #171717;
}

.klaro .cookie-modal .cm-list-input:focus-visible + .cm-list-label .slider {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* Accordion: vererbte weiße Textfarbe korrigieren */
.faq-accordion.pp-accordion-custom .ce-accordion-body {
    --frame-color: #2a1b12;
    color: #2a1b12;
}

.faq-accordion.pp-accordion-custom .ce-accordion-body p {
    margin-top:35px;
}
/* ==========================================
   Sutter – Handy-Korrekturen, 21.09.2026
   ========================================== */
@media (max-width: 767.98px) {
  /* Gleiche Slide-Hoehen: der Hintergrund fuellt auch kuerzere Slides aus. */
  .hero-7 .showcase-slider-active > .swiper-wrapper {
    align-items: stretch;
  }

  .hero-7 .showcase-slider-active > .swiper-wrapper > .swiper-slide {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-7 .hero-style7 {
    text-align: left;
  }

  .hero-7 .hero-style7 .hero-title {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.12;
    margin-bottom: 24px;
    text-align: left;
  }

  /* Block-Layout verhindert Flex-Abstaende durch leere Absatz-Wrapper. */
  .hero-7 .hero-style7 .btn-group {
    display: block;
    text-align: left;
  }

  .hero-7 .hero-style7 p {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 24px;
    text-align: left;
  }

  /* Nur der Oeffnen-Button im Header; Schliessen-Button separat belassen. */
  .th-header .th-menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 18px;
    line-height: 44px;
    vertical-align: middle;
  }
}

/* Das aufklappbare Menue wird auch auf Tablets verwendet. */
@media (max-width: 1199.98px) {
  .th-menu-wrapper .mobile-logo {
    padding: 20px 40px 20px 20px;
  }

  .th-menu-wrapper .mobile-logo > a {
    display: block;
    width: 170px;
    max-width: 100%;
    margin-inline: auto;
    line-height: 0;
  }

  .th-menu-wrapper .mobile-logo img,
  .th-menu-wrapper .mobile-logo svg {
    display: block;
    width: 100%;
    max-width: 170px;
    height: auto;
  }
}

/* ==========================================
   Sutter – gemeinsame Handybreite und kompakter Footer
   21.09.2026, Ergaenzung zu den Slider-/Menuekorrekturen
   ========================================== */
@media (max-width: 767.98px) {
  body:has(.ak-home-header) {
    --ak-frame-gutter: 16px;
  }

  /* Ein Aussenabstand; verschachtelte TYPO3-Rahmen addieren ihn nicht. */
  :where(body:has(.ak-home-header)) .frame-fullwidth {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  :where(body:has(.ak-home-header)) :is(
    #about-sec > .container,
    .hero-7 .container,
    .frame-type-agentur_kresser_ak_service_teaser_home > .container,
    .frame-fullwidth > .container
  ) {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: 16px;
  }

  :where(body:has(.ak-home-header)) .frame-fullwidth > .container > .row {
    margin-inline: 0;
  }

  :where(body:has(.ak-home-header)) .frame-fullwidth:not(.frame-layout-103) > .container > .row > .ce-col {
    padding-inline: 0;
  }

  :where(body:has(.ak-home-header)) .ce-col > .frame-default {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  /* Bild im About-Bereich ueber die gemeinsame Inhaltsbreite ziehen. */
  :where(body:has(.ak-home-header)) .img-box9_wrapp > div:last-child,
  :where(body:has(.ak-home-header)) .img-box9_wrapp .th-clip-anim,
  :where(body:has(.ak-home-header)) .img-box9_wrapp .th-clip-anim img {
    width: 100%;
  }

  :where(body:has(.ak-home-header)) .frame-type-ilsutter_referenceslider {
    padding-inline: 16px;
  }

  :where(body:has(.ak-home-header)) .frame-type-ilsutter_referenceslider .il-sutter-reference-slider {
    margin-inline: 0;
    padding-inline: 0;
  }

  /* Gelbe Linie behalten, den bisherigen zusaetzlichen Einzug reduzieren. */
  :where(body:has(.ak-home-header)) .frame-layout-101 {
    padding-left: 14px;
    border-left-width: 2px;
  }

  :where(body:has(.ak-home-header)) .frame-layout-101 ul.list-check > li {
    padding-left: 28px;
  }

  :where(body:has(.ak-home-header)) .frame-layout-101 ul.list-check > li::before {
    left: 0 !important;
    width: 20px !important;
  }

  .frame-type-ce_columns2.frame-layout-103 > .container {
    width: calc(100% - 32px);
    padding-inline: 0;
  }

  /* Nur der erklaerende Absatz vor dem Formular, keine Formularhinweise. */
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child p {
    display: none;
  }

  .frame-type-ce_columns2.frame-layout-103 > .container > .row {
    gap: 26px;
  }

  .frame-layout-103 .ce-col:first-child .frame-header {
    margin-bottom: 0;
  }

  .frame-layout-103 .ce-col:first-child .element-header {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.15;
    margin-bottom: 0;
  }
}

/* Kompakter Footer auch auf Tablets bis einschliesslich 1024 px. */
@media (max-width: 1024px) {
  .footer-layout2 .widget-area {
    padding: 36px 0 24px !important;
    text-align: left;
  }

  .footer-layout2 .widget-area > .container {
    width: calc(100% - 32px);
    max-width: none;
    padding-inline: 0;
  }

  .footer-layout2 .frame-type-ce_columns4.frame-layout-104 > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* Leistungen stehen im Hauptmenue; den grossen Slogan mobil weglassen. */
  .footer-layout2 .frame-layout-104 > .row > .ce-col:nth-child(2),
  .footer-layout2 .frame-layout-104 > .row > .ce-col:nth-child(4),
  .footer-layout2 .frame-layout-104 > .row > .ce-col:nth-child(3) .frame-header {
    display: none;
  }

  .footer-layout2 .frame-layout-104 > .row > .ce-col:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
  }

  .footer-layout2 .frame-layout-104 > .row > .ce-col:first-child > .frame {
    flex: 0 0 100%;
    margin: 0;
  }

  .footer-layout2 .frame-layout-104 .frame-header {
    margin-bottom: 0;
  }

  /* Nur Telefon, E-Mail und Instagram werden zu Icon-Links. */
  .footer-layout2 .frame-layout-104 .ce-col:first-child > .frame-type-texticon:has(a:is([href^="tel:"], [href^="mailto:"], [data-mailto-token], [href*="instagram.com/"])) {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 4px 0 0;
  }

  .footer-layout2 .frame-layout-104 .frame-type-texticon:has(a:is([href^="tel:"], [href^="mailto:"], [data-mailto-token], [href*="instagram.com/"])) :is(.texticon-icon, .texticon-inner-icon) {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .footer-layout2 .frame-layout-104 .frame-type-texticon:has(a:is([href^="tel:"], [href^="mailto:"], [data-mailto-token], [href*="instagram.com/"])) .texticon-content {
    position: static;
    padding: 0;
  }

  /* Vorhandenen Link ueber das Icon legen. Text bleibt fuer Screenreader
     erhalten; TYPO3-Mailverschluesselung und Linkziele bleiben erhalten. */
  .footer-layout2 .frame-layout-104 .ce-col:first-child .frame-type-texticon a:is([href^="tel:"], [href^="mailto:"], [data-mailto-token], [href*="instagram.com/"]) {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    white-space: nowrap;
    text-indent: -9999px;
  }

  .footer-layout2 .frame-layout-104 .frame-type-texticon:focus-within .texticon-inner-icon {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }

  .footer-layout2 .frame-layout-104 .ce-col:nth-child(3) ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
  }

  .footer-layout2 .frame-layout-104 .ce-col:nth-child(3) li {
    margin: 0;
    padding: 0;
  }

  .footer-layout2 .frame-layout-104 .ce-col:nth-child(3) li::before {
    content: none;
  }

  .footer-layout2 .copyright-wrap {
    padding-block: 16px;
  }

  .footer-layout2 .copyright-text {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* ==========================================
   Sutter – About-Reihenfolge und Footer-Rand
   Handy / Tablet bis 1024 px, 21.09.2026
   ========================================== */
@media (max-width: 1024px) {
  /* Rand am aeusseren Footer setzen, damit innere Container ihn nicht verlieren. */
  .footer-layout2 .widget-area {
    padding-inline: 28px !important;
  }

  .footer-layout2 .widget-area > .container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  .footer-layout2 .copyright-wrap > .container {
    width: 100%;
    max-width: none;
    padding-inline: 28px;
  }

  /* Bestehende Spalten fuer die mobile Reihenfolge in ein Grid aufloesen. */
  #about-sec > .container {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }

  #about-sec > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start !important;
    justify-content: stretch !important;
    gap: 0;
    margin: 0;
  }

  #about-sec > .container > .row > :is(.col-xl-5, .col-xl-7),
  #about-sec > .container > .row > :is(.col-xl-5, .col-xl-7) > .title-area {
    display: contents;
  }

  #about-sec .col-xl-5 > .title-area > .sub-title {
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 16px;
  }

  #about-sec .col-xl-7 > .title-area > .sec-title {
    grid-column: 1;
    grid-row: 2;
    margin: 0 0 24px;
    font-size: clamp(30px, 6.5vw, 46px);
    line-height: 1.15;
  }

  #about-sec .img-box10 {
    grid-column: 1;
    grid-row: 3;
    position: relative;
    width: 100%;
    margin: 0 0 24px;
  }

  #about-sec .img-box10 .th-clip-anim,
  #about-sec .img-box10 .th-clip-anim img {
    display: block;
    width: 100%;
  }

  #about-sec .img-box10 .th-clip-anim img {
    height: auto;
  }

  /* Video direkt auf dem Bild; kein eigener hoher Bereich fuer die Kreis-Schrift. */
  #about-sec .img-box10 .about-wrapp2 {
    position: absolute;
    inset: 0;
    z-index: 5;
    margin: 0;
    pointer-events: none;
  }

  #about-sec .img-box10 .discount-tag {
    display: none;
  }

  #about-sec .img-box10 .discount-wrapp .play-btn {
    width: 64px;
    height: 64px;
    background: #ffe600;
    color: #111;
    pointer-events: auto;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.18);
  }

  #about-sec .img-box10 .discount-wrapp .play-btn > i {
    width: auto;
    height: auto;
    line-height: 1;
    font-size: 23px;
    color: #111;
  }

  #about-sec .img-box10 .play-btn:focus-visible {
    outline: 3px solid #111;
    outline-offset: 4px;
  }

  #about-sec .col-xl-7 > .title-area > div {
    grid-column: 1;
    grid-row: 4;
    margin: 0 0 24px;
  }

  #about-sec .col-xl-7 > .title-area > div > .mb-60 {
    margin-bottom: 0 !important;
  }

  #about-sec .col-xl-7 > .title-area > div p:last-child {
    margin-bottom: 0;
  }

  #about-sec .col-xl-7 > .title-area > .box-title3 {
    display: none;
  }

  #about-sec .img-box9 {
    grid-column: 1;
    grid-row: 5;
    width: 100%;
    margin: 0;
  }

  #about-sec .img-box9_wrapp {
    display: block;
    width: 100%;
    margin: 0;
  }

  /* Nur das zweite, zusaetzliche About-Bild ausblenden. */
  #about-sec .img-box9_wrapp > div:not(.counter-box_wrapp) {
    display: none;
  }

  #about-sec .counter-box_wrapp {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 22px 12px;
    background: #ffe600;
    color: #111;
  }

  #about-sec .img-box9 .counter-box {
    min-width: 0;
    margin: 0;
    padding: 0 8px;
    text-align: center;
  }

  #about-sec .counter-box + .counter-box {
    border-left: 1px solid rgba(0, 0, 0, 0.22);
  }

  #about-sec .img-box9 .counter-box .box-number {
    margin: 0 0 8px;
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 700;
    line-height: 1;
    color: #111;
  }

  #about-sec .img-box9 .counter-box .box-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    color: #111;
  }
}

/* ==========================================
   Sutter – kompakte Abstaende und Videokreis
   Handy / Tablet bis 1024 px, 21.09.2026
   ========================================== */
@media (max-width: 1024px) {
  :root {
    /* Backend-Stufen mobil einheitlich; "kein Abstand" bleibt null. */
    --ak-space-xs: 16px;
    --ak-space-sm: 16px;
    --ak-space-md: 16px;
    --ak-space-lg: 16px;
    --ak-space-xl: 16px;
  }

  /* Feste Section-Paddings unabhaengig von den Backend-Stufen reduzieren. */
  :is(.space-xs, .space-ak, .space-ak-1, .space-ak-10) {
    padding-block: 32px;
  }

  .space, .space-top, .space-extra, .space-extra-top,
  .space-extra2, .space-extra2-top {
    padding-top: 32px;
  }

  .space, .space-bottom, .space-extra, .space-extra-bottom,
  .space-extra2, .space-extra2-bottom, .space-anja {
    padding-bottom: 32px;
  }

  .frame-type-ce_columns2.frame-layout-103 {
    padding-block: 32px;
  }

  /* Gleicher kurzer Abstand zwischen Subheadline und Headline. */
  .frame-header.sec-title > .sub-title {
    display: block;
    width: fit-content;
    margin: 0 0 12px;
  }

  .frame-header.sec-title {
    margin-bottom: 24px;
  }

  .frame-type-ce_accordion > .frame-header.sec-title {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .frame-type-ce_accordion > .frame-header.sec-title > :is(.sub-title, .element-header) {
    margin: 0;
  }

  /* Leistungen: 20 px von der Headline bis zum Bildbereich. */
  .frame-type-agentur_kresser_ak_service_teaser_home .title-area {
    margin-bottom: 20px;
  }

  .frame-type-agentur_kresser_ak_service_teaser_home .title-area .sub-title {
    margin-bottom: 12px;
  }

  .frame-type-agentur_kresser_ak_service_teaser_home .title-area .sec-title {
    margin-bottom: 0;
  }

  .frame-type-agentur_kresser_ak_service_teaser_home .ak-service-teaser-slider {
    margin-top: 0;
    padding-top: 0;
  }

  .frame-type-agentur_kresser_ak_service_teaser_home .ak-service-teaser-slider > .swiper-wrapper {
    margin-top: 0;
    row-gap: 24px;
  }

  .frame-type-agentur_kresser_ak_service_teaser_home .ak-service-teaser-slider > .swiper-wrapper > .swiper-slide {
    margin-top: 0;
  }

  .frame-type-agentur_kresser_ak_service_teaser_home .text-center.mt-50 {
    margin-top: 24px !important;
  }

  /* Einleitung und Referenzslider: keine addierten Button-/Swiper-Abstaende. */
  .frame-type-ce_columns2:has(+ .frame-type-ilsutter_referenceslider) .sec-btn {
    margin-block: 0;
  }

  .frame-type-ilsutter_referenceslider.frame-no-spacing {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .frame-type-ilsutter_referenceslider .il-sutter-reference-slider {
    margin-block: 0 !important;
    padding-block: 0;
  }

  .frame-type-ilsutter_referenceslider .il-sutter-reference-slider > .swiper-wrapper {
    padding-block: 0;
  }

  /* Foto und separater rotierender Videokreis statt Playbutton auf dem Haus. */
  #about-sec .img-box10 {
    display: flex;
    flex-direction: column;
  }

  #about-sec .img-box10 .about-wrapp2 {
    position: relative;
    inset: auto;
    order: 2;
    flex: 0 0 146px;
    width: 146px;
    height: 146px;
    margin: 16px auto 0;
    pointer-events: auto;
  }

  #about-sec .img-box10 .about-wrapp2 .discount-wrapp {
    position: absolute;
    top: 0;
    left: 0;
    width: 185px;
    height: 185px;
    margin: 0;
    transform: scale(0.78);
    transform-origin: top left;
  }

  #about-sec .img-box10 .discount-tag {
    display: inline-block;
  }

  #about-sec .img-box10 .discount-wrapp .play-btn {
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  #about-sec .img-box10 .discount-tag {
    animation: none;
  }
}

/* Sutter: manuelle Werte- und Arbeitsweise-Slider, 21.09.2026 */
.ak-values-slider > .swiper-wrapper,
.ak-work-slider > .swiper-wrapper {
  align-items: stretch;
}
.ak-values-slider > .swiper-wrapper > .swiper-slide,
.ak-work-slider > .swiper-wrapper > .swiper-slide {
  height: auto;
  box-sizing: border-box;
}
.ak-text-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding: 4px 4px 12px;
}
.ak-text-slider-controls[hidden] { display: none; }
.ak-text-slider-controls > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffe600;
  border-radius: 50%;
  background: #ffe600;
  color: #111;
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}
.ak-text-slider-controls > button:disabled {
  opacity: .35;
  cursor: default;
}
.ak-text-slider-controls .ak-text-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: auto;
  gap: 0;
  position: static;
  transform: none;
}
.ak-text-slider-controls .swiper-pagination-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 44px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  cursor: pointer;
}
.ak-text-slider-controls .swiper-pagination-bullet::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid #777;
  border-radius: 50%;
  background: #ccc;
  transform: none;
  position: static;
}
.ak-values-slider .swiper-pagination-bullet::before {
  border-color: #999;
  background: #777;
}
.ak-text-slider-controls .swiper-pagination-bullet-active::before {
  background: #ffe600;
  border-color: #948500;
  transform: scale(1.2);
}
.ak-text-slider-controls button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.ak-values-slider .ak-text-pagination button:focus-visible { outline-color: #ffe600; }
.row.sutter-work-slider.ak-work-slider-active {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}
.sutter-work-slider.ak-work-slider-active > .ce-col:first-child {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
}
.sutter-work-slider.ak-work-slider-active > .ak-work-slider {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 24px 0 0;
  padding: 0;
  overflow: hidden;
}
.ak-work-slider > .swiper-wrapper > .ce-col.swiper-slide {
  flex-shrink: 0;
  flex-basis: auto;
  max-width: none;
  margin-top: 0;
  padding-inline: 16px;
}
.ak-work-slider .ce-col > .frame {
  width: 100%;
  margin-block: 0;
  padding-block: 0;
}
.ak-work-slider .texticon-content { text-align: center; }
.ak-work-slider .texticon-content p:last-child { margin-bottom: 0; }
/* Vor der JS-Initialisierung bleiben alle Werte als normales Raster lesbar. */
.ak-values-slider:not(.swiper-initialized) > .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
}

/* Werte- und Arbeitsweise-Slider: nur runde Punkte, kompaktere Abstände – 21.09.2026 */
:is(.ak-values-slider, .ak-work-slider) .ak-text-slider-controls > .ak-text-prev,
:is(.ak-values-slider, .ak-work-slider) .ak-text-slider-controls > .ak-text-next {
  display: none;
}
:is(.ak-values-slider, .ak-work-slider) .ak-text-slider-controls {
  margin-top: 4px;
  padding: 0 4px 12px;
}
:is(.ak-values-slider, .ak-work-slider).th-slider.has-shadow > .swiper-wrapper {
  padding-bottom: 0;
}
:is(.ak-values-slider, .ak-work-slider) .ak-text-slider-controls .ak-text-pagination {
  gap: 4px;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  line-height: 1;
}
/* Den Theme-Hintergrund am aktiven BUTTON neutralisieren.
   Sichtbar ist nur der runde Punkt; die große Klickfläche bleibt erhalten. */
:is(.ak-values-slider, .ak-work-slider) .ak-text-pagination button.swiper-pagination-bullet,
:is(.ak-values-slider, .ak-work-slider) .ak-text-pagination button.swiper-pagination-bullet-active {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
:is(.ak-values-slider, .ak-work-slider) .ak-text-pagination button.swiper-pagination-bullet::before {
  width: 10px;
  height: 10px;
  border: 1px solid #aaa;
  border-radius: 50%;
  background: #777;
  transform: none;
}
:is(.ak-values-slider, .ak-work-slider) .ak-text-pagination button.swiper-pagination-bullet-active::before {
  width: 12px;
  height: 12px;
  border-color: #ffe600;
  background: #ffe600;
}
@media (max-width: 1199.98px) {
  .choose-area:has(.ak-values-slider) {
    padding-top: 56px;
  }
  .choose-area:has(.ak-values-slider) .title-area {
    margin-bottom: 20px;
  }
  .choose-area:has(.ak-values-slider) .title-area .sec-title {
    margin-bottom: 0;
  }
  .choose-area:has(.ak-values-slider) > .container > hr {
    margin-block: 16px 0;
  }
  .choose-area:has(.ak-values-slider) .slider-wrap.mt-60 {
    margin-top: 24px;
  }
}

/* Arbeitsweise: Überschrift und Einleitung über dem mobilen Slider zentrieren. */
.sutter-work-slider.ak-work-slider-active > .ce-col:first-child,
.sutter-work-slider.ak-work-slider-active > .ce-col:first-child :is(.frame, .frame-header, .element-header, .element-subheader, p) {
  text-align: center !important;
}
.sutter-work-slider.ak-work-slider-active > .ce-col:first-child > .frame {
  margin-inline: auto;
}

/* Handy: weiße Skizzen-Hintergründe seitenweit groß und oben ausrichten.
   Die vorhandene Hintergrundebene ist bereits 100vw breit. */
@media (max-width: 767.98px) {
  .frame-background-quaternary,
  .frame-background-quaternary.frame-background-pattern {
    --frame-background-position: center top;
    --frame-background-size: 100% auto;
  }
}

/* ==========================================
   Sutter – Referenzslider mobil / Tablet
   Aktuelle costum.css, 21.09.2026
   ========================================== */
@media (max-width: 1024px) {
  /* Hoehere Bildflaeche auf kleinen Displays. */
  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-img {
    aspect-ratio: 4 / 3;
  }

  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Wie der normale Bodytext in style.css; bestehende Zweizeilen-Kuerzung bleibt. */
  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-text,
  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-text p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.75;
    margin: 0;
  }

  .frame-type-ilsutter_referenceslider
  .il-sutter-reference-slider .project-box2 .box-wrapp {
    margin-top: 14px;
    gap: 16px;
  }

  /* Oben kompakt, unten mehr Luft zum naechsten Abschnitt. */
  .frame-type-ilsutter_referenceslider.frame {
    margin-block: 0 !important;
    padding-block: 16px 40px !important;
  }

  .frame-type-ilsutter_referenceslider .il-sutter-reference-slider,
  .frame-type-ilsutter_referenceslider .il-sutter-reference-slider > .swiper-wrapper {
    margin-block: 0 !important;
    padding-block: 0;
  }

  /* Abstand vom vorgeschalteten Button nicht nochmals addieren. */
  .frame-type-ce_columns2:has(+ .frame-type-ilsutter_referenceslider),
  .frame-type-ce_columns2:has(+ .frame-type-ilsutter_referenceslider) > .container,
  .frame-type-ce_columns2:has(+ .frame-type-ilsutter_referenceslider) .ce-col > .frame,
  .frame-type-ce_columns2:has(+ .frame-type-ilsutter_referenceslider) .sec-btn {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Rein dekorativer Trenner direkt nach dem Slider: kein zusaetzlicher Leerraum. */
  .frame-type-ilsutter_referenceslider + .frame-type-div {
    display: none;
  }
}

/* Sutter: kompakte Inhaltslisten und kraeftigere Akzentlinie, 21.09.2026. */
@media (max-width: 1024px) {
  .frame-layout-101 {
    border-left-width: 4px;
    padding-left: 20px;
  }

  /* Inhaltslisten: auch umgebrochene Zeilen und Absaetze kompakter. */
  :is(.frame-type-text, .frame-type-textpic, .frame-type-textmedia) :is(ul, ol) > li,
  :is(.frame-type-text, .frame-type-textpic, .frame-type-textmedia) :is(ul, ol) > li > p,
  ul.list-check > li,
  ul.list-check > li > p {
    line-height: 1.4;
  }

  ul.list-check {
    row-gap: 8px;
  }

  ul.list-check > li > p {
    margin-block: 0;
  }

  /* Haken innerhalb der eingerueckten Liste, nicht auf der Akzentlinie. */
  .frame-layout-101 ul.list-check {
    margin-left: 0;
    padding-left: 0;
  }

  .frame-layout-101 ul.list-check > li {
    padding-left: 28px;
    margin-left: 0;
  }

  .frame-layout-101 ul.list-check > li::before {
    left: 0 !important;
    top: 0 !important;
    width: 20px !important;
    height: 1.4em !important;
    font-size: inherit !important;
    margin: 0 !important;
    transform: none !important;
    background: none !important;
  }
}

/* Sutter: Videokreis neben der Headline, Handy / Tablet, 21.09.2026. */
@media (max-width: 1024px) {
  #about-sec {
    --about-video-size: 96px;
    --about-video-scale: 0.518918919;
  }

  #about-sec > .container > .row {
    grid-template-columns: minmax(0, 1fr) var(--about-video-size);
    column-gap: 12px;
  }

  /* Beide Klammern bleiben unmittelbar beim Text. */
  #about-sec .col-xl-5 > .title-area > .sub-title {
    grid-column: 1 / -1;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
  }

  #about-sec .col-xl-7 > .title-area > .sec-title {
    min-width: 0;
    align-self: center;
  }

  /* Bild und Kreis werden eigenstaendige Elemente des bestehenden Grids. */
  #about-sec .img-box10 {
    display: contents;
  }

  #about-sec .img-box10 > .about-wrapp2 {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    position: relative;
    inset: auto;
    width: var(--about-video-size);
    height: var(--about-video-size);
    margin: 0 0 24px;
    order: 0;
  }

  #about-sec .img-box10 .about-wrapp2 .discount-wrapp {
    transform: scale(var(--about-video-scale));
  }

  /* Nach der Skalierung bleibt die Klickflaeche mindestens 44 px gross. */
  #about-sec .img-box10 .discount-wrapp .play-btn {
    width: 104px;
    height: 104px;
  }

  #about-sec .img-box10 .discount-wrapp .play-btn > i {
    font-size: 34px;
  }

  #about-sec .img-box10 > div:not(.about-wrapp2) {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
    width: 100%;
    margin: 0 0 24px;
  }

  #about-sec .col-xl-7 > .title-area > div,
  #about-sec .img-box9 {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #about-sec {
    --about-video-size: 120px;
    --about-video-scale: 0.648648649;
  }
}

@media (max-width: 359px) {
  #about-sec {
    --about-video-size: 80px;
    --about-video-scale: 0.432432433;
  }
}

/* Sutter: einheitliche mobile Raender und Textmasse, 21.09.2026.
   Footer und Partnerleiste behalten ihre bisherigen Regeln. */
@media (max-width: 1024px) {
  :root {
    --sutter-mobile-gutter: 25px;
    --sutter-mobile-text: 1.1rem;
    --sutter-mobile-leading: 1.45;
  }

  /* Header: die sichtbaren Kanten von Logo und Menue liegen auf 25 px. */
  .th-header > .sticky-wrapper > .container {
    width: 100%;
    max-width: none;
    padding-inline: var(--sutter-mobile-gutter) !important;
  }

  .th-header .menu-area {
    padding-inline: 0;
  }

  .th-header .menu-area > .row {
    margin-inline: 0;
    --bs-gutter-x: 0;
  }

  .th-header .menu-area > .row > .col-auto,
  .th-header .header-logo {
    padding-inline: 0;
  }

  .th-header :is(.header-logo, .header-button, .th-menu-toggle) {
    margin-inline: 0;
  }

  .th-header .th-menu-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    font-size: 18px;
    line-height: 44px;
  }

  /* Ein Aussenrand pro Inhaltsblock, keine Addition verschachtelter Container. */
  body > .frame {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: var(--sutter-mobile-gutter) !important;
  }

  .container:not(:where(.frame *, .th-header *, .container *, footer *, .ak-footer-partners *, .th-menu-wrapper *, .sidemenu-wrapper *)),
  #about-sec > .container,
  .hero-7 .container {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: var(--sutter-mobile-gutter) !important;
  }

  .frame .container:not(:where(footer *, .ak-footer-partners *)),
  .container .container:not(:where(footer *, .ak-footer-partners *, .th-header *, .th-menu-wrapper *, .sidemenu-wrapper *)) {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  .frame :is(.frame-default, .frame-fullwidth):not(:where(footer *, .ak-footer-partners *)) {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .frame .frame-fullwidth:not(:where(footer *, .ak-footer-partners *)) {
    padding-inline: 0;
  }

  /* Bootstrap-Spalten: innen Abstand, aussen buendig zum Container. */
  body > .frame > .container > .row:not(.swiper-wrapper),
  body > .frame > .row:not(.swiper-wrapper) {
    --bs-gutter-x: 24px;
    margin-inline: -12px;
  }

  body > .frame > .container > .row > .ce-col,
  body > .frame > .row > .ce-col {
    padding-inline: 12px;
  }

  body > .frame-layout-102 > .container > .row > .ce-col {
    padding-inline: 12px !important;
  }

  /* Das Formular verwendet ein eigenes Grid ohne Bootstrap-Spaltenabstand. */
  body > .frame-layout-103 > .container > .row {
    margin-inline: 0;
  }

  body > .frame-layout-103 > .container > .row > .ce-col {
    padding-inline: 0;
  }

  /* Slider-Schatten und negative Slider-Raender nicht zum Aussenrand addieren. */
  .frame-type-ilsutter_referenceslider .il-sutter-reference-slider,
  .frame-type-agentur_kresser_ak_service_teaser_home .ak-service-teaser-slider {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  .frame-type-agentur_kresser_ak_service_teaser_home .ak-service-teaser-slider > .swiper-wrapper {
    margin-inline: 0;
  }

  .frame-type-image :is(.gallery-row, .gallery-item, figure, .image):not(:where(footer *, .ak-footer-partners *)) {
    margin-inline: 0;
    max-width: 100%;
  }

  /* Fliesstext inklusive Breadcrumb-Einleitung und Listen vereinheitlichen.
     Ueberschriften, Navigation, Formularfelder und Footer behalten eigene Groessen. */
  body :is(p, .fs-18, .box-text, .breadcumb-subtitle):not(:where(footer *, .ak-footer-partners *, .th-menu-wrapper *, .sidemenu-wrapper *, .klaro *)),
  .frame :is(ul, ol) > li:not(:where(footer *, .ak-footer-partners *, .th-menu-wrapper *, .sidemenu-wrapper *)),
  .breadcumb-menu :is(li, a, span) {
    font-size: var(--sutter-mobile-text) !important;
    line-height: var(--sutter-mobile-leading) !important;
  }

  .breadcumb-wrapper {
    padding-block: 32px;
    background-color: #fcfcfc;
    background-size: auto clamp(200px, 40vw, 280px);
    background-position: 60% top;
    background-repeat: no-repeat;
  }

  .breadcumb-content {
    max-width: none;
    padding: 0;
  }

  .breadcumb-subtitle {
    max-width: none;
    margin-bottom: 0;
  }

  /* Groesserer Videokreis, dessen unterer Rand hinter dem Foto liegt. */
  #about-sec {
    --about-video-size: 128px;
    --about-video-scale: 0.691891892;
  }

  #about-sec .col-xl-7 > .title-area > .sec-title {
    overflow-wrap: anywhere;
  }

  #about-sec .img-box10 > .about-wrapp2 {
    align-self: end;
    margin-bottom: -32px;
    z-index: 1;
  }

  #about-sec .img-box10 > div:not(.about-wrapp2) {
    position: relative;
    z-index: 3;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #about-sec {
    --about-video-size: 160px;
    --about-video-scale: 0.864864865;
  }
}

@media (max-width: 359px) {
  #about-sec {
    --about-video-size: 112px;
    --about-video-scale: 0.605405405;
  }
}

/* Sutter: FAQ-/Anfrageraender und kompakte Formularbox, 21.09.2026. */
@media (max-width: 1024px) {
  .frame-type-ce_columns2:has(.frame-type-ce_accordion),
  .frame-type-ce_columns2.frame-layout-103 {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 25px !important;
  }

  .frame-type-ce_columns2:has(.frame-type-ce_accordion) > .container > .row,
  .frame-type-ce_columns2.frame-layout-103 > .container > .row {
    --bs-gutter-x: 0;
    margin-inline: 0 !important;
  }

  .frame-type-ce_columns2:has(.frame-type-ce_accordion) > .container > .row > .ce-col,
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col {
    min-width: 0;
    padding-inline: 0 !important;
  }

  /* Auch auf dem Tablet die FAQ und das Formular in voller Inhaltsbreite. */
  .frame-type-ce_columns2:has(.frame-type-ce_accordion) > .container > .row > .ce-col {
    width: 100%;
    max-width: none;
  }

  .frame-type-ce_columns2.frame-layout-103 > .container > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .frame-type-ce_columns2:has(.frame-type-ce_accordion) .frame-type-ce_accordion {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  /* Die weisse Box braucht einen eigenen Innenabstand, unabhaengig vom Grid. */
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:last-child {
    padding: 24px 25px !important;
    background: #fff;
  }

  .frame-layout-103 .form-element {
    margin-bottom: 14px !important;
  }

  /* Name/E-Mail: keine doppelten Abstaende von Zeile und Kindfeldern. */
  .frame-layout-103 .form-element-gridrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-inline: 0;
  }

  .frame-layout-103 .form-element-gridrow > [class*="col-"] {
    width: 100%;
    min-width: 0;
    padding: 0;
    margin-top: 0;
  }

  .frame-layout-103 .form-element-gridrow > [class*="col-"] > .form-element {
    margin-bottom: 0 !important;
  }

  .frame-layout-103 input.form-control,
  .frame-layout-103 select.form-select {
    height: 48px;
    min-height: 48px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.4;
  }

  .frame-layout-103 select.form-select {
    padding-right: 42px;
  }

  .frame-layout-103 textarea.form-control {
    height: 112px;
    min-height: 112px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.4;
  }

  .frame-layout-103 .form-actions {
    margin-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .frame-layout-103 .form-element-gridrow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Sutter: Auszeichnungen als Karten.
   Ausschliesslich die bestehenden Inhaltsraster c162 / c180. */
:is(#c162, #c180) {
  --ak-space-before: 0px;
  --ak-space-after: 0px;
  padding-block: 32px 0;
}

#c180 {
  padding-top: 24px;
  padding-bottom: 40px;
}

:is(#c162, #c180) .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

:is(#c162, #c180) .row > .ce-col {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
}

:is(#c162, #c180) .row > .ce-col:not(:has(.textpic)) {
  display: none;
}

:is(#c162, #c180) .textpic {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "image";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 18px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

:is(#c162, #c180) .textpic > .textpic-item {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

:is(#c162, #c180) .textpic-gallery {
  grid-area: image;
}

:is(#c162, #c180) .textpic-text {
  grid-area: text;
  align-self: center;
}

:is(#c162, #c180) .textpic-text p {
  margin: 0;
  text-align: center !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere;
}

:is(#c162, #c180) .textpic-text p > strong:first-child {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

:is(#c162, #c180) .textpic-text p > strong:last-child {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

:is(#c162, #c180) .textpic-gallery :is(.gallery-row, .gallery-item, figure, picture) {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
}

:is(#c162, #c180) .textpic-gallery figure {
  max-width: 180px;
  margin-inline: auto;
}

:is(#c162, #c180) .textpic-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

:is(#c162, #c180) .textpic-gallery figure::after {
  content: none;
}

:is(#c162, #c180) .textpic-gallery a:focus-visible {
  display: block;
  outline: 2px solid #111;
  outline-offset: 4px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  :is(#c162, #c180) .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #c180 {
    padding-top: 16px;
  }
}

@media (max-width: 767.98px) {
  :is(#c162, #c180) .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #c180 {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  :is(#c162, #c180) .textpic {
    grid-template-columns: 90px minmax(0, 1fr);
    grid-template-areas: "image text";
    grid-template-rows: auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  :is(#c162, #c180) .textpic-text p {
    text-align: left !important;
  }
}

@media (max-width: 359px) {
  :is(#c162, #c180) .textpic {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
}

/* Sutter: Karrierebutton und Leistungsdetailseiten, Handy / Tablet. */
@media (max-width: 1024px) {
  .sutter-karriere-button {
    position: fixed;
    top: 112px;
    right: 25px;
    bottom: auto;
    left: auto;
    z-index: 80;
    width: 96px;
    height: 96px;
    margin: 0;
    padding: 12px 8px;
    gap: 4px;
    font-size: 12px;
    line-height: 1.2;
  }

  .sutter-karriere-button strong {
    font-size: 25px;
  }

  .sutter-karriere-button::before {
    inset: 5px;
  }

  .frame:has(> .sutter-karriere-button) {
    margin-block: 0 !important;
    padding-block: 0 !important;
  }

  /* Die Inhalts- und Navigationsspalte haben denselben aeusseren Rand. */
  .ak-service-detail-page > .container > .row:has(> .ak-service-nav) {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin-inline: 0;
    row-gap: 24px;
  }

  .ak-service-detail-page :is(.ak-service-main, .ak-service-nav) {
    width: 100%;
    padding-inline: 0;
    margin-top: 0;
  }

  .ak-service-content > .frame {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .ak-service-content > .frame:last-child,
  .ak-service-content > .frame:last-child > :last-child {
    margin-bottom: 0 !important;
  }

  .ak-service-nav .ak-service-sidebar {
    margin: 0;
    padding-top: 0;
  }

  .ak-service-nav .ak-service-nav-widget {
    margin: 0 0 24px;
  }

  .ak-service-nav-widget li {
    margin: 0;
  }

  .ak-service-nav-widget li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 40px 10px 16px;
    font-size: 16px;
    line-height: 1.35;
  }

  .ak-service-nav-widget li > a::before {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 14px;
  }

  .ak-service-nav-widget :is(.is-active, .is-current) > a,
  .ak-service-nav-widget li > a:hover,
  .ak-service-nav-widget li > a:focus-visible {
    background: #ffe600;
    color: #111;
  }

  .ak-service-nav-widget :is(.is-active, .is-current) > a::before,
  .ak-service-nav-widget li > a:hover::before,
  .ak-service-nav-widget li > a:focus-visible::before {
    color: #111;
  }

  /* Projekteinleitung: mehr Luft oben, kein addierter Abstand nach dem Button. */
  .ak-service-reference-intro {
    padding-block: 40px 0 !important;
    margin-block: 0;
  }

  .ak-service-reference-intro > .container {
    width: 100%;
    max-width: none;
    padding-inline: 25px !important;
  }

  .ak-service-reference-intro .frame {
    --ak-space-before: 0px;
    --ak-space-after: 0px;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ak-service-reference-intro .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 0 !important;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .ak-service-reference-intro .row > .ce-col {
    width: 100%;
    margin: 0;
    padding: 0 !important;
  }

  .ak-service-reference-intro .sec-btn,
  .ak-service-reference-intro .frame > :last-child {
    margin-bottom: 0 !important;
  }

  .ak-service-reference-intro .sec-btn {
    margin-top: 0 !important;
  }

  .ak-service-reference-fullwidth {
    padding: 0 !important;
  }

  /* Greift auch im zusaetzlichen Wrapper des Leistungsdetail-Templates. */
  .ak-service-reference-fullwidth .frame-type-ilsutter_referenceslider {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 16px 25px 40px !important;
  }

  .ak-service-reference-fullwidth .il-sutter-reference-slider {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }
}

/* Referenzuebersicht: ganze Karte verlinken, alle Bildschirmgroessen.
   Der vorhandene Link bleibt erhalten, einschliesslich Galerie-Ereignissen. */
.il-sutter-reference-list .gallery-card.style2 {
  position: relative;
  isolation: isolate;
}

.il-sutter-reference-list .gallery-card.style2 .box-img {
  display: grid;
  position: static;
}

.il-sutter-reference-list .gallery-card.style2 .box-img > img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
}

.il-sutter-reference-list .gallery-card.style2 .box-img > .il-popup-gallery {
  display: contents;
}

.il-sutter-reference-list .gallery-card.style2 .box-img .il-icon-btn.icon-btn {
  /* Grid positioniert den sichtbaren Button; die Karte begrenzt ::after. */
  position: static !important;
  grid-area: 1 / 1;
  align-self: start;
  justify-self: end;
  margin: 20px !important;
  transform: none !important;
  cursor: pointer;
}

.il-sutter-reference-list .gallery-card.style2 .box-img .il-icon-btn.icon-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.il-sutter-reference-list .gallery-card.style2 .box-img .il-icon-btn.icon-btn:focus-visible::after {
  outline: 3px solid var(--theme-color, #ffe500);
  outline-offset: -5px;
  box-shadow: inset 0 0 0 2px #171717;
}

/* Kategorien: kleinere Zwischenraeume und weniger Abstand zu den Karten. */
.il-sutter-reference-list .filter-menu {
  gap: 4px 18px;
  margin-bottom: 24px !important;
}

.il-sutter-reference-list .filter-menu .tab-btn {
  min-height: 40px;
  padding: 6px 2px;
  font-size: 16px;
  line-height: 1.35;
}

.il-sutter-reference-list .filter-menu .tab-btn::before {
  content: none;
}

@media (max-width: 575.98px) {
  .il-sutter-reference-list .gallery-card.style2 .box-img .il-icon-btn.icon-btn {
    margin: 14px !important;
  }

  .il-sutter-reference-list .filter-menu {
    gap: 2px 14px;
    margin-bottom: 20px !important;
  }
}

/* Sutter – Anfragebereich: gelber Akzent, Start- und Kontaktseite. */
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child .frame-header {
  border-left: 4px solid var(--theme-color, #ffe600);
  padding-left: 20px;
}

/* Kontakt oben: Zeilenklasse am aeusseren 2-Spalten-Container.
   Links ein normales Inhaltselement "Bilder" (ein Bild, ohne Bildunterschrift).
   Rechts bleibt die innere Zeilenklasse sutter-contact-info bestehen. */
.row.sutter-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 32px;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0 !important;
}

.row.sutter-contact-layout > .ce-col {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

/* Keine zusaetzlichen Abstaende durch den inneren Kontakt-Container. */
.row.sutter-contact-layout > .ce-col:last-child > .frame:has(.sutter-contact-info),
.row.sutter-contact-layout > .ce-col:last-child > .frame:has(.sutter-contact-info) > .container {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

.row.sutter-contact-info {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0 !important;
}

.row.sutter-contact-info > .ce-col {
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0 !important;
}

/* Ein Bild bleibt im Backend austauschbar und fuellt die linke Spalte
   wie ein Hintergrundbild. Die rechte Boxenspalte bestimmt die Hoehe. */
.row.sutter-contact-layout > .ce-col:first-child {
  min-height: 420px;
  overflow: hidden;
}

.row.sutter-contact-layout > .ce-col:first-child > .frame-type-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: none !important;
}

.row.sutter-contact-layout > .ce-col:first-child .frame-type-image :is(.gallery, .gallery-row, .gallery-item, figure, .image, picture, a) {
  display: block;
  float: none;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.row.sutter-contact-layout > .ce-col:first-child .frame-type-image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none !important;
}

/* Kein Rahmen und keine dunkle Hover-Ebene auf dem Firmenbild. */
.row.sutter-contact-layout > .ce-col:first-child > .frame-type-image::before,
.row.sutter-contact-layout > .ce-col:first-child > .frame-type-image::after,
.row.sutter-contact-layout > .ce-col:first-child .frame-type-image :is(figure, .image)::after {
  content: none;
}

@media (max-width: 1024px) {
  .row.sutter-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .row.sutter-contact-layout > .ce-col:first-child {
    min-height: clamp(280px, 52vw, 440px);
  }
}

/* Wiederverwendbare Bildspalte: im Container bei CSS-Klasse Spalte 1/2
   sutter-image-cover eintragen. Ein einzelnes Bildelement ohne Beschriftung.
   Die Spaltenbreiten aus dem Backend bleiben auf Desktop erhalten. */
.row:has(> .ce-col.sutter-image-cover) {
  align-items: stretch !important;
}

.ce-col.sutter-image-cover {
  position: relative;
  align-self: stretch !important;
  min-height: 420px;
  padding: 0 !important;
  overflow: hidden;
}

.ce-col.sutter-image-cover > .frame-type-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: none !important;
}

.ce-col.sutter-image-cover .frame-type-image :is(.container, .gallery, .gallery-row, .gallery-item, figure, .image, picture, a) {
  display: block;
  float: none;
  position: static;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Absolutes Bild: unabhaengig von Zwischen-Wrappern und Originalformat. */
.ce-col.sutter-image-cover .frame-type-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
  object-position: var(--sutter-image-position, center);
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none !important;
}

.ce-col.sutter-image-cover > .frame-type-image::before,
.ce-col.sutter-image-cover > .frame-type-image::after,
.ce-col.sutter-image-cover .frame-type-image :is(figure, .image)::after {
  content: none;
}

@media (max-width: 1024px) {
  .row:has(> .ce-col.sutter-image-cover) {
    row-gap: 24px;
  }

  .row:has(> .ce-col.sutter-image-cover) > .ce-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .ce-col.sutter-image-cover {
    min-height: clamp(280px, 52vw, 440px);
  }
}

/* Sutter – redaktioneller Anfragebereich (21.09.2026)
   Layout 103; Hintergrund aus Erscheinungsbild.
   Linke Spalte: sutter-image-cover, Bildelement + Text. */
.frame-type-ce_columns2.frame-layout-103 {
  --sutter-form-space: clamp(28px, 3.2vw, 48px);
  padding: clamp(40px, 5vw, 72px) 0 !important;
  background: transparent !important;
  color: #111;
}
.frame-type-ce_columns2.frame-layout-103::before {
  content: "";
  display: block;
  inset: 0;
  width: 100%;
  transform: none;
  z-index: -1;
  background-color: var(--frame-background);
  background-image: var(--frame-background-image);
  background-position: var(--frame-background-position);
  background-size: var(--frame-background-size);
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}
.frame-type-ce_columns2.frame-layout-103 > .container {
  width: min(calc(100% - 48px), 1320px);
  max-width: none;
  margin-inline: auto;
  padding: 0;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch !important;
  gap: clamp(24px, 3vw, 44px);
  margin: 0 !important;
  background: transparent;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row::before {
  content: none;
  display: none;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: var(--sutter-form-space) !important;
  background: transparent;
  color: #111;
}
/* Ein im Backend gewaehltes Bild fuellt die linke Spalte. */
.frame-type-ce_columns2.frame-layout-103 .ce-col.sutter-image-cover > .frame-type-image {
  z-index: -2;
}
.frame-type-ce_columns2.frame-layout-103 .ce-col.sutter-image-cover:has(> .frame-type-image)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.77), rgba(0,0,0,.40) 52%, rgba(0,0,0,.08));
  pointer-events: none;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child .frame-header {
  margin: 0 0 24px;
  padding: 0 0 0 20px;
  border-left: 4px solid var(--theme-color, #ffe600);
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child .sub-title {
  margin: 0 0 16px;
  color: inherit;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child .element-header {
  max-width: 590px;
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
  text-wrap: balance;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child p {
  display: block;
  max-width: 480px;
  margin: 0 0 16px;
  color: inherit;
  font-size: 18px;
  line-height: 1.65;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child.sutter-image-cover:has(> .frame-type-image) {
  color: #fff;
}
.frame-type-ce_columns2.frame-layout-103 .ce-col.sutter-image-cover > .frame:not(.frame-type-image) {
  color: inherit;
}
.frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:last-child {
  padding: var(--sutter-form-space) !important;
  background: #fff;
  color: #111;
}

.frame-type-ce_columns2.frame-layout-103 .form-element {
  margin-bottom: 18px !important;
}

.frame-type-ce_columns2.frame-layout-103 .form-element-gridrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-inline: 0;
}

.frame-type-ce_columns2.frame-layout-103 .form-element-gridrow > [class*="col-"] {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.frame-type-ce_columns2.frame-layout-103 .form-element-gridrow > [class*="col-"] > .form-element {
  margin-bottom: 0 !important;
}

/* Sichtbare Feldnamen bleiben auch nach der Eingabe lesbar. */
.frame-type-ce_columns2.frame-layout-103 .form-element > .form-label {
  display: block;
  position: static;
  overflow: visible;
  width: auto;
  height: auto;
  margin: 0 0 7px;
  padding: 0;
  clip: auto;
  clip-path: none;
  white-space: normal;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.frame-type-ce_columns2.frame-layout-103 .form-control,
.frame-type-ce_columns2.frame-layout-103 .form-select {
  height: auto;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background-color: #f4f4f4;
  color: #222;
  font-size: 16px;
  line-height: 1.4;
}

.frame-type-ce_columns2.frame-layout-103 .form-select {
  padding-right: 42px;
}

.frame-type-ce_columns2.frame-layout-103 textarea.form-control {
  height: 128px;
  min-height: 128px;
  resize: vertical;
}

.frame-type-ce_columns2.frame-layout-103 .form-control:focus,
.frame-type-ce_columns2.frame-layout-103 .form-select:focus {
  border-color: #807300;
  outline: 2px solid var(--theme-color, #ffe600);
  outline-offset: 2px;
}

.frame-type-ce_columns2.frame-layout-103 .form-check-label {
  color: #333;
  overflow-wrap: anywhere;
}

.frame-type-ce_columns2.frame-layout-103 .form-navigation .btn-primary {
  min-height: 50px;
  padding: 15px 28px;
  border-radius: 0;
  background: var(--theme-color, #ffe600);
  color: #111;
  line-height: 1.3;
}

.frame-type-ce_columns2.frame-layout-103 .form-navigation .btn-primary:hover {
  background: #222;
  color: #fff;
  transform: none;
}

.frame-type-ce_columns2.frame-layout-103 .form-navigation .btn-primary:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

/* Mobil: Foto und Ueberlagerung weg; Text separat ueber der Formularbox. */
@media (max-width: 1024px) {
  .frame-type-ce_columns2.frame-layout-103 {
    --sutter-form-space: clamp(20px, 4vw, 36px);
  }
  .frame-type-ce_columns2.frame-layout-103 > .container {
    width: min(calc(100% - 32px), 760px);
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child,
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child.sutter-image-cover:has(> .frame-type-image) {
    min-height: 0;
    padding: 0 !important;
    overflow: visible;
    color: #111;
  }
  .frame-type-ce_columns2.frame-layout-103:is(.frame-background-dark, .frame-background-secondary) > .container > .row > .ce-col:first-child {
    color: #fff;
  }
  .frame-type-ce_columns2.frame-layout-103 .ce-col.sutter-image-cover > .frame-type-image,
  .frame-type-ce_columns2.frame-layout-103 .ce-col.sutter-image-cover::after {
    display: none;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child .element-header {
    font-size: clamp(32px, 5.5vw, 44px);
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child p {
    margin-bottom: 0;
    font-size: 17px;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:last-child {
    border: 12px solid var(--theme-color, #ffe600);
    padding: var(--sutter-form-space) !important;
  }
  .frame-type-ce_columns2.frame-layout-103 .form-navigation,
  .frame-type-ce_columns2.frame-layout-103 .form-navigation .btn-primary {
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .frame-type-ce_columns2.frame-layout-103 .form-element-gridrow {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .choose-area:has(.ak-values-slider) {
    padding-bottom: max(80px, var(--ak-space-after, 0px));
  }
}

/* Formular: Feldbeschriftungen optisch ausblenden */
.frame-type-ce_columns2.frame-layout-103 .form-element > .form-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Formularbereich leicht über den Footer ziehen */
@media (min-width: 1025px) {
  .frame-type-ce_columns2.frame-layout-103 {
    position: relative;
    z-index: 3;
    padding-bottom: 0 !important;
    margin-bottom: -60px !important;
  }

  /* Grauer Hintergrund endet vor der Überlappung */
  .frame-type-ce_columns2.frame-layout-103::before {
    bottom: 60px;
  }

  /* Platz für die überstehenden Spalten */
  body:has(.frame-layout-103) .footer-layout2 .widget-area {
    padding-top: 160px !important;
  }
}

/* Sutter: variant 2. Existing ce_columns2/3 markup; no JavaScript required.
 * 105 = image + overlapping text; 106 = three editable texticon elements.
 * Keep this stylesheet after costum.css. */
.frame-type-ce_columns2.frame-layout-105,
.frame-type-ce_columns3.frame-layout-106 {
  --ak-overlap-yellow: var(--yellow-color, #ffdc00);
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.frame-type-ce_columns2.frame-layout-105 > .container,
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) {
  width: min(calc(100% - 48px), 1520px);
  max-width: none;
  padding: 0;
  margin-inline: auto;
}
.frame-type-ce_columns2.frame-layout-105 > .container > .row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin: 0;
}
.frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col,
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col > .frame,
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col > .frame {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col:first-child {
  grid-column: 1 / 9;
  grid-row: 1;
  align-self: stretch;
  min-height: clamp(440px, 39vw, 620px);
  position: relative;
}
/* Let the text determine the row height. The image fills that height. */
.frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col:first-child > .frame-type-image {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
}
.frame-layout-105 .ce-col:first-child .frame-type-image :where(.gallery-row, .gallery-item, .gallery-item-size-1, .gallery-item-size-2, .gallery-item-size-3, .image, .image-wrap, .media, .media-image, .photo, .image-anime, figure, picture, a) {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
}
.frame-layout-105 .ce-col:first-child .frame-type-image :where(.gallery, .gallery-row) {
  height: 100%;
  margin: 0;
}
.frame-layout-105 .ce-col:first-child .frame-type-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}
.frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col:last-child {
  grid-column: 7 / -1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin-block: 36px;
  padding: clamp(32px, 4vw, 64px);
  background: #eee;
  color: #171717;
}
.frame-layout-105 .ce-col:last-child .frame-header {
  margin: 0 0 24px;
}
.frame-layout-105 .ce-col:last-child .sub-title {
  margin-bottom: 24px;
  color: #171717;
  font-size: 16px;
  line-height: 1.5;
}
/*.frame-layout-105 .ce-col:last-child .element-header {
  margin: 0;
  color: #171717;
  font-size: clamp(30px, 3.1vw, 52px);
  line-height: 1.12;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}*/
.frame-layout-105 .ce-col:last-child .ak-colored-header {
  display: block;
  color: var(--ak-overlap-yellow);
}
.frame-layout-105 .ce-col:last-child .frame-header::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 28px;
  background: var(--ak-overlap-yellow);
}
.frame-layout-105 .ce-col:last-child p {
  margin: 0 0 1em;
  color: #252525;
  font-size: 18px;
  line-height: 1.65;
}
.frame-layout-105 .ce-col:last-child p:last-child { margin-bottom: 0; }

/* Strengths are ordinary text-with-icon elements, editable in TYPO3. */
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-block: 36px;
  counter-reset: sutter-strength;
  border-bottom: 1px solid #ddd;
}
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col {
  counter-increment: sutter-strength;
  position: relative;
  padding: 0 28px;
}
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col + .ce-col {
  border-left: 1px solid #ddd;
}
.frame-layout-106 .frame-type-texticon > [class*='texticon-'] {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}
.frame-layout-106 .texticon-icon {
  flex: 0 0 48px;
  width: 48px;
  margin: 0;
  padding: 0;
}
.frame-layout-106 .texticon-icon::before {
  content: counter(sutter-strength, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: #171717;
  border-bottom: 3px solid var(--ak-overlap-yellow);
  width: fit-content;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}
.frame-layout-106 .texticon-inner-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #171717;
}
.frame-layout-106 .texticon-inner-icon :where(svg, img) { width: 44px; height: 44px; }
.frame-layout-106 .texticon-content { flex: 1; min-width: 0; padding: 0; }
.frame-layout-106 :where(.frame-header, .fes1-box) { margin: 0; padding: 0; }
.frame-layout-106 .element-header {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.3;
  color: #171717;
  letter-spacing: normal;
  overflow-wrap: break-word;
}
.frame-layout-106 p { margin: 0; font-size: 16px; line-height: 1.6; color: #333; }

@media (max-width: 991.98px) {
  .frame-type-ce_columns2.frame-layout-105 > .container { width: 100%; }
  .frame-type-ce_columns2.frame-layout-105 > .container > .row { display: flex; flex-direction: column; }
  .frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col:first-child {
    flex: none;
    width: 100%;
    height: clamp(230px, 62vw, 400px);
    min-height: 0;
  }
  .frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col:last-child {
    flex: none;
    width: calc(100% - 40px);
    margin: -28px 20px 0;
    padding: clamp(24px, 5vw, 40px);
  }
  .frame-layout-105 .ce-col:last-child .element-header { font-size: clamp(28px, 4.5vw, 38px); }
  .frame-layout-105 .ce-col:last-child .ak-colored-header { color: #171717; }
  .frame-layout-105 .ce-col:last-child .sub-title { font-size: 14px; margin-bottom: 20px; }
  .frame-layout-105 .ce-col:last-child p { font-size: 16px; }
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) { width: calc(100% - 40px); }
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row { grid-template-columns: minmax(0, 1fr); padding-block: 12px 0; }
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col { padding: 24px 0; }
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col + .ce-col { border-left: 0; border-top: 1px solid #ddd; }
  .frame-layout-106 .element-header { font-size: 20px; }
}


/* Sutter Layout 105/106 – weisse Boxen auf dem gewaehlten grauen Hintergrund */
.frame-type-ce_columns2.frame-layout-105 {
  --ak-space-after: 0rem;
  margin-bottom: 0;
  padding-bottom: 0;
}
.frame-type-ce_columns2.frame-layout-105 > .container > .row > .ce-col:last-child {
  background: #fff;
}
.frame-type-ce_columns3.frame-layout-106 {
  --ak-space-before: 0rem;
  --ak-space-after: 0rem;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 48px;
}
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row {
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d5d5d5;
}
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col {
  padding: 28px;
  border: 0;
  background: #fff;
}
.frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col + .ce-col {
  border: 0;
}
/* Keine Nummern. Icon links im gelben Kreis. */
.frame-layout-106 .texticon-icon::before {
  content: none;
  display: none;
}
.frame-layout-106 .frame-type-texticon > [class*='texticon-'] {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}
.frame-layout-106 .texticon-icon {
  flex: 0 0 60px;
  width: 60px;
  margin: 0;
  padding: 0;
}
.frame-layout-106 .texticon-inner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--yellow-color, #ffe600);
  color: #171717;
}
.frame-layout-106 .texticon-inner-icon :where(svg, img) {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.frame-layout-106 .texticon-inner-icon svg { fill: currentColor; }
.frame-layout-106 .texticon-content {
  min-width: 0;
  padding: 0;
}
.frame-layout-106 .frame-header.sec-title,
.frame-layout-106 .fes1-box {
  margin: 0;
  padding: 0;
}
.frame-layout-106 .element-header {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row { gap: 16px; }
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col { padding: 20px; }
  .frame-layout-106 .frame-type-texticon > [class*='texticon-'] { gap: 14px; }
  .frame-layout-106 .texticon-icon { flex-basis: 48px; width: 48px; }
  .frame-layout-106 .texticon-inner-icon { width: 48px; height: 48px; }
  .frame-layout-106 .texticon-inner-icon :where(svg, img) { width: 26px; height: 26px; }
}
@media (max-width: 991.98px) {
  .frame-type-ce_columns3.frame-layout-106 { padding-bottom: 32px; }
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row {
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col { padding: 24px; }
}
@media (max-width: 374.98px) {
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row > .ce-col { padding: 20px; }
  .frame-layout-106 .frame-type-texticon > [class*='texticon-'] { gap: 14px; }
  .frame-layout-106 .texticon-icon { flex-basis: 48px; width: 48px; }
  .frame-layout-106 .texticon-inner-icon { width: 48px; height: 48px; }
  .frame-layout-106 .texticon-inner-icon :where(svg, img) { width: 26px; height: 26px; }
}


/* Sutter – Handy: keine Abschlusslinie, Formular mit einheitlichem Seitenabstand. */
@media (max-width: 767.98px) {
  .frame-type-ce_columns3.frame-layout-106 > div:has(> .row) > .row {
    border-bottom: 0;
  }

  /* Den Aussenabstand nur einmal vergeben: am gesamten Formularbereich. */
  .frame-type-ce_columns2.frame-layout-103 {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 24px !important;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container {
    width: 100% !important;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-inline: 0 !important;
    --bs-gutter-x: 0;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child {
    padding: 0 !important;
    min-width: 0;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child .frame-header {
    margin-bottom: 0;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:first-child p:not(.sub-title) {
    display: block;
    margin: 22px 0 0;
    line-height: 1.6;
  }
  .frame-type-ce_columns2.frame-layout-103 > .container > .row > .ce-col:last-child {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    margin-inline: 0;
    padding: clamp(16px, 4vw, 24px) !important;
  }
}

/* Mehr Abstand zwischen den Untermenüpunkten */
.th-header .main-menu ul.sub-menu > li {
  padding-top: 5px;
  padding-bottom: 5px;
}