/*
Theme Name: Zur Linde
Description: A simple one-page WordPress theme.
Author: Miji
Version: 1.0
*/

/* Add your styles here */
/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* ACTUAL STYLES */

/* unifrakturcook-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: 'UnifrakturCook';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/unifrakturcook-v23-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Colfax';
    font-style: italic;
    font-weight: 100;
    src: url('assets/fonts/Colfax-ThinItalic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Colfax';
    font-style: normal;
    font-weight: 100;
    src: url('assets/fonts/Colfax-Thin.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Colfax';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/Colfax-Medium.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

body {
    font: normal normal normal 20px/32px Colfax;
}

h1,
h2 {
    color: #C6E26C;
}

h2 {
    font: normal normal bold 34px/40px UnifrakturCook;
    margin-bottom: 20px;
    margin-top: 80px;
}

@media screen and (min-width: 1024px) {
    h2 {
        font: normal normal bold 44px/45px UnifrakturCook;
        margin-bottom: 40px;
        margin-top: 0;
    }
}

h1 {
    font: normal normal bold 46px/55px UnifrakturCook;
    margin-top: 30px;
    margin-bottom: 20px;
}

@media screen and (min-width: 1024px) {
    h1 {
        font: normal normal bold 56px/45px UnifrakturCook;
        margin-top: 70px;
        margin-bottom: 34px;
    }
}

.subline {
    font: normal normal normal 24px/34px Colfax;
    overflow: hidden;
}

@media screen and (min-width: 1024px) {
    .subline {
        font: normal normal normal 36px/60px Colfax;
    }
}

h3 {
    font: normal normal bold 27px/45px Colfax;
    color: #C6E26C;
}

h4 {
    font: normal normal normal 20px/30px Colfax;
    color: #000000;
}

h5 {
    font: normal normal normal 14px/20px Colfax;
}

h6 {
    font: normal normal normal 16px/27px Colfax;
    font-weight: 500;
    margin: 0;
    margin-bottom: 1.4em;
    border-bottom: 2px solid;
    display: inline-block;
    position: relative;
    padding-left: 24px;
}

h6:before {
    content: '';
    display: inline-block;
    background-image: url('assets/img/info_icon.svg');
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (min-width: 1024px) {
    .wp-block-site-logo.is-default-size img {
        width: 196px;
    }
}

.le-header {
    position: sticky;
    top: -20px;
    background: #fff;
    z-index: 999;
    height: 100px;
    display: flex;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .le-header {
        height: 140px;
        top: -40px;
    }
}

.header-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: sticky;
    top: 0;
    height: 80px;
}

@media screen and (min-width: 1024px) {
    .header-row {
        height: 100px;
    }
}

strong {
    font-weight: 500;
}

em {
    font-style: normal;
    z-index: -1;
}

.circled,
em {
    position: relative;
    display: inline-block;
}

.circled {
    margin-top: 20px;
    z-index: 1;
}

em svg,
.circled svg {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    transform: scale(1.35);
    z-index: -1;
}

.kringel-1 svg {
    width: 100%;
    top: -20%;
    height: 135%;
    transform: scaleX(1.35);
}

em svg path,
.circled svg path {
    fill: #E0F2A6;
}

.wp-block-button a,
.button a,
input.wp-block-button__link {
    background: #E0F2A6 0% 0% no-repeat padding-box;
    border-radius: 26px;
    font: normal normal normal 16px Colfax;
    color: #000;
    padding: 9px 23px !important;
    position: relative;
}

.wp-block-navigation {
    gap: 2em;
}

.wp-block-navigation-item:not(.button) .wp-block-navigation-item__label {
    font: normal normal normal 22px/45px Colfax;
}

@media screen and (min-width: 768px) {
    .wp-block-navigation-item:not(.button) .wp-block-navigation-item__label {
        font: normal normal normal 16px/25px Colfax;
    }
}

@media screen and (min-width: 1024px) {
    .wp-block-navigation-item:not(.button) .wp-block-navigation-item__label {
        font: normal normal normal 22px/45px Colfax;
    }
}

.wp-block-navigation-item:not(.button) a.active:after,
.wp-block-navigation-item:not(.button) a:hover:after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: #000;
    display: block;
    position: absolute;
    bottom: 0;
    left: calc(50% - 3px);
}

.wp-block-group__inner-container {
    max-width: 910px;
}

.wp-block-group h1,
.wp-block-group h2,
.wp-block-group h3,
.wp-block-group h4,
.wp-block-group h5,
.wp-block-group p,
.wp-block-group .wp-block-buttons {
    padding-left: 10px;
    padding-right: 10px;
}

figure {
    margin-bottom: 20px;
}

.info-block {
    max-width: 1380px;
    justify-content: center;
    margin: auto;
    margin-bottom: 60px;
    margin-top: 60px;
    background: #F8F5F0;
    flex-direction: column;
}

@media screen and (min-width: 1024px) {
    .info-block {
        gap: 50px;
        flex-direction: row;
    }
}

.wide {
    max-width: 1380px;
    margin: 0 auto;
    width: 100%;
}

.info-block>* {
    align-self: stretch;
}

.info-block .tomsneddon {
    width: 100%;
    max-width: 646px;
}

.info-block .wp-block-group {
    padding: 10px;
}

@media screen and (min-width: 1024px) {
    .info-block .wp-block-group {
        padding: 32px 60px;
    }
}

.toms-image-slider-preview .toms-image-slider-image img.toms-image-slider-gellery-image {
    display: block;
}

.toms-image-slider-image {
    position: relative;
}

.tomsneddon .toms-image-slider-preview .toms-image-slider-image .left-arrow,
.tomsneddon .toms-image-slider-preview .toms-image-slider-image .right-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 20px;
    margin-right: 30px;
    margin-left: 0;
    width: 15px;
    height: 10px;
}

.tomsneddon .toms-image-slider-preview .toms-image-slider-image .left-arrow {
    margin-right: 50px;
}

.tomsneddon svg {
    display: none;
}

.tomsneddon .right-arrow:after,
.tomsneddon .left-arrow:after {
    display: block;
    content: '';
    width: 15px;
    height: 10px;
    background-image: url('assets/img/arrow_right_black.svg');
}

.tomsneddon .left-arrow:after {
    background-image: url('assets/img/arrow_left_black.svg');
}

.info-block-left .tomsneddon .toms-image-slider-preview .toms-image-slider-image .left-arrow,
.info-block-left .tomsneddon .toms-image-slider-preview .toms-image-slider-image .right-arrow {
    margin-right: 0;
    margin-left: 30px;
    left: 0;
    right: initial;
}

.info-block-left .tomsneddon .toms-image-slider-preview .toms-image-slider-image .right-arrow {
    margin-left: 50px;
}

.info-block .tomsneddon .left-arrow:after {
    background-image: url('assets/img/arrow_left_white.svg');
}

.info-block .tomsneddon .right-arrow:after {
    background-image: url('assets/img/arrow_right_white.svg');
}

.linde-slider {
    position: relative;
}

@media screen and (min-width: 1024px) {
    .linde-slider-1 .tomsneddon {
        position: absolute;
        right: 0;
        width: 60%;
        bottom: -25%;
    }
}

.wp-block-spacer {
    display: none;
}

@media screen and (min-width: 1024px) {
    .wp-block-spacer {
        display: block;
    }
}

.linde-slider .wp-block-column:first-child {
    z-index: 1;
}

@media screen and (min-width: 1024px) {
    .linde-slider-2 figure {
        width: 140%;
        margin-bottom: 60px;
    }
}

.hero-info {
    font: normal normal normal 14px/24px Colfax;
    background: #E0F2A6;
    padding: 24px;
    color: #000;
}

.hero-button {
    display: none;
}

.has-modal-open {
    padding: 40px 12px !important;
}

@media screen and (min-width: 768px) {
    .show-only-mobile {
        display: none !important;
    }

    .hero-info {
        position: absolute;
        bottom: 40px;
        right: 40px;
    }

    .hero-button {
        display: block;
        position: absolute;
        bottom: 40px;
        left: 40px;
    }
}

@media screen and (min-width: 1024px) {
    .hero-info {
        font: normal normal normal 16px/27px Colfax;
    }
}

p:not(:last-child) {
    margin-bottom: 1.4em;
}

.contact-block {
    font: normal normal normal 18px/30px Colfax;
}

.bubble {
    position: relative;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

.bubble:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 200px;
    background-image: url('assets/img/kontakt_bubble.svg');
    top: -80%;
    left: -1%;
    background-repeat: no-repeat;
    background-size: contain;
}

@media screen and (max-width: 767px) {
    .wp-block-buttons+.tomsneddon {
        margin-top: 40px;
    }

    .bubble {
        margin-top: 3em;
        justify-content: center;
        text-align: center;
        overflow-x: clip;
    }

    .bubble:before {
        left: 20%;
    }
}

.form-privacy .heading-input-label-gutena {
    display: none;
}

.wp-block-gutena-forms .form-privacy .wp-block-gutena-form-field .gutena-forms-field:not(.textarea-field) {
    height: auto;
}

.wp-block-gutena-forms .form-privacy .checkbox-container {
    font: normal normal normal 14px/28px Colfax;
}

form .form-heading {
    color: #B2BF87;
    font: normal normal normal 25px/28px Colfax;
    margin-top: 36px;
    margin-bottom: 20px;
}

.wp-block-gutena-forms .wp-block-columns {
    margin-bottom: 5px;
    gap: 10px;
}

.wp-block-gutena-forms .checkbox-field {
    padding: 13px 0;
}

.wp-block-gutena-forms input:not([type=checkbox]), textarea {
    border: 0;
    box-shadow: none !important;
    margin: 0 !important;
    outline: 0 !important;
    box-sizing: border-box;
    padding: 13px;
    width: 100%;
}

.wp-block-gutena-forms .wp-block-gutena-form-field, textarea {
    width: 100%;
}

.wp-block-gutena-forms:not(.input-box-border-bottom-only) .wp-block-gutena-form-field:not(.gutena-forms-radio-field):not(.gutena-forms-checkbox-field):not(.gutena-forms-range-field) {
    border: 0;
}

.wp-block-gutena-forms .gutena-forms-field::placeholder,
.wp-block-gutena-forms .gutena-forms-placeholder,
.wp-block-gutena-forms .wp-block-gutena-form-field .gutena-forms-field {
    font-size: 16px;
}

.wp-block-gutena-forms .gutena-forms-field.checkbox-field .checkmark {
    top: 5px;
    transform: none;
}

.wp-block-gutena-forms .gutena-forms-field:not(.checkbox-field):not(.radio-field):not(.optin-field) {
    background-color: #f0f0f0;
}

.wp-block-gutena-forms .wp-block-gutena-form-field .gutena-forms-field:not(.textarea-field):not(.checkbox-field) {
    height: 50px;
}

.wp-block-gutena-forms p {
    padding: 0 !important;
}

.arrow-link {
    font: normal normal normal 18px/30px Colfax;
    color: #B2BF87;
}

.arrow-link a {
    text-decoration: none;
}

.arrow-link:before {
    content: '';
    display: inline-block;
    background-image: url('assets/img/cta_arrow_right.svg');
    background-repeat: no-repeat;
    width: 24px;
    height: 14px;
    margin-right: 10px;
}

footer {
    border-top: 2px solid #B2BF87;
    padding-top: 30px;
    padding-bottom: 30px;
    max-width: 1380px;
    margin: auto;
}

@media screen and (min-width: 1024px) {
    footer {
        margin-top: 200px;
    }
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font: normal normal normal 13px/20px Colfax;
    gap: 10px;
}

.footer-item {
    flex: 1 auto;
    padding-left: 10px;
    padding-right: 10px;
}

.footer-links {
    display: flex;
    gap: 2em;
}

p:has(em) {
    overflow-x: clip;
}