:root{
  --bg:#fbf7f2;
  --paper:#ffffff;
  --terracotta:#c55f44;
  --brown:#4e3b33;
  --muted:#7a6a62;
  --border:rgba(197,95,68,.25);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow2: 0 18px 50px rgba(0,0,0,.10);
  --radius:20px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1100px 520px at 50% -180px, rgba(197,95,68,.18), transparent 60%),
    radial-gradient(900px 420px at 20% 0%, rgba(78,59,51,.08), transparent 60%),
    var(--bg);
  color: var(--brown);
}

a{color:inherit; text-decoration:none;}
.wrap{max-width:1100px; margin:0 auto; padding:26px 18px 70px;}

.topbar{
  padding:18px 18px 14px 18px;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(10px);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.pill{
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  padding:10px 14px;
  border-radius: 999px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  font-size:14px;
  color: var(--brown);
}
.pill:hover{transform: translateY(-1px); border-color: rgba(197,95,68,.45); background: rgba(255,255,255,.92);}
.pill.active{background: rgba(197,95,68,.12); border-color: rgba(197,95,68,.60);}

.hero{
  margin-top:18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding:22px;
  text-align:center;
}

.h1{
  margin:0;
  font-size:22px;
  letter-spacing:.2px;
}
.sub{
  margin:10px auto 0 auto;
  color: var(--muted);
  font-size:14px;
  max-width: 740px;
  line-height:1.45;
}

.catgrid{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 980px){
  .catgrid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}

.cat{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:16px;
  border-radius: 18px;
  border:1px solid rgba(197,95,68,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
  min-height: 98px;
}
.cat:hover{
  transform: translateY(-2px);
  border-color: rgba(197,95,68,.55);
  box-shadow: 0 16px 38px rgba(0,0,0,.10);
}
.cat .title{
  font-size:16px;
  color: var(--brown);
}
.cat .meta{
  font-size:13px;
  color: var(--muted);
}
.cat .hint{
  margin-top:auto;
  font-size:13px;
  color: rgba(197,95,68,.95);
}

.card{
  margin-top:18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 980px){
  .grid{grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 720px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 420px){
  .grid{grid-template-columns: 1fr;}
}

.thumb{
  display:block;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(78,59,51,.10);
  background: rgba(255,255,255,.88);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.thumb:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  border-color: rgba(197,95,68,.35);
}
.thumb img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}
.caption{
  padding:10px 12px;
  font-size:13px;
  color: var(--muted);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.footer{
  margin-top:18px;
  color: var(--muted);
  font-size:13px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(197,95,68,.55);
  background: rgba(197,95,68,.10);
  color: var(--brown);
  padding:10px 14px;
  border-radius: 12px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease;
  font-size:14px;
}
.btn:hover{transform: translateY(-1px); background: rgba(197,95,68,.14);}
.btn.secondary{
  border-color: rgba(78,59,51,.20);
  background: rgba(255,255,255,.80);
}

.form{
  display:grid;
  gap:12px;
  max-width:520px;
}
.field label{display:block; font-size:13px; color: var(--muted); margin-bottom:6px;}
.field input, .field select{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid rgba(78,59,51,.18);
  background: rgba(255,255,255,.95);
  outline:none;
}
.field input:focus, .field select:focus{
  border-color: rgba(197,95,68,.55);
  box-shadow: 0 0 0 3px rgba(197,95,68,.12);
}
.note{
  font-size:13px;
  color: var(--muted);
  line-height:1.4;
}
.error{
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid rgba(200,0,0,.25);
  background: rgba(200,0,0,.06);
  color:#6b1b1b;
  font-size:14px;
}
.ok{
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid rgba(0,130,0,.25);
  background: rgba(0,130,0,.06);
  color:#0f4b0f;
  font-size:14px;
}

/* lightbox */
#lb{
  position:fixed; inset:0;
  background: rgba(0,0,0,.74);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:1000;
}
#lb.open{display:flex;}
#lb .box{
  max-width:min(1100px, 96vw);
  max-height: 90vh;
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
#lb img{
  display:block;
  width:100%;
  height:auto;
  max-height: 78vh;
  object-fit:contain;
  background: #fff;
}
#lb .bar{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:10px 12px;
  color: var(--muted);
  font-size:13px;
}

.topbar{
  position: relative;
  padding:22px 18px 18px 18px;

  background: rgba(255,255,255,.74);
  backdrop-filter: blur(10px);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  overflow: hidden;
}

.brand{
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.brand img{
  height: 225px;
    justify-content:center;
  width: auto;
}
.nav.seasons {
  margin-top: 10px;
  justify-content: center;
}
@media (max-width: 640px){

  .wrap{
    padding:16px 12px 60px;
  }

  /* Logo kleiner */
  .brand img{
    height:140px;
  }

  /* Navigation: volle Breite, 2 pro Zeile */
  .nav{
    gap:8px;
  }

  .pill{
    flex:1 1 calc(50% - 8px);
    text-align:center;
    padding:12px 10px;
    font-size:14px;
  }

  /* Hero kompakter */
  .hero{
    padding:16px;
  }

  .h1{
    font-size:18px;
  }

  .sub{
    font-size:13px;
  }

  /* Kategorien: 1 Spalte */
  .catgrid{
    grid-template-columns: 1fr;
    gap:12px;
  }

  .cat{
    min-height:auto;
    padding:14px;
  }

  /* Galerie: 2 Spalten */
  .grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:12px;
  }

  .thumb img{
    height:150px;
  }

  /* Footer untereinander */
  .footer{
    flex-direction:column;
    gap:8px;
    text-align:center;
  }

  /* Buttons allgemein */
  .btn{
    width:100%;
    padding:12px;
    font-size:15px;
  }

  .btn.secondary{
    margin-top:6px;
  }

  /* Formulare mobiler */
  .form{
    max-width:100%;
  }

}

.contact-address{
  margin-top:10px;
  text-align:center;
  line-height:1.6;
  font-size:14px;
  color: var(--muted);
}
