/* site.css – gemeinsames Layout für Start/Übersicht/Werkseiten */

:root{
  --bg:#eeeeee;
  --panel:#ffffff;
  --header:#999999;
  --ink:#333;
  --muted:#666;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:14px;

  --max:980px;
  --gap:clamp(10px, 2.2vw, 18px);
  --pad:clamp(16px, 3vw, 26px);
  --thumb:86px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:"Century Gothic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.45;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:clamp(14px, 3vw, 28px);
}

.card{
  background:var(--panel);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

header.site-header{
  background:var(--header);
  padding:18px var(--pad);
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.brand h1{
  margin:0;
  font-size:clamp(20px, 3vw, 28px);
  font-weight:600;
  color:#333;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.page-title{
  margin:0;
  font-size:clamp(14px, 2.2vw, 20px);
  font-weight:600;
  color:rgba(255,255,255,.92);
  white-space:nowrap;
}

main{ padding:var(--pad); }

.topbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:var(--gap);
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.12em;
  font-size:12px;
  color:#222;
  background:rgba(0,0,0,.05);
  transition:transform .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:hover{ background:rgba(0,0,0,.08); transform:translateY(-1px); }
.btn:focus-visible{ outline:3px solid #222; outline-offset:2px; }

.content{
  display:grid;
  gap:var(--gap);
  grid-template-columns: 1fr;
  align-items:start;
}
@media (min-width: 920px){
  .content{ grid-template-columns: 1.65fr .75fr; }
}

figure{
  margin:0;
  background:rgba(0,0,0,.02);
  border-radius:16px;
  padding:clamp(10px, 2vw, 16px);
}

.art{
  width:100%;
  height:auto;
  max-height:min(72vh, 560px);
  object-fit:contain;
  display:block;
  border-radius:14px;
  background:#fff;
}

figcaption{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  letter-spacing:.04em;
}

.side{ display:grid; gap:var(--gap); }

.panel{
  background:rgba(0,0,0,.02);
  border-radius:16px;
  padding:clamp(12px, 2vw, 16px);
}

.thumbrow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.thumb{
  display:block;
  text-decoration:none;
  border-radius:14px;
  padding:6px;
  background:#fff;
}
.thumb img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  transition:transform .18s ease, filter .18s ease;
}
.thumb:hover img{ transform:scale(1.02); filter:saturate(1.05); }
.thumb:focus-visible{ outline:3px solid #222; outline-offset:2px; }

.thumblabel{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; }
}

/* --- Kleine Start-Kachel als Button (start.jpg) --- */
.btn-home{
  padding: 6px 8px;
  letter-spacing: normal;
  background: transparent;
}

.btn-home img{
  height: 34px;
  width: auto;
  display:block;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
  transition: transform .15s ease, filter .15s ease;
}

.btn-home:hover img{
  transform: translateY(-1px);
  filter: saturate(1.05);
}
/* Atelier / Künstlerbuch: Captions unter Hauptbildern */
.project-caption{
  margin-top: 12px;
  color: rgba(0,0,0,.58);
  font-size: 14px;
  letter-spacing: .01em;
  line-height: 1.55;
  text-align: center;
}

.project-caption .title{
  font-weight: 600;
  color: rgba(0,0,0,.72);
}

.project-caption .meta{
  display: block;
  margin-top: 2px;
  color: rgba(0,0,0,.55);
}
