/* =========================================================
   KDS Schreinerei Ulrich Schmid – main.css
   Seitengerüst nach KDS-Webstandard
   ========================================================= */

/* ---------- Fonts (lokal, WOFF2) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--wine: #843046;
	--wine-d: #6a2538;
	--wine-soft: #f3e7ea;
	--ink: #231f20;
	--ink-2: #4b4446;
	--muted: #6e6668;
	--paper: #f8f5f0;
	--stone: #eee8df;
	--white: #ffffff;
	--dark: #1d191a;
	--dark-2: #2a2526;
	--oak: #b98a5a;
	--line: rgba(35, 31, 32, .12);
	--line-light: rgba(255, 255, 255, .16);
	--shadow: 0 1px 2px rgba(35, 31, 32, .05), 0 12px 32px -12px rgba(35, 31, 32, .18);
	--shadow-lg: 0 2px 4px rgba(35, 31, 32, .06), 0 28px 60px -20px rgba(35, 31, 32, .32);
	--r: 15px;
	--r-sm: 10px;
	--f-display: "Fraunces", Georgia, "Times New Roman", serif;
	--f-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-hand: "Caveat", "Segoe Script", cursive;
	--gutter: clamp(16px, 4vw, 40px);
	--sec: clamp(64px, 9vw, 128px);
	--sec-sm: clamp(40px, 5.5vw, 72px);
	--h-header: clamp(68px, 7vw, 88px);
	--grain: url("../img/grain.svg");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--h-header) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: clamp(15.5px, .25vw + 15px, 16.5px); line-height: 1.8; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-d); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 520; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; font-variation-settings: "opsz" 72, "SOFT" 30; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.25; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico--xl { width: clamp(48px, 6vw, 72px); height: clamp(48px, 6vw, 72px); stroke-width: 1.2; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.wrap--legal { max-width: calc(760px + 2 * var(--gutter)); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--sm { padding: var(--sec-sm) 0; }
.sec--stone { background: var(--stone); }
.sec--dark { background: var(--dark); color: #e9e4e1; }
.sec--dark h2, .sec--dark h3 { color: #fff; }

.kds-split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kds-split--57 { grid-template-columns: 5fr 7fr; }
.kds-split--65 { grid-template-columns: 6fr 5fr; align-items: start; }
.kds-split--75 { grid-template-columns: 7fr 5fr; }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.sec-head__sub { color: var(--muted); font-size: 1.05em; }
.lead { font-size: clamp(1.05rem, .6vw + .95rem, 1.2rem); color: var(--ink-2); line-height: 1.7; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin: 0 0 1.1em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: #e7b6c2; }
.sec-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; font-family: var(--f-sans); font-weight: 700; font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 12.5px; }
.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 8px 20px -10px rgba(132, 48, 70, .7); }
.btn--primary:hover { background: var(--wine-d); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(35, 31, 32, .28); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(35, 31, 32, .04); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--wine-soft); color: var(--ink); }
.btn--ghost-light { border-color: var(--line-light); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--wine); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 240, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-top: 3px solid var(--wine); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.site-header__bar { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); height: var(--h-header); padding: 0 var(--gutter); width: 100%; }
.brand { flex: none; display: block; }
.brand img { height: clamp(46px, 5vw, 64px); width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 18px); }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); position: relative; }
.nav__link::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--wine); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__sub { position: absolute; top: 100%; left: -16px; min-width: 290px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-size: 15px; line-height: 1.3; }
.nav__sub a .ico { color: var(--wine); }
.nav__sub a:hover { background: var(--paper); color: var(--wine); }
.nav__mobile-contact { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.header-phone .ico { color: var(--wine); width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.burger .ico--close { display: none; }
.burger[aria-expanded="true"] .ico--open { display: none; }
.burger[aria-expanded="true"] .ico--close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 8vw, 120px); overflow: hidden; }
.hero__inner { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 480; letter-spacing: -.02em; margin-bottom: .3em; }
.hero__claim { font-family: var(--f-hand); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--wine); line-height: 1.1; margin: 0 0 .7em; transform: rotate(-2deg); transform-origin: left; }
.hero .lead { max-width: 560px; }
.hero__visual { position: relative; aspect-ratio: 1 / 1.02; min-height: 0; }
.hero__grain { position: absolute; top: 4%; bottom: 0; left: 38%; width: 30%; background: var(--wine) var(--grain) center / cover no-repeat; border-radius: 6px; }
.hero__img { position: absolute; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow-lg); background: var(--stone); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--a { left: 0; top: 0; width: 58%; aspect-ratio: 4 / 5; }
.hero__img--b { right: 0; top: 12%; width: 40%; aspect-ratio: 4 / 5; }
.hero__img--c { right: 8%; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border: 6px solid var(--paper); }
.hero__badge { position: absolute; left: 6%; bottom: 6%; width: clamp(96px, 11vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); border: 4px solid var(--paper); }
.hero__badge-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.hero__badge-year { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 560; line-height: 1; }

/* ---------- Fakten ---------- */
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.fact { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 2px solid var(--wine); }
.fact__num { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; font-weight: 500; color: var(--ink); }
.fact__label { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Leistungskarten ---------- */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.lcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.lcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.lcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); position: relative; }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lcard:hover .lcard__media img { transform: scale(1.04); }
.lcard--grain .lcard__media, .lrow__media--grain, .leistung-intro__media--grain { background: var(--wine) var(--grain) center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.lcard__art { display: flex; align-items: center; justify-content: center; width: clamp(96px, 12vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--paper); color: var(--wine); box-shadow: 0 0 0 8px rgba(255, 255, 255, .18); }
.lcard__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 28px); }
.lcard__icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--wine-soft); color: var(--wine); margin-bottom: 14px; }
.lcard__body p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.lcard__more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); }
.lcard__more .ico { width: 18px; height: 18px; transition: transform .2s; }
.lcard:hover .lcard__more .ico { transform: translateX(4px); }
.lcard--feature { grid-column: 1 / -1; flex-direction: row; }
.lcard--feature .lcard__media { flex: 0 0 58%; aspect-ratio: 16 / 10; }
.lcard--feature .lcard__body { justify-content: center; padding: clamp(28px, 4vw, 56px); }
.lcard--feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lcard--feature .lcard__body p { font-size: 1.05rem; }
.lcard--feature .lcard__more { margin-top: 0; padding-top: 24px; }

/* ---------- Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(18px, 2.2vw, 28px); counter-reset: none; }
.step { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step__media { aspect-ratio: 4 / 5; overflow: hidden; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.step__body p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.step__num { font-family: var(--f-display); font-style: italic; color: var(--wine); font-size: 1.4rem; line-height: 1; margin-bottom: 10px; }

/* ---------- Historie (Startseite) ---------- */
.historie-home__head { margin-bottom: clamp(32px, 5vw, 56px); align-items: end; }
.historie-home__head p { color: var(--ink-2); }
.timeline-strip { overflow-x: auto; scrollbar-width: thin; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.timeline-strip ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(128px, 1fr); position: relative; gap: 0; }
.timeline-strip ol::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 1px; background: var(--line); }
.tl-mini { display: flex; flex-direction: column; gap: 14px; padding-right: 16px; min-width: 128px; }
.tl-mini__year { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; line-height: 1; height: 44px; display: flex; align-items: flex-end; color: var(--ink); }
.tl-mini__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--wine); position: relative; z-index: 1; }
.tl-mini__img { width: 100%; max-width: 160px; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); }
.tl-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-mini__img img[src*="hist-"] { filter: sepia(.25) contrast(1.02); }
.tl-mini__title { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink-2); margin-top: auto; }

/* ---------- Werte / Ich-Liste ---------- */
.werte__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.werte__media img { width: 100%; height: 100%; object-fit: cover; }
.werte__media--portrait { max-width: 380px; justify-self: center; width: 100%; }
.werte__media--portrait img { filter: sepia(.15); }
.ich-list { margin: 0 0 1.4em; }
.ich-list li { font-family: var(--f-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.35; font-weight: 420; color: var(--ink); }
.ich-list em { font-style: italic; color: var(--wine); font-weight: 600; }

/* ---------- Referenzen ---------- */
.ref-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 980px; margin: 0 auto; }
.ref-cloud li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.ref-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 clamp(24px, 4vw, 56px); counter-reset: none; }
.ref-list li { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; line-height: 1.45; }
.ref-list__num { font-family: var(--f-display); font-style: italic; color: var(--wine); min-width: 28px; }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.members li { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); line-height: 1.4; font-weight: 600; }
.members .ico { color: var(--wine); width: 28px; height: 28px; }

/* ---------- Instagram ---------- */
.insta__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.insta__head h2 { margin: 0; }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--stone); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.insta__item:hover img { transform: scale(1.05); filter: brightness(.92); }

/* ---------- Abschluss-CTA ---------- */
.cta-final { overflow: hidden; text-align: center; }
.cta-final__grain { position: absolute; top: 0; bottom: 0; right: 0; width: clamp(48px, 9vw, 140px); background: var(--wine) var(--grain) center / cover no-repeat; opacity: .9; }
.cta-final__inner { position: relative; max-width: 820px; }
.cta-final h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-final .lead { color: #cfc6c3; }
.cta-final .btn-row { margin-top: 32px; }

/* ---------- Seitenkopf ---------- */
.page-hero { position: relative; background: var(--stone); padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 7vw, 96px); text-align: center; overflow: hidden; }
.page-hero__grain { position: absolute; top: 0; bottom: 0; right: 0; width: clamp(28px, 6vw, 96px); background: var(--wine) var(--grain) center / cover no-repeat; }
.page-hero__inner { position: relative; max-width: 860px; }
.page-hero .lead { margin: 0 auto; max-width: 680px; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero--legal { padding: clamp(48px, 6vw, 80px) 0; }

/* ---------- Leistungs-Zeilen ---------- */
.lrows { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }
.lrow { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.lrow--rev { grid-template-columns: 5fr 7fr; }
.lrow--rev .lrow__media { order: 2; }
.lrow__media { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); background: var(--stone); }
.lrow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lrow__media:hover img { transform: scale(1.03); }
.lrow__num { font-family: var(--f-display); font-style: italic; color: var(--wine); font-size: 1.4rem; display: block; margin-bottom: 8px; }
.lrow h2 a { color: inherit; text-decoration: none; }
.lrow h2 a:hover { color: var(--wine); }
.lrow__body > p { color: var(--ink-2); }
.checks { margin: 1.2em 0 1.6em; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.checks .ico { color: var(--wine); width: 20px; height: 20px; margin-top: 3px; }

/* ---------- Leistung Detail ---------- */
.leistung-intro { align-items: start; }
.leistung-intro__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--stone); position: sticky; top: calc(var(--h-header) + 24px); }
.leistung-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mini-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3; transition: transform .2s, box-shadow .2s, color .2s; }
.mini-link > .ico:first-child { color: var(--wine); }
.mini-link .ico--arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }
.mini-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--wine); }

/* ---------- Werkstatt ---------- */
.wsteps { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.wstep { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.wstep--rev { grid-template-columns: 7fr 5fr; }
.wstep--rev .wstep__media { order: 2; }
.wstep__media { aspect-ratio: 4 / 3; height: 100%; }
.wstep__media img { width: 100%; height: 100%; object-fit: cover; }
.wstep__body { padding: clamp(24px, 4vw, 48px); }
.wstep__body p { color: var(--ink-2); }
.wstep__icon { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--wine-soft); color: var(--wine); margin-bottom: 14px; }
.wstep__body .step__num { display: block; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.tile { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tile .ico { width: 32px; height: 32px; color: var(--wine); margin-bottom: 16px; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- Historie Zeitstrahl ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.tl { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: start; }
.tl__year { grid-column: 1; text-align: right; font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 480; line-height: 1; padding-right: 28px; color: var(--wine); padding-top: 18px; }
.tl__dot { grid-column: 2; justify-self: center; margin-top: 30px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--wine); position: relative; z-index: 1; }
.tl__card { grid-column: 3; margin-left: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.tl--rev .tl__year { grid-column: 3; grid-row: 1; text-align: left; padding: 18px 0 0 28px; }
.tl--rev .tl__card { grid-column: 1; grid-row: 1; margin: 0 28px 0 0; }
.tl--rev .tl__dot { grid-row: 1; }
.tl__title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.tl__card p { color: var(--ink-2); }
.tl__img { border-radius: var(--r-sm); overflow: hidden; margin-bottom: 18px; aspect-ratio: 16 / 10; background: var(--stone); }
.tl__img img { width: 100%; height: 100%; object-fit: cover; }
.tl__img--vintage { aspect-ratio: auto; max-width: 200px; background: #efe6d6; padding: 8px; border-radius: 4px; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); transform: rotate(-1.2deg); }
.tl__img--vintage img { filter: sepia(.3) contrast(1.02); border-radius: 2px; }
.quote-block { text-align: center; }
.quote-block__text { font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.4; color: var(--ink); }

/* ---------- Team ---------- */
.team-photo { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 980px; margin: 0 auto; aspect-ratio: 3 / 2; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galerie & Lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery--compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery__item { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--stone); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 17, 18, .94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; border-radius: 8px; }
.lightbox figcaption { color: #ddd; font-size: 15px; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .06); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .25s; color: var(--wine); }
.faq details[open] summary .ico { transform: rotate(90deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); }

/* ---------- Kontakt & Formular ---------- */
.kontakt__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); position: sticky; top: calc(var(--h-header) + 24px); }
.kontakt__card h2 { font-size: 1.4rem; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.contact-list .ico { color: var(--wine); margin-top: 3px; }
.contact-list a { color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--wine); }
.kontakt__img { margin-top: 24px; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.kontakt__img img { width: 100%; height: 100%; object-fit: cover; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(35, 31, 32, .2); border-radius: 12px; padding: 14px 16px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(132, 48, 70, .12); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wine); flex: none; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.notice--ok { background: #e6f2e9; color: #1f5130; }
.notice--err { background: var(--wine-soft); color: var(--wine-d); }

/* ---------- Rechtstexte ---------- */
.prose h2 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: #bdb4b1; overflow: hidden; border-top: 1px solid var(--line-light); }
.site-footer__grain { position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--wine); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding: clamp(56px, 7vw, 88px) var(--gutter) clamp(40px, 5vw, 56px); width: 100%; }
.footer-logo { width: 190px; height: auto; margin-bottom: 18px; }
.site-footer .claim { font-family: var(--f-hand); font-size: 1.6rem; color: #e7b6c2; line-height: 1.1; margin-bottom: .6em; }
.footer-title { font-family: var(--f-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #d8d0cd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { margin-bottom: 16px; line-height: 1.6; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ico { color: #e7b6c2; width: 18px; height: 18px; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 16px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px var(--gutter); border-top: 1px solid var(--line-light); font-size: 14px; width: 100%; }
.site-footer__bottom nav { display: flex; gap: 20px; }
.kds-credit { opacity: .75; }

/* ---------- Mobiles Kontakt-Dock ---------- */
.dock { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }

/* =========================================================
   Breakpoints (nur Strukturwechsel): 1120 · 860 · 640
   ========================================================= */
@media (max-width: 1120px) {
	.burger { display: inline-flex; }
	.header-phone span { display: none; }
	.nav { position: fixed; left: 0; right: 0; top: calc(var(--h-header) + 3px); bottom: 0; background: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; visibility: hidden; }
	.nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__link { width: 100%; min-height: 54px; font-size: 15px; border-bottom: 1px solid var(--line); padding: 8px 0; }
	.nav__link::after { display: none; }
	.nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0 12px; min-width: 0; background: transparent; }
	.nav__sub a { padding: 9px 4px; }
	.nav__mobile-contact { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 700; font-size: 1.1rem; }
	.nav__mobile-contact .ico { color: var(--wine); }
	.nav__mobile-contact a { color: var(--ink); text-decoration: none; }
	body.nav-open { overflow: hidden; }
	.insta__grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.kds-split, .kds-split--57, .kds-split--65, .kds-split--75 { grid-template-columns: 1fr; }
	.hero__inner { grid-template-columns: 1fr; text-align: center; }
	.hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
	.hero .lead { margin-left: auto; margin-right: auto; }
	.hero .btn-row { justify-content: center; }
	.hero__claim { transform: rotate(-2deg); transform-origin: center; }
	.hero__visual { order: -1; width: 100%; max-width: 520px; margin: 0 auto; }
	.historie-home__head, .werte .kds-split { text-align: center; }
	.werte__text, .historie-home__head > div { text-align: center; }
	.werte__media { max-width: 520px; width: 100%; margin: 0 auto; }
	.lcard--feature { flex-direction: column; }
	.lcard--feature .lcard__media { flex: none; aspect-ratio: 4 / 3; }
	.lrow, .lrow--rev { grid-template-columns: 1fr; }
	.lrow--rev .lrow__media { order: 0; }
	.wstep, .wstep--rev { grid-template-columns: 1fr; }
	.wstep--rev .wstep__media { order: 0; }
	.leistung-intro__media, .kontakt__card { position: static; }
	.leistung-intro__media { max-width: 520px; width: 100%; margin: 0 auto; }
	.timeline::before { left: 7px; }
	.tl, .tl--rev { grid-template-columns: 16px 1fr; gap: 0 20px; }
	.tl__dot, .tl--rev .tl__dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 8px; justify-self: start; }
	.tl__year, .tl--rev .tl__year { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 12px; }
	.tl__card, .tl--rev .tl__card { grid-column: 2; grid-row: 2; margin: 0; }
	.site-footer__inner { grid-template-columns: 1fr; text-align: left; }
	.dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--ink); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-lg); }
	.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; }
	.dock a:last-child { background: var(--wine); }
	body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
	.btn { white-space: normal; max-width: 100%; text-align: center; }
	.site-header__actions .btn { display: none; }
	.form__row { grid-template-columns: 1fr; }
	.form .btn { align-self: stretch; }
	.insta__grid { grid-template-columns: repeat(2, 1fr); }
	.hero__badge { left: 2%; bottom: 2%; }
	.lightbox { padding: 64px 12px; }
	.lightbox__nav { top: auto; bottom: 12px; }
	.lightbox__nav--prev { left: calc(50% - 60px); transform: rotate(180deg); }
	.lightbox__nav--next { right: calc(50% - 60px); transform: none; }
	.ref-list { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* WordPress-Adminleiste (nur eingeloggt) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .nav { top: calc(var(--h-header) + 49px); } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Maserungsflächen für Leistungen ohne Foto (nach den Basisregeln, damit sie gewinnen) */
.lrow__media.lrow__media--grain, .leistung-intro__media.leistung-intro__media--grain { background: var(--wine) var(--grain) center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
@media (max-width: 640px) {
	.cta-final__grain { width: 10px; }
	.step__media { aspect-ratio: 4 / 3; }
	.page-hero__grain { width: 10px; }
}
