/* Placeholder for schlagenhaufen.at until the January rework.
   Brand values come from the old site: green from css/main.css, ink and red from img/diebar_logo.png. */

@font-face { font-family: "Albert Sans"; src: url("fonts/albert-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    color-scheme: light;

    --ground: #f5f4ec;
    --ink: #20241e;
    --ink-soft: #555b50;
    --line: #d9d8cc;
    --action: #324a30;
    --sign: #324a30;
    --sign-deep: #2a3f29;

    --font: "Albert Sans", Verdana, sans-serif;
    --body-size: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--body-size);
    line-height: 1.55;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
}

/* Two signs of one house: diebar on the light half, the Gasthof on the green half. */
.signs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 13rem;
}

.sign {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-decoration: none;
}

.sign-bar { background: #fff; }

.sign-bar img {
    display: block;
    width: min(100%, 14rem);
    height: auto;
}

.sign-hof {
    background: linear-gradient(180deg, var(--sign), var(--sign-deep));
}

.sign-hof img {
    display: block;
    width: min(100%, 22rem);
    height: auto;
}

/* The split of the signs carries on through the content. */
.page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 70rem;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 5rem;
    column-gap: 4rem;
    row-gap: 3rem;
}

h1 {
    margin: 0 0 1rem;
    font-family: var(--font);
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h2 {
    margin: 0 0 1.5rem;
    font-family: var(--font);
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.2;
}

h3 {
    margin: 2rem 0 0.375rem;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.3;
}

p { margin: 0 0 1rem; text-wrap: pretty; }

.lead { max-width: 28rem; color: var(--ink-soft); }

a {
    color: var(--action);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    transition: text-decoration-thickness 120ms ease-out;
}

a:hover { text-decoration-thickness: 2px; }

a:focus-visible {
    outline: 2px solid var(--action);
    outline-offset: 3px;
    border-radius: 2px;
}

.contact {
    margin: 2rem 0;
    font-family: var(--font);
    font-size: 1.5rem;
    line-height: 1.5;
}

.contact a { display: inline-block; }

.note a { color: var(--action); }

.facts { margin: 0; }

.facts dt {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.facts dd {
    margin: 0 0 1.125rem;
    overflow-wrap: anywhere;
}

.prose { max-width: 36rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.25rem; }
.prose h3:first-child { margin-top: 0; }

@media (max-width: 47.99rem) {
    .signs { grid-template-columns: 1fr; min-height: 0; }
    .sign { padding: 1.5rem 1rem; }
    .sign-bar img { width: 10rem; }
    .page { grid-template-columns: 1fr; padding: 2.5rem 1rem 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    a { transition: none; }
}
