@import "tailwindcss";

:root {
  --ivory: #f3eee4;
  --paper: #faf7f0;
  --ink: #27231f;
  --muted: #756c61;
  --wine: #632c32;
  --wine-dark: #442025;
  --gold: #b18a43;
  --gold-light: #d4b878;
  --line: rgba(39, 35, 31, 0.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { object-fit: cover; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(24px, 5vw, 78px);
  border-bottom: 1px solid rgba(255,255,255,.23);
  color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand-image { position: relative; display: block; width: 42px; height: 48px; overflow: hidden; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 48px;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  font: 26px/1 Georgia, serif;
  position: relative;
}
.brand-mark::after { content: ""; position: absolute; top: 13px; left: 9px; right: 9px; border-top: 1px solid var(--gold-light); }
.brand strong { display: block; font: 600 21px/1.1 Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.brand small { display: block; margin-top: 5px; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; opacity: .72; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.desktop-nav a { font-size: 12px; letter-spacing: .05em; opacity: .86; transition: opacity .2s, color .2s; }
.desktop-nav a:hover { opacity: 1; color: var(--gold-light); }
.header-cta {
  justify-self: end;
  padding: 13px 19px;
  border: 1px solid rgba(255,255,255,.55);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  transition: background .2s, color .2s;
}
.header-cta:hover { background: #fff; color: var(--wine); }
.mobile-nav { display: none; }
.site-header.subpage-header { position: relative; background: var(--wine-dark); }

.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  background: var(--wine);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 23% 38%, rgba(177,138,67,.16), transparent 32%), linear-gradient(120deg, var(--wine-dark), var(--wine) 58%, #7a3c3d);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: repeating-linear-gradient(120deg, transparent 0, transparent 24px, rgba(255,255,255,.1) 25px);
  mix-blend-mode: soft-light;
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 158px 7vw 92px clamp(28px, 8vw, 128px);
}
.eyebrow { margin: 0 0 25px; color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero h1, .intro-title h2, .course-copy h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero h1 { max-width: 730px; margin: 0; font-size: clamp(48px, 5.3vw, 82px); line-height: .99; letter-spacing: -.035em; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-lead { max-width: 615px; margin: 34px 0 0; color: rgba(255,255,255,.76); font-family: Georgia, serif; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.68; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 17px 22px; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #fff; }
.button-primary:hover { background: #c09a50; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.45); font-family: Georgia, serif; font-size: 14px; }
.text-link span { color: var(--gold-light); }
.text-link.dark { border-color: var(--line); color: var(--ink); }
.text-link.dark span { color: var(--wine); }
.hero-facts { display: flex; gap: clamp(24px, 4vw, 62px); margin-top: 62px; }
.hero-facts div { display: grid; grid-template-columns: auto auto; align-items: end; gap: 8px; }
.hero-facts strong { font: 400 30px/1 Georgia, serif; color: var(--gold-light); }
.hero-facts span { max-width: 74px; color: rgba(255,255,255,.55); font-size: 9px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { position: relative; z-index: 2; display: grid; place-items: center; min-width: 0; padding: 128px 8vw 86px 20px; }
.gold-halo { position: absolute; width: min(36vw, 520px); aspect-ratio: 1; border: 1px solid rgba(212,184,120,.32); border-radius: 50%; box-shadow: 0 0 0 34px rgba(212,184,120,.035), 0 0 0 72px rgba(212,184,120,.025); }
.hero-image-frame { position: relative; width: min(32vw, 430px); aspect-ratio: .76; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); border: 1px solid rgba(212,184,120,.5); }
.hero-image-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.18); z-index: 2; pointer-events: none; }
.image-caption { position: absolute; right: 6vw; bottom: 53px; margin: 0; text-align: right; font: italic 12px/1.5 Georgia, serif; color: rgba(255,255,255,.7); }
.image-caption span { color: var(--gold-light); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue { position: absolute; z-index: 3; left: 35px; bottom: 52px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.45); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; transform: rotate(-90deg); transform-origin: left center; }
.scroll-cue span { display: block; width: 42px; border-top: 1px solid var(--gold-light); }

.intro-section { max-width: 1400px; margin: auto; min-height: 560px; padding: 110px clamp(28px, 7vw, 100px); display: grid; grid-template-columns: 80px 1fr 1fr; gap: clamp(28px, 5vw, 86px); align-items: start; }
.section-number { padding-top: 7px; color: var(--gold); font: 12px/1 Georgia, serif; }
.intro-title h2 { margin: 0; font-size: clamp(40px, 4vw, 61px); line-height: 1.08; letter-spacing: -.025em; }
.intro-copy { padding-top: 36px; max-width: 540px; color: var(--muted); font: 16px/1.8 Georgia, serif; }
.intro-copy p { margin: 0 0 22px; }
.dropcap::first-letter { float: left; color: var(--wine); font-size: 62px; line-height: .82; padding: 9px 10px 0 0; }
.intro-copy .text-link { margin-top: 14px; font-style: normal; font-size: 13px; }

.course-feature { min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; background: #292723; color: #fff; }
.course-image { position: relative; min-height: 620px; overflow: hidden; }
.course-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.4), transparent 55%); }
.course-badge { position: absolute; z-index: 2; top: 55px; right: 0; width: 160px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--gold); text-align: center; font: italic 15px/1.45 Georgia, serif; transform: translateX(34%); }
.course-copy { align-self: center; padding: 80px clamp(42px, 8vw, 130px) 80px clamp(42px, 7vw, 105px); }
.eyebrow.light { color: var(--gold-light); }
.course-copy h2 { max-width: 620px; margin: 0; font-size: clamp(39px, 4vw, 62px); line-height: 1.08; }
.course-copy > p { max-width: 590px; margin: 26px 0 34px; color: rgba(255,255,255,.67); font: 16px/1.75 Georgia, serif; }
.course-details { max-width: 590px; border-top: 1px solid rgba(255,255,255,.14); margin-bottom: 35px; }
.course-details div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.course-details span { color: rgba(255,255,255,.42); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.course-details strong { font: 400 13px/1.3 Georgia, serif; }
.button-gold { background: var(--gold); }
.button-gold:hover { background: #c09a50; }

.process-section { padding: 120px clamp(28px, 7vw, 110px); background: var(--paper); }
.process-head { max-width: 760px; margin: 0 auto 75px; text-align: center; }
.process-head h2,
.section-heading-row h2,
.menschenskinder-copy h2,
.commission-copy h2,
.profile-copy h2,
.contact-intro h2 { margin: 0; font: 400 clamp(40px, 4.3vw, 66px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.process-head > p:last-child { max-width: 620px; margin: 25px auto 0; color: var(--muted); font: 16px/1.7 Georgia, serif; }
.process-grid { max-width: 1380px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid article { min-height: 350px; position: relative; padding: 30px clamp(18px, 2.4vw, 38px) 34px; border-right: 1px solid var(--line); }
.process-grid article:last-child { border-right: 0; }
.process-grid article > span { color: var(--gold); font: 11px/1 Georgia, serif; }
.process-grid h3 { margin: 34px 0 15px; font: 400 22px/1.2 Georgia, serif; }
.process-grid p { margin: 0; color: var(--muted); font: 14px/1.75 Georgia, serif; }
.process-symbol { display: block; position: relative; width: 72px; height: 72px; margin: 36px auto 20px; border: 1px solid var(--gold); border-radius: 50%; }
.process-symbol::before, .process-symbol::after { content: ""; position: absolute; }
.pigment::before { width: 24px; height: 34px; left: 23px; top: 19px; border: 1px solid var(--wine); border-radius: 50% 50% 55% 55%; transform: rotate(28deg); }
.pigment::after { width: 9px; height: 9px; left: 31px; top: 27px; border-radius: 50%; background: var(--gold); }
.linework::before { width: 34px; height: 1px; background: var(--wine); left: 19px; top: 35px; transform: rotate(-48deg); box-shadow: 0 -6px 0 rgba(99,44,50,.45), 0 6px 0 rgba(99,44,50,.45); }
.gilding { background: var(--gold); box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 9px var(--gold); }
.gilding::before { inset: 25px; border: 1px solid var(--wine); transform: rotate(45deg); }
.meaning::before { width: 36px; height: 36px; left: 17px; top: 17px; border: 1px solid var(--wine); border-radius: 50%; }
.meaning::after { left: 35px; top: 6px; bottom: 6px; border-left: 1px solid var(--wine); }

.gallery-section { padding: 120px clamp(28px, 7vw, 110px) 100px; background: var(--ivory); }
.section-heading-row { max-width: 1380px; margin: 0 auto 70px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.section-heading-row h2 em { color: var(--wine); font-weight: 400; }
.section-heading-row > p { max-width: 440px; margin: 0 0 7px; color: var(--muted); font: 15px/1.75 Georgia, serif; }
.gallery-filters { max-width: 1380px; margin: -28px auto 55px; display: flex; flex-wrap: wrap; gap: 9px; }
.gallery-filters button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; letter-spacing: .06em; transition: .2s ease; }
.gallery-filters button:hover, .gallery-filters button[aria-pressed="true"] { border-color: var(--wine); background: var(--wine); color: #fff; }
.gallery-grid { max-width: 1380px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px clamp(25px, 5vw, 80px); align-items: start; }
.gallery-card { min-width: 0; }
.gallery-card:nth-child(even) { margin-top: 105px; }
.gallery-image { width: 100%; position: relative; display: block; overflow: hidden; padding: 0; border: 0; background: #d9d0c0; box-shadow: 0 18px 35px rgba(52,40,25,.12); cursor: zoom-in; }
.gallery-image::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.38); pointer-events: none; }
.gallery-tall .gallery-image { aspect-ratio: .82; }
.gallery-wide .gallery-image { aspect-ratio: 1.15; }
.gallery-standard .gallery-image { aspect-ratio: .88; }
.gallery-card .gallery-image img { transition: transform .7s ease; }
.gallery-card:hover .gallery-image img { transform: scale(1.025); }
.gallery-card > div:last-child { padding-top: 21px; }
.gallery-card p { margin: 0 0 7px; color: var(--gold); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.gallery-card h3 { margin: 0; font: 400 clamp(22px, 2.3vw, 34px)/1.2 Georgia, serif; }
.gallery-footer { max-width: 1380px; margin: 80px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.gallery-footer > span { color: var(--muted); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.gallery-card[hidden] { display: none !important; }
.gallery-pagination { max-width: 1380px; margin: 70px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.gallery-pagination[hidden] { display: none; }
.gallery-pagination button { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font: 12px/1 Arial, sans-serif; transition: .2s ease; }
.gallery-pagination button:hover:not(:disabled), .gallery-pagination button[aria-current="page"] { border-color: var(--wine); background: var(--wine); color: #fff; }
.gallery-pagination button:disabled { cursor: default; opacity: .35; }
.gallery-pagination .gallery-page-status { min-width: 92px; color: var(--muted); text-align: center; font-size: 10px; letter-spacing: .08em; }
.gallery-pagination .gallery-page-dots { min-width: 20px; color: var(--muted); text-align: center; }
.gallery-lightbox { width: min(94vw, 1300px); height: min(92vh, 950px); max-width: none; max-height: none; margin: auto; padding: 24px 70px 55px; border: 0; border-radius: 8px; overflow: hidden; background: #171615; color: #fff; }
.gallery-lightbox::backdrop { background: rgba(12,10,9,.9); backdrop-filter: blur(4px); }
.gallery-lightbox figure { width: 100%; height: 100%; margin: 0; display: grid; grid-template-rows:minmax(0,1fr) auto; place-items: center; gap: 18px; }
.gallery-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 15px 45px rgba(0,0,0,.35); }
.gallery-lightbox figcaption { max-width: 900px; color: rgba(255,255,255,.72); text-align: center; font: 14px/1.5 Georgia, serif; }
.gallery-lightbox > button { position: absolute; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(0,0,0,.2); color: #fff; cursor: pointer; font-size: 20px; }
.gallery-lightbox-close { top: 15px; right: 15px; }
.gallery-lightbox-prev { top: 50%; left: 14px; transform: translateY(-50%); }
.gallery-lightbox-next { top: 50%; right: 14px; transform: translateY(-50%); }

.course-archive { padding: 120px clamp(28px, 7vw, 110px); background: var(--paper); }
.course-archive-head { max-width: 1380px; margin: 0 auto 65px; display: grid; grid-template-columns: 1fr .8fr; gap: 28px 70px; align-items: end; }
.course-archive-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.course-archive-head h2 { max-width: 800px; margin: 0; font: 400 clamp(40px, 4.3vw, 66px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.course-archive-head > p:last-child { max-width: 520px; margin: 0 0 7px; color: var(--muted); font: 15px/1.75 Georgia, serif; }
.course-years { max-width: 1380px; margin: auto; border-top: 1px solid var(--line); }
.course-year { display: grid; grid-template-columns: 180px 1fr; gap: clamp(30px, 6vw, 95px); padding: 42px 0; border-bottom: 1px solid var(--line); }
.course-year > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.course-year > header h3 { margin: 0; color: var(--wine); font: 400 42px/1 Georgia, serif; }
.course-year > header span { color: var(--gold); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.course-year ol { list-style: none; margin: 0; padding: 0; }
.course-year li { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(39,35,31,.09); }
.course-year li:first-child { padding-top: 4px; }
.course-year li:last-child { padding-bottom: 4px; border-bottom: 0; }
.course-year time { padding-top: 5px; color: var(--gold); font-size: 10px; letter-spacing: .07em; }
.course-year h4 { margin: 0; font: 400 22px/1.3 Georgia, serif; }
.course-year li p { margin: 8px 0 0; color: var(--muted); font: 13px/1.6 Georgia, serif; }
.course-year li small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.course-archive-empty { max-width: 1380px; margin: auto; color: var(--muted); font: italic 16px/1.6 Georgia, serif; }
.course-gallery-subtitle { margin: 20px 0 0; color: var(--wine); font: italic 18px/1.55 Georgia, serif; }
.course-media-description { margin-top: 12px; color: var(--muted); font: 13px/1.65 Georgia, serif; }

.quote-section { position: relative; min-height: 570px; display: grid; place-content: center; padding: 110px 25px; overflow: hidden; background: var(--wine); color: #fff; text-align: center; }
.quote-section::before, .quote-section::after { content: ""; position: absolute; border: 1px solid rgba(212,184,120,.15); border-radius: 50%; width: 460px; aspect-ratio: 1; top: 50%; transform: translateY(-50%); }
.quote-section::before { left: -230px; }
.quote-section::after { right: -230px; }
.quote-mark { color: var(--gold-light); font: 120px/.35 Georgia, serif; opacity: .7; }
.quote-section blockquote { max-width: 940px; margin: 46px auto 30px; font: italic 400 clamp(29px, 3.6vw, 52px)/1.35 Georgia, serif; }
.quote-section p { margin: 0; color: var(--gold-light); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }

.menschenskinder-section { min-height: 760px; padding: 115px clamp(28px, 7vw, 110px); display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(55px, 8vw, 130px); align-items: center; background: var(--paper); }
.menschenskinder-images { position: relative; min-height: 580px; }
.mensch-image { position: absolute; overflow: hidden; box-shadow: 0 22px 45px rgba(40,31,22,.18); }
.mensch-image.large { inset: 0 22% 5% 0; }
.mensch-image.small { width: 38%; height: 58%; right: 0; bottom: 0; border: 10px solid var(--paper); }
.mensch-label { position: absolute; right: 4%; top: 7%; z-index: 2; width: 132px; aspect-ratio: 1; display: grid; place-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); text-align: center; font: italic 13px/1.45 Georgia, serif; background: rgba(250,247,240,.91); }
.menschenskinder-copy { max-width: 580px; }
.menschenskinder-copy > p:not(.eyebrow) { margin: 30px 0 36px; color: var(--muted); font: 16px/1.8 Georgia, serif; }
.button-outline-dark { border: 1px solid var(--ink); color: var(--ink); }
.button-outline-dark:hover { background: var(--ink); color: #fff; }

.commission-section { min-height: 780px; display: grid; grid-template-columns: 1fr 1fr; background: #282622; color: #fff; }
.commission-copy { align-self: center; padding: 100px clamp(40px, 8vw, 130px); }
.commission-copy > p:not(.eyebrow):not(.commission-note) { max-width: 570px; margin: 28px 0 30px; color: rgba(255,255,255,.63); font: 16px/1.75 Georgia, serif; }
.commission-copy ul { max-width: 570px; list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.commission-copy li { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.14); font: 14px/1.4 Georgia, serif; }
.commission-copy li span { color: var(--gold-light); font-size: 10px; }
.commission-note { max-width: 570px; margin: 0 0 30px; color: var(--gold-light); font: italic 13px/1.6 Georgia, serif; }
.commission-image { position: relative; min-height: 650px; overflow: hidden; }
.commission-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 55%, rgba(0,0,0,.28)); }
.commission-image > span { position: absolute; z-index: 2; right: 45px; bottom: 42px; color: #fff; text-align: right; font: italic 22px/1.35 Georgia, serif; text-shadow: 0 2px 10px rgba(0,0,0,.5); }

.profile-section { min-height: 740px; max-width: 1370px; margin: auto; padding: 120px clamp(28px, 7vw, 100px); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px, 9vw, 140px); align-items: center; }
.profile-portrait { position: relative; justify-self: center; width: min(100%, 410px); }
.profile-portrait > div { position: relative; aspect-ratio: .78; overflow: hidden; box-shadow: 0 22px 45px rgba(52,40,25,.18); }
.profile-portrait > span { position: absolute; z-index: -1; left: -75px; bottom: -55px; color: rgba(177,138,67,.12); font: 200px/.8 Georgia, serif; }
.profile-copy { max-width: 700px; }
.profile-intro { max-width: 620px; margin: 28px 0 38px; color: var(--muted); font: 19px/1.65 Georgia, serif; }
.profile-facts { max-width: 620px; margin-bottom: 35px; border-top: 1px solid var(--line); }
.profile-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.profile-facts span { color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.profile-facts p { margin: 0; font: 14px/1.5 Georgia, serif; }

.contact-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--wine); color: #fff; }
.contact-intro { padding: 110px clamp(36px, 8vw, 130px); background: var(--wine-dark); }
.contact-intro > p:not(.eyebrow) { max-width: 540px; margin: 30px 0 45px; color: rgba(255,255,255,.65); font: 16px/1.75 Georgia, serif; }
.contact-data { max-width: 540px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-data a, .contact-data address { display: block; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); font: normal 15px/1.55 Georgia, serif; }
.contact-data span { display: block; margin-bottom: 6px; color: var(--gold-light); font: 9px/1.2 Arial, sans-serif; text-transform: uppercase; letter-spacing: .17em; }
.contact-form { align-self: center; display: grid; gap: 24px; padding: 95px clamp(36px, 8vw, 130px); }
.contact-form label > span { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; outline: 0; background: transparent; color: #fff; font: 15px/1.5 Georgia, serif; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form select option { color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.38); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold-light); }
.contact-form .button { width: max-content; border: 0; cursor: pointer; }
.contact-form small { color: rgba(255,255,255,.4); font-size: 10px; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.contact-form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-feedback { margin: 0; font: 14px/1.6 Georgia, serif; }
.contact-form .form-feedback.success { color: #e1c98e; }
.contact-form .form-feedback.error { color: #ffc1c1; }
.contact-data address .address-line { display: block; margin: 0; color: inherit; font: inherit; text-transform: none; letter-spacing: normal; }

.site-footer { min-height: 160px; padding: 42px clamp(24px, 6vw, 90px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; background: #201e1b; color: #fff; }
.footer-brand .brand-mark { width: 32px; height: 40px; font-size: 20px; }
.footer-brand .brand-mark::after { top: 11px; left: 7px; right: 7px; }
.footer-brand strong { font-size: 17px; }
.footer-links { display: flex; gap: 28px; font-size: 11px; color: rgba(255,255,255,.65); }
.site-footer > p { justify-self: end; margin: 0; color: rgba(255,255,255,.4); font-size: 9px; }

.cms-text-section { min-height: 560px; padding: 120px clamp(24px, 8vw, 130px); }
.cms-text-section > div { max-width: 900px; margin: auto; }
.cms-text-section h1, .cms-empty-page h1 { margin: 0 0 30px; font: 400 clamp(42px, 5vw, 68px)/1.08 Georgia, serif; }
.cms-text-section p { margin: 0 0 20px; color: var(--muted); font: 17px/1.8 Georgia, serif; white-space: pre-wrap; }
.cms-text-section .cms-subtitle { color: var(--ink); font-size: 23px; }
.cms-text-section.wine, .cms-text-section.dark { color: #fff; background: var(--wine); }
.cms-text-section.dark { background: #292723; }
.cms-text-section.wine p, .cms-text-section.dark p { color: rgba(255,255,255,.72); }
.cms-text-section.paper { background: var(--paper); }
.cms-text-image { position: relative; min-height: 460px; margin: 45px 0; }
.cms-empty-page { min-height: 65vh; display: grid; place-content: center; padding: 90px 24px; text-align: center; }

/* Version 2 administration */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: #f3f0e9; color: #28241f; font-family: Arial, Helvetica, sans-serif; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 30px 22px 22px; background: #2a2521; color: #fff; }
.admin-brand { display: flex; align-items: center; gap: 13px; padding: 0 8px 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-brand > span { width: 38px; height: 46px; display: grid; place-items: center; border: 1px solid #c9a962; color: #c9a962; font: 25px/1 Georgia, serif; }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand strong { font: 18px/1.2 Georgia, serif; }
.admin-brand small { margin-top: 4px; color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.admin-sidebar nav { display: grid; gap: 5px; padding: 28px 0; overflow-y: auto; }
.admin-sidebar nav button { width: 100%; min-height: 45px; display: flex; align-items: center; gap: 12px; padding: 0 13px; border: 0; border-radius: 6px; background: transparent; color: rgba(255,255,255,.62); cursor: pointer; text-align: left; font-size: 13px; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar nav button.active .admin-nav-dot { background: #c9a962; box-shadow: 0 0 0 4px rgba(201,169,98,.13); }
.admin-nav-dot { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.admin-sidebar nav b { margin-left: auto; min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #7a363d; color: #fff; font-size: 10px; }
.admin-user { margin-top: auto; display: flex; align-items: center; gap: 11px; padding: 18px 8px 11px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-user > span { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #694047; color: #fff; font: 16px/1 Georgia, serif; }
.admin-user strong, .admin-user small { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user strong { font-size: 11px; }
.admin-user small { margin-top: 3px; color: rgba(255,255,255,.45); font-size: 9px; }
.admin-signout { padding: 5px 53px; color: rgba(255,255,255,.45); font-size: 9px; }
.admin-main { min-width: 0; padding: 0 4vw 70px; }
.admin-topbar { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(41,36,31,.11); }
.admin-topbar p { margin: 0 0 5px; color: #a17d3e; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.admin-topbar h1 { margin: 0; font: 400 30px/1.15 Georgia, serif; }
.admin-topbar > a { padding: 11px 15px; border: 1px solid rgba(41,36,31,.2); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.admin-notice { margin: 22px 0 -5px; padding: 13px 16px; border-left: 3px solid #a17d3e; background: #fff8e8; color: #6f5428; font-size: 12px; }
.admin-overview, .admin-list-view, .admin-editor, .admin-inquiries { padding-top: 35px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.admin-stat-grid button { min-height: 160px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid rgba(41,36,31,.1); border-radius: 8px; background: #fff; color: inherit; cursor: pointer; text-align: left; box-shadow: 0 7px 20px rgba(45,37,29,.035); }
.admin-stat-grid button:hover { border-color: rgba(161,125,62,.55); transform: translateY(-2px); }
.admin-stat-grid span { color: #7c746b; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.admin-stat-grid strong { margin: 14px 0 20px; color: #663039; font: 42px/1 Georgia, serif; }
.admin-stat-grid small { margin-top: auto; color: #a17d3e; font-size: 10px; }
.admin-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.admin-overview-grid article { min-height: 245px; padding: 32px; border-radius: 8px; background: #fff; border: 1px solid rgba(41,36,31,.08); }
.admin-overview-grid article:first-child { background: #663039; color: #fff; }
.admin-kicker { margin: 0 0 30px !important; color: #c9a962 !important; font: 700 9px/1 Arial, sans-serif !important; letter-spacing: .17em; text-transform: uppercase; }
.admin-overview-grid h2 { margin: 0 0 17px; font: 400 28px/1.2 Georgia, serif; }
.admin-overview-grid p { margin: 0 0 15px; color: #756d64; font: 14px/1.6 Georgia, serif; }
.admin-overview-grid article:first-child p { color: rgba(255,255,255,.72); }
.admin-overview-grid article > span { color: rgba(255,255,255,.55); font-size: 10px; }
.admin-overview-grid button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: #a17d3e; cursor: pointer; font-size: 11px; }
.admin-list-head { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 18px; }
.admin-list-head p { margin: 0; color: #7c746b; font-size: 12px; }
.admin-add { padding: 13px 18px; border: 0; border-radius: 4px; background: #663039; color: #fff; cursor: pointer; font-size: 11px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid rgba(41,36,31,.1); border-radius: 8px; background: #fff; }
.admin-table-wrap table { width: 100%; border-collapse: collapse; min-width: 750px; }
.admin-table-wrap th { padding: 14px 18px; background: #f9f7f2; color: #948a7e; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.admin-table-wrap td { padding: 18px; border-top: 1px solid rgba(41,36,31,.08); color: #5d554c; font-size: 12px; vertical-align: middle; }
.admin-table-wrap td:first-child { color: #28241f; }
.admin-table-wrap td strong, .admin-table-wrap td small { display: block; }
.admin-table-wrap td strong { font: 400 15px/1.3 Georgia, serif; }
.admin-table-wrap td small { margin-top: 5px; color: #948a7e; font-size: 9px; }
.admin-table-wrap td:last-child { text-align: right; white-space: nowrap; }
.admin-table-wrap td button, .admin-gallery-grid footer button { padding: 7px 9px; border: 0; background: transparent; color: #755a2e; cursor: pointer; font-size: 10px; }
.admin-table-wrap td button.danger, .admin-gallery-grid footer button.danger { color: #a55757; }
.status { display: inline-flex; padding: 6px 9px; border-radius: 99px; font-size: 9px; }
.status.published { background: #edf4e9; color: #497142; }
.status.draft { background: #eeeae4; color: #7c746b; }
.admin-editor { max-width: 950px; margin: auto; }
.admin-editor > header { margin-bottom: 24px; }
.admin-editor > header button { margin: 0 0 15px; padding: 0; border: 0; background: transparent; color: #8b6a36; cursor: pointer; font-size: 11px; }
.admin-editor > header h2 { margin: 0; font: 400 28px/1.2 Georgia, serif; }
.admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; padding: 30px; border: 1px solid rgba(41,36,31,.1); border-radius: 8px; background: #fff; }
.admin-form label > span { display: block; margin-bottom: 8px; color: #776e64; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; padding: 11px 12px; border: 1px solid #d9d3ca; border-radius: 4px; outline: 0; background: #fcfbf8; color: #28241f; font: 13px/1.5 Arial, sans-serif; }
.admin-form textarea { resize: vertical; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: #a17d3e; box-shadow: 0 0 0 3px rgba(161,125,62,.1); }
.admin-form .span-2 { grid-column: 1 / -1; }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 10px; }
.admin-form-actions button { padding: 12px 18px; border: 1px solid #d3ccc1; border-radius: 4px; background: #fff; color: #625a51; cursor: pointer; }
.admin-form-actions button.primary { border-color: #663039; background: #663039; color: #fff; }
.admin-form-actions button:disabled { opacity: .55; cursor: wait; }
.admin-check { display: flex; align-items: center; gap: 10px; }
.admin-check input { width: 18px; }
.admin-check span { margin: 0 !important; }
.admin-form-section { padding: 15px 0 5px; border-bottom: 1px solid #e2ddd4; }
.admin-form-section > span { color: #663039; font: 400 20px/1.3 Georgia, serif; }
.admin-form-section p { margin: 5px 0 0; color: #8c8277; font-size: 10px; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.admin-gallery-grid article { overflow: hidden; border: 1px solid rgba(41,36,31,.1); border-radius: 7px; background: #fff; }
.admin-gallery-grid article > div { position: relative; aspect-ratio: .9; background: #ded7cb; }
.admin-gallery-grid article > p { margin: 15px 16px 5px; color: #a17d3e; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.admin-gallery-grid h3 { margin: 0 16px 7px; font: 400 17px/1.25 Georgia, serif; }
.admin-gallery-grid article > span { margin: 0 16px; color: #8f857a; font-size: 9px; }
.admin-gallery-grid footer { display: flex; justify-content: space-between; margin-top: 14px; padding: 9px; border-top: 1px solid rgba(41,36,31,.08); }
.admin-gallery-grid footer a { padding: 7px 9px; color: #755a2e; font-size: 10px; }
.admin-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-page-grid > article { padding: 23px; border: 1px solid rgba(41,36,31,.1); border-radius: 8px; background: #fff; }
.admin-page-grid article > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-page-grid article > header small { color: #8f857a; font-size: 10px; }
.admin-page-grid h3 { margin: 28px 0 8px; font: 400 23px/1.25 Georgia, serif; }
.admin-page-grid article > p { margin: 0; color: #8f857a; font-size: 10px; }
.admin-page-grid footer { display: flex; flex-wrap: wrap; gap: 5px; margin: 25px -8px -8px; padding-top: 12px; border-top: 1px solid rgba(41,36,31,.08); }
.admin-page-grid footer button, .admin-section-list footer button { padding: 8px; border: 0; background: transparent; color: #755a2e; cursor: pointer; font-size: 10px; }
.admin-page-grid footer button.danger, .admin-section-list footer button.danger { color: #a55757; }
.admin-breadcrumb { margin-bottom: 25px; }
.admin-breadcrumb button { padding: 0; border: 0; background: transparent; color: #8b6a36; cursor: pointer; font-size: 11px; }
.admin-breadcrumb h2 { margin: 14px 0 0; font: 400 28px/1.2 Georgia, serif; }
.admin-section-list { display: grid; gap: 10px; }
.admin-section-list article { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 17px 20px; border: 1px solid rgba(41,36,31,.1); border-radius: 7px; background: #fff; }
.admin-section-list article > div { display: flex; align-items: center; gap: 16px; }
.admin-section-list article > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #efe8dc; color: #7b5d2f; font: 14px/1 Georgia, serif; }
.admin-section-list small { color: #a17d3e; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-section-list h3 { margin: 5px 0 2px; font: 400 16px/1.25 Georgia, serif; }
.admin-section-list p { margin: 0; color: #8f857a; font-size: 9px; }
.admin-section-list footer { display: flex; align-items: center; white-space: nowrap; }
.admin-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; font-size: 11px !important; }
.admin-help { margin: -8px 0 0; color: #8c8277; font-size: 10px; line-height: 1.6; }
.admin-help code { padding: 2px 4px; background: #f0ece5; }
.admin-media-upload { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; align-items: end; gap: 14px; margin-bottom: 28px; padding: 20px; border: 1px solid rgba(41,36,31,.1); border-radius: 8px; background: #fff; }
.admin-media-upload label > span { display: block; margin-bottom: 7px; color: #776e64; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-media-upload input { width: 100%; padding: 10px; border: 1px solid #d9d3ca; border-radius: 4px; background: #fcfbf8; }
.admin-inquiries { max-width: 1000px; }
.admin-inquiries > article { margin-bottom: 13px; padding: 24px; border: 1px solid rgba(41,36,31,.1); border-left: 4px solid transparent; border-radius: 7px; background: #fff; }
.admin-inquiries > article.unread { border-left-color: #a17d3e; }
.admin-inquiries article > header, .admin-inquiries article > header > div { display: flex; align-items: center; }
.admin-inquiries article > header { justify-content: space-between; gap: 20px; }
.admin-inquiries article > header > div { gap: 12px; }
.admin-inquiries article > header > div > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #efe8dc; color: #663039; font: 17px/1 Georgia, serif; }
.admin-inquiries h3 { margin: 0 0 3px; font: 400 15px/1.2 Georgia, serif; }
.admin-inquiries header a, .admin-inquiries time { color: #8c8277; font-size: 9px; }
.inquiry-meta { display: flex; gap: 7px; margin: 18px 0 12px; }
.inquiry-meta span { padding: 5px 8px; border-radius: 3px; background: #f0ece5; color: #766c61; font-size: 9px; }
.admin-inquiries article > p { margin: 0; white-space: pre-wrap; color: #5f574e; font: 13px/1.7 Georgia, serif; }
.admin-inquiries article > footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(41,36,31,.08); }
.admin-inquiries footer a { color: #8b6a36; font-size: 10px; }
.admin-inquiries footer select { padding: 7px 9px; border: 1px solid #ddd5ca; border-radius: 3px; color: #655d54; font-size: 10px; }
.admin-empty, .admin-empty-card { padding: 60px 25px !important; color: #92887d !important; text-align: center !important; font: italic 14px/1.5 Georgia, serif !important; }
.admin-empty-card { border: 1px dashed #d4cec4; border-radius: 7px; }
.admin-access-denied { min-height: 100vh; display: grid; place-content: center; padding: 30px; background: #f3f0e9; text-align: center; }
.admin-access-denied h1 { margin: 0 0 14px; font: 400 44px/1.1 Georgia, serif; }
.admin-access-denied > p:not(.eyebrow) { color: #756d64; }
.admin-access-denied > a { width: max-content; margin: 20px auto 0; padding-bottom: 5px; border-bottom: 1px solid #a17d3e; color: #7c5e2f; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr .78fr; }
  .hero-copy { padding-left: 7vw; }
  .intro-section { grid-template-columns: 50px 1fr 1fr; gap: 35px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .menschenskinder-section { gap: 55px; }
  .profile-section { gap: 70px; }
  .contact-intro, .contact-form { padding-left: 6vw; padding-right: 6vw; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { grid-column: 1 / -1; justify-self: start; }
  .admin-shell { grid-template-columns: 220px 1fr; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-gallery-grid { grid-template-columns: 1fr 1fr; }
  .admin-page-grid { grid-template-columns: 1fr 1fr; }
  .admin-media-upload { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { min-height: 78px; padding: 0 20px; }
  .brand strong { font-size: 18px; }
  .brand small { display: none; }
  .brand-mark { width: 31px; height: 40px; font-size: 21px; }
  .brand-mark::after { top: 11px; left: 7px; right: 7px; }
  .header-cta { display: none; }
  .mobile-nav { display: block; justify-self: end; }
  .mobile-nav summary { list-style: none; width: 38px; height: 38px; display: grid; place-content: center; gap: 7px; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 24px; border-top: 1px solid #fff; }
  .mobile-nav > div { position: absolute; top: 78px; left: 0; right: 0; padding: 16px 24px 24px; display: grid; background: var(--wine-dark); border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-family: Georgia, serif; }
  .hero { min-height: auto; display: flex; flex-direction: column; padding-bottom: 56px; }
  .hero-copy { padding: 130px 24px 55px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-lead { margin-top: 26px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-facts { gap: 20px; margin-top: 44px; }
  .hero-facts div { grid-template-columns: 1fr; gap: 5px; }
  .hero-visual { padding: 25px 36px 70px; }
  .gold-halo { width: 80vw; }
  .hero-image-frame { width: min(76vw, 380px); }
  .image-caption { right: 25px; bottom: 28px; }
  .scroll-cue { display: none; }
  .intro-section { min-height: auto; grid-template-columns: 1fr; gap: 22px; padding: 80px 24px; }
  .section-number { display: none; }
  .intro-title h2 { font-size: 44px; }
  .intro-copy { padding-top: 8px; }
  .course-feature { grid-template-columns: 1fr; }
  .course-image { min-height: 430px; }
  .course-badge { top: auto; right: 22px; bottom: -32px; width: 120px; transform: none; font-size: 12px; }
  .course-copy { padding: 80px 24px 70px; }
  .course-copy h2 { font-size: 42px; }
  .course-details div { grid-template-columns: 108px 1fr; }
  .process-section, .gallery-section { padding: 80px 24px; }
  .course-archive { padding: 80px 24px; }
  .course-archive-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 50px; }
  .course-archive-head .eyebrow { grid-column: auto; }
  .course-archive-head h2 { font-size: 42px; }
  .course-year { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .course-year > header { justify-content: flex-start; }
  .course-year li { grid-template-columns: 1fr; gap: 7px; }
  .process-head { margin-bottom: 50px; text-align: left; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; }
  .process-grid article:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section-heading-row { grid-template-columns: 1fr; gap: 25px; margin-bottom: 48px; }
  .section-heading-row h2 { font-size: 42px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-card:nth-child(even) { margin-top: 0; }
  .gallery-wide .gallery-image { aspect-ratio: .92; }
  .gallery-footer { margin-top: 55px; align-items: flex-start; flex-direction: column; }
  .quote-section { min-height: 500px; padding: 90px 24px; }
  .quote-section blockquote { font-size: 31px; }
  .menschenskinder-section { min-height: auto; padding: 85px 24px; grid-template-columns: 1fr; gap: 65px; }
  .menschenskinder-images { min-height: 500px; }
  .menschenskinder-copy h2 { font-size: 43px; }
  .commission-section { grid-template-columns: 1fr; }
  .commission-copy { padding: 85px 24px; }
  .commission-copy h2 { font-size: 46px; }
  .commission-image { min-height: 540px; }
  .profile-section { min-height: auto; padding: 90px 24px; grid-template-columns: 1fr; gap: 70px; }
  .profile-portrait { width: min(83vw, 390px); }
  .profile-copy h2 { font-size: 45px; }
  .profile-facts > div { grid-template-columns: 90px 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-intro, .contact-form { padding: 80px 24px; }
  .contact-intro h2 { font-size: 47px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { flex-wrap: wrap; gap: 18px 26px; }
  .site-footer > p { grid-column: auto; }
  .admin-shell { display: block; }
  .admin-sidebar { position: relative; height: auto; padding: 18px 18px 10px; }
  .admin-brand { padding-bottom: 16px; }
  .admin-sidebar nav { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 8px; }
  .admin-sidebar nav button { min-width: max-content; min-height: 37px; padding: 0 11px; background: rgba(255,255,255,.05); }
  .admin-user, .admin-signout { display: none; }
  .admin-main { padding: 0 18px 55px; }
  .admin-topbar { min-height: 88px; }
  .admin-topbar h1 { font-size: 25px; }
  .admin-topbar > a { padding: 9px; font-size: 8px; }
  .admin-stat-grid, .admin-overview-grid, .admin-gallery-grid, .admin-page-grid, .admin-media-upload { grid-template-columns: 1fr; }
  .admin-stat-grid button { min-height: 135px; }
  .admin-form { grid-template-columns: 1fr; padding: 20px; }
  .admin-form .span-2 { grid-column: auto; }
  .admin-form-actions { flex-direction: column-reverse; }
  .admin-form-actions button { width: 100%; }
  .admin-inquiries > article { padding: 18px; }
  .admin-inquiries article > header, .admin-inquiries article > footer { align-items: flex-start; flex-direction: column; }
  .admin-section-list article { align-items: flex-start; flex-direction: column; }
  .admin-section-list footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* PHP/MySQL CMS additions */
.fill-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.public-notice { position: fixed; z-index: 100; top: 105px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 30px); padding: 14px 20px; border-radius: 5px; box-shadow: 0 12px 35px rgba(0,0,0,.2); font-size: 13px; }
.public-notice.success { background: #edf4e9; color: #315c2c; }
.public-notice.error { background: #ffe8e8; color: #852f34; }

.admin-gallery-bulk { display: grid; grid-template-columns: 1.25fr .65fr 1.2fr auto auto; align-items: end; gap: 14px; margin-bottom: 28px; padding: 22px; border: 1px solid rgba(41,36,31,.1); border-radius: 8px; background: #fff; }
.admin-gallery-bulk > div strong, .admin-gallery-bulk > div small { display: block; }
.admin-gallery-bulk > div strong { margin-bottom: 7px; color: #663039; font: 18px/1.25 Georgia, serif; }
.admin-gallery-bulk > div small { max-width: 360px; color: #8f857a; font-size: 9px; line-height: 1.55; }
.admin-gallery-bulk label > span { display: block; margin-bottom: 7px; color: #776e64; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-gallery-bulk input { width: 100%; padding: 10px; border: 1px solid #d9d3ca; border-radius: 4px; background: #fcfbf8; }
.admin-gallery-bulk .admin-check { min-height: 40px; }
.admin-gallery-bulk .admin-check input { width: 18px; }
.admin-gallery-bulk > button { min-height: 40px; white-space: nowrap; }
.admin-gallery-import { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 18px; padding: 22px; border: 1px solid rgba(161,125,62,.28); border-radius: 8px; background: #fffaf0; }
.admin-gallery-import strong, .admin-gallery-import small { display: block; }
.admin-gallery-import strong { margin-bottom: 6px; color: #663039; font: 19px/1.25 Georgia, serif; }
.admin-gallery-import small { max-width: 760px; color: #786f65; font-size: 10px; line-height: 1.55; }
.admin-gallery-import button { white-space: nowrap; }
.admin-category-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.admin-category-list strong { margin-right: 8px; color: #776e64; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.admin-category-list span { padding: 7px 10px; border-radius: 999px; background: #e8e1d5; color: #5f554a; font-size: 9px; }
.admin-course-media { margin-top: 55px; padding-top: 35px; border-top: 1px solid rgba(41,36,31,.12); }
.admin-course-media .admin-list-head { align-items: end; }
.admin-course-media .admin-list-head h2 { margin: 0 0 7px; font: 400 27px/1.2 Georgia, serif; }
.admin-course-media .admin-list-head p { margin: 0; }

@media (max-width: 760px) {
  .admin-sidebar nav a { min-width: max-content; min-height: 37px; padding: 0 11px; background: rgba(255,255,255,.05); }
  .admin-gallery-bulk { grid-template-columns: 1fr; }
  .admin-gallery-import { align-items: stretch; flex-direction: column; }
  .gallery-pagination { margin-top: 45px; }
  .gallery-filters { margin-top: -20px; margin-bottom: 40px; }
  .gallery-lightbox { width: 100vw; height: 100vh; padding: 58px 48px 45px; border-radius: 0; }
  .gallery-lightbox figcaption { max-height: 86px; overflow-y: auto; font-size: 12px; }
}
.rich-text p, .rich-text li { color: inherit; font: 17px/1.8 Georgia, serif; }
