/* Schreinerei Jahrring, fiktives Beispiel von Ortsklar. Stil: präzise, ruhig, wie ein Werkkatalog. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --stein: #F2F0EB; --papier: #FAF9F6; --graphit: #1A1A19; --leise: #5E5A52; --eiche: #8A5A2B; --eiche-2: #6F4720; --linie: #D9D3C7;
  --display: "Archivo", system-ui, sans-serif; --body: "Newsreader", Georgia, serif;
  --r: 18px; --r-s: 10px;
  --gutter: 20px; --wrap: min(1240px, calc(100% - 2 * var(--gutter))); --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }
html { scroll-padding-top: 130px; }
body { background: var(--stein); color: var(--graphit); font-family: var(--body); font-size: 19px; line-height: 1.5; }
.wrap { width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
h2 { font-size: clamp(40px, 6.2vw, 92px); }
:focus-visible { outline: 2px solid var(--eiche); outline-offset: 3px; border-radius: 4px; }
.note { font-size: 16px; color: var(--leise); margin-top: 20px; font-style: italic; }

.nav { position: sticky; top: 49px; z-index: 60; background: rgba(242, 240, 235, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .6s var(--ease); border-bottom: 1px solid var(--linie); }
.nav.is-hidden { transform: translateY(-160%); }
.nav-row { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand svg { width: 32px; height: 32px; color: var(--eiche); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.04em; }
.nav-links { display: none; gap: 30px; margin-right: 20px; font-family: var(--display); font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding: 6px 0; transition: background-size .5s var(--ease); }
.nav-links a:hover { background-size: 100% 1.5px; }
.nav .nav-cta { display: none; }
.menu-btn { height: 46px; padding: 0 18px; border: 1.5px solid var(--graphit); border-radius: var(--r-s); background: none; font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; }
@media (min-width: 1024px) { .nav-links { display: flex; } .nav .nav-cta { display: inline-flex; min-height: 46px; padding: 0 20px; font-size: 15px; } .menu-btn { display: none; } }
.menu-sheet { position: fixed; inset: 0; z-index: 80; background: rgba(26,26,25,.4); padding: 12px; }
.menu-inner { background: var(--papier); border-radius: var(--r); padding: 24px 28px 30px; display: flex; flex-direction: column; gap: 2px; }
.menu-inner a { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.04em; text-decoration: none; padding: 6px 0; }
.menu-inner .btn-oak { margin-top: 18px; }
.menu-close { align-self: flex-end; border: 1.5px solid var(--graphit); background: none; border-radius: var(--r-s); padding: 10px 14px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 14px; }

.btn-oak, .btn-ink { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: var(--r-s); font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); will-change: transform; }
.btn-oak { background: var(--eiche); color: #fff; } .btn-oak:hover { background: var(--eiche-2); }
.btn-ink { background: none; color: var(--graphit); box-shadow: inset 0 0 0 1.5px var(--graphit); } .btn-ink:hover { background: var(--graphit); color: var(--stein); }
.btn-under { display: inline-flex; align-items: center; min-height: 48px; padding: 0; border: 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1.5px no-repeat; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-oak:active, .btn-ink:active { scale: .97; }

.hero { padding-top: clamp(36px, 6vw, 80px); }
.hero-title { font-size: clamp(34px, 10.2vw, 128px); line-height: .92; white-space: nowrap; }
.hero-row { display: grid; gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
.hero-row p { max-width: 36ch; font-size: 21px; color: var(--leise); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (min-width: 1024px) { .hero-row { grid-template-columns: 1fr auto; align-items: end; } }
.hero-media { position: relative; width: var(--wrap); margin: clamp(32px, 4vw, 56px) auto 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.hero-media img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
@media (min-width: 768px) { .hero-media { aspect-ratio: 21 / 9; } }

.work, .services, .process, .wood, .contact { padding-block: clamp(80px, 10vw, 150px); }
.work-grid { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 56px); }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--graphit); }
.work-list button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--linie); background: none; text-align: left; cursor: pointer; transition: padding .5s var(--ease), color .4s; color: var(--leise); }
.work-list span { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.03em; line-height: 1.1; }
.work-list em { font-size: 16px; white-space: nowrap; }
.work-list button.is-active { color: var(--graphit); padding-left: 14px; }
.work-list button.is-active span { color: var(--eiche); }
.work-view { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--linie); order: -1; }
.work-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.3s var(--ease); }
.work-view img.is-active { opacity: 1; transform: none; }
@media (max-width: 1023px) { .work-view { position: sticky; top: 132px; z-index: 2; box-shadow: 0 24px 40px -24px rgba(26,26,25,.5); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .work-view { order: 0; position: sticky; top: 140px; aspect-ratio: 1; } }

.services { background: var(--papier); border-radius: 36px; margin-inline: 8px; }
.svc { display: grid; margin-top: clamp(28px, 4vw, 56px); border-top: 1.5px solid var(--graphit); }
.svc > div { padding: 28px 0; border-bottom: 1px solid var(--linie); }
.svc h3 { font-size: 28px; margin-bottom: 8px; } .svc p { color: var(--leise); max-width: 34ch; }
.rate { margin-top: 32px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.rate span { font-family: var(--body); font-weight: 400; font-style: italic; color: var(--leise); }
@media (min-width: 768px) { .svc { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1024px) { .svc { grid-template-columns: repeat(3, 1fr); } }

.steps { list-style: none; margin: clamp(32px, 5vw, 72px) 0 0; padding: 0; display: grid; gap: 28px; }
.steps li { border-top: 1.5px solid var(--graphit); padding-top: 18px; }
.steps b { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 9vw, 132px); line-height: .85; letter-spacing: -.05em; color: var(--eiche); display: block; }
.steps p { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; max-width: 16ch; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
@media (max-width: 767px) { .steps li { display: flex; align-items: baseline; gap: 20px; } .steps b { font-size: 64px; min-width: 52px; } }

.wood { padding-top: 0; }
.wood-grid { display: grid; gap: 36px; }
.wood-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.wood-media img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.wood-text { display: grid; gap: 22px; align-content: center; }
.wood-text h2 { font-size: clamp(36px, 4.8vw, 68px); }
.wood-text > p { max-width: 40ch; color: var(--leise); font-size: 21px; }
.learn { margin-top: 12px; padding: 28px; border-radius: var(--r); background: var(--papier); display: grid; gap: 8px; justify-items: start; }
.learn b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
@media (min-width: 1024px) { .wood-grid { grid-template-columns: .9fr 1.1fr; gap: 88px; } }

.contact { background: var(--graphit); color: var(--stein); border-radius: 36px 36px 0 0; padding-bottom: clamp(56px, 7vw, 96px); }
.contact-grid { display: grid; gap: 40px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact .btn-ink { color: var(--stein); box-shadow: inset 0 0 0 1.5px rgba(242,240,235,.5); } .contact .btn-ink:hover { background: var(--stein); color: var(--graphit); }
.contact .btn-oak { background: var(--stein); color: var(--graphit); } .contact .btn-oak:hover { background: #fff; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(242,240,235,.2); }
.hours dt { font-family: var(--display); font-weight: 700; } .hours dd { margin: 0; text-align: right; white-space: nowrap; }
.hours div.is-today dt::after { content: " (heute)"; font-family: var(--body); font-weight: 400; font-style: italic; color: #C99A66; }
.contact .note { color: rgba(242,240,235,.7); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.2fr .8fr; gap: 88px; align-items: end; } }

.footer { background: var(--graphit); color: var(--stein); padding: 0 0 calc(32px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer-mark { font-family: var(--display); font-weight: 800; font-size: min(21.5vw, 300px); letter-spacing: -.06em; line-height: .82; white-space: nowrap; color: #2B2A28; }
.footer-row { display: grid; gap: 12px; margin-top: 32px; font-size: 16px; color: rgba(242,240,235,.7); }
.footer-row nav { display: flex; gap: 20px; } .footer a { color: var(--stein); text-underline-offset: 4px; }
@media (min-width: 1024px) { .footer-row { grid-template-columns: 1fr auto 1fr; } .footer-row p:last-child { text-align: right; } }
.toast { background: var(--graphit); color: var(--stein); border-radius: var(--r-s); font-family: var(--display); font-weight: 500; bottom: calc(24px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 1px rgba(242,240,235,.25); }
.legal { padding-block: 72px 120px; } .legal .wrap { max-width: 760px; } .legal h1 { font-size: clamp(48px, 7vw, 92px); margin-bottom: 28px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin: 36px 0 8px; } .legal p { color: var(--leise); }
.legal .disclaimer { padding: 16px 20px; border-radius: var(--r-s); background: var(--papier); font-family: var(--display); font-weight: 700; margin-bottom: 28px; } .legal-back { margin-bottom: 32px; }
.legal + .footer { padding-top: 40px; }
