:root {
    --paper: #f8f8f3;
    --white: #fff;
    --ink: #26342e;
    --muted: #66746b;
    --green: #285b48;
    --line: #dfe6dd;
    --green-hover: #3e725a;
    --surface: #eaf0e4;
    --surface-hover: #dfe8d8;
    --radius: 8px;
    --header-height: 114px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    font: 16px/1.75 'DM Sans',Arial,sans-serif;
    color: var(--ink);
}

a {
    color: var(--green);
    text-underline-offset: 3px;
}

a:hover {
    color: #4b8065;
}

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

h1,h2,h3,h4 {
    font-family: 'Playfair Display',Georgia,serif;
    letter-spacing: -.025em;
    line-height: 1.2;
    color: var(--green);
}

h1 {
    font-size: clamp(2.8rem,5.4vw,5rem);
    margin: 0 0 18px;
}

h2 {
    font-size: clamp(1.8rem,3vw,2.5rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 1.25rem;
}

.site-shell {
    max-width: 1500px;
    margin: auto;
    padding: 0 clamp(22px,6vw,105px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--header-height);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--green);
}

.brand strong {
    font-family: 'Playfair Display',serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.05;
    color: var(--green);
}

.brand span {
    text-align: center;
    font-size: .64rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.brand:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 6px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(15px,2.1vw,32px);
}

.desktop-nav a,.mobile-nav a {
    font-size: .9rem;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.desktop-nav a[aria-current],.mobile-nav a[aria-current] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid var(--green);
    border-radius: var(--radius);
    background: var(--green);
    color: var(--white);
    transition: background-color .2s;
}

.nav-contact:hover {
    background: var(--green-hover);
    color: var(--white);
}

.nav-contact svg {
    flex-shrink: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--green);
    margin: 5px 0;
    transition: transform .2s, opacity .2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav[hidden] {
    display: none!important;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 29;
    background: var(--paper);
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
}

#main {
    min-height: 35vh;
}

.legal-page #main {
    overflow-wrap: anywhere;
    hyphens: auto;
}

#main section {
    scroll-margin-top: calc(var(--header-height) + 24px);
    margin: 0 0 70px;
}

#banner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 7%;
    align-items: center;
    padding: 74px 0 82px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 75px!important;
}

#banner .content {
    min-width: 0;
}

#banner .hero-name {
    position: relative;
    display: block;
    white-space: nowrap;
}

#banner .hero-name.is-typing {
    color: transparent;
}

#banner .hero-name.is-typing::after {
    content: attr(data-typed) '▏';
    position: absolute;
    inset: 0;
    color: var(--green);
    pointer-events: none;
}

#banner header p {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 25px;
}

#banner .image {
    display: block;
    text-align: center;
}

#banner .image img {
    width: 100%;
    max-width: 460px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 50%;
}

.actions {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid transparent;
    background: var(--green);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius);
}

.button:hover {
    color: white;
    background: var(--green-hover);
}

header.major {
    margin-bottom: 30px;
}

header.major h2 {
    display: inline-block;
    border-bottom: 3px solid var(--green);
    padding-bottom: 10px;
    margin: 0;
}

.posts {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px;
}

.posts article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.posts article .image {
    display: block;
    height: 230px;
}

@media (min-width: 801px) {
    .posts article .image {
        height: 330px;
    }
}

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

.posts article .image .interview-image {
    object-position: center top;
}

.posts article h3,.posts article p {
    margin-left: 28px;
    margin-right: 28px;
}

.posts article p {
    margin-bottom: 18px;
}

.posts article p:last-child {
    margin-bottom: 28px;
}

.posts article p:first-of-type:not(:last-child) {
    font-weight: 500;
    color: var(--green);
}

.reference-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 28px 0 5px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

#referenzen .reference-heading h3 {
    margin: 0;
}

.reference-heading h3 {
    font-size: 1.65rem;
}

.reference-heading img {
    width: auto;
    max-width: 155px;
    max-height: 58px;
    object-fit: contain;
}

.reference-heading+p {
    color: var(--muted);
}

.reference-heading~p {
    margin-bottom: 12px;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    margin: 20px 0;
}

.reference-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: 100%;
    padding: 24px 58px 24px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-decoration: none;
    transition: background-color .2s,border-color .2s,box-shadow .2s;
}

.reference-card:hover,
.reference-card:focus-visible {
    color: var(--green);
    background: #f0f4e9;
    border-color: var(--green);
    box-shadow: 0 4px 16px rgb(38 52 46 / 6%);
}

.reference-card:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.reference-title {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.5;
}

.reference-meta {
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.6;
}

.reference-arrow {
    position: absolute;
    right: 22px;
    top: 24px;
    font-size: 1.25rem;
}

header.main {
    margin: 65px 0 25px;
}

/* About: the same page frame with an editorial reading column. */
.about-journey {
    margin-bottom: 38px;
}

.about-journey img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.journey-hint {
    display: none;
}

.about-story {
    display: grid;
    grid-template-columns: minmax(180px,1fr) minmax(0,3fr);
    gap: 36px 64px;
    align-items: start;
}

#main .about-story h2 {
    margin: 0;
    font-size: clamp(1.5rem,2.1vw,2rem);
}

.about-copy {
    max-width: 74ch;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

#main>section h2 {
    margin-top: 26px;
}

#main>section h3 {
    margin-top: 24px;
}

.site-footer {
    padding: 0 0 26px;
    margin-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0,1fr) 210px;
    align-items: center;
    gap: 26px 36px;
    padding: clamp(28px,4vw,56px);
    margin-bottom: 32px;
    background: linear-gradient(120deg,#edf2e7,var(--paper));
    border-radius: 24px 24px 64px 24px;
}

.footer-message {
    grid-column: 1;
    min-width: 0;
}

.footer-illustration {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: 210px;
    justify-self: end;
}

.footer-illustration svg {
    display: block;
    width: 100%;
    height: auto;
}

.footer-top p:last-child {
    margin-bottom: 0;
}

.footer-top h2 {
    font-size: clamp(2rem,3.2vw,3rem);
    margin: 0 0 14px;
}

.footer-contact {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
}

.footer-contact a {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #bdccbb;
    border-radius: var(--radius);
    background: transparent;
    color: var(--green);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color .2s;
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-contact a:hover {
    background: var(--surface-hover);
}

.footer-contact a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 23px;
    border-top: 1px solid var(--line);
    font-size: .82rem;
    color: var(--muted);
}

.footer-bottom nav {
    display: flex;
    gap: 24px;
}

#main ul:not(.actions) {
    padding-left: 22px;
}

#main li {
    margin-bottom: 6px;
}

@media(max-width:800px) {
    .footer-top {
        grid-template-columns: minmax(0,1fr);
        gap: 24px;
        border-radius: 20px 20px 40px 20px;
    }
    .footer-illustration {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        max-width: 110px;
    }
    .footer-message {
        grid-row: 2;
    }
    .about-story {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-copy + h2 {
        padding-top: 16px;
    }
    .about-journey {
        overflow-x: auto;
        margin-bottom: 8px;
        border-radius: var(--radius);
    }
    .about-journey img {
        width: 760px;
        max-width: none;
    }
    .journey-hint {
        display: block;
        color: var(--muted);
        font-size: .8rem;
        margin-bottom: 30px;
    }
    #banner h1 {
        font-size: clamp(1.9rem,7.5vw,3rem);
    }

    .legal-page h1 {
        font-size: clamp(2rem,7vw,2.8rem);
    }

    :root {
        --header-height: 86px;
    }
    .brand {
        gap: 6px;
    }
    .brand strong {
        font-size: 1.65rem;
    }
    .brand span {
        font-size: .56rem;
        letter-spacing: .13em;
    }
    #banner {
        grid-template-columns: 1fr;
        padding: 45px 0 50px;
        gap: 32px;
        margin-bottom: 50px!important;
    }
    #banner .image {
        grid-row: 1;
    }
    #banner .image img {
        max-width: 280px;
    }
    .posts,
    .reference-grid {
        grid-template-columns: 1fr;
    }
    #main section {
        margin-bottom: 50px;
    }
    .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .reference-heading {
        gap: 10px;
    }
    .reference-heading img {
        max-width: 110px;
    }
    .reference-heading h3 {
        font-size: 1.35rem;
    }
}

@media(max-width:420px) {
    .site-shell {
        padding: 0 19px;
    }
    .posts article .image {
        height: 190px;
    }
    .posts article h3,.posts article p {
        margin-left: 20px;
        margin-right: 20px;
    }
    .reference-heading {
        flex-wrap: wrap;
    }
}

@media(prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media(max-width:1000px) {
    .desktop-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .mobile-nav:not([hidden]) {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 18px max(22px, calc((100vw - 1290px) / 2)) 28px;
        border-bottom: 1px solid var(--line);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 18px 35px rgb(38 52 46 / 14%);
    }
    .mobile-nav a {
        padding: 14px 6px;
        font-size: 1.05rem;
    }
    .mobile-nav .nav-contact {
        align-self: flex-start;
        margin-top: 12px;
        padding: 9px 18px;
    }
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
    color: var(--white);
}
