/** ANCHOR Fonts (self-hosted) */
@font-face { font-family: "Oswald"; font-weight: 300; font-display: swap; src: url("fonts/oswald-v49-latin-ext_latin-300.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("fonts/oswald-v49-latin-ext_latin-500.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("fonts/open-sans-v34-latin-ext_latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("fonts/open-sans-v34-latin-ext_latin-600.woff2") format("woff2"); }

/** ANCHOR Tokens */
:root {
    --primary: #97461f;
    --secondary: #556632;
    --paper: #f7f1e6;
    --line: #e4d8c3;
    --ink: #2b2620;
    --fontColor: #4a433b;
    --muted: #8a7f70;
    --headFont: "Oswald", "Arial Narrow", sans-serif;
    --bodyFont: "Open Sans", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/** ANCHOR Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column;
    font: 400 16px/1.7 var(--bodyFont); color: var(--fontColor);
    background: var(--paper);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 3px; }
h1, h2 { font-family: var(--headFont); font-weight: 500; text-transform: uppercase; color: var(--ink); line-height: 1.15; }

/** ANCHOR Main */
main { flex: 1; display: grid; place-items: center; padding: clamp(40px, 8vh, 90px) 20px; }
.inner { width: min(100%, 560px); text-align: center; animation: rise .9s var(--ease) both; }
.logo { display: block; width: clamp(200px, 50vw, 300px); height: auto; margin: 0 auto 10px; }
h1 { font-weight: 300; font-size: clamp(15px, 2vw, 17px); letter-spacing: .34em; color: var(--secondary); margin: 0 0 clamp(34px, 5vh, 50px); }

.contact { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; text-align: left; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.contact .label { font: 500 12px/1.4 var(--headFont); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact .value { color: var(--ink); font-weight: 600; }
.contact .value small { display: block; font-weight: 400; color: var(--fontColor); font-size: 14px; }
@media (max-width: 460px) {
    .contact li { grid-template-columns: 1fr; gap: 2px; }
}

/** ANCHOR Footer / Impressum */
footer { border-top: 1px solid var(--line); padding: 26px 20px 30px; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.6; }
footer h2 { font-size: 12px; letter-spacing: .22em; color: var(--muted); margin: 0 0 6px; }
footer p { margin: 0 0 6px; }
footer nav { margin-top: 12px; display: flex; justify-content: center; gap: 20px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/** ANCHOR Unterseite */
.text-page { flex: 1; width: min(100% - 40px, 720px); margin: 0 auto; padding: 40px 0 60px; }
.text-page .back { display: inline-block; margin-bottom: 30px; }
.text-page .back img { width: 110px; height: auto; }
.text-page h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: .06em; color: var(--secondary); margin: 0 0 24px; font-weight: 300; }
.text-page h2 { font-size: 20px; letter-spacing: .06em; color: var(--primary); margin: 1.8em 0 .5em; }
.text-page li { margin-bottom: .3em; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .inner { animation: none; } }
