:root{
  --bg:#5d5d5d;
  --fg:#f2f2f2;
  --muted:#d9d9d9;
  --max:1200px;
}

*{box-sizing:border-box;}

html,body{
  height:100%;
}

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--fg);
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:56px 28px 64px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.header{
  text-align:center;
  margin-bottom:46px;
}

.header h1{
  margin:0;
  font-size:34px;
  font-weight:400;
  letter-spacing:1.5px;
}

.gallery{
  display:flex;
  justify-content:center;
  gap:40px;
  margin:0 auto 44px;
  flex-wrap:wrap;
}

.gallery .tile{
  width:350px;
  aspect-ratio:1/1;
  background:transparent;
  overflow:hidden;
}

.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.notice{
  text-align:center;
  font-size:18px;
  line-height:1.45;
  margin:0 0 34px;
}

.impressum{
  margin-top:auto;
}

.impressum h2{
  margin:0 0 12px;
  font-size:12px;
  letter-spacing:1.2px;
  font-weight:700;
}

.impressum .subtitle{
  font-size:11px;
  color:var(--muted);
  margin:0 0 14px;
}

.impressum .box{
  border:none;
  padding:0;
}

.impressum-grid{
  display:grid;
  grid-template-columns: 30% 70%;
  gap:26px;
  align-items:start;
}

.impressum-right h3:first-child{
  margin-top:0;
}

.impressum h3{
  margin:0 0 6px;
  font-size:11px;
  font-weight:700;
}

.impressum p{
  margin:0 0 10px;
  font-size:11px;
  line-height:1.45;
  color:var(--muted);
}

.impressum a{
  color:var(--fg);
}

@media (max-width:780px){
  .header h1{font-size:26px;}
  .gallery{gap:26px;}
  .gallery .tile{width:min(340px, 92vw);}
  .impressum-grid{grid-template-columns:1fr;}
}

@media (min-width:1100px){
  .gallery{flex-wrap:nowrap;}
}
