/* === FONTS (inline) === */
/* Baumans - Vereinsname (Bauhaus-Stil) */
@font-face {
  font-family: 'Baumans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/baumans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Serif Display - Regular */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display-regular-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Serif Display - Italic */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans - 400 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans - 500 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans - 600 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans - 700 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === STYLES === */

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { overflow-x: hidden; width: 100%; }
  body { overflow-x: hidden; width: 100%; min-width: 0; }
  :root {
    --rot: #F11C1E;
    --rot-light: #FF4447;
    --blau: #0E2A51;
    --creme: #faf8f5;
    --warm-gray: #f3efe9;
    --text: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-muted: #767676;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 100px;
    --border-light: #eee;
    --divider: #e0d6c8;
    --body-bg: #f0ece6;
  }
  body { background: var(--body-bg); color: var(--text); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
  h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; }
  a { color: inherit; text-decoration: none; }
  :focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; border-radius: 4px; }
  .nav :focus-visible { outline-color: #fff; }
  .footer-main :focus-visible { outline-color: #fff; }

  /* ====== NAV ====== */
  .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 16px 48px; transition: all .3s; }
  .nav.nav-glass, .nav.nav-scrolled { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.nav-glass { background: rgba(14,42,81,.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .nav.nav-scrolled { background: var(--blau); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
  .nav .logo-area { display: flex; align-items: center; gap: 14px; cursor: pointer; text-decoration: none; }
  .nav .site-name { font-family: 'Baumans', 'DM Serif Display', sans-serif; font-size: 24px; font-weight: 400; }
  .nav .site-name .mobile-break { display: none; }
  .nav.nav-glass .site-name { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
  .nav.nav-scrolled .site-name { color: #fff; }
  .nav .logo-area img { height: 44px; transition: filter .3s; }
  /* wappen keeps original colors */
  .nav.nav-scrolled .logo-area img { filter: none; }
  .nav .nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; transition: color .3s; list-style: none; }
  .nav .nav-links li { display: contents; }
  .nav.nav-glass .nav-links, .nav.nav-scrolled .nav-links { color: rgba(255,255,255,.85); }
  .nav .nav-links a { cursor: pointer; transition: all .2s; position: relative; }
  .nav .nav-links a:hover, .nav .nav-links a.active-link { color: #fff; }
  .nav .nav-links a.active-link::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; border-radius: 1px; background: #fff; }
  .nav .btn-join { padding: 10px 24px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .25s; border: none; }
  .nav.nav-glass .btn-join { background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); color: #fff; }
  .nav.nav-glass .btn-join:hover { background: #fff; color: var(--rot); }
  .nav.nav-scrolled .btn-join { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: #fff; }
  .nav.nav-scrolled .btn-join:hover { background: #fff; color: var(--blau); }
  .nav .nav-social { display: flex; align-items: center; padding: 10px; border-radius: 8px; min-width: 44px; min-height: 44px; justify-content: center; background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); transition: all .2s; }
  .nav .nav-social:hover { transform: scale(1.1); box-shadow: 0 2px 12px rgba(131,58,180,.4); }
  .nav .nav-social svg { stroke: #fff; color: #fff; width: 20px; height: 20px; }

  /* ====== FOOTER ====== */
  .footer-main { background: var(--blau); padding: 56px 48px; display: flex; gap: 60px; }
  .footer-col { flex: 1; }
  .footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.85); margin-bottom: 14px; font-weight: 700; }
  .footer-col p, .footer-col a { font-size: 13px; color: rgba(255,255,255,.85); text-decoration: none; display: block; line-height: 1.9; }
  .footer-col a:hover { color: #fff; }


  /* ====== STARTSEITE ====== */
  .hero { position: relative; height: 100vh; min-height: 600px; max-height: 900px; overflow: hidden; }
  .hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero .overlay { position: absolute; inset: 0; background: linear-gradient(175deg, rgba(0,0,0,.1) 0%, rgba(14,42,81,.4) 50%, rgba(241,28,30,.5) 100%); }
  .hero .hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
  .hero .hero-content h1 { font-size: 64px; color: #fff; font-weight: 400; line-height: 1.1; text-shadow: 0 3px 30px rgba(0,0,0,.35); }
  .hero .hero-content h1 em { font-style: italic; }
  .hero .scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
  .hero .scroll-hint::after { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: rgba(255,255,255,.6); border-radius: 2px; animation: scrollBounce 2s infinite; }
  @keyframes scrollBounce { 0%,100% { top:8px; opacity:1; } 50% { top:20px; opacity:.3; } }

  /* Pillars — Rot, Weiß, Blau */
  .pillars { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; margin-bottom: -30px; }
  .pillars::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 30px; background: url('../assets/wave-bottom.svg') bottom/100% 100% no-repeat; pointer-events: none; }
  .pillar { padding: 44px 36px 64px; text-align: center; transition: all .3s; cursor: default; position: relative; overflow: hidden; }
  .pillar:nth-child(1) { background: var(--rot); color: #fff; }
  .pillar:nth-child(2) { background: #fff; color: var(--text); }
  .pillar:nth-child(3) { background: var(--blau); color: #fff; }
  .pillar .p-icon { margin-bottom: 14px; }
  .pillar .p-icon svg { width: 36px; height: 36px; }
  .pillar:nth-child(1) .p-icon svg, .pillar:nth-child(3) .p-icon svg { fill: rgba(255,255,255,.85); stroke: rgba(255,255,255,.85); }
  .pillar:nth-child(2) .p-icon svg { fill: var(--rot); stroke: var(--rot); }
  .pillar h3 { font-size: 22px; font-weight: 400; }
  .pillar:nth-child(2) h3 { color: var(--text); }
  .pillar p { font-size: 14px; margin-top: 8px; line-height: 1.5; }
  .pillar:nth-child(1) p { color: #fff; }
  .pillar:nth-child(3) p { color: rgba(255,255,255,.9); }
  .pillar:nth-child(2) p { color: var(--text-secondary); }

  /* About split */
  .about-section { display: flex; }
  .about-text { flex: 1; padding: 72px 56px; background: #fff; }
  .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--rot); font-weight: 700; margin-bottom: 12px; }
  .about-text h2 { font-size: 40px; color: var(--text); margin-bottom: 24px; line-height: 1.15; }
  .about-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 16px; }
  .about-image { flex: 1; position: relative; overflow: hidden; min-height: 480px; }
  .about-image img { width: 100%; height: 100%; object-fit: cover; }
  .about-image .cta-card { position: absolute; bottom: 32px; right: 32px; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 28px; border-radius: var(--radius); max-width: 280px; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
  .about-image .cta-card h3 { font-size: 22px; color: var(--text); margin-bottom: 6px; }
  .about-image .cta-card p { font-size: 13px; color: var(--text-secondary); }
  .about-image .cta-card a { display: inline-block; margin-top: 14px; background: var(--rot); color: #fff; padding: 10px 24px; border-radius: var(--radius-pill); font-weight: 700; font-size: 13px; text-decoration: none; transition: all .2s; }
  .about-image .cta-card a:hover { background: var(--rot-light); }

  /* Events */
  .events-section { background: var(--creme); padding: 72px 48px; overflow: visible; }
  .section-header { text-align: center; margin-bottom: 40px; }
  .section-header .eyebrow { margin-bottom: 8px; }
  .section-header h2 { font-size: 40px; color: var(--text); }

  .events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
  .event-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; transition: all .3s; border: 1px solid rgba(0,0,0,.04); position: relative; }
  .event-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--rot), var(--blau)); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
  .event-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
  .event-card:hover::before { transform: scaleX(1); }
  .event-card .date-chip { display: inline-block; background: var(--warm-gray); color: var(--blau); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; margin-bottom: 14px; }
  .event-card h4 { font-family: 'DM Serif Display', serif; font-size: 19px; color: var(--text); font-weight: 400; }
  .event-card .meta { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
  .events-empty { text-align: center; color: var(--text-secondary); padding: 32px; }
  .event-card.has-flyer { cursor: pointer; }
  .flyer-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); justify-content: center; align-items: center; padding: 24px; }
  .flyer-overlay.active { display: flex; }
  .flyer-overlay img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
  .flyer-overlay .flyer-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; background: rgba(255,255,255,.2); border: none; border-radius: 50%; color: #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .cal-item.has-flyer { cursor: pointer; }

  /* ====== SUBPAGES ====== */
  .page-hero { position: relative; height: 45vh; min-height: 280px; overflow: hidden; }
  .page-hero-short { height: 35vh; }
  .page-hero-mitglied > img { object-position: center 60%; }
  .page-hero-mitglied .overlay { background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(241,28,30,.55)); }
  .form-msg { display: none; margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--creme); color: var(--text); font-size: 14px; }
  .page-hero > img { width: 100%; height: 100%; object-fit: cover; }
  .page-hero .overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(14,42,81,.55) 100%); display: flex; align-items: flex-end; padding: 48px; }
  .page-hero .overlay h1 { font-size: 52px; color: #fff; font-weight: 400; text-shadow: 0 2px 20px rgba(0,0,0,.3); }

  .content-section { background: #fff; padding: 64px 48px; }
  .content-grid { display: flex; gap: 48px; max-width: 1100px; margin: 0 auto; }
  .content-main { flex: 2; }
  .content-main h2 { font-size: 34px; color: var(--text); margin-bottom: 20px; }
  .content-main p { font-size: 16px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 14px; }
  .content-sidebar { flex: 1; }

  .wappen-card { background: var(--creme); border-radius: var(--radius); padding: 32px; text-align: center; }
  .wappen-card img { height: 70px; margin-bottom: 14px; }
  .wappen-card h4 { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text); }
  .wappen-card p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

  .stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; }
  .stat { padding: 32px; text-align: center; }
  .stat:nth-child(1) { background: var(--rot); }
  .stat:nth-child(2) { background: #fff; border: 1px solid var(--border-light); }
  .stat:nth-child(3) { background: var(--blau); }
  .stat .number { font-family: 'DM Serif Display', serif; font-size: 48px; }
  .stat:nth-child(1) .number, .stat:nth-child(3) .number { color: #fff; }
  .stat:nth-child(2) .number { color: var(--rot); }
  .stat .label { font-size: 14px; margin-top: 4px; }
  .stat:nth-child(1) .label { color: #fff; }
  .stat:nth-child(3) .label { color: rgba(255,255,255,.85); }
  .stat:nth-child(2) .label { color: var(--text-secondary); }

  .tradition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1100px; margin: 40px auto 0; }
  .tradition-card { background: var(--creme); border-radius: var(--radius-sm); padding: 22px; transition: all .25s; cursor: default; border: 1px solid transparent; display: flex; align-items: center; gap: 12px; text-align: left; }
  .tradition-card:hover { background: #fff; border-color: var(--rot); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(241,28,30,.1); }
  .tradition-card .t-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
  .tradition-card:nth-child(odd) .t-dot { background: var(--rot); }
  .tradition-card:nth-child(even) .t-dot { background: var(--blau); }
  .tradition-card span { font-size: 14px; color: var(--text); font-weight: 600; }

  /* ====== MITGLIED ====== */
  .easyverein-frame { width: calc(100% + 56px); min-height: 1200px; border: none; background: #fff; margin-left: -56px; margin-right: -56px; }
  .join-split { display: flex; min-height: 560px; }
  .join-image { flex: 1; position: relative; overflow: hidden; }
  .join-image img { width: 100%; height: 100%; object-fit: cover; }
  .join-form-side { flex: 1; background: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
  .join-form-side h2 { font-size: 36px; color: var(--text); margin-bottom: 8px; }
  .join-form-side .sub { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }
  .benefits-row { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
  .benefit-chip { display: flex; align-items: center; gap: 8px; background: var(--creme); padding: 10px 18px; border-radius: var(--radius-pill); font-size: 13px; color: var(--text); font-weight: 600; border: 1px solid rgba(0,0,0,.04); }
  .benefit-chip .b-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rot); }
  .form-row { display: flex; gap: 14px; margin-bottom: 16px; }
  .form-field { flex: 1; }
  .form-field label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; font-weight: 600; }
  .form-field input, .form-field textarea { width: 100%; padding: 14px 18px; border: 2px solid var(--border-light); border-radius: var(--radius-sm); font-size: 15px; background: var(--creme); transition: all .2s; font-family: inherit; }
  .form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--blau); outline-offset: 1px; border-color: var(--blau); background: #fff; }
  .form-field textarea { height: 80px; resize: vertical; }
  .form-submit { display: block; width: 100%; margin-top: 20px; background: var(--rot); color: #fff; border: none; padding: 16px; border-radius: var(--radius-pill); font-size: 16px; font-weight: 700; cursor: pointer; transition: all .25s; }
  .form-submit:hover { background: var(--rot-light); }

  /* ====== KALENDER ====== */
  .cal-section { background: #fff; padding: 64px 48px; }
  .cal-header { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto 32px; }
  .cal-header h2 { font-size: 34px; color: var(--text); }
  .cal-filters { display: flex; gap: 8px; }
  .cal-filters button { padding: 12px 20px; min-height: 44px; border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; border: 2px solid var(--border-light); color: var(--text-secondary); transition: all .2s; font-weight: 500; background: none; font-family: inherit; }
  .cal-filters button.active { background: var(--blau); color: #fff; border-color: var(--blau); }
  .cal-list { max-width: 1100px; margin: 0 auto; }
  .cal-item { display: flex; align-items: center; gap: 28px; padding: 28px; margin-bottom: 12px; background: var(--creme); border-radius: var(--radius); transition: all .25s; border: 1px solid transparent; }
  .cal-item:hover { background: #fff; border-color: rgba(241,28,30,.15); transform: translateX(8px); box-shadow: -4px 0 0 var(--rot), 0 4px 16px rgba(0,0,0,.05); }
  .cal-date-block { text-align: center; min-width: 72px; }
  .cal-date-block .day { font-family: 'DM Serif Display', serif; font-size: 40px; color: var(--rot); line-height: 1; }
  .cal-date-block .month { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
  .cal-divider { width: 2px; height: 48px; background: var(--divider); border-radius: 1px; }
  .cal-details h4 { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text); }
  .cal-details p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
  .cal-details .meta { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

  /* ====== KONTAKT ====== */
  .contact-split { display: flex; min-height: 520px; }
  .contact-info-side { flex: 1; background: var(--blau); padding: 64px 56px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
  .contact-info-side h2 { font-size: 36px; margin-bottom: 32px; }
  .contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .contact-item .c-icon { width: 44px; height: 44px; background: rgba(255,255,255,.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .contact-item .c-icon svg { width: 20px; height: 20px; fill: #fff; }
  .contact-item .c-text strong { display: block; font-size: 15px; margin-bottom: 3px; }
  .contact-item .c-text p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; }
  .contact-form-side { flex: 1; background: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
  .contact-form-side h3 { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--text); margin-bottom: 24px; }

  /* ====== INSTAGRAM SECTION ====== */
  .instagram-section { background: #fff; padding: 64px 48px; text-align: center; }
  .instagram-feed { max-width: 600px; margin: 0 auto; width: 100%; }
  .instagram-cta { display: flex; align-items: center; gap: 16px; justify-content: center; padding: 24px 36px; background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); border-radius: var(--radius); color: #fff; text-decoration: none; transition: all .3s; font-size: 18px; font-weight: 600; }
  .instagram-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(131,58,180,.35); }
  .instagram-cta svg { flex-shrink: 0; }
  .instagram-follow { margin-left: auto; background: rgba(255,255,255,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; }

  /* ====== LEGAL PAGES (Impressum, Datenschutz) ====== */
  .legal-content { max-width: 800px; margin: 0 auto; padding: 64px 48px; background: #fff; }
  .legal-content h2 { font-size: 34px; color: var(--text); margin-bottom: 8px; }
  .legal-content h2 + p { color: var(--text-secondary); font-size: 14px; margin-bottom: 32px; }
  .legal-content h3 { font-size: 22px; color: var(--blau); margin-top: 40px; margin-bottom: 12px; padding-top: 24px; border-top: 1px solid var(--warm-gray); }
  .legal-content h3:first-of-type { border-top: none; padding-top: 0; }
  .legal-content h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); margin-top: 24px; margin-bottom: 8px; }
  .legal-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
  .legal-content strong { color: var(--text); }
  .legal-content ul { margin: 12px 0 16px 24px; list-style: disc; }
  .legal-content ul li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
  .legal-content a { color: var(--blau); font-weight: 500; }
  .legal-content a:hover { text-decoration: underline; }
  .legal-content .legal-address { background: var(--creme); padding: 20px 24px; border-radius: var(--radius-sm); border-left: 3px solid var(--rot); margin: 16px 0; }
  .legal-content .legal-address p { margin-bottom: 4px; }
  .legal-content .legal-date { color: var(--text-secondary); font-size: 13px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--warm-gray); }

/* Hide hamburger on desktop */
.nav-toggle { display: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .nav .site-name { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .about-section { flex-direction: column; }
  .about-image { min-height: 300px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .join-split { flex-direction: column; }
  .join-image { min-height: 300px; }
  .contact-split { flex-direction: column; }
  .contact-info-side, .contact-form-side { padding: 40px 32px; }
  .stats-bar { grid-template-columns: 1fr; }
  .tradition-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { flex-direction: column; }
  .footer-main { flex-wrap: wrap; gap: 32px; padding: 32px; }
  .footer-col { min-width: 45%; }
  .nav { padding: 12px 24px; }
}

@media (max-width: 768px) {
  .hero .hero-content h1 { font-size: clamp(28px, 10vw, 40px); }
  .events-grid { grid-template-columns: 1fr; }
  .tradition-grid { grid-template-columns: 1fr 1fr; }
  .cal-header { flex-direction: column; gap: 16px; }
  .page-hero .overlay h1 { font-size: 36px; }
  .page-hero .overlay { padding: 24px; }

  /* Fix: ensure nothing exceeds viewport on mobile */
  .nav { padding: 10px 16px; width: 100%; }
  .hero, .pillars, .about-section, .events-section, .content-section,
  .cal-section, .instagram-section, .join-split, .contact-split,
  .footer-main, .legal-content,
  .page-hero { width: 100%; max-width: 100%; }

  /* Reduce all section paddings on mobile */
  .about-text { padding: 40px 20px; }
  .events-section { padding: 40px 20px; }
  .content-section { padding: 40px 20px; }
  .cal-section { padding: 40px 20px; }
  .instagram-section { padding: 40px 20px; }
  .legal-content { padding: 40px 20px; }
  .contact-info-side { padding: 40px 24px; }
  .contact-form-side { padding: 40px 24px; }
  .join-form-side { padding: 40px 24px; }
  .easyverein-frame { width: calc(100% + 48px); margin-left: -24px; margin-right: -24px; }
  .instagram-cta { padding: 18px 16px; font-size: 14px; flex-wrap: wrap; gap: 8px; max-width: 100%; }
  .instagram-cta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .instagram-cta svg { width: 24px; height: 24px; }
  .instagram-follow { margin-left: 0; }

  /* Footer compact on mobile */
  .footer-main { flex-direction: column; gap: 24px; padding: 32px 20px; }
  .footer-col { min-width: 100%; }


  /* ====== HAMBURGER MENU ====== */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
    order: 2;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    transition: all .3s ease;
  }
  .nav .nav-toggle span { background: #fff; }

  /* X animation when open */
  .nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Nav layout on mobile */
  .nav { flex-wrap: wrap; }
  .nav .logo-area { order: 1; flex: 1; min-width: 0; }
  .nav .site-name { font-size: 14px; line-height: 1.2; }
  .nav .site-name .mobile-break { display: inline; }
  .nav .nav-links {
    order: 3;
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 16px 0 24px;
    font-size: 16px;
  }
  .nav .nav-links li { display: block; }
  .nav.nav-open .nav-links { display: flex; }

  /* Background for mobile menu */
  .nav.nav-glass.nav-open { background: rgba(0,0,0,.85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  .nav.nav-scrolled.nav-open { background: var(--blau); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

  /* Links vertical */
  .nav .nav-links a:not(.nav-social):not(.btn-join) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(128,128,128,.15);
    font-size: 16px;
    font-weight: 500;
  }
  .nav .nav-links a:not(.nav-social):not(.btn-join) { color: rgba(255,255,255,.9); }

  /* Social icon on mobile */
  .nav .nav-links .nav-social { align-self: flex-start; margin-top: 16px; }

  /* Join button on mobile */
  .nav .nav-links .btn-join {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 14px 24px;
    font-size: 15px;
  }
}
