/* ============================================================
   Impressionen — Fotogalerie 5-Seen-Land
   ============================================================ */
.i{ fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }

/* ---- Filter ---- */
.galsec{ background:var(--cream); }
.galfilter{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:42px; }
.galchip{
  font-family:inherit; font-weight:700; font-size:14.5px; color:var(--navy);
  background:#fff; border:1px solid var(--line); border-radius:var(--r-pill);
  padding:11px 20px; cursor:pointer; transition:all .18s ease; letter-spacing:-.01em;
}
.galchip:hover{ border-color:var(--gold-200); color:var(--gold-600); }
.galchip.is-active{ background:var(--navy-900); color:#fff; border-color:transparent; box-shadow:var(--shadow-sm); }

/* ---- Masonry grid ---- */
.galgrid{
  display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:210px; gap:16px; margin-top:36px;
}
.gtile{
  position:relative; border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-sm); background:var(--green-100);
  transition:opacity .3s ease, transform .3s ease, box-shadow .25s ease;
}
.gtile:hover{ box-shadow:var(--shadow); }
.gtile.span-rows{ grid-row:span 2; }
.gtile.span-cols{ grid-column:span 2; }
.gtile image-slot{ display:block; width:100%; height:100%; }
.gtile__cap{
  position:absolute; left:0; right:0; bottom:0; z-index:2; pointer-events:none;
  display:flex; align-items:center; gap:8px;
  padding:30px 16px 14px; color:#fff;
  font-family:var(--font-display); font-weight:700; font-size:14.5px; letter-spacing:.01em;
  background:linear-gradient(to top, rgba(8,30,44,.72), transparent);
  opacity:0; transform:translateY(6px); transition:opacity .25s ease, transform .25s ease;
}
.gtile__cap svg{ width:16px; height:16px; color:var(--gold-200); flex:none; }
.gtile:hover .gtile__cap{ opacity:1; transform:translateY(0); }
.gtile.is-hidden{ display:none; }

@media (max-width:900px){
  .galgrid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:180px; }
  .gtile.span-cols{ grid-column:span 2; }
}
@media (max-width:520px){
  .galgrid{ grid-template-columns:1fr; grid-auto-rows:230px; }
  .gtile.span-cols, .gtile.span-rows{ grid-column:auto; grid-row:auto; }
  .gtile__cap{ opacity:1; transform:none; }
}

/* ---- Submission ---- */
.submit{ background:#fff; }
.submit__grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(32px,5vw,72px); align-items:center; }
.submit__copy .eyebrow{ margin-bottom:14px; }
.submit__copy h2{ color:var(--navy); }
.submit__copy p{ color:var(--body); font-size:17px; line-height:1.6; margin-top:16px; max-width:42ch; }
.submit__list{ list-style:none; padding:0; margin:24px 0 0; display:grid; gap:13px; }
.submit__list li{ display:flex; align-items:flex-start; gap:11px; color:var(--navy); font-weight:600; font-size:15.5px; }
.submit__list svg{ width:20px; height:20px; color:#1a1407; background:var(--gold); border-radius:50%; padding:3px; flex:none; stroke-width:2.6; margin-top:1px; }

.uform{ background:var(--cream); border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:clamp(24px,3vw,38px); box-shadow:var(--shadow-sm); }
.uform__row{ margin-bottom:18px; }
.uform__row label{ display:block; font-weight:700; font-size:14px; color:var(--navy); margin-bottom:7px; }
.uform input[type=text], .uform input[type=email], .uform select, .uform textarea{
  width:100%; font:inherit; font-size:15px; color:var(--navy);
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:13px 15px; transition:border-color .15s ease, box-shadow .15s ease;
}
.uform input:focus, .uform select:focus, .uform textarea:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px var(--gold-100, rgba(200,145,31,.16));
}
.uform textarea{ resize:vertical; min-height:84px; }

.drop{
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  text-align:center; min-height:170px; padding:22px;
  background:#fff; border:2px dashed var(--line); border-radius:var(--r-lg);
  cursor:pointer; transition:border-color .18s ease, background .18s ease;
}
.drop:hover, .drop.is-drag{ border-color:var(--gold); background:#fffdf7; }
.drop input[type=file]{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.drop__ic{ width:48px; height:48px; border-radius:13px; background:var(--navy-900); color:var(--gold-200); display:grid; place-items:center; }
.drop__ic svg{ width:24px; height:24px; }
.drop__t{ font-weight:700; color:var(--navy); font-size:15px; }
.drop__s{ color:var(--muted); font-size:13px; }
.drop__preview{ display:none; width:100%; max-height:230px; object-fit:contain; border-radius:var(--r); }
.drop.has-file .drop__ic, .drop.has-file .drop__t, .drop.has-file .drop__s{ display:none; }
.drop.has-file .drop__preview{ display:block; }
.drop__clear{
  display:none; position:absolute; top:10px; right:10px; z-index:3;
  width:32px; height:32px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(8,30,44,.78); color:#fff; place-items:center;
}
.drop.has-file .drop__clear{ display:grid; }
.drop__clear svg{ width:16px; height:16px; }

.uform__consent{ display:flex; gap:11px; align-items:flex-start; margin:4px 0 20px; }
.uform__consent input{ margin-top:3px; width:18px; height:18px; accent-color:var(--gold); flex:none; }
.uform__consent label{ font-weight:500; font-size:13.5px; color:var(--body); line-height:1.5; }
.uform__consent a{ color:var(--gold-600); text-decoration:underline; text-underline-offset:2px; }

.uform__note{ display:flex; gap:9px; align-items:flex-start; margin-top:16px; color:var(--muted); font-size:12.5px; line-height:1.5; }
.uform__note svg{ width:15px; height:15px; flex:none; margin-top:1px; color:var(--gold-600); }

.uform__ok{
  display:none; text-align:center; padding:30px 10px;
}
.uform__ok.show{ display:block; }
.uform__ok .ok-ic{ width:62px; height:62px; border-radius:50%; background:var(--gold); color:#1a1407; display:grid; place-items:center; margin:0 auto 18px; }
.uform__ok .ok-ic svg{ width:30px; height:30px; stroke-width:2.4; }
.uform__ok h3{ font-family:var(--font-display); font-size:23px; color:var(--navy); }
.uform__ok p{ color:var(--body); margin-top:10px; font-size:15px; }

@media (max-width:860px){ .submit__grid{ grid-template-columns:1fr; } }
