/* TuS Ensdorf 1895 e.V. – Stylesheet */
:root {
  --red: #BF101E;
  --red-dark: #8E0C16;
  --red-line: #D63A46;
  --pink: #FBE3E5;
  --sand: #EFECE7;
  --sand-light: #F6F4F0;
  --stone: #DAD5CD;
  --ink: #1E1E1E;
  --text: #3E3B37;
  --muted: #55524D;
  --line: #E6E3DD;
  --dark: #262626;
  --darker: #1E1E1E;
  --tile: #3A3A3A;
  --radius: 6px;
  --head: "Barlow", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--sand-light); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #1E1E1E; outline-offset: 2px; }
.site-header :focus-visible, .contact :focus-visible, .news :focus-visible { outline-color: #FFFFFF; }

/* ---------- Header ---------- */
.site-header { background: var(--red); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--head); font-weight: 600; font-size: 22px; }
.brand-sub { font-size: 13px; color: var(--pink); }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a, .main-nav .nav-toggle-sub { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 14px; display: block; background: none; border: 0; font-family: var(--body); cursor: pointer; }
.main-nav a:hover, .main-nav .nav-toggle-sub:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.main-nav a[aria-current="page"], .main-nav .is-active > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.has-sub { position: relative; }
.has-sub > .submenu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.15); padding: 8px; list-style: none; margin: 0; display: none; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: block; }
.has-sub > .submenu a { color: var(--ink); padding: 10px 12px; border-radius: 4px; font-size: 15px; }
.has-sub > .submenu a:hover { background: var(--sand); text-decoration: none; color: var(--ink); }
.has-sub > .submenu a[aria-current="page"] { background: var(--red); color: #fff; text-decoration: none; }
.nav-toggle-sub { display: none !important; }

.menu-button { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-button svg { width: 26px; height: 26px; }
.menu-button .icon-close { display: none; }
.menu-open .menu-button .icon-open { display: none; }
.menu-open .menu-button .icon-close { display: block; }

@media (max-width: 960px) {
  .brand img { height: 46px; }
  .brand-name { font-size: 19px; }
  .brand-sub { display: none; }
  .menu-button { display: inline-flex; }
  .main-nav { display: none; position: fixed; inset: 70px 0 0 0; background: var(--red); overflow-y: auto; padding: 4px 20px 32px; border-top: 1px solid var(--red-line); }
  .menu-open .main-nav { display: block; }
  .menu-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--red-line); }
  .main-nav > ul > li > a { font-family: var(--head); font-weight: 600; font-size: 22px; padding: 16px 0; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .has-sub > a { flex: 1; }
  .nav-toggle-sub { display: inline-flex !important; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0 !important; font-size: 24px !important; }
  .has-sub > .submenu, .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { position: static; display: none; width: 100%; box-shadow: none; background: transparent; padding: 0 0 10px; min-width: 0; }
  .has-sub.sub-open > .submenu { display: block; }
  .has-sub > .submenu a { color: var(--pink); font-size: 17px; padding: 10px 12px; }
  .has-sub > .submenu a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .has-sub > .submenu a[aria-current="page"] { background: rgba(255,255,255,.18); }
  .nav-contact { display: flex !important; flex-direction: column; gap: 4px; padding: 24px 0 0; border-bottom: 0 !important; color: var(--pink); font-size: 14px; }
  .nav-contact a { font-family: var(--body) !important; font-size: 15px !important; padding: 6px 0 !important; font-weight: 600 !important; }
}
.nav-contact { display: none; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.bg-sand { background: var(--sand); }
.bg-sand-light { background: var(--sand-light); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section-head h2 { font-size: 36px; }
.section-head p { font-size: 16px; color: var(--muted); margin-top: 8px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--red); display: block; }

.photo-placeholder { width: 100%; border-radius: var(--radius); background: var(--stone); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; text-align: center; padding: 16px; }
.photo-placeholder svg { width: 44px; height: 44px; stroke: #6E6962; }

/* Hero */
.hero { background: var(--sand); padding: 64px 0 72px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-text h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; }
.hero-text p { font-size: 18px; line-height: 1.65; color: var(--text); max-width: 560px; }
.hero-media { flex: 1 1 440px; min-width: 0; }
.hero-media .photo-placeholder { aspect-ratio: 4 / 3; }
.text-links { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.text-link { font-weight: 600; font-size: 16px; padding: 8px 0; text-decoration: none; display: inline-block; }
.text-link:hover { text-decoration: underline; }

/* News / Instagram */
.news { background: var(--dark); color: #fff; }
.news .section-head p { color: #CFCFCB; }
.btn-outline-light { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 11px 18px; text-decoration: none; color: #fff; border: 1px solid #fff; border-radius: 4px; }
.btn-outline-light:hover { background: #fff; color: var(--dark); }
.btn-outline-light svg { width: 20px; height: 20px; }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.insta-tile { aspect-ratio: 1 / 1; border-radius: 4px; background: var(--tile); display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 12px; text-decoration: none; color: #CFCFCB; font-size: 12px; }
.insta-tile:hover { background: #474747; color: #fff; }
.insta-tile svg { width: 18px; height: 18px; stroke: #9A9A96; }
.news-note { margin-top: 20px; font-size: 13px; color: #CFCFCB; }

/* Department cards */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.dept-card { background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.dept-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.dept-card .photo-placeholder { aspect-ratio: 16 / 9; border-radius: 0; font-size: 13px; }
.dept-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dept-card-title { font-family: var(--head); font-weight: 600; font-size: 21px; }
.dept-card-text { font-size: 15px; line-height: 1.5; color: var(--text); }
.dept-card-days { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.dept-card-more { font-size: 14px; font-weight: 600; color: var(--red); }

/* Training schedule */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { font-family: var(--body); font-size: 14px; font-weight: 500; padding: 11px 16px; border-radius: 4px; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid #C9C5BE; }
.filter button[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.day { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.day h3 { padding: 12px 18px; background: var(--red); color: #fff; font-size: 18px; }
.day ul { list-style: none; margin: 0; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.session { display: flex; flex-direction: column; gap: 2px; }
.session[hidden] { display: none; }
.session-time { font-size: 13px; font-weight: 600; color: var(--muted); }
.session-title { font-size: 15px; line-height: 1.35; }
.session-place { font-size: 13px; color: var(--muted); }
.day-empty { font-size: 14px; color: var(--muted); }
.schedule-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Club */
.club-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 21px; }
.board { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 8px; font-size: 15px; }
.board dt { color: var(--muted); }
.board dd { margin: 0; }
.card p { font-size: 15px; line-height: 1.6; color: var(--text); }
.fees summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--red); padding: 8px 0; list-style: none; }
.fees summary::-webkit-details-marker { display: none; }
.fees summary::after { content: " anzeigen"; }
.fees[open] summary::after { content: " ausblenden"; }
.fees-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--text); }
.fees-table td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.fees-table tr:last-child td { border-bottom: 0; }
.fees-table td:last-child { text-align: right; }
.download { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 6px 0; text-decoration: none; }
.download:hover { text-decoration: underline; }
.download svg { width: 18px; height: 18px; flex: none; }

/* Contact */
.contact { background: var(--red); color: #fff; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info h2 { font-size: 36px; }
.contact-info p { font-size: 15px; line-height: 1.7; color: var(--pink); }
.contact-info strong { color: #fff; }
.contact-info a { color: #fff; font-weight: 600; font-size: 16px; padding: 6px 0; }
.contact-form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-title { font-family: var(--head); font-weight: 600; font-size: 21px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-form label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.contact-form input, .contact-form textarea { font-family: var(--body); font-size: 15px; padding: 12px; border: 0; border-radius: 4px; background: #fff; color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-dark { align-self: flex-start; background: var(--dark); color: #fff; border: 0; border-radius: 4px; padding: 13px 24px; font-family: var(--body); font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-dark:hover { background: #000; color: #fff; }
.form-hint { font-size: 13px; color: var(--pink); }

/* Footer */
.site-footer { background: var(--darker); color: #CFCFCB; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 40px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #CFCFCB; padding: 8px 0; }
.footer-links a:hover { color: #fff; }

/* ---------- Department page ---------- */
.dept-hero { background: var(--sand); padding: 28px 0 56px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { padding: 4px 0; display: inline-block; }
.dept-hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.dept-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dept-hero-text h1 { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.1; }
.dept-hero-text p { font-size: 18px; line-height: 1.65; color: var(--text); max-width: 560px; }
.dept-hero-media { flex: 1 1 420px; min-width: 0; }
.dept-hero-media .photo-placeholder { aspect-ratio: 3 / 2; }

.dept-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 48px; padding-bottom: 72px; }
.dept-aside { flex: 1 1 240px; min-width: 0; background: #fff; border-radius: var(--radius); padding: 20px; }
.dept-aside h2 { font-size: 18px; margin-bottom: 10px; }
.dept-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dept-aside a { display: block; padding: 11px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.dept-aside a:hover { background: var(--sand); }
.dept-aside a[aria-current="page"] { background: var(--red); color: #fff; font-weight: 600; }
.dept-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.dept-main h2 { font-size: 30px; margin-bottom: 16px; }
.bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: var(--text); }
.bullets li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 9px; }
.bring { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--text); background: var(--sand); border-radius: var(--radius); padding: 14px 18px; }
.bring strong { color: var(--ink); }
.table-wrap { background: #fff; border-radius: var(--radius); overflow-x: auto; }
.times { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.times th { background: var(--red); color: #fff; text-align: left; padding: 12px 18px; font-weight: 600; }
.times td { padding: 12px 18px; border-top: 1px solid var(--line); }
.times td:first-child { font-weight: 600; }
.times td:last-child { color: var(--muted); }
.muted-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.info-card h3 { font-size: 19px; }
.person { display: flex; flex-direction: column; gap: 2px; }
.person strong { font-size: 16px; }
.person span, .info-sub { font-size: 14px; color: var(--muted); }
.info-card a { font-size: 15px; font-weight: 500; padding: 4px 0; }
.join-box { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.join-box strong { font-family: var(--head); font-weight: 600; font-size: 22px; display: block; margin-bottom: 6px; }
.join-box span { font-size: 15px; color: #CFCFCB; }
.btn-red { background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 4px; display: inline-block; }
.btn-red:hover { background: #A50D19; color: #fff; }

/* Simple text pages */
.page-text { padding: 56px 0 80px; }
.page-text .container { max-width: 820px; }
.page-text h1 { font-size: 40px; margin-bottom: 24px; }
.page-text h2 { font-size: 24px; margin: 32px 0 12px; }
.page-text p { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 12px; }
.placeholder-box { background: #fff; border: 2px dashed var(--stone); border-radius: var(--radius); padding: 24px; color: var(--muted); }

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 48px; }
  .hero-grid, .dept-hero-grid { gap: 28px; }
  .section-head h2, .contact-info h2 { font-size: 30px; }
  .card { padding: 22px; }
  .board { grid-template-columns: 1fr; row-gap: 2px; }
  .board dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dept-card { transition: none; }
}

/* Images */
.hero-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.card-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stone); }
.card-img.is-contain { object-fit: contain; background: #111111; }
.dept-img { width: 100%; height: auto; border-radius: var(--radius); }
.dept-img.is-photo { aspect-ratio: 3 / 2; object-fit: cover; }
.dept-img.is-flyer { width: auto; max-width: 100%; max-height: 560px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.flyer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 260px)); gap: 16px; }
.flyer-grid a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.flyer-grid img { width: 100%; height: auto; }
.flyer-hint { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Fitness courses, reports, misc */
.card-img.is-contain-light { object-fit: contain; background: #FFFFFF; padding: 12px; }
.dept-img.is-logo { max-width: 520px; margin: 0 auto; border-radius: 0; }
.news .text-link { color: #FFFFFF; margin-top: 16px; }
.news .text-link:hover { color: #FFFFFF; }
.flyer-links { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.flyer-links a { font-weight: 600; padding: 6px 0; }
.contact-photo { width: 100%; max-width: 420px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-top: 8px; }
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.course { background: #FFFFFF; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.course-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.course-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.course-body h3 { font-size: 22px; }
.course-body p { font-size: 15px; line-height: 1.6; color: var(--text); }
.course-body .course-time { font-size: 14px; font-weight: 600; color: var(--red); }
.course-body .course-tag { font-weight: 600; color: var(--ink); }
.course-body .course-trainer { font-size: 14px; color: var(--muted); }
.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.report-card { background: #FFFFFF; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: box-shadow .15s ease; }
.report-card:hover { color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.report-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stone); }
.report-img.is-contain-light { object-fit: contain; background: #FFFFFF; padding: 12px; }
.report-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.report-date { font-size: 13px; color: var(--muted); }
.report-title { font-family: var(--head); font-weight: 600; font-size: 19px; line-height: 1.25; }
.report-teaser { font-size: 14px; line-height: 1.5; color: var(--text); }
.article { padding: 28px 0 80px; }
.article .container { max-width: 820px; }
.article .container.wide { max-width: 1200px; }
.article h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; }
.article-lead { font-size: 17px; line-height: 1.6; color: var(--text); margin-bottom: 28px; max-width: 720px; }
.article-meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.article-meta a { font-weight: 600; }
.article-img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 28px; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 16px; }
.article-body ul, .article-body ol { font-size: 17px; line-height: 1.7; color: var(--text); margin: 0 0 16px; padding-left: 24px; }
.article-body h2 { font-size: 22px; margin: 28px 0 10px; }
.back-link { display: inline-block; margin-top: 24px; font-weight: 600; padding: 8px 0; }
.report-title, .dept-card-title, .article h1 { overflow-wrap: break-word; hyphens: auto; }

/* Instagram feed tiles */
.insta-tile.has-image { position: relative; padding: 0; overflow: hidden; background: #000000; }
.insta-tile.has-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.insta-tile.has-image:hover img { transform: scale(1.04); opacity: .85; }
.insta-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 10px 0; border-bottom: 10px solid transparent; font-size: 12px; line-height: 1.35; color: #FFFFFF; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insta-tile.is-video::after { content: ""; position: absolute; top: 10px; right: 10px; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #FFFFFF; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
@media (prefers-reduced-motion: reduce) { .insta-tile.has-image img { transition: none; } }

/* Elfsight Instagram widget */
.insta-embed { min-height: 220px; border-radius: var(--radius); }

/* Department schedule list, board photo */
.slots { background: #FFFFFF; border-radius: var(--radius); overflow: hidden; }
.slot { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 14px 20px; border-top: 1px solid var(--line); }
.slot:first-child { border-top: 0; }
.slot-group { flex: 1 1 200px; font-weight: 600; font-size: 16px; display: flex; flex-direction: column; gap: 2px; }
.slot-sub { font-weight: 400; font-size: 14px; color: var(--muted); }
.slot-times { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--text); }
.slot-times strong { display: inline-block; min-width: 100px; font-weight: 600; color: var(--ink); }
.card-photo { width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -28px -28px 6px; border-radius: var(--radius) var(--radius) 0 0; }
@media (max-width: 600px) { .card-photo { width: calc(100% + 44px); margin: -22px -22px 6px; } }

/* Hallen-Links (Google Maps) */
.place-link { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; padding: 4px 0; color: var(--red); text-decoration: none; font-weight: 500; }
.place-link:hover { text-decoration: underline; }
.place-link svg { width: 14px; height: 14px; flex: none; }
a.session-place { font-size: 13px; color: var(--red); }
.info-card .place-link { font-size: 14px; font-weight: 600; }
/* Unser Verein: neue Aufteilung */
.club-layout { display: grid; gap: 20px; }
.member-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: start; }
.member-card h3, .board-card h3 { margin: 0 0 12px; }
.club-sub { margin: 22px 0 6px; font-size: 16px; font-weight: 600; }
.member-fees .club-sub { margin-top: 0; }
.download-list { display: flex; flex-direction: column; }
.board-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: start; }
.board-card .card-photo { width: 100%; height: auto; margin: 0; border-radius: var(--radius); display: block; }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.board-grid li { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.board-role { font-size: 13px; color: var(--muted); }
.board-name { font-size: 15px; font-weight: 600; color: var(--text); }
@media (max-width: 480px) { .board-grid { grid-template-columns: 1fr 1fr; } }

/* Probetraining */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.hero-link { font-weight: 600; font-size: 15px; padding: 10px 0; text-decoration: none; }
.hero-link:hover { text-decoration: underline; }

.hero-note { font-size: 15px; font-weight: 600; color: var(--text); }
.dbb-widget { margin-top: 12px; width: 100%; }
.dbb-widget iframe { display: block; width: 100% !important; max-width: 100%; border: 0; border-radius: var(--radius); background: #fff; }

.insta-card { text-decoration: none; color: var(--ink); transition: box-shadow .15s ease; }
.insta-card:hover { color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.insta-card svg { width: 28px; height: 28px; color: var(--red); }
.insta-card span { font-size: 15px; color: var(--text); }
.insta-card .insta-cta { margin-top: auto; font-weight: 600; color: var(--red); }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--text); }
.legal ul { padding-left: 22px; margin: 8px 0 16px; }

/* Prominent Berichte button */
.news-more { margin-top: 28px; display: flex; justify-content: center; }
.btn-icon { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; padding: 15px 26px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.btn-icon svg { width: 22px; height: 22px; flex: none; }
.news .btn-icon:hover { background: #D41323; color: #FFFFFF; }
@media (max-width: 600px) { .btn-icon { width: 100%; justify-content: center; } }

/* 404 page */
.notfound-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; padding-left: 20px; font-size: 17px; line-height: 1.8; }
.notfound-links a { font-weight: 600; }
