/* =========================================================
   Pride Family – Stylesheet
   Farbschema: Asphalt-Grau + Warnweste-Orange
   ========================================================= */

:root {
  --bg:        #0d1117;
  --bg-alt:    #131a23;
  --surface:   #182029;
  --surface-2: #1e2831;
  --line:      #2a3642;

  --text:      #e7edf3;
  --muted:     #97a6b5;

  --accent:    #ff8a1f;
  --accent-2:  #ffb454;
  --accent-dk: #d96a00;

  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 18px 40px rgba(0,0,0,.45);
  --max:       1180px;
  --font:      "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #101010; padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.4em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #14100a;
  box-shadow: 0 8px 22px rgba(255,138,31,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,138,31,.4); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }
.btn-lg { padding: .95em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,17,23,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(13,17,23,.94); border-bottom-color: var(--line); }
/* Regenbogenkante als Markenzeichen – nimmt die Farben aus dem Logo auf */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, #e8402a, #f0932b, #f7d354, #4caf50, #2f7fd0, #8e5bd0);
  opacity: .85;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); }
.logo-img {
  width: 54px; height: 54px; flex: none;
  object-fit: contain;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1;
  font-weight: 800; font-size: 1.18rem; letter-spacing: .06em; color: var(--text);
}
.logo-text span { color: var(--accent); }
.logo-text small { font-size: .58rem; letter-spacing: .34em; color: var(--muted); font-weight: 600; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav > a { font-size: .93rem; font-weight: 600; color: var(--muted); position: relative; padding: 4px 0; white-space: nowrap; transition: color .18s ease; }
.nav > a:hover, .nav > a.active { color: var(--text); }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .22s ease;
}
.nav > a:not(.btn):hover::after, .nav > a.active::after { width: 100%; }
.nav-cta { color: #14100a !important; padding: .55em 1.15em; font-size: .88rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .25s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 12vw, 130px) 0 clamp(60px, 9vw, 100px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .road {
  position: absolute; inset: auto 0 0 0; height: 46%;
  background:
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,.05) 60px 110px) bottom/100% 3px no-repeat,
    linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  transform: perspective(600px) rotateX(58deg);
  transform-origin: bottom;
  opacity: .55;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; }
.glow-1 { width: 460px; height: 460px; background: var(--accent); top: -140px; right: -60px; }
.glow-2 { width: 380px; height: 380px; background: #2f6fd0; bottom: -160px; left: -80px; opacity: .22; }

.hero-inner { position: relative; z-index: 1; }
.hero-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-emblem { display: grid; place-items: center; }
.hero-emblem img {
  width: 100%; max-width: 430px; height: auto; display: block;

  filter: drop-shadow(0 26px 50px rgba(0,0,0,.6));
  animation: emblem-float 7s ease-in-out infinite;
}
@keyframes emblem-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  background: rgba(255,255,255,.02);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.16); }
.hero h1 { margin: 24px 0 18px; max-width: 16ch; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 62ch; }
.lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 56px; }

.stats {
  list-style: none; margin: 0; padding: 26px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  border-top: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .84rem; color: var(--muted); letter-spacing: .04em; }

/* ---------------- Sections ---------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 700px; margin-bottom: 46px; }
.kicker {
  font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-sub { color: var(--muted); font-size: 1.02rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,138,31,.5); background: var(--surface-2); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(255,138,31,.12); border: 1px solid rgba(255,138,31,.25);
  margin-bottom: 16px;
}

/* Banner */
.banner { background: linear-gradient(120deg, #1a222c 0%, #131a23 60%, #221607 100%); border-block: 1px solid var(--line); padding: clamp(46px, 6vw, 72px) 0; }
.banner-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.banner-inner p { color: var(--muted); margin: 0; }
.banner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.banner-list li {
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 13px 16px; font-size: .93rem; color: var(--muted);
}
.banner-list strong { color: var(--text); }

/* Trucks */
.truck {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .22s ease, border-color .22s ease;
}
.truck:hover { transform: translateY(-4px); border-color: rgba(255,138,31,.5); }
.truck-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.badge {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,138,31,.14); color: var(--accent-2);
  border: 1px solid rgba(255,138,31,.3); border-radius: 999px; padding: 4px 10px;
}
.truck-nr { font-size: 1.5rem; font-weight: 800; color: rgba(255,255,255,.08); }
.truck h3 { margin-bottom: 2px; }
.truck-sub { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.specs li { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; border-top: 1px solid var(--line); padding-top: 8px; }
.specs span { color: var(--muted); }

/* Depots */
.depots { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.depots h3 { margin-bottom: 16px; }
.depots ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.depots li { display: flex; flex-direction: column; border-left: 2px solid var(--accent); padding-left: 12px; }
.depots b { font-size: 1rem; }
.depots span { font-size: .84rem; color: var(--muted); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline li {
  display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: border-color .22s ease, transform .22s ease;
}
.timeline li:hover { border-color: rgba(255,138,31,.5); transform: translateX(4px); }
.tl-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: rgba(255,138,31,.1); border: 1px solid rgba(255,138,31,.28);
  border-radius: var(--radius-sm); padding: 12px 8px;
  font-weight: 800; letter-spacing: .08em; color: var(--accent);
}
.tl-day span { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tl-body h3 { margin-bottom: 4px; }
.tl-body p { color: var(--muted); font-size: .93rem; margin-bottom: 10px; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* Bewerbung */
.apply { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: start; }
.requirements { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.requirements h3.mt { margin-top: 28px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; color: var(--muted); font-size: .93rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  background: rgba(61,220,132,.14); color: #3ddc84; border: 1px solid rgba(61,220,132,.35);
}
.steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.steps li { color: var(--accent); }
.steps b { display: block; color: var(--text); font-size: .95rem; }
.steps span { color: var(--muted); font-size: .87rem; }

/* Geschäftsführung */
.person {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .22s ease, border-color .22s ease;
}
.person:hover { transform: translateY(-4px); border-color: rgba(255,138,31,.5); }
.person-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 800; color: #14100a;
  background: linear-gradient(135deg, #f0932b, #e8402a 35%, #8e5bd0 70%, #2f7fd0);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.person h3 { margin-bottom: 2px; }
.person-role {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.person p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }

/* Trucky-Bewerbungskarte */
.apply-cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,138,31,.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.trucky-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(255,138,31,.12); border: 1px solid rgba(255,138,31,.3);
  border-radius: 999px; padding: 6px 14px 6px 10px; margin-bottom: 18px;
}
.trucky-badge svg { width: 20px; height: 20px; }
.apply-cta h3 { font-size: 1.5rem; margin-bottom: 12px; }
.apply-cta p { color: var(--muted); font-size: .97rem; }
.apply-cta p strong { color: var(--text); }
.apply-list { list-style: none; margin: 6px 0 26px; padding: 0; display: grid; gap: 10px; counter-reset: step; width: 100%; }
.apply-list li {
  position: relative; padding-left: 34px; color: var(--muted); font-size: .93rem;
  counter-increment: step;
}
.apply-list li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
  background: rgba(255,138,31,.14); color: var(--accent-2); border: 1px solid rgba(255,138,31,.32);
}
.apply-cta .btn-block { margin-top: auto; }
.apply-secondary {
  display: block; width: 100%; text-align: center;
  margin-top: 14px; font-size: .9rem; font-weight: 600; color: var(--accent);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .18s ease;
}
.apply-secondary:hover { color: var(--accent-2); text-decoration: underline; }
.apply-hint { font-size: .8rem; color: var(--muted); margin: 18px 0 0; text-align: center; width: 100%; }
.apply-hint span { color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(255,138,31,.45); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent);
  transition: transform .22s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding-bottom: 14px; }
.faq-body p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Kontakt */
.contact-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(255,138,31,.55); background: var(--surface-2); }
.contact-card p { color: var(--muted); font-size: .93rem; }
.link-arrow { color: var(--accent); font-weight: 700; font-size: .88rem; }

/* Footer */
.site-footer { background: #0a0e13; border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-desc { color: var(--muted); font-size: .9rem; max-width: 42ch; margin-top: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer-nav a { font-size: .92rem; color: var(--text); opacity: .82; transition: color .18s ease, opacity .18s ease; }
.footer-nav a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: .8rem; color: var(--muted);
}
.footer-bottom p { margin: 0; min-width: 0; }
.disclaimer { opacity: .7; }

/* To top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 1.2rem; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; gap: 34px; }
  .hero-emblem { order: -1; }
  .hero-emblem img { max-width: 260px; animation: none; }
  .hero h1 { max-width: none; }
}

@media (max-width: 940px) {
  .banner-inner { grid-template-columns: 1fr; }
  .apply { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: 10px 22px 26px;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .25s ease, visibility .25s;
  }
  .nav.open { max-height: 80vh; opacity: 1; visibility: visible; overflow-y: auto; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav > a::after { display: none; }
  .nav-cta { margin-top: 16px; border-bottom: 0 !important; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .timeline li { grid-template-columns: 74px 1fr; gap: 14px; padding: 18px; }
}

@media (max-width: 460px) {
  .hero-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Link in der Bewerbungs-Fußzeile */
.apply-hint a { color: var(--accent); font-weight: 600; }
.apply-hint a:hover { color: var(--accent-2); text-decoration: underline; }

/* Inhaber-Zeile im Footer */
.footer-owners { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.footer-owners b { color: var(--text); font-weight: 700; }
.footer-owners a { color: var(--accent); }
.footer-owners a:hover { text-decoration: underline; }

/* Firmenmotto im Hero */
.motto {
  font-size: 1.02rem; font-style: italic; color: var(--accent-2);
  border-left: 3px solid var(--accent); padding-left: 14px; margin: 22px 0 0;
  max-width: 46ch;
}

/* Spielername unter der Rolle */
.person-tag {
  font-size: .82rem; color: var(--muted); margin: -6px 0 10px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* Telefonnummer in der Personenkarte */
.person-contact { margin: 10px 0 0; font-size: .9rem; }
.person-contact a { color: var(--accent); font-weight: 700; }
.person-contact a:hover { color: var(--accent-2); text-decoration: underline; }

/* Mehrzeilige Kontaktangaben */
.person-contact { display: flex; flex-direction: column; gap: 4px; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.contact-lines a { color: var(--accent); font-weight: 700; font-size: .9rem; }
.contact-lines a:hover { color: var(--accent-2); text-decoration: underline; }
.contact-card-plain:hover { transform: none; border-color: var(--line); background: var(--surface); }

/* ---------------- Galerie ---------------- */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.gallery-empty {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 44px 20px; margin: 0;
}
.gallery-item {
  margin: 0; position: relative; cursor: zoom-in; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease;
}
.gallery-item:hover { transform: translateY(-4px); border-color: rgba(255,138,31,.55); }
.gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  padding: 26px 14px 12px; font-size: .88rem; font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 5vh 5vw;
  background: rgba(5,8,12,.94); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 90vh; display: grid; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); display: block; margin-inline: auto; }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: .95rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font-size: 1.6rem; line-height: 1;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Admin-Login ---------------- */
.admin-login {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); background: rgba(255,255,255,.03);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.admin-login svg { width: 18px; height: 18px; }
.admin-login:hover { color: var(--accent); border-color: var(--accent); background: rgba(255,138,31,.1); }
.admin-login::after { display: none !important; }
.admin-login-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.footer-admin { align-self: flex-start; margin-top: 8px; padding: .5em 1.1em; font-size: .85rem; }

@media (max-width: 980px) {
  /* Im Burger-Menü mit Beschriftung statt nur Symbol */
  .admin-login {
    width: auto; height: auto; border-radius: 999px;
    grid-auto-flow: column; gap: 10px; justify-content: center;
    padding: 12px 18px; margin-top: 12px; border-bottom: 0 !important;
  }
  .admin-login-text {
    position: static; width: auto; height: auto; overflow: visible;
    clip: auto; font-weight: 700; font-size: .95rem;
  }
}
