@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --bg: #fff;
  --band: #f3f6fb;
  --blue: #0b4f9c;
  --yellow: #ead400;
  --radius: 14px;
  --measure: 68ch;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
section.wrap, section > .wrap, article.wrap { padding-block: 3.5rem; }
.band { background: var(--band); }
.band > .wrap { padding-block: 3.5rem; }
.prose { max-width: var(--measure); }
.prose h3 { margin-top: 2rem; }

h1, h2, h3 { line-height: 1.2; color: var(--blue); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin-block: 0 1.5rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-block: 0 2rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* hero: Collage in Originalgröße zentriert, seitlich wiederholt wie im Original (Text "Leuchtturm Helfer" ist im Bild), Spendenknopf darüber */
.hero {
  background: #f4f4f4 url("../img/collage.png") center / auto repeat-x;
  height: 620px; display: flex; align-items: center; justify-content: center;
}
.hero .btn-big {
  margin-top: 15rem; padding: .9rem 3rem; font-size: 1.4rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 16px rgba(0,0,0,.35);
}

/* header: mobil kompakt und nicht sticky (Logo + Spenden in einer Zeile, Nav darunter) */
.site-header { background: #fff; border-bottom: 1px solid #e3e7ee; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; padding-block: .5rem; }
.brand { margin-right: auto; }
.brand img { display: block; width: 128px; height: auto; max-width: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; order: 3; width: 100%; }
.site-header nav a { color: var(--text); text-decoration: none; font-weight: 600; padding-block: .5rem; }
.site-header nav a:hover { color: var(--blue); text-decoration: underline; }
@media (min-width: 52rem) {
  html { scroll-padding-top: 5.5rem; }
  .site-header { position: sticky; top: 0; z-index: 5; }
  .site-header nav { order: 0; width: auto; }
}

.btn {
  display: inline-block; background: var(--yellow); color: #000;
  padding: .55rem 1.4rem; border-radius: var(--radius); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600;
}
.btn:hover { filter: brightness(.95); }
.btn-quiet { background: #fff; border-color: var(--blue); color: var(--blue); }

/* projects */
.project { display: grid; gap: 1rem 2rem; grid-template-columns: 1fr; padding-block: 2rem; border-top: 1px solid #d6deea; }
.project:first-of-type { border-top: 0; padding-top: 0; }
.project h3 { margin-top: 0; }
.project img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.project .lead { font-weight: 600; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
@media (min-width: 52rem) {
  .project { grid-template-columns: 22rem 1fr; align-items: start; }
  .project > * { grid-column: 2; }
  .project img { grid-column: 1; grid-row: 1 / span 4; }
}

/* news */
.news { list-style: none; padding: 0; max-width: var(--measure); }
.news li { margin-bottom: 1.5rem; }
.news time { display: block; color: var(--muted); font-size: .9rem; }
.news p { margin: .25rem 0 0; }

/* team */
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); text-align: center; }
.team .photo { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); margin-bottom: .75rem; background: var(--band); }
.team img { width: 100%; height: 100%; object-fit: cover; }
.team strong, .team span { display: block; }
.team span { color: var(--muted); font-size: .95rem; }

/* videos */
.note { color: var(--muted); max-width: var(--measure); }
.videos { list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.video, .videos iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #14233a; }
.video { position: relative; overflow: hidden; color: #fff; text-align: center; text-decoration: none; font-weight: 600; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video span {
  position: absolute; inset: auto 0 0 0; padding: .6rem .8rem; font-size: .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.video::before {
  content: ""; position: absolute; z-index: 1; top: 50%; left: 50%;
  width: 4.5rem; height: 3.2rem; transform: translate(-50%, -50%); border-radius: .9rem;
  background: #f00; opacity: .9; transition: opacity .2s;
}
.video::after {
  content: ""; position: absolute; z-index: 2; top: 50%; left: 50%;
  transform: translate(-35%, -50%); /* Dreieck optisch zentrieren */
  border-style: solid; border-width: .7rem 0 .7rem 1.2rem; border-color: transparent transparent transparent #fff;
}
.video:hover::before, .video:focus-visible::before { opacity: 1; background: #c00; }

/* donate */
.bank { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; max-width: 36rem; }
.bank dt { font-weight: 600; }
.bank dd { margin: 0; }
#iban { white-space: nowrap; }
@media (max-width: 30rem) {
  .bank { grid-template-columns: 1fr; gap: 0; }
  .bank dt { font-size: .9rem; color: var(--muted); }
  .bank dd { margin-bottom: .6rem; }
}
.copy { margin-left: .75rem; font: inherit; font-size: .85rem; padding: .1rem .6rem; border: 1px solid var(--blue); background: #fff; color: var(--blue); border-radius: 8px; cursor: pointer; }

/* contact + footer */
.links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.links a { padding-block: .4rem; }
.site-footer { border-top: 1px solid #e3e7ee; padding-block: 1.5rem; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.site-footer p { margin: 0; }
