/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: Fonts
   ========================================================================== */

/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../Fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../Fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    src: url('../Fonts/rubik-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    src: url('../Fonts/rubik-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


@font-face {
    font-family: 'icomoon-pvm';
    src:  url('../Fonts/icomoon-pvm.eot?p8teix');
    src:  url('../Fonts/icomoon-pvm.eot?p8teix#iefix') format('embedded-opentype'),
    url('../Fonts/icomoon-pvm.ttf?p8teix') format('truetype'),
    url('../Fonts/icomoon-pvm.woff?p8teix') format('woff'),
    url('../Fonts/icomoon-pvm.svg?p8teix#icomoon-pvm') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon-pvm' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-comment-o:before {
    content: "\e900";
}
.icon-chevron-right:before {
    content: "\e905";
}
.icon-chevron-left:before {
    content: "\e906";
}
.icon-map-pin:before {
    content: "\e901";
}
.icon-minimize:before {
    content: "\e902";
}
.icon-add:before {
    content: "\e903";
}
.icon-arrow_right_alt:before {
    content: "\e904";
}




/* ==========================================================================
   Base styles: Variables
   ========================================================================== */

:root {
    /* ***** Colors ***** */
    --color-key: 0, 0, 0;                       /* #000000, schwarz */
    --color-darkest: 51, 51, 51;                /* #333333, dunkelgrau */
    --color-lightest: 255, 255, 255;            /* #ffffff, weiß */

    --color-highlight: 255, 102, 0;             /* #ff6600, orange */
    --color-highlight-soft: 255, 234, 211;      /* #ffead3, hellorange */

    --color-hover: 229, 49, 14;                  /* #E5310E, rot */

    --color-shade: 113, 119, 118;               /* #717776, grau */
    --color-shade-soft: 247, 247, 247;          /* #f7f7f7, hellgrau */

    --color-links: var(--color-highlight);
    --color-text: var(--color-darkest);

    --button-padding: 18px 30px;


    /* ***** Font sizes ***** */
    --lineheight-base: 1.8;
    --fontsize-base: 15px;
    --fontsize: 1rem;
    --fontsize-s: 0.933rem; /* 14px */
    --fontsize-m: 1.2rem; /* 18px */
    --fontsize-l: 1.467rem; /* 22px */
    --fontsize-xl: 1.733rem; /* 26px */
    --fontsize-2xl: 2.133rem; /* 32px */
    --fontsize-3xl: 2.8rem; /* 42px */
    --fontsize-4xl: 4.267rem; /* 64px */


    /* ***** Width Variables ***** */
    --width-body: 1400px;
    --width-total: 1600px;
    --width-margin: 30px;

    --font: 'Open sans', Tahoma, sans-serif;
    --font-highlight: 'Rubik', Tahoma, sans-serif;

}


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

* {
    box-sizing: border-box;
}


html {
  color: rgb(var(--color-darkest));
  font-size: var(--fontsize);
  line-height: var(--lineheight-base);
}

body {
    font-family: var(--font);
}

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

strong {
    font-weight: bold;
}

p {
    margin: 0 0 20px;

    a:focus-visible {
        outline: 1px dotted rgb(var(--color-highlight));
    }
}

a {
    color: rgb(var(--color-links));
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    word-break: break-word;

    &:hover {
         color: rgb(var(--color-darkest));
    }
}

ul {
    list-style-type: disc;
    padding-inline-start: 20px;
    margin: 20px 0;

    > li > ul {
        margin: 0;
    }
}

/* ********** Alignment ********** */
.align-left {
    text-align: left;
}
.align-center {
    text-align: center;
}
.align-right {
    text-align: right;
}
.align-justify {
    text-align: justify;
}


/* ********** Headlines ********** */
.ce-headline-left {
    text-align: left;
}
.ce-headline-center {
    text-align: center;
}
.ce-headline-right {
    text-align: right;
}




/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

img {
    max-width: 100%;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   Headlines
   ========================================================================== */

h1,h2,h3,h4,h5 {
    font-family: var(--font-highlight);
    font-weight: bold;
    margin: var(--width-margin) 0;
    line-height: 1.2;
}

h1 {
    font-size: var(--fontsize-2xl);
    hyphens: auto;

    @media screen and (min-width: 768px) {
        hyphens: none;
    }
    @media screen and (min-width: 950px) {
        font-size: var(--fontsize-4xl);
    }
}

h2 {
    font-size: var(--fontsize-xl);

    @media screen and (min-width: 950px) {
        font-size: var(--fontsize-3xl);
    }
}

h3 {
    font-size: var(--fontsize-l);

    @media screen and (min-width: 950px) {
        font-size: var(--fontsize-xl);
    }
}

h4 {
    font-size: var(--fontsize-m);
    margin: 0 0 5px;
}

header {
    position: relative;

    > h1 {
        margin-bottom: 0;
        padding-left: 30px;
        line-height: 1;
    }

    > h1 + h2 {
        margin-top: 5px;
        margin-bottom: 40px;
        padding-left: 30px;
        line-height: 1;

        &:before {
            content: '';
            width: 8px;
            height: 100%;
            position: absolute;
            left: 0;
            bottom: 0;
            background: rgb(var(--color-highlight));
        }
    }
}


/* ==========================================================================
   Block-/Text-/ Linkstile
   ========================================================================== */

.link--box-orange, .link--frame-orange, .link--frame-black {
    display: inline-block;
    padding: var(--button-padding);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: var(--fontsize-s);
    font-weight: bold;
    position: relative;

    &:after {
        content: '\e904';
        font-family: 'icomoon-pvm';
        transition: all 300ms ease 0ms;
        opacity: 0;
        position: absolute;
        top: 18px;
        margin-left: -1em;
    }

    &:hover {
        padding-right: 45px;

        &:after {
            opacity: 1;
            margin-left: .7em;
        }
    }
}

.link--box-orange {
    background: rgb(var(--color-highlight));
    color: rgb(var(--color-lightest));

    &:hover {
        background: rgb(var(--color-hover));
        color: rgb(var(--color-lightest));
    }
}

.link--frame-orange {
    border: 2px solid rgb(var(--color-highlight));
    color: rgb(var(--color-highlight));
}

.link--frame-black {
    border: 2px solid rgb(var(--color-darkest));
    color: rgb(var(--color-darkest));
}

.highlight {
    color: rgb(var(--color-highlight));
}

.frame-bg-color {
    background: rgb(var(--color-highlight-soft));
}


/* ==========================================================================
   Animated Content
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;

    &.visible {
         opacity: 1;
    }
}

.scale-in {
    transform: scale(0.7);
    transition: all 0.6s ease;

    &.visible {
         transform: scale(1);
    }
}

.fade-in {
    transition: opacity 1.5s ease;
}

.slide-up {
    transform: translateY(100px);
    transition: all 0.8s ease;

    &.visible {
         transform: translateY(0);
    }
}

.slide-down {
    transform: translateY(-100%);
    transition: all 0.8s ease;

    &.visible {
         transform: translateY(0);
    }
}

.slide-in-right {
    transform: translateX(200px);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;

    &.visible {
         transform: translateX(0);
    }
}

.slide-in-left {
    transform: translateX(-500px);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;

    &.visible {
         transform: translateX(0);
    }
}



/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    padding-left: var(--width-margin);
    padding-right: var(--width-margin);

    @media screen and (min-width: 1460px) {
        width: var(--width-body);
        margin: auto;
        padding-left: 0;
        padding-right: 0;
    }
}

.container--large {
    @media screen and (min-width: 1660px) {
        width: var(--width-total);
    }
}

.header {
    padding: 20px 0;

    .logo {
        max-width: 200px;
        display: block;
    }
}

.subpages {
    border-top: 1px solid rgba(var(--color-shade),0.4);
    padding: 30px 0;
}

#section3 {
    padding: 30px 0 50px;

    .column--3cols {
        margin-top: 30px;
    }
}

#section5 {
    background: rgb(var(--color-shade-soft));
    padding: 50px 0 80px;
}

#footer {
    background: rgb(var(--color-darkest));
    color: rgb(var(--color-lightest));
    padding-top: 50px;
    padding-bottom: 50px;

    a:hover {
        color: rgb(var(--color-lightest));
    }

    > .column {
        margin: 0 auto;
        padding: 0 30px;
        grid-template-columns: 1fr;
        gap: 30px;

        @media screen and (min-width: 900px) {
            grid-template-columns: 2fr 1fr;
        }
        @media screen and (min-width: 1460px) {
            width: var(--width-body);
        }

        > .col-1 {
            p:last-child {
                margin-bottom: 0;
            }

            > .column {
                gap: 30px;
                margin: 0;
            }
        }

        > .col-2 {
            @media screen and (min-width: 900px) {
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: end;
            }

            p {
                margin-bottom: 0;
            }

            ul {
                margin-top: 0;
                padding: 0;
                list-style-type: none;
            }
        }
    }
}

/* ==========================================================================
   Columns
   ========================================================================== */

.column {
    display: grid;
    margin-top: 30px;
    margin-bottom: 30px;
}

.column--2cols {
    @media screen and (min-width: 768px) {
        grid-template-columns: 1fr 1fr;
    }
}

.column--2cols-2-1 {
    @media screen and (min-width: 768px) {
        grid-template-columns: 1fr !important;
        grid-auto-flow: unset !important;
    }
    @media screen and (min-width: 900px) {
        grid-template-columns: 2fr 1fr;
        grid-auto-flow: column !important;
    }
}

.column--2cols-1-2 {
    @media screen and (min-width: 768px) {
        grid-template-columns: 1fr !important;
        grid-auto-flow: unset !important;
    }
    @media screen and (min-width: 1200px) {
        grid-template-columns: 1fr 2fr !important;
    }
}

.column--3cols {
    gap: 30px;


    @media screen and (min-width: 768px) {
        grid-template-columns: 1fr 1fr !important;
        grid-auto-flow: unset !important;
    }
    @media screen and (min-width: 1200px) {
        grid-template-columns: 1fr 1fr 1fr !important;
    }

    > .col {
        min-width: 0;
    }
}

article > .frame-default > .column {
    padding-left: 30px;
    padding-right: 30px;

    @media screen and (min-width: 1460px) {
        width: var(--width-body);
        margin: auto;
        padding-left: 0;
        padding-right: 0;
    }
}

.column .col > .frame-bg-color {
    padding: 30px;

    h4 {
        color: rgb(var(--color-highlight));
        margin-bottom: 15px;
    }
}

/* ==========================================================================
   Header Bild+Text (MASK)
   ========================================================================== */

.header-imgtext.column--2cols-2-1 {
    gap: 0 !important;
    margin: 0;
    overflow: hidden;

    @media screen and (min-width: 900px) {
        grid-template-columns: 1fr !important;
        grid-auto-flow: unset !important;
    }
    @media screen and (min-width: 1200px) {
        grid-template-columns: 1fr 1fr !important;
        grid-auto-flow: columns !important;
    }
    @media screen and (min-width: 1400px) {
        grid-template-columns: 2fr 1fr !important;
    }

    .col-1 {
        color: rgb(var(--color-lightest));
        display: flex;
        align-items: center;
        position: relative;

        &:before {
            content: '';
            width: 100%;
            height: 100%;
            background: rgba(var(--color-key), 0.4);
            position: absolute;
            left: 0;
            top: 0;
        }

        .text {
            padding: 50px;
            position: relative;

            @media screen and (min-width: 1660px) {
                width: calc((var(--width-total) / 3) * 2);
                padding: 50px 50px 50px 100px;
            }
        }

        h1 {
            position: relative;
            padding-left: 30px;

            &:before {
                content: '';
                width: 8px;
                height: 100%;
                background: rgb(var(--color-highlight));
                position: absolute;
                left: 0;
                top: 0;
            }

            span {
                display: block;
            }

            .subheadline {
                font-size: var(--fontsize-xl);
            }
        }
    }

    .col-2 {
        background: rgb(var(--color-highlight));
        padding: 10px 30px;

        .element {
            display: grid;
            gap: 15px;
            grid-template-columns: 60px 1fr;
            margin-bottom: 30px;

            .text {
                color: rgb(var(--color-lightest));
                line-height: 1.5;

                h4 {
                    color: rgb(var(--color-darkest));
                }
            }
        }
    }
}


/* ==========================================================================
   Grid 1:2 Simple (MASK)
   ========================================================================== */

.grid-12-simple {
    gap: 0 !important;
    margin: 0;

    .col-1 {
        min-height: 400px;
    }

    .col-2 {
        background: rgb(var(--color-shade));
        color: rgb(var(--color-lightest));
        padding: 5px 30px 20px;

        @media screen and (min-width: 1200px) {
            padding: 50px 100px;
        }
    }
}


/* ==========================================================================
   Bilderslider (MASK)
   ========================================================================== */

.bilderslider {
    margin-bottom: 0 !important;

    .slick-arrow {
        z-index: 100;
        opacity: 0.9;
    }

    .slick-prev {
        left: 10px;

        &:before {
            content: '\e906';
            font-family: 'icomoon-pvm';
            opacity: 1;
        }
    }

    .slick-next {
        right: 10px;

        &:before {
            content: '\e905';
            font-family: 'icomoon-pvm';
            opacity: 1;
        }
    }

    .slick-dots {
        bottom: 10px;

        li button {
            background: rgb(var(--color-lightest));
            border-radius: 10px;
            width: 10px;
            height: 10px;

            &:before {
                 content: none;
             }
        }

        li.slick-active button {
            background: rgb(var(--color-highlight));
        }
    }
}


/* ==========================================================================
   Grid komplex (MASK)
   ========================================================================== */

.grid-complex {
    gap: 0 !important;
    margin-bottom: 0;

    @media screen and (min-width: 768px) {
        grid-template-columns: 1fr !important;
        grid-auto-flow: unset !important;
    }
    @media screen and (min-width: 1200px) {
        grid-template-columns: 1fr 2fr !important;
        grid-auto-flow: unset !important;
    }

    .column {
        margin: 0;
        gap: 0 !important;
    }

    > .col-1 {
        background: rgb(var(--color-key));
        color: rgb(var(--color-lightest));
        padding: 20px 30px 350px 30px;
        position: relative;

        @media screen and (min-width: 1200px) {
            padding-bottom: 60%;
        }

        img {
            position: absolute;
            left: 0;
            bottom: 80px;
            width: 55%;
            max-width: 300px;

            @media screen and (min-width: 1200px) {
                max-width: none;
            }
        }
    }

    > .col-2 {
        .column {
            height: auto;
            position: relative;
        }

        .column-1 {
            @media screen and (min-width: 1200px) {
                height: 45vh;
            }

            .col {
                height: 100%;
            }
        }

        .column-2 {
            @media screen and (min-width: 768px) {
                grid-template-columns: repeat(3, 1fr) !important;
            }
            @media screen and (min-width: 1200px) {
                height: 30vh;
            }

            .col {
                height: 100%;
            }
        }

        .column-3 {
            @media screen and (min-width: 1200px) {
                height: 15vh;
            }

            .col-1 {
                height: 100%;
                background: rgb(var(--color-highlight));
                color: rgb(var(--color-lightest));
                padding: 30px;
                display: flex;
                flex-direction: column;
                justify-content: center;

                h3 {
                    margin: 0 0 10px;
                }

                a {
                    color: rgb(var(--color-lightest));

                    &:hover {
                        color: rgb(var(--color-darkest));
                    }
                }
            }

            .col-2 {
                height: 100%;
                padding: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: rgb(var(--color-lightest));

                p {
                    margin: 0;
                }
            }
        }

        img {
            object-fit: cover;
            height: 100%;
        }
    }
}


/* ==========================================================================
   Akkordeon (MASK)
   ========================================================================== */

.accordion {
    .accordion-item {
        background: rgb(var(--color-lightest));
        margin-bottom: 2px;
        padding: 20px 20px;

        .title {
            font-weight: bold;
            font-size: var(--fontsize-m);
            position: relative;
            cursor: pointer;
            padding-right: 35px;

            .icon-add,
            .icon-minimize {
                position: absolute;
                right: 0;
                top: 2px;
                background: rgb(var(--color-highlight));
                color: rgb(var(--color-lightest));
                border-radius: 25px;
                width: 25px;
                height: 25px;
                font-size: var(--fontsize-m);
                text-align: center;
                padding: 2px;
                cursor: pointer;
            }

            .icon-minimize {
                display: none;
                padding: 0;

                &:before {
                    position: absolute;
                    left: 50%;
                     top: -4px;
                    margin-left: -9px;
                }
            }
        }

        .text {
            display: none;

            p {
                &:first-child {
                    margin-top: 10px;
                }

                &:last-child {
                    margin-bottom: 0;
                }
            }

        }

        &.active {
            .icon-add {
                display: none;
            }

            .icon-minimize {
                display: block;
            }
        }
    }
}


/* ==========================================================================
   Grid Kontakt (MASK)
   ========================================================================== */

.grid-contact {
    margin: 0;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    overflow: hidden;

    @media screen and (min-width: 768px) {
        grid-auto-flow: unset !important;
    }
    @media screen and (min-width: 1200px) {
        grid-template-columns: 2fr 1fr !important;
    }

    .col-1 {
        padding: 30px;
        display: flex;
        align-items: center;
        position: relative;

        @media screen and (min-width: 1200px) {
            padding: 50px 50px 50px 100px;
        }

        &:before {
             content: '';
             width: 100%;
             height: 100%;
             background: rgba(var(--color-key), 0.4);
             position: absolute;
             left: 0;
             top: 0;
        }

        .text {
            position: relative;
            color: rgb(var(--color-lightest));
            max-width: 700px;

            h2 {
                position: relative;
                padding-left: 30px;

                &:before {
                     content: '';
                     width: 8px;
                     height: 100%;
                     background: rgb(var(--color-highlight));
                     position: absolute;
                     left: 0;
                     top: 0;
                 }
            }
        }
    }

    .col-2 {
        background: rgb(var(--color-highlight));
        color: rgb(var(--color-lightest));
        padding: 30px 30px 300px;
        position: relative;

        @media screen and (min-width: 1200px) {
            padding-bottom: 45%;
        }

        h2 {
            color: rgb(var(--color-key));
            font-size: var(--fontsize-2xl);
        }

        .textblock {
            display: grid;
            grid-template-columns: 60px 1fr;
            gap: 30px;

            strong {
                color: rgb(var(--color-darkest));
            }

            a {
                color: rgb(var(--color-lightest));

                &:hover {
                    color: rgb(var(--color-darkest));
                 }
            }
        }

        .icon {
            position: absolute;
            left: 0;
            bottom: 20px;
            width: 50%;
            max-width: 300px;

            @media screen and (min-width: 1200px) {
                max-width: 360px;
            }
        }
    }
}


/* ==========================================================================
   Form
   ========================================================================== */

form {
    margin-bottom: 30px;
}

input,
select,
textarea {
    background: rgb(var(--color-shade-soft));
    border: 1px solid rgb(var(--color-shade));
    padding: 10px 15px;
    display: block;
    width: 100%;
}

button[type="submit"] {
    display: inline-block;
    padding: var(--button-padding);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: var(--fontsize-s);
    font-weight: bold;
    background: rgb(var(--color-highlight));
    color: rgb(var(--color-lightest));
    position: relative;
    border: 0;
    cursor: pointer;
    transition: all 300ms ease 0ms;

    &:after {
         content: '\e904';
         font-family: 'icomoon-pvm';
         transition: all 300ms ease 0ms;
         opacity: 0;
         position: absolute;
         top: 18px;
         margin-left: -1em;
    }

    &:hover {
        padding-right: 45px;
        background: rgb(var(--color-hover));
        color: rgb(var(--color-lightest));

        &:after {
             opacity: 1;
             margin-left: .7em;
        }
    }
}

textarea {
    min-height: 120px;
}

fieldset {
    margin-bottom: 40px;

    legend {
        font-size: var(--fontsize-l);
        font-weight: bold;
        color: rgb(var(--color-shade));
        margin-bottom: 5px;
    }

    fieldset legend {
        font-size: var(--fontsize);
    }
}

fieldset {
    .form-group {
        margin-bottom: 15px;

        @media screen and (min-width: 768px) {
            display: flex;
        }

        /* Radiobuttons */
        > .input {
            width: 100%;

            @media screen and (min-width: 950px) {
                display: flex;
            }

            > .form-label {
                @media screen and (min-width: 950px) {
                    width: 275px;
                }
            }

            > .input {
                @media screen and (min-width: 950px) {
                    width: calc(100% - 275px);
                }


                .inputs-list .form-group {
                    gap: 40px;

                    .form-check {
                        display: grid;
                        gap: 10px;
                        grid-template-columns: 20px 1fr;
                    }
                }
            }
        }

        /* Checkbox */
        > .input.checkbox {
            .inputs-list {
                gap: 40px;

                @media screen and (min-width: 950px) {
                    display: flex;
                }

                .form-check-label {
                    display: grid;
                    gap: 10px;
                    grid-template-columns: 20px 1fr;
                }
            }
        }

        > .form-label {
            @media screen and (min-width: 768px) {
                padding-top: 6px;
                width: 275px;
            }
        }

        > .form-label + .input {
            @media screen and (min-width: 768px) {
                width: calc(100% - 275px);
            }
        }

        .form-text {
            font-size: var(--fontsize-s);

            &.error {
                color: rgb(var(--color-highlight));
                font-weight: bold;
            }
        }
    }

    fieldset.form-group {
        display: block;
    }



    > .clearfix {
        margin-top: 10px;
        font-weight: bold;

        p {
            margin-bottom: 10px;
        }
    }

    > .row {
        @media screen and (min-width: 768px) {
            gap: 20px;
        }
        @media screen and (min-width: 950px) {
            display: flex;
            gap: 50px;
        }

        .col-xxl-2 {
            @media screen and (min-width: 950px) {
                width: 20%;
            }

            &:last-child .form-group {
                .form-label {
                    @media screen and (min-width: 950px) {
                        width: 80px;
                    }
                }

                .input {
                    @media screen and (min-width: 950px) {
                        width: calc(100% - 80px);
                    }
                }
            }
        }

        .col-xxl-5 {
            @media screen and (min-width: 950px) {
                width: 45%;
            }
            @media screen and (min-width: 1200px) {
                width: 33%;
            }
        }

        .col-xxl-6 {
            &:first-child {
                @media screen and (min-width: 950px) {
                    width: 60%;
                }
            }


            &:last-child {
                @media screen and (min-width: 950px) {
                    width: 40%;
                }
                .form-group {
                    @media screen and (min-width: 950px) {
                        display: grid;
                        grid-template-columns: 60px 1fr;
                    }

                    .form-label, .input {
                        @media screen and (min-width: 950px) {
                            width: auto;
                        }
                    }
                }
            }
        }

        .col-xxl-7 {
            @media screen and (min-width: 950px) {
                width: 55%;
            }
            @media screen and (min-width: 1200px) {
                width: 67%;
            }

            &:last-child .form-group {
                .form-label {
                    @media screen and (min-width: 950px) {
                        width: 70px;
                    }
                }

                .input {
                    @media screen and (min-width: 950px) {
                        width: calc(100% - 70px);
                    }
                }
            }
        }

        .col-xxl-10 {
            @media screen and (min-width: 950px) {
                width: 80%;
            }
        }
    }
}

/* FORM: Spezifische Styles */

#anfrage-222-fieldset-kenndaten {
    > .row {
        display: block;

        @media screen and (min-width: 1200px) {
            display: flex;
            gap: 20px;
        }
    }

    .col-xxl-4 {
        .form-label {
            padding-right: 20px;

            @media screen and (min-width: 1200px) {
                text-align: right;
            }
        }
    }

    .row .col-xxl-4:first-child .form-label {
        text-align: left;
    }
}

#anfrage-222-fieldset-steinformat-1 {
    margin-top: 30px;
}

#anfrage-222-fieldset-steinformat-4 {
    margin-bottom: 20px;
}

#anfrage-222-fieldset-steinformat-1,
#anfrage-222-fieldset-steinformat-2,
#anfrage-222-fieldset-steinformat-3,
#anfrage-222-fieldset-steinformat-4 {
    gap: 0;
    display: block;

    legend {
        @media screen and (min-width: 768px) {
            width: 275px;
            float: left;
        }
    }

    .form-group {
        @media screen and (min-width: 768px) {
            margin-left: 275px;
        }
        @media screen and (min-width: 1100px) {
            width: 350px;
            float: left;
            margin-left: 0;
        }
    }
}

#anfrage-222-fieldset-datum {
    .form-group {
        width: 49%;
        float: left;

        > .form-label {
            @media screen and (min-width: 768px) {
                width: 80px;
            }
            @media screen and (min-width: 1200px) {
                width: 275px;
            }
        }

        > .form-label + .input {
            @media screen and (min-width: 768px) {
                width: calc(100% - 80px);
            }
            @media screen and (min-width: 1200px) {
                width: calc(100% - 275px);
            }
        }

        &:last-child {
            margin-left: 2%;

            .form-label {


                @media screen and (min-width: 950px) {
                    text-align: right;
                    padding-right: 40px;
                }
            }
        }
    }
}

#anfrage-222-fieldset-unterlagen {
    .clearfix {
        margin-bottom: 20px;
    }

    .form-group > .input:not(.checkbox) {
        display: block;
    }
}
