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

/* inter-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: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("inter-v18-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - 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: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("inter-v18-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Normalize */
html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    font-family: "Inter", sans-serif;
}

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

img {
    vertical-align: middle;
}

.icon {
    width: 1.8em;
    height: 1.8em;
}

.icon-mobile, .anfrage, .mapicon {
    width: 1.8em;
    height: 1.8em;
display: none;
float: right;
padding: 32px 20px 0 0;

}

.mapicon {
margin-right: 100px;
}

#telnr { 
display: inline;
	}

p {
font-size: 1.1em;
    line-height: 1.6em;
    margin-top: 0;
}

a {
    text-underline-offset: 0.35em;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

:root {
    --main: #c9641e;
    --mainrgb: 204, 100, 30;
    --copy: #1a1a1a;
    --light_bg: #d4d4d4;
    --verylight_bg: #ededed;
    --dark_bg: #595959;
}

.button, .button-grey {
    cursor: pointer;
    border: none;
    padding:1em 1.75em;
    background-color: var(--main);
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1.2em;
    font-weight: bold;
}

.button .icon {
    margin-top: -0.02em;
    margin-right: 0.6em;
margin-left: .8em;
}

.button:after {
    content: "";
    position: absolute;
    bottom: -0.65em;
    right: -0.5em;
    display: block;
    width: 1.1em;
    height: 1.6em;
    transform: rotate(45deg);
    background-color: #fff;
}

.button-grey:after {
    content: "";
    position: absolute;
    bottom: -0.65em;
    right: -0.5em;
    display: block;
    width: 1.1em;
    height: 1.6em;
    transform: rotate(45deg);
    background-color: #f7f7f7;
}


body {
    color: var(--copy);
}

.inner {
    max-width: 125rem;
    padding: 0 5%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.inner-half {
    padding: 0 10%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

input, textarea {
font-weight: 400;
	display: block;
	margin: 40px 0;
	font-family: "Inter", sans-serif;
	padding: 14px;
	border: 2px solid #eee;
	color: #c9641e;
	background: #f8f8f8;
	width: 60%;
	}

textarea	{
	height: 200px;
	}

.myCheckbox input {
	display: none;
	position: relative;
	z-index: -9999;
	}

.myCheckbox span {
	margin: 6px 20px 0 0;
	width: 26px;
	height: 26px;
	border: 2px solid #eee!important;
	background: url("../images/checkbox-default.png");
	float: left;
	}

.myCheckbox input:checked + span {
	background: url("../images/checkbox-checked.png");
	}

 .checkbox .custom-checkbox input{
	width: 25px;
    height: 25px;
    background-color: #fff;
    margin-right: 10px;

}

@media (max-width: 899px) {
    .inner-half {
        padding: 0 5%;
    }

.icon-mobile, .anfrage, .mapicon {
display: inline;
}


.button {
    background-color: #fff;
    color: var(--main);
    right: 15%;
top: .4em;
	}}

.logo {
    display: block;
    padding: 2em 0;
    transition: padding 0.2s;
}

@media (max-width: 899px) {
    .logo {
        padding: .75em 0;
        max-width: 10em;
    }
}

@media (min-width: 900px) {
    .logo {
        min-width: 13em;
        margin-right: 1em;
    }
    body.scrolled .logo {
        padding: 1em 0;
    }
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    background-color: #fff;
    box-shadow: 0 .2em .5em rgba(0, 0, 0, 0.2);
}

main {
    margin-top: 4.5em;
}

@media (min-width: 900px) {
    main {
        margin-top:9em;
    }
}

header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
}

.nav-main-toggler {
    width: 2em;
    position: absolute;
    top: 1.75em;
    right: 5%;
    cursor: pointer;
}

@media (min-width: 900px) {
    .nav-main-toggler {
        display: none;
        top: 2em;
    }
}

.nav-main-toggler .line {
    height: 4px;
    background-color: var(--main);
    width: 100%;
    margin-bottom: 7px;
}

.nav-main-toggler .line:last-child {
    margin-bottom: 0;
}

.nav-main {
    position: relative;
}

.nav-main a {
    color: var(--copy);
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.5em 0;
    margin: 0 1.5em;
    white-space: nowrap;
    transition: border-color 0.15s;
    border-bottom: 2px solid transparent;
}
.nav-main a.active {
    border-bottom: 2px solid var(--main);
}

@media (min-width: 900px) {
    .nav-main {
        display: flex !important;
    }

    .nav-main a:hover, .nav-main a:focus {
        border-bottom: 2px solid var(--main);
    }
}

@media (min-width: 900px) {
    .nav-main {
        font-size: 1.2em;
    }
}

@media (max-width: 899px) {
    .nav-main {
        margin-top: 3.2em;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s, padding 0.2s, top 0.2s;
        width: 95%;
        background-color: #ffffff;
        box-shadow: 0.5em 0.5em 1em rgba(0, 0, 0, 0.2);
        left: 0;
        position: absolute;
        top: 1em;
    }

    .nav-main a {
        display: block;
        padding: 1em;
        text-align: center;
        border-bottom: 1px solid rgba(var(--mainrgb), 0.3);
    }

    .nav-main a:last-child {
        border-bottom: 0;
    }
}

.nav-main.open {
    max-height: 50em;
}

.navigation-area {
    top: -2em;
    transition: top 0.2s;
}

@media (max-width: 899px) {
    .navigation-area {
        top: 0em;
        width: 95%;
        z-index: 2;
        position: fixed;
    }

    .navigation-area .nav-main-toggler {
        padding: 0;
        transition: padding 0.2s;
    }

    .navigation-area .nav-main-toggler {
        padding: 0.5em;
        border-radius: 0.2em;
        transition: top .2s;
    }
}

.navigation-area.sticky {
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 0;
    text-align: center;
}

.navigation-area.sticky .nav-main {
    background-color: #fff;
    margin: 0 auto;
    box-shadow: .2em .2em 1em rgba(0, 0, 0, 0.2);
    border-radius: .25em;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (min-width: 900px) {
    .navigation-area.sticky {
        top: -10px;
        left: 0;
    }

    .navigation-area.sticky .nav-main {
        padding: .2em 0;
        width: auto;
        display: inline-flex !important;
    }
}

@media (max-width: 899px) {
    .navigation-area.sticky {
        width: 95%;
        top: 2em;
    }

    .navigation-area.sticky .nav-main-toggler {
        top: 0;
    }

    .navigation-area.sticky .nav-main {
        top: 3em;
    }
}

.navigation-area .inner {
    text-align: center;
}

.cta {
    align-self: flex-start;
    white-space: nowrap;
    padding-top:1em;
    padding-bottom:1em;
}
@media  (max-width: 1149px) {
    .cta {
        font-size:.85em;
    }
}
@media (min-width: 900px) and (max-width: 1149px) {
    .cta {
        position: absolute;
        right: 6%;
    }

    .navigation-area:not(.sticky)  {
//       margin-right: 3%;
margin-top: 24px;
    }
}

@media (max-width: 499px) {

.mapicon {
margin-right: 70px;
}

    .cta {
        font-size: .75em;
        position: absolute;
        right: 5%;
        padding-top:.75em;
        padding-bottom:.75em;
    }
}

.cta img {
    margin-right: 0.5em;
}

.hero {
    background-image: url("../images/start.webp");
    background-position: center;
    background-size: cover;
    color: #fff;
    text-transform: uppercase;
    min-height: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 20em;
}


.page-about .hero {
    background-image: url("../images/ueber-uns-team.webp");
    background-position: center top;
}

.page-job .hero {
    background-image: url("../images/stellenagebot-tischler-wedel-hamburg.webp");
}


.hero h1 {
    z-index: 1;
    max-width: 20em;
    position: relative;
    font-weight: 300;
}

h1 .text {
    font-size: 32px;
line-height: 46px;
    position: relative;
    z-index: 2;
    text-align: left;
    padding: .6em 1em .6em 1em;
    display: block;
    hyphens: auto;
}
.headline-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    display: block;
    z-index: 1;
}

.teaser-inner {
    max-width: 30em;
    margin: 0 auto;
}

.teaser-inner2 {
    max-width: 100%;
    margin: 0 auto;
}

.teaser-inner .button {
    min-height:2em;
    padding:.5em 1.5em;

}

@media (min-width: 900px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .teasers .inner {
        display: flex;
        flex-wrap: wrap;
    }

    .teasers .teaser {
        width: 31.3333%;
        padding: 5% 1% 2% 1%;
    }

.teaser2	{
	width: 28%;
	margin: 2.5% 2.5% 5% 2.5%;
	padding: 0;
	-webkit-box-shadow: 0px 3px 6px 3px rgba(85,85,85,0.10);
	box-shadow: 0px 3px 6px 3px rgba(85,85,85,0.10);
	}

    .teaser-inner {
        max-width: 18em;
    }

    .teaser-inner2 {
        max-width: 30%;
    }

}

@media (max-width: 899px) {
    .teaser {
        margin-bottom: 3em;
    }
}

.teasers {
    padding: 3em 0;
    text-align: center;
}

.teasers .to-products {
padding-top: 10px;
    color: var(--main);
    text-align: center;
    display: block;
    margin: 2em auto;
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: bold;
border-bottom: 2px solid var(--main);
}

.teasers h2 {
    color: var(--main);
    min-height: 2.5em;
    margin-bottom: 1em;
    font-size: 1.5em;
}

@media (min-width: 900px) {
    .team {
        display: flex;
    }
}

.team > * {
    flex: 1;
}

.team .text {
    background-color: var(--main);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("../images/logo.webp");
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: center;
    padding: 2em 0;
}

.team .text h2 {
    font-weight: normal;
    line-height: 1.4em;
}

.team .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .button {
   background-color: var(--dark_bg);
    padding:.6em 1.5em;
}

.team .button:after {
    background-color: var(--main);
}

.copy-text {
    margin-bottom: 3em;
}

footer {
    background-image: url("../images/last.avif");
    color: #fff;
}

@media (min-width: 900px) {
    footer {
        font-size: 1.15em;
    }
}

footer .inner {
    justify-content: space-between;
    padding-top: 3em;
    padding-bottom: 3em;
}

@media (min-width: 900px) {
    footer .inner {
        display: flex;
    }
}

footer a {
    color: #fff;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    padding: 0.6em 0;
}

@media (min-width: 900px) {
    .footer-nav {
        display: flex;
}}

@media (max-width: 899px) {

#telnr { display:none; }

    .footer-nav {
        margin-bottom: 2em;
    }

input, textarea {
	width: 95%;
	margin-right: 5%;
	}
}

.footer-nav .part1,
.footer-nav .part2 {
    margin-right: 4em;
}

.page-contact .hero {
    background-image: url("../images/tischlerei-wedel-bauelemente.webp");
}

.page-contact .hero:after {
    content: none;
}

.page-contact .contact-section {
    padding: 3em 0;
}
.contact-section .subpart {
    margin-bottom:2.5em;
}
.contact-section .subpart img {
    width:3em;
    height:auto;
}

@media (min-width: 700px) {
    .page-contact .contact-section .parts {
        padding: 2em 0;
        display: flex;
        width: 100%;
        align-items: center;
    }

    .page-contact .contact-section .part1,
    .page-contact .contact-section .part2 {
        flex: 1;
    }
}

.page-contact .contact-section .part1 {
    address,
    .subpart {
        display: flex;
        align-items: center;
        flex: 1;

        img {
            margin-right: 1em;
        }
    }
}

.page-contact .contact-section .part1 {
     * {
        margin-bottom: 2em;
    }

    p {
        margin: 0;
    }
}
.page-contact .map iframe {
    width: 100%;
    height:30vw;
    min-height:30em;
}
main a {
    color: var(--main);
    text-decoration: none;
}

.companies {
    margin: 3% 0 2.1% 0;
}

.companies .image {
	margin: 0 5% 0 0;
	vertical-align: center;
	}

.companies .inner {
    display: flex;

    > div {
        flex: 1;
        text-align: center;
    }
}

.hero {
    position: relative;
}

.hero .ornament {
    position: absolute;
    height: 8em;
    background: #fff;
    transform: skewY(-3.5deg);
    border-top: 1em solid var(--main);
    bottom: -4em;
    width: 100%;
}

.categories-nav {
    background-color: var(--main);
    margin-top: 2em;
}

.categories-nav .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding:.5em;
}

.categories-nav a {
    color: #fff;
    padding: 1vw 1vw;
}
@media(max-width: 899px) {
    .categories-nav a {
        padding-left:.65em;
        padding-right:.65em;
        display: inline-block;
    }
}
.category {
    scroll-margin-top: 15px;
}
.category:first-child {
    scroll-margin-top: 35px;
}
.category .headline {
    background-color: #fff;
}
.category-inner-part {
    margin-bottom:4em;
    padding-top: 2em;
    padding-bottom: 2em;
}
@media(max-width:899px) {
    .categories-nav {
        padding-top: 1em;
    }
    .category-inner-part {
        background-color:var(--verylight_bg) ;
        overflow: hidden;
        border-bottom:10px solid var(--verylight_bg);
        border-right:15px solid var(--verylight_bg);
    }
    .brand-logo {
        background-color: #fff;
        width:110%;
        position: relative;
        padding:3.5%;
        margin-left:-6% !important;
        transform:skewY(-3deg);
        text-align: center;

        margin-bottom:-4em;
        padding-bottom:3em;

        img {
            transform:skewY(3deg);
        }
    }
    .category .text {
        padding-bottom:2em;
    }
}


@media(min-width:900px) {
    .category-inner-part .inner {
        display: flex;
        align-items: center;
    }
    .category-inner-part {
        background-image: linear-gradient(102deg, var(--verylight_bg) 70%, #fff 70%);
        border: .25em solid var(--verylight_bg);
        border-right: 0;

    }
    .category .text {
        width: 42%;
    }
}

.category-inner-part .button:after {
    background-color: var(--verylight_bg);
}
.category h2 {
    padding: 3em 0 1.5em;
    margin: 0;
    color: var(--main);
    font-size: 1.75em;
}

.category h3 {
    color: var(--main);
    font-size: 1.5em;
    font-weight: 400;
}

.category .image {
    margin-right: 3%;
}

.category .brand-logo {
    margin-left: auto;
}
.gallery-parts {
    background-color: var(--light_bg);
    padding:2em 0;
    overflow: hidden;
}
.gallery-part {
    margin-bottom:1em;
}
.gallery-part .inner {
    position: relative;
    overflow: hidden;
}
.gallery-part .headline-wrapper {
    margin:0;
    font-size:2em;
    position: absolute;
    width:9em;
    text-align: right;
    transform:rotate(-90deg);
    margin-left:-5.5em;
    top:4.4em;
}

.gallery-part h4 {
    position: relative;
    right:0;
    display: inline-block;
    color:#fff;
    margin:0;
}
.gallery-part .inner-grid {
    display: flex;
    width:102%;
    margin-left:-1%;
    flex-wrap: wrap;

    a {
        margin:1%;
        width:23%;
    }
    .main-image {
        width:100%;
        height:auto;
    }
}
.lightbox-image {
    position: relative;
    overflow: hidden;
}
.lightbox-image .gradient {
    content:'';
    position: absolute;
    background-image: radial-gradient(rgba(0,0,0,.35) 0 ,rgba(0,0,0,.1) 50%);
    top:0;
    left:0;
    z-index: 5;
    width:100%;
    height:100%;
    opacity: 1;
}
.lightbox-image .magni-icon {
    position: absolute;
    width:2em;
    height:2em;
    top:calc(50% - 1em);
    left:calc(50% - 1em);
    opacity: .8;
    z-index: 6;
    transition: opacity .2s, transform .2s;
}
.lightbox-image:hover:before {
    opacity: 0;
}
.lightbox-image .main-image {
    transition: transform .5s ease-out;
}
.lightbox-image:hover .magni-icon {
    opacity: 1;
    transform: scale(1.5);
}
.lightbox-image:hover .main-image {
    transform: scale(1.05);
}
.intro-part {
    padding-top:3em;
    padding-bottom: 2em;

    h2 {
        display: inline-block;
        border-bottom:4px solid var(--main);
        padding-bottom:.1em;
        font-size:2em;
        margin:.5em 0;
    }

    p {
        max-width:45em;
    }
}
@media(max-width:1499px) {

.hero h1 {
    max-width: 16em;
}

h1 .text {
    font-size: 32px;
line-height: 46px;
    position: relative;
    z-index: 2;
    text-align: left;
    padding: .6em .6em;
    display: block;
    hyphens: auto;
}

    .gallery-part .headline-wrapper {
        transform:none;
        position: relative;
        text-align: left;
        top:0;
        width:100%;
        margin:1% 1% 0;
    }
}
@media(max-width:799px) {
    .gallery-part .inner-grid {
        margin-left:-2%;
        width:104%;
    }
    .gallery-part .inner-grid a {
        margin:2%;
        width:46%;
    }
    .gallery-part .headline-wrapper {
        margin:1% 2% 0;
    }
}
.page-about {
    .about {
        margin-bottom:4em;
    }
}
.image-and-text {
    .image:after {
        content: "";
        position: absolute;

        display: block;

        transform: rotate(55deg);
        background-color: #fff;
        width: 35vw;
        height: 35vw;
        bottom: -22vw;
        right: -18vw;
    }
    @media(min-width:900px) {
        display: flex;
        margin-left:-2%;

        .image,
        .text {
            width:46%;
            margin:2%;
        }
        .image:after {
            bottom: -7em;
            right: -3em;
            width: 9em;
            height: 15em;
        }
    }

    .image {
        position: relative;
        overflow: hidden;
    }
    .image img {
        width:100%;
    }
}
.map img {
    width:100%;
}
.personimage {
    border:1px solid #ddd;
}


.category-link:hover,
.category-link:focus {
    text-decoration: underline;
    text-underline-offset: .65em;
}
.back-to-top {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 1em;
    right: 1em;
    background-color: #fff;
    border-radius: 50%;
    -webkit-box-shadow: 0.05em 0.05em 0.5em rgba(0, 0, 0, 0.2);
    box-shadow: 0.05em 0.05em 0.5em rgba(0, 0, 0, 0.2);
    padding: 0.75em;
    width: 1.5em;
    z-index: 15;
    height: 1.5em;
}
iframe {
    border:0;
}