:root {
  --paper: #f3eee6;
  --ink: #14120f;
  --muted: #6b655c;
  --line: #d9d2c6;
  --signal: #c81e1e;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.header {
  min-height: 4rem; display: flex; align-items: center; gap: .75rem;
  padding: .5rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--paper);
}
.avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; object-fit: cover;
  outline: 1px solid rgba(0,0,0,.15); outline-offset: -1px; display: block;
}
.brand-text { min-width: 0; line-height: 1.15; }
.brand-name {
  display: block; font-size: 1.125rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-role {
  display: block; font-size: 15px; font-weight: 600; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-kontakt {
  margin-left: auto; display: inline-flex; min-height: 44px; align-items: center;
  font-size: .9rem; font-weight: 600; flex-shrink: 0;
}
.home { min-height: 100dvh; display: flex; flex-direction: column; background: var(--ink); }
.panels { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.panel {
  position: relative; flex: 1; min-height: 18vh; min-width: 0;
  overflow: hidden; border-bottom: 1px solid rgba(243,238,230,.15);
  cursor: pointer; transition: flex .5s cubic-bezier(.22,1,.36,1);
}
.panel.is-open { flex: 3.2; }
.panel-bg { position: absolute; inset: 0; }
.panel-bg img { width: 100%; height: 100%; object-fit: cover; }
.veil { position: absolute; inset: 0; background: rgba(20,18,15,.55); transition: background .5s; }
.panel.is-open .veil { background: rgba(20,18,15,.25); }
.panel-inner {
  position: relative; z-index: 2; height: 100%; display: flex;
  flex-direction: column; justify-content: space-between; padding: 1.25rem; color: var(--paper);
}
.kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,238,230,.7); }
.detail { display: none; max-width: 28rem; margin-top: 1rem; }
.panel.is-open .detail { display: block; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.thumbs img { aspect-ratio: 3/4; width: 100%; object-fit: cover; outline: 1px solid rgba(0,0,0,.25); outline-offset: -1px; }
.teaser { margin: 0; font-size: .9rem; line-height: 1.55; color: rgba(243,238,230,.85); }
.more { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .9rem; font-weight: 600; }
.panel h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .95; font-size: clamp(1.4rem, 3.2vw, 2.4rem); }
.panel.is-open h2 { font-size: 2.25rem; }
.page { min-height: 100dvh; background: var(--paper); }
.wrap { max-width: 64rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.wrap-narrow { max-width: 36rem; }
.back { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.page .kicker { color: var(--signal); margin-top: 2rem; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: -0.03em; margin: .75rem 0 0; }
.lead { max-width: 36rem; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.role { font-size: 1.125rem; font-weight: 600; margin: .75rem 0 0; }
.portrait-lg {
  width: 7rem; height: 7rem; border-radius: 999px; object-fit: cover;
  outline: 1px solid rgba(0,0,0,.15); outline-offset: -1px;
}
.grid { display: grid; gap: .75rem; margin: 2.5rem 0; }
.grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; }
.body { max-width: 36rem; }
.body p { color: var(--muted); line-height: 1.65; }
@media (min-width: 768px) {
  .panels { flex-direction: row; }
  .panel { min-height: 0; border-bottom: 0; border-right: 1px solid rgba(243,238,230,.15); }
  .panel:last-child { border-right: 0; }
  .panel.is-open h2 { font-size: 3rem; }
  .grid { grid-template-columns: 1fr 1fr; }
  .brand-name { font-size: 1.25rem; }
  .portrait-lg { width: 10rem; height: 10rem; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .veil { transition: none; }
}
