/*
Theme Name: Marathon Soest
Theme URI: https://www.marathon-soest.de
Author: Marathon Soest e.V.
Description: Offizielles Theme für den Marathon Soest e.V.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: marathon-soest
*/

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:   #2d4f99;
  --dark:   #0d1b3e;
  --mid:    #132248;
  --accent: #4a7bc4;
  --gray:   #f5f5f5;
  --text:   #333;
  --light:  #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.12);
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); background: #fff; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container   { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section     { padding: 72px 0; }
.section--gray { background: var(--gray); }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}
.section-sub {
  color: #666;
  margin-bottom: 40px;
  font-size: 1rem;
}
.badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #1e3a7a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,79,153,.35); }
.btn--outline { border-color: #fff; color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.15); }
.btn--dark    { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #0a1530; transform: translateY(-2px); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,27,62,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 20px;
}
.nav__inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.1rem; color: #fff;
}
.nav__logo-img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.25);
}
/* Primary nav menu – supports both custom class and WP defaults */
.nav__links,
.nav ul.menu {
  display: flex; gap: 4px; list-style: none;
}
.nav__links a,
.nav ul.menu a {
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  transition: all .2s;
  display: block;
}
.nav__links a:hover,
.nav__links a.active,
.nav ul.menu a:hover,
.nav ul.menu .current-menu-item > a,
.nav ul.menu .current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,.1); }

/* Dropdowns */
.nav__links .has-sub,
.nav ul.menu .menu-item-has-children { position: relative; }
.nav__links .has-sub > a,
.nav ul.menu .menu-item-has-children > a { display: flex !important; align-items: center; white-space: nowrap; }
.nav__links .has-sub > a::after,
.nav ul.menu .menu-item-has-children > a::after { content: '▾'; font-size: .65rem; margin-left: 3px; }
.nav__links .sub-menu,
.nav ul.menu .sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--mid);
  border-radius: 10px;
  min-width: 200px;
  padding: 8px;
  box-shadow: var(--shadow);
  list-style: none;
}
.nav__links .has-sub:hover .sub-menu,
.nav ul.menu .menu-item-has-children:hover .sub-menu { display: block; }
.nav__links .sub-menu a,
.nav ul.menu .sub-menu a { font-size: .85rem; padding: 8px 12px; border-radius: 6px; }
.nav__cta { display: flex; gap: 8px; }
.nav__cta .btn { padding: 9px 20px; font-size: .85rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; inset: 68px 0 0;
  background: var(--dark); z-index: 999;
  padding: 24px 20px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu > ul > li > a {
  display: block; color: #fff; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 1.05rem; font-weight: 600;
}
.mobile-menu .sub-group { padding: 0 0 8px 16px; }
.mobile-menu .sub-group a {
  display: block; color: rgba(255,255,255,.7); padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .95rem;
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  background:
    linear-gradient(to bottom, rgba(13,27,62,.75) 0%, rgba(13,27,62,.55) 60%, rgba(13,27,62,.88) 100%),
    var(--hero-bg, #132248) center/cover no-repeat;
  display: flex; align-items: center;
  padding: 100px 20px 60px;
}
.hero__inner { max-width: 1140px; margin: 0 auto; width: 100%; }
.hero__content { max-width: 620px; }
.hero__content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.hero__content h1 span { color: var(--accent); }
.hero__content p { color: rgba(255,255,255,.85); font-size: 1.1rem; line-height: 1.7; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stat { color: rgba(255,255,255,.9); }
.hero__stat strong { display: block; font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.hero__stat span { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 2px; display: block; }

/* ── EVENT BANNER ── */
.event-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1e3a7a 100%);
  padding: 20px;
}
.event-banner__inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.event-banner__text { color: #fff; }
.event-banner__text strong { font-size: 1.1rem; font-weight: 800; }
.event-banner__text span { display: block; font-size: .9rem; opacity: .85; }
.event-banner .btn--outline { font-size: .85rem; padding: 10px 22px; }

/* ── ABOUT ── */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.about__image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: #ddd;
}
.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__image-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--blue); color: #fff;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 700;
}
.about__image-badge span { display: block; font-size: .8rem; opacity: .85; }
.about__features { display: grid; gap: 20px; margin-top: 28px; }
.about__feature { display: flex; gap: 14px; align-items: flex-start; }
.about__feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: #eef1fa; color: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.about__feature h4 { font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.about__feature p  { font-size: .88rem; color: #666; line-height: 1.5; }

/* ── TRAINING ── */
.training__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.training-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s;
}
.training-card:hover { transform: translateY(-4px); }
.training-card__head {
  background: var(--dark); padding: 20px;
  display: flex; align-items: center; gap: 14px;
}
.training-card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.training-card__head h3 { color: #fff; font-size: 1rem; font-weight: 700; }
.training-card__head span { color: rgba(255,255,255,.6); font-size: .82rem; }
.training-card__body { padding: 20px; }
.training-time {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #f0f0f0;
  font-size: .9rem;
}
.training-time:last-child { border-bottom: none; }
.training-time__day { font-weight: 600; }
.training-time__info { color: #666; text-align: right; font-size: .85rem; }
.training-note {
  margin-top: 12px; padding: 10px;
  background: #f0f4fc; border-radius: 8px;
  font-size: .8rem; color: #888;
}

/* ── NEWS ── */
.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.news-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  position: relative; overflow: hidden;
}
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .06em;
}
.news-card__body { padding: 20px; }
.news-card__date { font-size: .8rem; color: #999; margin-bottom: 8px; }
.news-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-card__excerpt { font-size: .88rem; color: #666; line-height: 1.6; }
.news-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 700; font-size: .85rem;
  margin-top: 14px;
}

/* ── GALLERY ── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery__item {
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 1; background: #ddd; cursor: pointer;
  position: relative;
}
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__overlay {
  position: absolute; inset: 0;
  background: rgba(13,27,62,0);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.gallery__overlay-icon { color: #fff; font-size: 2rem; opacity: 0; transition: opacity .3s; }
.gallery__item:hover .gallery__overlay { background: rgba(13,27,62,.45); }
.gallery__item:hover .gallery__overlay-icon { opacity: 1; }
.gallery__more { text-align: center; margin-top: 32px; }

/* ── STADTLAUF ── */
.stadtlauf {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  color: #fff;
}
.stadtlauf .section-title { color: #fff; }
.stadtlauf .section-sub  { color: rgba(255,255,255,.65); }
.stadtlauf__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.stadtlauf__info { display: grid; gap: 16px; }
.info-item {
  display: flex; gap: 16px; align-items: center;
  background: rgba(255,255,255,.07); border-radius: 12px; padding: 16px 20px;
}
.info-item__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.info-item h4  { font-size: .9rem; font-weight: 700; margin-bottom: 2px; }
.info-item p   { font-size: .85rem; color: rgba(255,255,255,.65); }
.countdown     { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.countdown__unit {
  background: rgba(255,255,255,.1); border-radius: 12px;
  padding: 16px 20px; text-align: center; min-width: 80px;
}
.countdown__unit strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.countdown__unit span   { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: 4px; display: block; }
.stadtlauf__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.stadtlauf__card .event-num { font-size: 5rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stadtlauf__card .event-name { font-size: 1.4rem; font-weight: 800; margin: 8px 0 4px; }
.stadtlauf__card .event-date { font-size: 1rem; color: rgba(255,255,255,.65); margin-bottom: 24px; }
.distances { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.distance-tag {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 6px 14px; border-radius: 20px; font-size: .85rem; font-weight: 600;
}

/* ── SPONSORS ── */
.sponsors__grid {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center; align-items: center;
}
.sponsor-item {
  background: #fff; border: 1px solid #e8e8e8;
  border-radius: 10px; padding: 20px 28px;
  min-width: 140px; text-align: center;
  font-weight: 700; font-size: .95rem; color: #555;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.sponsor-item img { max-height: 44px; max-width: 160px; width: auto; object-fit: contain; }
.sponsor-item:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ── CONTACT ── */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact__info { display: grid; gap: 20px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #eef1fa; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-row h4 { font-weight: 700; margin-bottom: 2px; }
.contact-row p  { font-size: .9rem; color: #666; line-height: 1.5; }
.contact__form { background: var(--gray); border-radius: var(--radius); padding: 32px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: .95rem; font-family: inherit;
  outline: none; transition: border-color .2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background .2s;
}
.social-link:hover { background: var(--blue); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--dark), var(--mid));
  padding: 120px 20px 72px;
  text-align: center;
  color: #fff;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin: 12px 0 16px; }
.page-header p  { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ── SINGLE POST ── */
.post-content { max-width: 740px; margin: 0 auto; }
.post-content img { border-radius: var(--radius); margin: 24px 0; }
.post-content p  { color: #444; line-height: 1.8; margin-bottom: 16px; }
.post-content h2 { font-size: 1.4rem; font-weight: 800; margin: 32px 0 12px; }
.post-content h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 10px; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,.7);
  padding: 48px 20px 28px;
}
.footer__grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand p { font-size: .9rem; line-height: 1.7; margin-top: 12px; }
.footer__col h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: .95rem; }
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__col ul a { font-size: .88rem; transition: color .2s; }
.footer__col ul a:hover { color: #fff; }
.footer__bottom {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
  font-size: .85rem;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a:hover { color: #fff; }

/* ── SCROLL-TO-TOP ── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(45,79,153,.4);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.8);
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius);
  max-width: 520px; width: 100%;
  padding: 40px; position: relative;
  max-height: 90svh; overflow-y: auto;
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
}
.modal h2 { font-size: 1.5rem; margin-bottom: 8px; }
.modal p  { color: #666; font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav__links, .nav ul.menu, .nav__cta { display: none; }
  .hamburger { display: flex; }
  .about__grid, .stadtlauf__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 1; }
}
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .hero { padding: 90px 16px 48px; }
  .hero__stats { gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item:first-child { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .event-banner__inner { flex-direction: column; }
  .countdown { gap: 8px; }
  .countdown__unit { min-width: 64px; padding: 12px 14px; }
}

/* ── INSTAGRAM NAV BUTTON ── */
.insta-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background .25s, box-shadow .25s;
  flex-shrink: 0;
  text-decoration: none;
}
.insta-nav-btn__inner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.insta-nav-btn:hover { background: rgba(255,255,255,.15); }
.insta-nav-btn.has-story {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  animation: insta-story-pulse 2.5s ease-in-out infinite;
}
.insta-nav-btn.has-story .insta-nav-btn__inner {
  background: rgba(13,27,62,.96);
}
.insta-nav-btn.has-story:hover .insta-nav-btn__inner {
  background: rgba(13,27,62,.82);
}
@keyframes insta-story-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,39,67,.5); }
  50%       { box-shadow: 0 0 0 6px rgba(220,39,67,0); }
}

/* ── INSTAGRAM FEED SECTION ── */
.insta-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
.btn--insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  border: none;
  cursor: pointer;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  transition: opacity .2s, transform .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.btn--insta:hover { opacity: .88; transform: translateY(-2px); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.insta-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #e0e0e0;
  display: block;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.insta-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.insta-item:hover img { transform: scale(1.06); }
.insta-item:hover .insta-item__overlay { background: rgba(0,0,0,.42); }
.insta-item--placeholder {
  background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  cursor: pointer;
}
.insta-item__ph-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .45;
  transition: opacity .25s;
}
.insta-item--placeholder:hover .insta-item__ph-inner { opacity: .8; }

@media (max-width: 900px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-section-header { flex-direction: column; }
}
@media (max-width: 600px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── VEREINSBEITRITT ── */
.beitritt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; }
.beitritt__fees h3, .beitritt__docs h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; color: var(--dark); }
.fee-list { display: grid; gap: 10px; }
.fee-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fee-item span { color: #555; font-size: .92rem; }
.fee-item strong { color: var(--blue); font-weight: 800; }
.doc-list { display: grid; gap: 12px; }
.doc-item {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 20px; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.doc-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-icon { font-size: 1.8rem; flex-shrink: 0; }
.doc-item strong { display: block; font-size: .92rem; color: var(--dark); margin-bottom: 3px; }
.doc-item span { font-size: .82rem; color: #888; }
@media (max-width: 700px) { .beitritt__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── WP ALIGNMENT HELPERS ── */
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin: 0 24px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 24px; }
.wp-caption  { max-width: 100%; }
