/* Lokal eingebundene variable Schrift; Lizenz: assets/fonts/OFL-Inter.txt. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
}

/* Grundlagen: mobile-first, natürliche Farben, klar erkennbare Fokuszustände. */
:root {
  --paper: #FAF9F6;
  --ink: #1E1E1E;
  --wood: #8B5A2B;
  --wood-dark: #70451E;
  --sage: #5C6B5E;
  --muted: #62635D;
  --line: #DDDCD4;
  --soft: #F0EFE9;
  --error: #A22E25;
  --page-width: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Inter", sans-serif; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
::selection { background: #D9DCCF; color: var(--ink); }
img { display: block; width: 100%; height: auto; object-fit: cover; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { letter-spacing: -.055em; line-height: 1.1; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h3 { font-size: 1.45rem; letter-spacing: -.035em; line-height: 1.3; }
p { text-wrap: pretty; }
.container { width: min(var(--page-width), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 76px; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { color: var(--sage); font-size: .75rem; font-weight: 650; letter-spacing: .14em; line-height: 1.6; margin-bottom: 24px; }
.short-line { display: inline-block; width: 34px; height: 1px; background: currentColor; margin-right: 12px; vertical-align: middle; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 15px 23px; border: 1px solid var(--wood); border-radius: 2px; background: var(--wood); color: white; font-size: .875rem; font-weight: 550; line-height: 1.5; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { background: var(--wood-dark); border-color: var(--wood-dark); transform: translateY(-2px); }
.text-link { display: inline-block; width: fit-content; padding-block: 7px; border-bottom: 1px solid currentColor; font-size: .875rem; font-weight: 550; transition: color .2s; }
.text-link:hover { color: var(--wood); }
.line-icon { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* Kopfzeile und die progressive mobile Navigation. */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(250 249 246 / 97%); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 84px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .91rem; font-weight: 700; letter-spacing: .065em; line-height: 1.4; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; fill: var(--wood); }
.brand small { display: block; margin-top: 4px; font-size: .55rem; font-weight: 500; letter-spacing: .12em; }
.primary-navigation { display: flex; width: 100%; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 10px; }
.primary-navigation > a { font-size: .875rem; font-weight: 500; }
.primary-navigation > a:not(.button):hover, .primary-navigation a[aria-current="location"]:not(.button) { color: var(--wood); }
.button-small { min-height: 44px; padding: 11px 20px; }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; align-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 2px; }
.menu-toggle span { width: 20px; height: 1px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero: große Schrift trifft auf Material und Raum. */
.hero { display: grid; gap: 42px; padding-block: 52px 36px; }
.hero-content { padding-top: 4px; }
.hero h1 { max-width: 720px; font-size: clamp(2.65rem, 7vw, 4.75rem); line-height: 1.06; }
.hero h1 span { color: var(--wood); }
.hero-description { max-width: 470px; color: var(--muted); margin-top: 26px; font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; margin-top: 30px; }
.hero-footnote { display: flex; flex-wrap: wrap; gap: 10px 15px; align-items: center; margin-top: 36px; color: var(--muted); font-size: .75rem; }
.fiction-label { padding: 3px 7px; border: 1px solid #C3C8BE; color: #4C594E; font-size: .75rem; font-weight: 600; letter-spacing: .06em; }
.hero-visual { position: relative; padding-bottom: 35px; min-width: 0; }
.hero-visual > img { height: 430px; object-position: 46% center; }
.image-stamp { position: absolute; left: -1px; bottom: 65px; display: flex; align-items: center; gap: 17px; background: var(--sage); color: white; padding: 19px 24px; font-size: .875rem; line-height: 1.5; }
.image-stamp svg { width: 37px; height: 37px; fill: currentColor; }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .6875rem; color: var(--muted); }
.trust-strip { border-block: 1px solid var(--line); }
.trust-grid { display: grid; }
.trust-grid p { display: flex; gap: 17px; align-items: center; padding-block: 24px; font-size: .8125rem; }
.trust-grid p + p { border-top: 1px solid var(--line); }
.trust-grid svg { color: var(--sage); }
.trust-grid strong { font-weight: 600; }

/* Leistungen bleiben offen und leicht, mit feinen Trennlinien. */
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: 44px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading > p { max-width: 390px; color: var(--muted); font-size: 1rem; }
.services-grid { display: grid; }
.service { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--line); padding: 32px 0; }
.service:last-child { padding-bottom: 0; }
.service-icon { width: 46px; height: 46px; fill: none; stroke: var(--wood); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }
.service h3 { font-size: 1.6rem; margin-bottom: 18px; }
.service p { color: var(--muted); font-size: 1rem; }
.service ul { list-style: none; padding: 0; margin: 22px 0; }
.service li { position: relative; padding-left: 17px; margin-top: 8px; font-size: .875rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 1px; background: var(--wood); }
.service .text-link { font-size: .875rem; margin-top: auto; }

/* Galerie mit zugänglichen Filter-Schaltflächen und vier Konzeptprojekten. */
.projects-section { background: var(--soft); }
.projects-heading { margin-bottom: 18px; }
.project-filters { display: flex; gap: 6px; padding: 4px; border: 1px solid #D2D2C7; border-radius: 3px; }
.project-filters button { min-height: 44px; padding: 7px 19px; border: 0; border-radius: 2px; background: transparent; font-size: .875rem; transition: background .2s, color .2s; }
.project-filters button:hover { background: #E3E3D9; }
.project-filters button[aria-pressed="true"] { background: var(--sage); color: white; }
.project-disclaimer { margin-bottom: 32px; font-size: .75rem; color: var(--muted); }
.projects-grid { display: grid; gap: 38px; }
.project { min-width: 0; }
.project-image { position: relative; overflow: hidden; background: #D7D2C9; }
.project-image img { aspect-ratio: 1.42; transition: transform .6s ease; }
.project:hover .project-image img { transform: scale(1.035); }
.project-tag { position: absolute; bottom: 16px; left: 16px; background: var(--paper); padding: 5px 10px; font-size: .75rem; letter-spacing: .08em; font-weight: 600; }
.project-title { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.project-title h3 { font-size: 1.35rem; }
.project-title > span { color: var(--muted); font-size: .75rem; }
.project > p { margin-top: 10px; max-width: 540px; color: var(--muted); font-size: 1rem; }

/* Die Arbeitsweise bildet einen ruhigen, farbigen Gegenpol. */
.process-section { background: var(--sage); color: var(--paper); }
.process-section .eyebrow { color: #E0E6D9; }
.process-section .section-heading > p { color: #E6E9E2; }
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; }
.process-grid li { padding-top: 25px; border-top: 1px solid #94A092; }
.step-number { display: block; font-size: .875rem; color: #E0E6D9; margin-bottom: 28px; }
.process-grid h3 { font-size: 1.65rem; margin-bottom: 18px; }
.process-grid p { max-width: 350px; font-size: 1rem; color: #E6E9E2; }
.step-label { display: block; margin-top: 25px; font-size: .75rem; font-weight: 550; letter-spacing: .09em; }

/* Vorstellung und Meisterzitat. */
.about-section { display: grid; gap: 40px; }
.about-visual img { height: 420px; object-position: center; }
.about-visual figcaption { margin-top: 12px; color: var(--muted); font-size: .75rem; }
.about-content h2 { margin-bottom: 27px; }
.about-content > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin-top: 16px; }
.about-content blockquote { margin-block: 28px; padding-left: 22px; border-left: 2px solid var(--wood); color: var(--wood); font-size: 1.45rem; font-weight: 450; line-height: 1.5; letter-spacing: -.025em; }
.master-signature { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.signature-name { font-family: Georgia, serif; font-size: 1.7rem; font-style: italic; color: var(--wood); }
.master-signature > span:last-child { font-size: .75rem; line-height: 1.6; color: var(--muted); }
.master-signature small { font-size: .625rem; }

/* Anfrage: sichtbare Labels, native Eingaben und Platz für Validierungsfehler. */
.contact-section { background: var(--soft); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 44px; }
.contact-introduction h2 { margin-bottom: 24px; }
.contact-introduction > p:not(.eyebrow) { max-width: 390px; color: var(--muted); font-size: 1rem; }
.contact-introduction address { margin-top: 32px; font-style: normal; font-size: .875rem; }
address span { display: block; margin-top: 12px; color: var(--muted); }
.contact-note { display: flex; align-items: center; gap: 15px; margin-top: 32px; }
.contact-note svg { color: var(--sage); width: 24px; height: 24px; }
.inquiry-form { padding: 28px 20px; background: var(--paper); border: 1px solid var(--line); }
.form-heading { font-size: 1.2rem; font-weight: 500; letter-spacing: -.025em; }
.form-description { color: var(--muted); font-size: .875rem; margin: 5px 0 28px; }
.form-row { display: grid; gap: 20px; margin-bottom: 20px; }
.form-field { min-width: 0; }
.form-field label { display: block; font-size: .875rem; font-weight: 550; margin-bottom: 7px; }
.form-field label span { color: var(--muted); font-weight: 400; }
input, select, textarea { display: block; width: 100%; min-height: 48px; padding: 12px; border: 1px solid #BCBDB3; border-radius: 1px; background: transparent; color: var(--ink); font-size: 1rem; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #72736C; opacity: 1; font-size: .875rem; }
textarea { resize: vertical; min-height: 135px; }
select { appearance: none; padding-right: 36px; font-size: .875rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235C6B5E' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
[aria-invalid="true"] { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .875rem; line-height: 1.5; margin-top: 5px; }
.field-error:empty { display: none; }
.privacy-note { margin-block: 20px; font-size: .875rem; color: var(--muted); line-height: 1.7; }
.inline-button { border: 0; padding: 0; background: none; text-decoration: underline; text-underline-offset: 3px; }
.form-submit { width: 100%; }
.form-status { padding: 16px; margin-top: 20px; color: #334637; background: #E8EDE3; border-left: 3px solid var(--sage); font-size: .875rem; }
.form-status:not(.is-success) { color: var(--error); background: #F7EAE6; border-color: var(--error); }
.button:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Footer und modale Rechtshinweise sind als fiktives Konzept gekennzeichnet. */
.site-footer { padding-top: 46px; background: var(--ink); color: var(--paper); }
.site-footer .brand-mark { fill: #D5BA96; }
.footer-top { display: flex; flex-direction: column; gap: 28px; padding-bottom: 40px; }
.footer-top > p { color: #C4C4BB; font-size: 1rem; line-height: 1.7; }
.footer-top-link { font-size: .8125rem; width: fit-content; border-bottom: 1px solid #77796E; }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; padding-block: 20px; border-top: 1px solid #46463F; color: #BDBFB5; font-size: .6875rem; }
.footer-bottom > div { display: flex; gap: 24px; }
.footer-bottom button { padding: 6px 0; border: 0; background: transparent; font-size: .75rem; }
.footer-bottom button:hover { color: white; }
.legal-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 48px 26px 32px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.legal-dialog::backdrop { background: rgb(20 25 20 / 65%); backdrop-filter: blur(4px); }
.legal-dialog .eyebrow { margin-bottom: 18px; }
.legal-dialog h2 { font-size: 2.3rem; margin-bottom: 26px; }
.legal-dialog p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin-top: 18px; }
.dialog-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.8rem; border: 0; background: transparent; }

/* Bewegung wird nur verwendet, wenn die Systemeinstellung sie erlaubt. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
