/* mosaik.church – Entwurf 2: reduziert, schwarz-weiß, viel Luft (Mischung aus Entwurf 1 und setapart.de) */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/Montserrat-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/Montserrat-italic.woff2") format("woff2"); }

:root {
  --black: #000;
  --text: #111;
  --muted: #666;
  --line: #111;
  --grey: #f4f4f4;
  --magenta: #c00e64;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
  --max: 1100px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22ch; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1.2em; max-width: 60ch; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.btn {
  display: inline-block; padding: 0.7rem 1.3rem; border: 1px solid var(--black); font-weight: 600; font-size: 0.85rem;
  text-decoration: none; background: #fff; color: var(--black); transition: .15s; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn:hover { background: var(--black); color: #fff; }
.btn.fill { background: var(--black); color: #fff; }
.btn.fill:hover { background: var(--magenta); border-color: var(--magenta); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Header: nur Logo und Burger */
.header { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,.96); transition: background .2s; }
body.menu-open .header { background: transparent; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 40px; width: auto; }
.burger { background: none; border: 0; cursor: pointer; padding: 10px; width: 50px; height: 50px; }
.burger span { display: block; width: 30px; height: 3px; background: var(--black); margin: 6px 0; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.overlay { position: fixed; inset: 0; background: #e6e6e6; z-index: 60; display: none; overflow: auto; }
.overlay.open { display: block; }
.overlay .container { padding-top: 120px; padding-bottom: 3rem; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.overlay ul { list-style: none; margin: 0; padding: 0; }
.overlay li a { display: inline-block; font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800; text-decoration: none; padding: 0.35em 0; line-height: 1.1; }
.overlay li a:hover { color: var(--magenta); }
.overlay .meta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; font-size: 0.9rem; }
.overlay .meta b { display: block; }
.social { display: flex; gap: 1rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--black); border-radius: 50%; }
.social a:hover { background: var(--black); color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 0; }
.hero h1 { margin-bottom: 1.8rem; max-width: 24ch; }
.hero .info { display: flex; flex-wrap: wrap; gap: 0.5rem 3rem; padding: 1.2rem 0 1.8rem; font-weight: 700; font-size: 1rem; line-height: 1.5; }
.hero .info a { text-decoration: none; }
.hero .info a:hover { color: var(--magenta); }
/* Farbstreifen in den Logofarben */
.stripe { display: grid; grid-template-columns: repeat(10, 1fr); height: 4px; }
.stripe i { background: var(--c); }

/* Fotos: schwarz-weiß, in Farbe beim Hover */
.photo { margin: 0; overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); transition: filter .6s ease; }
.photo:hover img { filter: grayscale(0); }
.photo.tall img { aspect-ratio: 4 / 3; }
.hero .photo { margin-top: 0; }
.hero .photo img { aspect-ratio: 16 / 9; }
.lead { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.lead p { font-size: 1.05rem; max-width: 62ch; margin: 0; }

/* Blöcke */
.block { padding: clamp(3rem, 6vw, 5rem) 0; }
.block.grey { background: var(--grey); }
.block .head { margin-bottom: 1.8rem; }
.block .head h2 { margin-bottom: 1rem; }
.block .head p { color: var(--muted); }
.block .photo { border-top: 1px solid var(--line); padding-top: 0; margin-top: 1.5rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }

/* Predigten */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.5rem 0 1.5rem; }
.video { display: block; text-decoration: none; background: #fff; padding-bottom: 0.8rem; }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.video:hover img { filter: none; }
.video figure { margin: 0; }
.video figcaption { padding: 0.7rem 0.9rem 0; font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.video figcaption small { display: block; color: var(--muted); font-weight: 400; margin-top: 0.2rem; }
.grey .video { background: var(--grey); }
@media (max-width: 800px) { .videos { grid-template-columns: 1fr 1fr; } }

/* Termine */
.events { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.events li { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1rem 2rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.events time { font-weight: 800; }
.events .what b { display: block; }
.events .what span { color: var(--muted); font-size: 0.9rem; }
.events .tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid #ccc; padding: 0.1rem 0.4rem; }
@media (max-width: 640px) { .events li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* Leitbild */
.creed { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; }
.creed h3 { padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); margin-bottom: 0.3rem; }
.creed details { border-bottom: 1px solid #ddd; }
.creed summary { cursor: pointer; padding: 0.7rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; font-size: 0.95rem; }
.creed summary::-webkit-details-marker { display: none; }
.creed summary::after { content: "+"; font-weight: 400; }
.creed details[open] summary::after { content: "–"; }
.creed details p { margin: 0; padding: 0 0 0.9rem; color: var(--muted); font-size: 0.9rem; }
.creed dl { margin: 0; }
.creed dt { font-weight: 600; padding-top: 0.7rem; font-size: 0.95rem; }
.creed dd { margin: 0; padding: 0.15rem 0 0.7rem; color: var(--muted); font-size: 0.9rem; border-bottom: 1px solid #ddd; }
@media (max-width: 800px) { .creed { grid-template-columns: 1fr; } }

/* Spenden */
.bank { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.bank dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.bank dt, .bank dd { padding: 0.8rem 0; border-bottom: 1px solid #ddd; margin: 0; font-size: 0.95rem; }
.bank dt { color: var(--muted); padding-right: 2rem; }
.bank dd { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-weight: 600; }
.copy { font: 600 0.7rem var(--font); letter-spacing: 0.06em; text-transform: uppercase; background: #fff; border: 1px solid var(--black); padding: 0.35rem 0.6rem; cursor: pointer; }
.copy:hover { background: var(--black); color: #fff; }
@media (max-width: 520px) { .bank dl { grid-template-columns: 1fr; } .bank dt { border: 0; padding-bottom: 0; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; margin-top: 1.5rem; }
.contact dl { margin: 0; }
.contact dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; margin-top: 1.2rem; }
.contact dd { margin: 0.2rem 0 0; font-weight: 600; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--magenta); }
address { font-style: normal; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--grey); padding: 2.5rem 0; font-size: 0.85rem; text-align: center; }
.footer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.footer a:hover { color: var(--magenta); }
.footer small { color: var(--muted); display: block; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Termine aus Communi */
.events .more { white-space: nowrap; padding: 0.5rem 0.9rem; font-size: 0.78rem; }
.events .more::after { content: " \2197"; }
@media (max-width: 640px) { .events .more { justify-self: start; } }
.events .events-empty { grid-template-columns: 1fr; color: var(--muted); }
.stand { margin: 1.2rem 0 0; color: var(--muted); font-size: 0.8rem; }
.events li.has-img { grid-template-columns: 8rem 110px 1fr auto; align-items: center; }
.events .thumb { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; display: block; filter: grayscale(1); transition: filter .5s; }
.events li:hover .thumb { filter: none; }
@media (max-width: 640px) { .events li.has-img { grid-template-columns: 1fr; } .events .thumb { width: 100%; aspect-ratio: 16 / 9; } }
