:root {
    --ink: #112746;
    --paper: #f8f7f2;
    --line: #c6c8c2;
    --gutter: clamp(1.25rem, 5vw, 6rem);
    font: 100%/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #bf913f; outline-offset: 4px; }
.masthead, footer {
    padding: 1.4rem var(--gutter);
    display: flex;
    align-items: baseline;
    gap: 2rem;
    color: white;
    background: #102541;
}
.masthead { position: relative; z-index: 2; }
.home .masthead { position: absolute; inset: 0 0 auto; background: linear-gradient(#07172bbd, transparent); }
.wordmark { font-size: clamp(1.1rem, 2vw, 1.8rem); letter-spacing: -.045em; margin-right: auto; }
.masthead a, .phases { text-decoration: none; }
.desktop-nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.masthead a:hover, .masthead [aria-current] { text-decoration: underline; }
.mobile-nav { display: none; }
.languages { white-space: nowrap; }
.hero {
    min-height: max(39rem, 100svh);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 7rem var(--gutter) 2rem;
    color: white;
    background: linear-gradient(0deg, #07192dcc, transparent 62%), linear-gradient(90deg,#07192d66,transparent 68%), url("../img/lichtwechsel-je21c72.webp") center / cover no-repeat, #102541;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 6rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); margin-top: 1.5em; }
h3 { font-size: 1.55rem; margin-top: 2em; }
.hero h1 { font-size: clamp(3.5rem, 6vw, 7rem); margin-bottom: .18em; }
.hero-copy p { font-size: clamp(1.2rem, 2vw, 2rem); line-height: 1.35; margin: .45em 0 1em; }
.btn { display: inline-block; border: 1px solid currentColor; padding: .55em 1.25em; text-decoration: none; }
.btn:hover { background: var(--ink); color: white; }
.hero .btn:hover { background: white; color: var(--ink); }
.phases { border-top: 1px solid #ffffff80; padding-top: 1rem; margin-top: clamp(3rem, 10vh, 8rem); font-size: clamp(1rem, 1.45vw, 1.4rem); }
.phases span + span::before { content: '·'; margin: 0 .6em; }
.interior main, .body-wrapper { max-width: 74rem; margin: auto; padding: clamp(3rem, 7vw, 7rem) var(--gutter); min-height: 66vh; }
main p, main ul, blockquote { max-width: 70ch; }
.body-wrapper, .interior main { font-size: 1.1rem; }
blockquote { border-left: 2px solid #ad823c; margin: 1.5rem 0; padding-left: 1.25rem; font-style: italic; }
img { max-width: 100%; height: auto; }
.about-image p, .about-text { display: flex; gap: 1rem; }
.about-image img { min-width: 0; object-fit: cover; }
.about-text > div { flex: 1; }
.schedule-container { list-style: none; padding: 0; }
.schedule-row, .faq { padding: 1rem 0; border-top: 1px solid var(--line); }
.schedule-time { display: inline-block; width: 9rem; font-variant-numeric: tabular-nums; }
summary { cursor: pointer; }
footer { justify-content: space-between; flex-wrap: wrap; }
@media (max-width: 760px) {
    .desktop-nav { display: none; }
    .masthead { justify-content: space-between; gap: .5rem; align-items: center; }
    .wordmark { margin: 0; font-size: 1.05rem; }
    .mobile-nav { display: block; order: -1; }
    .mobile-nav nav { position: absolute; top: 100%; left: 0; right: 0; padding: 1rem var(--gutter); background: #102541; display: grid; }
    .mobile-nav nav a { padding: .6rem 0; }
    .hero { background-position: 59% center; min-height: max(34rem, 100svh); padding-bottom: 1.2rem; }
    .hero h1 { max-width: 8ch; }
    .phases { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: 3rem; }
    .phases span + span::before { content: none; }
    .about-text { flex-direction: column; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn-inquiry { color: var(--ink); background: rgb(255 255 255 / 86%); border-color: transparent; }
.hero .btn-inquiry:hover { background: white; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.quotes figure { margin: 0; }
.quotes blockquote { margin: .5rem 0; }
.quotes figcaption { padding-left: 1.25rem; font-size: .9em; }
.quote-pager { display: inline-block; margin-top: 1rem; padding: .5rem 0; }
@media (max-width: 760px) {
    .quotes { grid-template-columns: 1fr; gap: .75rem; }
}
