/* Hausschrift Montserrat (selbst gehostet, Lizenz: public/fonts/OFL-Montserrat.txt) */
@font-face {
  font-family: "Montserrat";
  src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Handschrift für Überschriften: Lobster (selbst gehostet, Lizenz: public/fonts/OFL-Lobster.txt) */
@font-face {
  font-family: "Lobster";
  src: url(../fonts/lobster-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Blechpartie – Farben aus dem Logo */
:root {
  --teal: #2f6f73;        /* Blechpartie Petrol (HEX #2F6F73, RGB 47/111/115, CMYK 79/35/45/23) */
  --teal-dark: #245659;
  --teal-deep: #183b3d;
  --slate: #406a76;       /* Banner-Blau */
  --teal-light: #eaf1f1;
  --brass: #c9a24a;       /* Akzent: Blech */
  --text: #1c2b2c;
  --muted: #5a6d6e;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 61, 64, .12);
  --font: "Montserrat", Arial, Helvetica, sans-serif;
  --font-script: "Lobster", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none; }

/* Buttons */
.btn { display: inline-block; padding: .8em 1.5em; border-radius: 999px; background: var(--teal); color: var(--white); text-decoration: none; font-weight: 700; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); background: var(--teal-dark); }
.btn-light { background: var(--white); color: var(--teal); }
.btn-light:hover { background: var(--teal-light); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-small { padding: .45em 1.1em; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal); box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: radial-gradient(circle at 20% 30%, var(--teal) 0%, var(--teal-dark) 60%, var(--teal-deep) 100%); color: var(--white); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-block: 4rem; }
.hero-logo { width: min(520px, 100%); margin-bottom: 1.5rem; }
.lead { font-size: 1.25rem; max-width: 42ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-image img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.35); aspect-ratio: 1 / 1; object-fit: cover; transform: rotate(2deg); border: 6px solid var(--white); }

/* Sections */
.section { padding-block: 5rem; }
.section-alt { background: var(--teal-light); }
.section-dark { background: var(--teal); color: var(--white); }
.section-dark a { color: var(--white); }
.section-title { font-family: var(--font-script); font-weight: 400; font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1.1; color: var(--teal); position: relative; padding-bottom: .2em; }
.section-title::after { content: "✦"; display: inline-block; vertical-align: middle; margin-left: .35em; color: var(--brass); font-family: var(--font); font-size: .4em; line-height: 1; }
.section-dark .section-title { color: var(--white); }
.section-intro { color: var(--muted); margin-top: -.5rem; }
.sub-title { font-family: var(--font-script); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--teal-dark); margin-top: 3.5rem; }

/* Über uns */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.facts li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; background: var(--teal-light); border-radius: var(--radius); padding: 1rem 1.25rem; }
.fact-icon { grid-row: span 2; width: 52px; height: 52px; border: 2px solid var(--teal); border-radius: 50%; display: grid; place-items: center; color: var(--teal); background: var(--white); }
.facts strong { color: var(--teal-dark); }
.facts li > span:last-child { color: var(--muted); font-size: .95rem; }
.members-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 3.5rem; }
.members-head .sub-title { margin: 0; }
.members-nav { display: flex; gap: .5rem; }
.members-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--teal); background: var(--white); color: var(--teal); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.members-nav button:hover { background: var(--teal); color: var(--white); }
.members-nav button:disabled { opacity: .35; cursor: default; background: var(--white); color: var(--teal); }
.members { list-style: none; padding: 0 0 .5rem; margin: 1.5rem 0 0; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.members::-webkit-scrollbar { display: none; }
.member { flex: 0 0 230px; scroll-snap-align: start; scroll-snap-stop: always; background: var(--teal-light); border-radius: var(--radius); overflow: hidden; }
.avatar { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--teal); }
.member h4 { margin: .85rem 1rem 0; font-size: 1.05rem; }
.member p { margin: 0 1rem 1rem; color: var(--muted); font-size: .95rem; }

/* Termine */
.events { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; align-items: center; background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); border-left: 5px solid var(--teal); }
.event-date { text-align: center; color: var(--teal); line-height: 1.1; }
.event-date .day { display: block; font-size: 2.2rem; font-weight: 800; }
.event-date .month { display: block; text-transform: uppercase; font-size: .85rem; font-weight: 700; letter-spacing: .08em; }
.event-date .weekday { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.event h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.event p { margin: 0; color: var(--muted); }
.event a { font-weight: 600; }
.events-empty { color: var(--muted); font-style: italic; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin-top: 2rem; }
.photo { margin: 0; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--teal-light); }
.photo a { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo a:hover img { transform: scale(1.05); }
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--teal-deep); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video-consent { position: relative; width: 100%; height: 100%; border: 0; cursor: pointer; color: var(--white); font: inherit; text-align: left; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .5rem; padding: 1.25rem 1.75rem; background: var(--teal); overflow: hidden; }
.video-consent::before { content: ""; position: absolute; inset: 0; background: url(../img/logo-weiss.svg) no-repeat 89% 12% / 57% auto; opacity: .06; pointer-events: none; }
.video-consent > * { position: relative; }
.video-title { font-size: 1.4rem; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.video-consent .play { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--white); color: var(--teal); display: grid; place-items: center; font-size: 1.2rem; padding-left: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.video-consent:hover .play { transform: scale(1.08); }
.video-consent small { opacity: .8; font-size: .75rem; line-height: 1.4; }
.videos-empty { color: var(--muted); }

/* Instagram */
.insta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.insta-follow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1rem; }
.insta-grid[hidden] { display: none; }
.insta-post { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--teal); box-shadow: var(--shadow); }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta-post:hover img { transform: scale(1.05); }
.insta-badge { position: absolute; top: .6rem; right: .6rem; width: 30px; height: 30px; border-radius: 50%; background: rgba(24, 59, 61, .75); color: var(--white); display: grid; place-items: center; font-size: .8rem; padding-left: 2px; }

/* Diashow (Galerie) */
.slideshow { position: fixed; inset: 0; z-index: 100; background: rgba(10, 30, 32, .96); color: var(--white); }
.ss-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.ss-track::-webkit-scrollbar { display: none; }
.ss-slide { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; padding: 3.5rem 1rem; scroll-snap-align: center; scroll-snap-stop: always; }
.ss-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.ss-btn { position: absolute; z-index: 1; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: var(--white); font: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.ss-btn:hover { background: rgba(255,255,255,.3); }
.ss-close { top: 1rem; right: 1rem; }
.ss-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.ss-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.ss-counter { position: absolute; top: 1.4rem; left: 50%; transform: translateX(-50%); font-size: .95rem; letter-spacing: .05em; }
body.ss-open { overflow: hidden; }
@media (hover: none) { .ss-prev, .ss-next { display: none; } }

/* Merch */
.merch { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.merch-image { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.merch-image img { width: 100%; }
.merch-badge { position: absolute; top: 1rem; left: 1rem; background: var(--white); color: var(--teal); font-weight: 700; font-size: .9rem; padding: .45em 1em; border-radius: 999px; box-shadow: var(--shadow); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; font-size: 1.1rem; }
.form { background: var(--white); color: var(--text); padding: 2rem; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.2); display: grid; gap: 1rem; }
.form a { color: var(--teal); }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form select, .form textarea { font: inherit; padding: .7em .9em; border: 2px solid #cfdcdc; border-radius: 10px; background: var(--white); color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form .checkbox { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; }
.form .checkbox input { width: auto; margin-top: .35em; }
.form .btn { background: var(--teal); color: var(--white); justify-self: start; }
.form .btn:hover { background: var(--teal-dark); }

/* Footer */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.8); padding-block: 1.5rem; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.5rem; }
.footer-inner a { color: rgba(255,255,255,.85); }

/* Unterseiten (Impressum, Datenschutz, Danke) */
.page { padding-block: 4rem; max-width: 760px; }
.page h1 { font-family: var(--font-script); font-weight: 400; color: var(--teal); font-size: clamp(2.5rem, 6vw, 3.5rem); }
.page h2 { color: var(--teal-dark); font-size: 1.3rem; margin-top: 2rem; }

/* Mobil */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--teal); flex-direction: column; gap: 0; padding: .5rem 16px 1.25rem; display: none; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; width: 100%; text-align: center; }
  .nav .btn { margin-top: .5rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-inner, .about, .contact, .merch { grid-template-columns: 1fr; }
  .merch { gap: 2rem; }
  .member { flex-basis: 68%; }
  .videos { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .photo { border-radius: 6px; }
  .insta-grid { gap: .4rem; }
  .insta-post { border-radius: 8px; }
  .hero-inner { padding-block: 2.5rem 3.5rem; gap: 2rem; text-align: center; }
  .hero-logo { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-image { max-width: 340px; margin-inline: auto; }
  .section { padding-block: 3.5rem; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 1.25rem; }
  .event { grid-template-columns: 64px 1fr; gap: 1rem; padding: 1rem; }
  .event-date .day { font-size: 1.8rem; }
}
@media (hover: none) { .members-nav { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html, .members { scroll-behavior: auto; }
  * { transition: none !important; }
}
