/* /assets/style.css
   Luftbild-Service – clean/glass (Index + A–Z + Ortseite)
   ✅ komplett (hell + blau), moderne A–Z, keine Horizontal-Scroll-Navigation
*/

:root{
  --bg:#f6f8fc;
  --card:#ffffff;
  --ink:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --blue:#2563eb;
  --blue2:#1d4ed8;
  --shadow:0 10px 30px rgba(2, 6, 23, .08);
  --shadow2:0 18px 50px rgba(2,6,23,.10);
  --radius:18px;
  --radius-sm:14px;
  --max:1140px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif;
  color:var(--ink);

  background:
    radial-gradient(900px 500px at 10% 0%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(29,78,216,.10), transparent 55%),
    var(--bg);

  background-repeat:no-repeat;
  background-attachment:fixed;
  background-size:cover;
}

a{ color:var(--blue2); }
a:hover{ color:var(--blue); }

/* ===== Layout ===== */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding: 26px 16px 70px;
}

/* ===== HERO ===== */
.hero{
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.70));
  border:1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.hero__top{
  padding: 18px 18px 0;
  display:flex;
  justify-content:center;
}

.hero__badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  border:1px solid rgba(37,99,235,.20);
  background: rgba(37,99,235,.06);
  color:#0b1b46;
  font-weight:800;
  font-size:13px;
  letter-spacing:.2px;
  text-align:center;
}

.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  padding:18px;
}
@media (min-width: 880px){
  .hero__grid{
    grid-template-columns: 340px 1fr;
    gap:22px;
    padding:22px;
  }
}

/* ===== Cards ===== */
.logoCard{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(2,6,23,.06);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:210px;
}
.logoCard img{
  max-width:100%;
  height:auto;
  display:block;
}

.infoCard{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(2,6,23,.06);
  padding:18px;
}
.infoCard h1{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.2;
  letter-spacing:.2px;
}
.infoCard p{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.55;
}

/* ===== Info Pills (Index) ===== */
.infoList{
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
  margin-top:12px;
}
@media (min-width: 620px){
  .infoList{ grid-template-columns: 1fr 1fr; }
}

.pill{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#f8fafc;
  color:#0f172a;
  font-size:14px;
}
.pill b{ font-weight:900; }

.dot{
  width:10px;
  height:10px;
  margin-top:6px;
  border-radius:999px;
  background:var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  flex:0 0 auto;
}

/* ===== Buttons ===== */
.ctaRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  font-weight:900;
  font-size:14px;
  text-decoration:none;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  cursor:pointer;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(2,6,23,.10);
  border-color: rgba(37,99,235,.25);
}
.btn--primary{
  border-color: rgba(37,99,235,.35);
  background: linear-gradient(180deg, rgba(37,99,235,.14), rgba(37,99,235,.06));
  color:#0b1b46;
}

/* ===== Sections ===== */
.section{
  margin-top:22px;
  background: rgba(255,255,255,.85);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.section h2{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:.2px;
}
.section p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

/* ===== Image examples (Index / Standard) ===== */
.examples{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media (min-width: 860px){
  .examples{ grid-template-columns: 1fr 1fr; }
}

.exCard{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(2,6,23,.08);
}

.exImg{
  width:100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display:block;
  background:#e2e8f0;
}

.exBody{
  padding:12px 12px 14px;
}
.exTitle{
  margin:0;
  font-weight:1000;
  font-size:14px;
  letter-spacing:.2px;
}
.exSub{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

/* =========================================================
   A–Z (Index) – neu / modern / ohne horizontal scroll
   ✅ passt zu deinem index.html Script:
      .azNav__btn .azGroup .azGroup__h .azGroup__links .azLink
========================================================= */

/* ===== A–Z Navigation (kein horizontal scroll) ===== */
.azNav{
  position: sticky;
  top: 10px;
  z-index: 5;
  margin-top:18px;

  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius:999px;
  padding:10px 12px;

  box-shadow: 0 12px 30px rgba(2,6,23,.10);

  overflow: hidden;      /* <- kein Scroll */
  white-space: normal;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}

/* Button-Chips klein genug für eine Zeile (Desktop) */
.azNav__btn{
  appearance:none;
  -webkit-appearance:none;

  border:1px solid transparent;
  background:transparent;
  cursor:pointer;

  height:28px;
  width:28px;
  border-radius:999px;

  display:inline-grid;
  place-items:center;

  font-weight:1000;
  font-size:12px;
  color:var(--muted);
  line-height:1;

  transition: background .12s ease, border-color .12s ease, color .12s ease, transform .08s ease, box-shadow .12s ease;
  flex:0 0 auto;
}

/* "Alle" etwas breiter */
.azNav__btn[data-letter=""]{
  width:auto;
  padding:0 10px;
}

.azNav__btn:hover{
  color:var(--ink);
  border-color: rgba(37,99,235,.25);
  background: rgba(37,99,235,.06);
  transform: translateY(-1px);
}

.azNav__btn.isActive{
  color:#0b1b46;
  border-color: rgba(37,99,235,.35);
  background: linear-gradient(180deg, rgba(37,99,235,.14), rgba(37,99,235,.06));
  box-shadow: 0 10px 22px rgba(37,99,235,.18);
}

/* Mobile: wrap statt scroll */
@media (max-width: 820px){
  .azNav{
    border-radius:18px;
    padding:10px;
    justify-content:flex-start;
    flex-wrap:wrap; /* <- wrap, nie scroll */
  }
  .azNav__btn{ width:26px; height:26px; }
  .azNav__btn[data-letter=""]{ width:auto; }
}

/* ===== A–Z Tools ===== */
.azTools{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.azSearch{
  flex:1;
  min-width:240px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  outline:none;
  font-size:14px;
}
.azSearch:focus{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

/* ===== A–Z Grid (Gruppenboxen + Chips) ===== */
.azGrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}

.azGroup{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(2,6,23,.08);
  overflow:hidden;
}

.azGroup__h{
  margin:0;
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(37,99,235,.10), transparent 60%),
    #f8fafc;

  letter-spacing:.2px;
  color:#0b1b46;
  font-size:14px;
  font-weight:1000;
}

.azGroup__links{
  padding:12px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap:10px;
}

.azLink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(37,99,235,.16);
  background:#fff;

  text-decoration:none;
  color:var(--ink);
  font-weight:900;
  font-size:13px;

  box-shadow: 0 10px 18px rgba(2,6,23,.05);
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  min-width:0;
}

.azLink:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.30);
  background: rgba(37,99,235,.04);
  box-shadow: 0 16px 30px rgba(2,6,23,.10);
}

/* Pfeil ohne extra HTML */
.azLink::after{
  content:"›";
  width:28px;
  height:28px;
  border-radius:12px;
  display:grid;
  place-items:center;

  border:1px solid rgba(37,99,235,.20);
  background: rgba(37,99,235,.06);
  color:#0b1b46;
  font-weight:1000;
  flex:0 0 auto;
}

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

.azEmpty{
  margin-top:12px;
  padding:14px 12px;
  border:1px dashed rgba(37,99,235,.35);
  border-radius:14px;
  background: rgba(37,99,235,.06);
  color:var(--muted);
  font-weight:900;
  display:none;
}

/* ===== Footer ===== */
.foot{
  margin-top:18px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
}
.foot a{
  color:var(--blue2);
  text-decoration:none;
}
.foot a:hover{
  text-decoration:underline;
}

/* =========================================================
   ORT-SEITE OVERRIDES (nur ort.html)
   - Header kompakt
   - Galerie: Bilder nicht aufblasen (Originalgröße)
========================================================= */
body[data-page="ort"] .wrap{
  padding-top: 16px;
}

/* Header kompakter */
body[data-page="ort"] .hero__top{ padding: 12px 14px 0; }
body[data-page="ort"] .hero__badge{ padding: 8px 12px; font-size: 12px; }
body[data-page="ort"] .hero__grid{ padding: 14px; gap: 14px; }

@media (min-width: 880px){
  body[data-page="ort"] .hero__grid{
    grid-template-columns: 240px 1fr;
    padding: 16px;
    gap: 16px;
  }
}

body[data-page="ort"] .logoCard{
  min-height: 140px;
  padding: 12px;
}
body[data-page="ort"] .logoCard img{
  max-height: 80px;
  width: auto;
  margin: 0 auto;
}

body[data-page="ort"] .infoCard{ padding: 14px; }
body[data-page="ort"] .infoCard h1{ font-size: 20px; margin-bottom: 6px; }

/* Galerie kompakt + nicht aufblasen */
body[data-page="ort"] .examples{
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body[data-page="ort"] .exCard{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Bild: Originalgröße, aber responsive */
body[data-page="ort"] .exImg{
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;

  aspect-ratio: auto !important;
  object-fit: contain !important;

  display: block;
  margin: 0 auto;
  background: transparent !important;
}
