:root {
    --orange: #F16E1A;
    --charcoal: #2F3334;
    --cream: #f4f1ec;
    --paper: #fff;
    --text: #666;
    --line: #ddd
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #e8e8e8;
    color: var(--text);
    font: 14px Arial, Helvetica, sans-serif
}

main {
    width: 1080px;
    max-width: 100%;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, .13)
}

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

.header {
    height: 128px;
    padding: 0 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 5px solid var(--orange)
}

.logo img {
    display: block;
    width: 250px;
    max-height: 102px
}

.header nav {
    align-self: stretch;
    display: flex;
    align-items: center
}

.header nav>a,
.nav-group>a {
    height: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    border-left: 1px solid #eee;
    font: 15px Georgia, serif
}

.header nav a:hover,
.header nav a.active {
    color: var(--orange);
    background: #f8f6f3
}

.nav-group {
    height: 100%;
    position: relative
}

.nav-group small {
    font: 7px Arial;
    margin-left: 7px
}

.dropdown {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    width: 170px;
    z-index: 20;
    background: #fff;
    border-top: 3px solid var(--orange);
    box-shadow: 0 3px 8px #777
}

.dropdown a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font: 13px Georgia, serif
}

.nav-group:hover .dropdown {
    display: block
}

.menu-button {
    display: none
}

.slider {
    height: 455px;
    position: relative;
    overflow: hidden;
    border-block: 1px solid #ccc;
    background: #bbb
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 11px
}

.slide.active {
    opacity: 1
}

.slide-one {
    background: linear-gradient(rgba(47, 51, 52, .18), rgba(47, 51, 52, .18)), linear-gradient(135deg, #d0c9c3, #827d79)
}

.slide-two {
    background: linear-gradient(rgba(47, 51, 52, .15), rgba(47, 51, 52, .15)), linear-gradient(145deg, #c8c6c2, #777b7a)
}

.slide-three {
    background: linear-gradient(rgba(47, 51, 52, .15), rgba(47, 51, 52, .15)), linear-gradient(145deg, #cfc5bc, #8b8179)
}

.slide span {
    padding: 13px 18px;
    background: rgba(47, 51, 52, .65);
    border: 1px solid #fff
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 58px;
    border: 0;
    background: rgba(47, 51, 52, .48);
    color: #fff;
    font: 36px Georgia;
    cursor: pointer
}

.prev {
    left: 0
}

.next {
    right: 0
}

.slider-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 7px
}

.slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff
}

.slider-dots button.active {
    background: var(--orange)
}

.quote {
    text-align: center;
    padding: 45px 20px 41px;
    background: #fafafa;
    border-bottom: 1px solid #ddd
}

.quote p {
    font: italic 25px/1.45 Georgia, serif;
    margin: 0 0 8px;
    color: var(--charcoal)
}

.quote span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #999
}

.overview,
.content {
    padding: 54px 38px 72px;
    font-size: 18px;
}

.overview {
    text-align: center
}

.overview>h1,
.page-banner h1 {
    font: 35px Georgia, serif;
    font-weight: normal;
    color: var(--charcoal);
    margin: 0 0 8px
}

.subline {
    font-size: 12px;
    color: #999;
    margin: 0 0 38px
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: left
}

.overview article {
    border: 1px solid #d9d9d9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08)
}

.image-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 9px;
    border-bottom: 4px solid var(--orange)
}

.image-1 {
    background: linear-gradient(145deg, #ccc6c1, #817b76)
}

.image-2 {
    background: linear-gradient(145deg, #d4cbc4, #92877f)
}

.image-3 {
    background: linear-gradient(145deg, #c8c3bf, #7d7c7a)
}

.image-placeholder > span {
    display: block;
    width: 100%;
}

.image-placeholder > span > img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-copy {
    padding: 19px 20px 22px
}

.card-copy h2,
.content h2 {
    font: 23px Georgia, serif;
    color: var(--charcoal);
    font-weight: normal;
    margin: 0 0 10px
}

.card-copy p,
.content p {
    line-height: 1.7
}

.card-copy a,
.team-grid a {
    font-size: 10px;
    color: var(--orange);
    text-decoration: underline
}

.home-team {
    padding: 54px 38px 64px;
    text-align: center;
    background: var(--cream);
    border-top: 1px solid #ddd
}

.home-team>h2 {
    font: 30px Georgia, serif;
    font-weight: normal;
    color: var(--charcoal)
}

.mini-team {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin: 28px 0
}

.mini-team span {
    width: 130px;
    height: 150px;
    margin: auto;
    display: grid;
    place-items: center;
    background: #aaa;
    color: #fff;
    font: 32px Georgia
}

.mini-team h3 {
    font: 18px Georgia;
    margin-bottom: 4px;
    color: var(--charcoal)
}

.mini-team p {
    font-size: 11px
}

.classic-button {
    display: inline-block;
    padding: 10px 18px;
    background: var(--orange);
    color: #fff;
    border: 1px solid #cc570f
}

.page-banner {
    min-height: 190px;
    padding: 55px 38px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eee9e4, #c8c1bc);
    border-bottom: 5px solid var(--orange)
}

.page-banner p {
    font: italic 16px Georgia;
    margin: 8px 0
}

.two-column,
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px
}

.large-placeholder,
.map-placeholder {
    min-height: 270px;
    display: grid;
    place-items: center;
    background: #c2bbb6;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    width: 100%;
    max-width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px
}

.team-grid article {
    text-align: center
}

.person-placeholder {
    height: 340px;
    display: grid;
    place-items: center;
    background: #aaa;
    color: #fff;
    font: 45px Georgia;
    border: 6px solid #fff;
    box-shadow: 0 1px 5px #999
}

.person-2 {
    background: #908b87
}

.team-grid h2 {
    margin-top: 15px
}

.service-list article {
    padding: 22px 0;
    border-bottom: 1px solid #ddd
}

.service-list h3,
.content h3 {
    font: 19px Georgia;
    color: var(--charcoal);
    font-weight: normal
}

.content table {
    width: 100%;
    border-collapse: collapse
}

.content td {
    padding: 13px;
    border-bottom: 1px solid #ddd
}

.content td:last-child {
    text-align: right;
    font-weight: bold;
    color: var(--charcoal)
}

.note {
    font-size: 11px;
    color: #999
}

.contact-strip {
    background: var(--orange);
    color: #fff;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 45px;
    padding: 35px 38px;
    border-top: 5px solid #d65b10
}

.contact-strip h3 {
    font: 21px Georgia;
    margin: 0 0 6px
}

.contact-strip p {
    margin: 0
}

.contact-strip strong {
    font: 16px Georgia;
    font-weight: normal
}

footer {
    background: var(--charcoal);
    color: #ddd;
    padding: 16px 38px;
    display: flex;
    justify-content: space-between;
    font-size: 10px
}

.flex.right{
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

@media (max-width: 1000px) {
    body {
        background: #fff
    }

    main {
        box-shadow: none
    }

    .header {
        height: auto;
        min-height: 110px;
        padding: 16px 28px;
        flex-wrap: wrap
    }

    .logo img {
        width: min(250px, 55vw);
        height: auto;
    }

    .menu-button {
        display: block;
        min-width: 48px;
        min-height: 44px;
        border: 1px solid #bbb;
        border-radius: 2px;
        background: #f5f5f3;
        padding: 10px 14px;
        color: var(--charcoal);
        font-size: 14px;
        cursor: pointer;
    }

    .header nav {
        display: none;
        width: 100%;
        height: auto;
        margin-top: 12px;
        border-top: 1px solid #ddd;
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
    }

    .header nav.open {
        display: flex
    }

    .header nav>a,
    .nav-group>a {
        height: auto;
        min-height: 48px;
        padding: 13px 10px;
        border-left: 0;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }

    .nav-group {
        height: auto
    }

    .dropdown {
        position: static;
        display: block;
        width: auto;
        box-shadow: none;
        border-top: 0;
        padding-left: 18px
    }

    .slider {
        height: clamp(320px, 48vw, 430px)
    }

    .quote p {
        font-size: 21px
    }

    .overview,
    .content {
        padding: 46px 28px 60px
    }

    .overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-grid article:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }

    .two-column,
    .contact-page {
        gap: 32px;
    }

    .contact-strip {
        grid-template-columns: 1fr 1fr;
        gap: 24px 35px;
        padding: 32px 28px;
    }

    .contact-strip > div:first-child {
        grid-column: 1 / -1;
    }

    .mini-team {
        flex-direction: column
    }

    footer {
        padding: 17px 28px;
    }
}

.galerie-raster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fotogalerie {
    width: 100%;
}
.galerie-bild {
    position: relative;
    height: 220px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #d5d5d5;
    background: #eeeeee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);
    font: inherit;
}

.galerie-bild img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galerie-bild:hover img {
    transform: scale(1.05);
}

.galerie-bild span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12px 14px;
    color: #ffffff;
    background: rgba(47, 51, 52, 0.82);
    border-bottom: 4px solid #f16e1a;
    text-align: left;
}

.keine-bilder {
    padding: 30px;
    color: #777777;
    background: #f5f5f5;
    border: 1px solid #dddddd;
    text-align: center;
}

/* Großansicht */

.lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox.offen {
    display: flex;
}

.lightbox-inhalt {
    max-width: 1000px;
    max-height: 90vh;
    padding: 10px;
    background: #ffffff;
}

.lightbox-inhalt img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.lightbox-inhalt p {
    margin: 0;
    padding: 12px 8px 4px;
    color: #2f3334;
    font: 17px Georgia, serif;
    text-align: center;
}

.lightbox-schliessen {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: #f16e1a;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
}

.lightbox-pfeil {
    margin: 20px;
    padding: 10px 18px;
    color: #ffffff;
    background: rgba(47, 51, 52, 0.8);
    border: 1px solid #ffffff;
    cursor: pointer;
    font: 36px Georgia, serif;
}

@media (max-width: 1000px) {
    .galerie-raster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 700px) {
    body {
        min-width: 320px;
    }

    .header {
        min-height: 92px;
        padding: 12px 18px;
    }

    .logo img {
        width: min(205px, 62vw);
    }

    .menu-button {
        min-width: auto;
        padding: 9px 12px;
    }

    .slider {
        height: clamp(250px, 68vw, 340px);
    }

    .arrow {
        width: 42px;
        height: 54px;
        font-size: 32px;
    }

    .quote {
        padding: 34px 18px 31px;
    }

    .quote p {
        font-size: 20px;
    }

    .page-banner {
        min-height: 145px;
        padding: 38px 20px;
    }

    .overview,
    .content {
        padding: 38px 18px 50px;
        font-size: 16px;
    }

    .overview > h1,
    .page-banner h1 {
        font-size: 30px;
    }

    .overview-grid,
    .team-grid,
    .two-column,
    .contact-page,
    .contact-strip,
    .galerie-raster {
        grid-template-columns: 1fr;
    }

    .overview-grid article:last-child {
        grid-column: auto;
        width: 100%;
    }

    .image-placeholder > span > img {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .mini-team {
        flex-direction: column;
    }

    .person-placeholder {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .contact-strip {
        padding: 28px 20px;
        gap: 22px;
    }

    .contact-strip > div:first-child {
        grid-column: auto;
    }

    footer {
        padding: 17px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .galerie-bild {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .lightbox {
        padding: 58px 12px 88px;
    }

    .lightbox-inhalt {
        width: 100%;
        max-height: calc(100vh - 150px);
        padding: 6px;
    }

    .lightbox-inhalt img {
        width: 100%;
        max-height: calc(100vh - 205px);
    }

    .lightbox-schliessen {
        top: 10px;
        right: 12px;
        width: 44px;
        height: 44px;
    }

    .lightbox-pfeil {
        position: absolute;
        z-index: 2;
        bottom: 18px;
        margin: 0;
        min-width: 52px;
        min-height: 48px;
        padding: 4px 14px;
    }

    .lightbox-zurueck {
        left: 20px;
    }

    .lightbox-weiter {
        right: 20px;
    }
}

@media (max-width: 420px) {
    .header {
        padding-inline: 14px;
    }

    .logo img {
        width: min(185px, 60vw);
    }

    .overview,
    .content {
        padding-inline: 14px;
    }

    .page-banner {
        padding-inline: 16px;
    }

    .card-copy {
        padding: 17px 16px 20px;
    }

    .contact-strip,
    footer {
        padding-inline: 16px;
    }

    .content table {
        font-size: 13px;
    }

    .content td {
        padding: 10px 6px;
    }
}
