:root{
  --csu-blue:#123651;
  --csu-blue-dark:#0e2a3d;
  --csu-green:#A2C516;
  --bg:#ffffff;
  --bg-soft:#F5F8FC;
  --ink:#0B1B2B;
  --muted:#51637A;
  --line:rgba(11,27,43,.12);
  --container: 1160px;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 50, 100, .08);
  --sectionPad: 110px;
  --gap: 56px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

header{
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .3s ease, border-color .3s ease;
}

header.sticky{
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: var(--csu-blue);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 22px;
  padding: 22px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 18px;
  min-width: 280px;
}

.brandLogoWrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 6px;
  line-height:1.05;
  text-decoration: none;
  color: inherit;
}

.csuLogo{
  height: 44px;
  width: auto;
  display:block;
  transition: height .3s ease, filter .3s ease;
}

header.sticky .csuLogo{
  height: 36px;
  filter: brightness(0) invert(1);
}

.ortsverband{
  font-size: 14px;
  color: var(--csu-blue);
  letter-spacing:.02em;
  font-weight: 700;
  margin-left: 2px;
  transition: color .3s ease;
}

header.sticky .ortsverband{
  color: #fff;
}

nav{
  display:flex;
  gap: 22px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}

nav a{
  font-size: 15.5px;
  font-weight: 750;
  color: var(--csu-blue);
  position: relative;
  padding: 8px 0;
  letter-spacing: .01em;
  transition: color .3s ease;
}

header.sticky nav a{
  color: #fff;
}
nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:-3px;
  width:0%;
  height:3px;
  background: var(--csu-green);
  transition: width .18s ease;
}
nav a:hover::after{
  width:100%;
}

.navDropdown{
  position: relative;
}

.navDropdownToggle{
  cursor: pointer;
}

.navDropdownMenu{
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .3s ease, border-color .3s ease;
  z-index: 1000;
  padding: 8px 0;
}

header.sticky .navDropdownMenu{
  background: var(--csu-blue);
  border-color: rgba(255,255,255,.15);
}

.navDropdown:hover .navDropdownMenu,
.navDropdown.active .navDropdownMenu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navDropdownMenu a{
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: background .15s ease, color .3s ease;
}

header.sticky .navDropdownMenu a{
  color: #fff;
}

.navDropdownMenu a:hover{
  background: var(--bg-soft);
}

header.sticky .navDropdownMenu a:hover{
  background: rgba(255,255,255,.1);
}

.navDropdownMenu a::after{
  content:"";
  position:absolute;
  left:20px; bottom:8px;
  width:calc(100% - 40px);
  height:3px;
  background: var(--csu-green);
  transition: width .18s ease;
  width:0%;
}

.navDropdownMenu a:hover::after{
  width:calc(100% - 40px);
}

.ctaRight{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width: 260px;
}

.btn{
  border: 1px solid var(--line);
  background:#fff;
  color: var(--ink);
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 850;
  font-size: 14px;
  cursor:pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border-color: rgba(0,128,203,.25);
}

.btn.primary{
  background: var(--csu-green);
  border-color: transparent;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.btn.primary:hover{
  box-shadow: 0 16px 34px rgba(162,197,22,.28);
}

.hero{
  position: relative;
  padding: 86px 0 0;
  min-height: 100vh;
  background-image: url("images/CSU_HINTERGRUND.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.heroGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: var(--gap);
  align-items:start;
}


.heroGrid > div:first-child{
  animation: slideInFromLeft 0.8s ease-out;
  padding: 24px;
}

@keyframes slideInFromLeft{
  from{
    opacity: 0;
    transform: translateX(-50px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

.kicker{
  display:inline-block;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .22em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1{
  margin:0;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
.accentBlue{ color: var(--csu-green); }
.accentGreen{ color: var(--csu-green); }

.lead{
  margin: 26px 0 0;
  color: #fff;
  font-size: 16.5px;
  line-height: 1.95;
  max-width: 70ch;
}

.heroActions{
  margin-top: 34px;
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  align-items:center;
}

.heroCard{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 5;

  width: 100%;
  max-width: 520px;

  /* ✅ rechts bleiben */
  justify-self: end;

  /* ✅ NICHT strecken = keine 100vh weiße Wand */
  height: max-content;
  align-self: end; /* sitzt unten im Grid */

  /* ✅ Sticky: bleibt im HERO und klebt unten im Viewport */
  position: sticky;
  bottom: 160px;

  /* cleanup */
  left: auto;
  transform: none;
  margin-top: 0;
}


@keyframes slideInFromRight{
  from{
    opacity: 0;
    transform: translateX(50px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

.heroCardBody{
  padding: 32px 22px 16px;
  margin-top: 20px;
}

.heroImage{
  position: absolute;
  right: 15%;
  bottom: -200px;
  width: 50%;
  max-width: 650px;
  z-index: 1;
  pointer-events: none;
  animation: slideInFromRight 0.8s ease-out 0.2s both;
}

.heroImage img{
  width: 100%;
  height: auto;
  display: block;
}

.heroName{
  margin:0;
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--csu-blue);
  text-align: left;
}

.heroNameGreen{
  color: var(--csu-green);
}

.heroRole{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.heroMeta{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.metaTag{
  font-size: 12.8px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 11px;
  border-radius: 12px;
  font-weight: 750;
}

section{
  padding: var(--sectionPad) 0;
}

#motivation{
  padding: 0;
  position: relative;
}

.motivationLayout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.motivationImage{
  background-image: url('images/350A0927 1_1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.motivationContent{
  padding: var(--sectionPad) 0;
}

#motivation .sectionHead h2{
  font-size: clamp(36px, 4.2vw, 60px);
  color: var(--csu-green);
}

#motivation .textBlock h3{
  color: var(--csu-blue);
}

.ctaBox{
  background: var(--csu-blue);
  color: #fff !important;
  padding: 20px 28px;
  border-radius: var(--radius);
  margin-top: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.ctaBox p{
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff !important;
}

.ctaBox .ctaDate{
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0;
  line-height: 1.2;
  color: #fff !important;
}

.ctaBox b{
  font-weight: 800;
  font-size: 28px;
  color: #fff !important;
}

.sectionHead{
  margin-bottom: 44px;
  max-width: 84ch;
}

.sectionHead h2{
  margin:0;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.sectionHead p{
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15.5px;
}

#themen .sectionHead{
  max-width: 100%;
}

#themen .sectionHead h2{
  color: var(--csu-green);
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(0,128,203,.20);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}

.cardImg{
  height: 190px;
  background-size: cover;
  background-position:center;
}

.cardBody{
  padding: 22px 22px 26px;
}

.cardBody h3{
  margin:0;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing:.02em;
}
.cardBody p{
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14.8px;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items:center;
}

.photo{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background:#fff;
  min-height: 420px;
  background-size: cover;
  background-position:center;
}

#wgn .photo{
  aspect-ratio: 1 / 1;
  min-height: unset;
}

#wgn .sectionHead h2{
  color: var(--csu-blue);
}

#privat .sectionHead{
  max-width: 100%;
}

#privat .sectionHead h2{
  color: var(--csu-green);
}

#bundeswehr .sectionHead{
  max-width: 100%;
}

#bundeswehr .sectionHead h2{
  color: var(--csu-blue);
}

#bundeswehr .photo{
  aspect-ratio: 1 / 1;
  min-height: unset;
  margin-bottom: 12px;
}

#bundeswehr .thumbnailGrid{
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

#ehrenamt .sectionHead h2{
  color: var(--csu-green);
}

#ehrenamt .photo{
  aspect-ratio: 1 / 1;
  min-height: unset;
}

#team .sectionHead h2{
  color: var(--csu-blue);
}

#privat .photo{
  aspect-ratio: 1 / 1;
  min-height: unset;
}

#privat .split{
  align-items: flex-start;
}

#privat .textBlock{
  max-width: 78ch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

#privat .thumbnailGrid{
  margin-top: auto;
}

.textBlock{
  max-width: 78ch;
}
.textBlock h3{
  margin:0;
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing:.01em;
}
.textBlock p{
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 2.0;
  font-size: 15.5px;
}

.quote{
  margin-top: 22px;
  padding-left: 16px;
  border-left: 4px solid var(--csu-green);
  color: var(--ink);
  font-weight: 850;
  line-height:1.7;
}

.thumbnailGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
  width: 100%;
}

.thumbnail{
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.thumbnail:hover{
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox Styles */
.lightbox{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active{
  display: flex;
}

.lightbox img{
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close{
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background .2s ease;
  line-height: 0;
  padding: 0;
  margin: 0;
}

.lightbox-close::before{
  content: '×';
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.lightbox-close:hover{
  background: rgba(255, 255, 255, 0.2);
}

.teamBoard{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.teamBoardTop{
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.teamBoardTop strong{
  text-transform: uppercase;
  letter-spacing:.02em;
  font-size: 14.5px;
  font-weight: 950;
}
.teamBoardTop span{
  color: var(--muted);
  font-size: 14px;
}
.teamBoardImg{
  display: block;
  width: 100%;
}

.teamBoardImg img{
  width: 100%;
  height: auto;
  display: block;
}
.teamBoardBottom{
  padding: 20px 22px 26px;
  color: var(--muted);
  line-height:1.85;
  font-size: 15px;
}

/* PDF Viewer Styles - Doppelseiten-Ansicht */
.pdfViewer{
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pdfCanvasContainer{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.pdfPages{
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.pdfPages canvas{
  background: #fff;
  display: block;
  width: calc(50% - 1px);
  height: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.pdfLoading{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.pdfSpinner{
  width: 40px;
  height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--csu-green);
  border-radius: 50%;
  animation: pdfSpin 0.8s linear infinite;
}

@keyframes pdfSpin{
  to{ transform: rotate(360deg); }
}

.pdfLoading.hidden{
  display: none;
}

/* Canvas Performance Optimierungen */
.pdfPages canvas{
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  will-change: auto;
}

/* Toolbar unten */
.pdfToolbar{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 16px;
}

.pdfBtn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.pdfBtn:hover{
  background: var(--csu-blue);
  color: #fff;
  border-color: var(--csu-blue);
}

.pdfBtn:disabled{
  opacity: 0.4;
  cursor: not-allowed;
}

.pdfBtn:disabled:hover{
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.pdfBtn svg{
  width: 20px;
  height: 20px;
}

.pdfPageInfo{
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 140px;
  text-align: center;
}

/* PDF Viewer Responsive */
@media (max-width: 768px){
  .pdfPages{
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    user-select: none;
  }
  
  .pdfPages canvas{
    width: 100%;
    max-width: 100%;
    pointer-events: none;
  }
  
  /* Rechtes Canvas wird per JS versteckt */
  #pdfCanvasRight{
    display: none;
  }
  
  .pdfToolbar{
    padding: 16px;
    gap: 12px;
  }
  
  .pdfBtn{
    width: 40px;
    height: 40px;
  }
  
  .pdfBtn svg{
    width: 18px;
    height: 18px;
  }
  
  .pdfPageInfo{
    font-size: 13px;
    min-width: 80px;
  }
  
  /* Touch-Hinweis */
  .pdfViewer::after{
    content: "← Tippen oder Wischen zum Blättern →";
    display: block;
    text-align: center;
    font-size: 12px;
    color: #888;
    padding: 8px;
    margin-top: 8px;
  }
}

.contactGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:stretch;
}

.box{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.box h3{
  margin:0;
  text-transform: uppercase;
  font-size: 16.5px;
  font-weight: 950;
}

.box p{
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

.contactBtns{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 22px;
  align-items: center;
}

.socialIcon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.socialIcon::before{
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  background-color: var(--csu-blue);
  transition: background-color .16s ease;
}

.socialIcon:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border-color: rgba(0,128,203,.25);
}

.socialIcon:hover::before{
  background-color: var(--csu-green);
}

.socialFacebook::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.socialInstagram::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

#kontakt{
  background-image: url("images/CSU_HINTERGRUND.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#kontakt .sectionHead{
  max-width: 100%;
}

#kontakt .sectionHead h2{
  color: #fff;
}

#kontakt .sectionHead p{
  color: #fff;
}

.contactBox{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contactBox h3{
  margin: 0;
  text-transform: uppercase;
  font-size: 16.5px;
  font-weight: 950;
  color: var(--csu-blue);
  margin-bottom: 24px;
}

.contactInfo{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contactItem{
  color: var(--ink);
  line-height: 1.6;
  font-size: 15.5px;
}

.contactItem strong{
  font-size: 17px;
  color: var(--csu-blue);
  font-weight: 800;
}

.contactLink{
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contactLink::before{
  content: '';
  width: 20px;
  height: 20px;
  display: inline-block;
  background-color: var(--csu-blue);
  flex-shrink: 0;
}

.contactPhone::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.contactMobile::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 2H7c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 18H7V4h10v16z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 2H7c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 18H7V4h10v16z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.contactEmail::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.contactLink:hover{
  color: var(--csu-blue);
}

.contactLink:hover::before{
  background-color: var(--csu-green);
}

.wahlBox{
  background: linear-gradient(135deg, var(--csu-blue) 0%, var(--csu-blue-dark) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.wahlBox h3{
  margin: 0;
  text-transform: uppercase;
  font-size: 16.5px;
  font-weight: 950;
  color: #fff;
  margin-bottom: 0;
}

.wahlDate{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: auto 0;
}

.wahlDay{
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: var(--csu-green);
}

.wahlMonth{
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.wahlTitle{
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 12px;
  color: #fff;
}

.wahlText{
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

footer{
  padding: 60px 0 40px;
  background: var(--csu-green);
  color: #fff;
}

.footerGrid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.footerLeft, .footerCenter, .footerRight{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footerRight{
  align-items: flex-end;
}

.footerLogoWrap{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.footerRight .footerLogoWrap{
  align-items: flex-end;
}

.footerLogo{
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footerOrtsverband{
  font-size: 14px;
  color: #fff;
  letter-spacing: .02em;
  font-weight: 700;
}

.footerNav{
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.footerNav a{
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all .2s ease;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  text-align: left;
  display: block;
  width: 140px;
  white-space: nowrap;
}

.footerNav a:hover{
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-1px);
}

.footerLinks{
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 24px;
}

.footerLinks a{
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}

.footerLinks a:hover{
  opacity: 0.8;
}

.footerLinks span{
  color: rgba(255,255,255,.6);
}

.footerShare{
  text-align: center;
}

.footerShare strong{
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.shareButtons{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.shareBtn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  text-decoration: none;
}

.shareBtn::before{
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  background-color: #fff;
}

.shareBtn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}

.shareFacebook::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.shareInstagram::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.shareTwitter::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.shareWhatsApp::before{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.footerCopyright{
  margin-top: 40px;
  text-align: center;
  color: rgba(255,255,255,.8);
  font-size: 15px;
}

.footerCopyright a{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: opacity .2s ease;
}

.footerCopyright a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Modal Styles */
.modal{
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.modal.active{
  display: flex;
}

.modalContent{
  background-color: #fff;
  margin: auto;
  padding: 40px;
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.modalClose{
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--ink);
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: background .2s ease;
  line-height: 0;
}

.modalClose:hover{
  background: var(--line);
}

.modalClose::before{
  content: '×';
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#modalBody{
  color: var(--ink);
  line-height: 1.8;
}

#modalBody h3{
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--csu-blue);
}

#modalBody p{
  margin: 16px 0;
  color: var(--muted);
}

/* ==========================================
   MOBILE MENU STYLES
   ========================================== */

.mobileMenuToggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
}

.hamburger{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
}

.hamburger span{
  display: block;
  width: 100%;
  height: 3px;
  background: var(--csu-blue);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

header.sticky .hamburger span{
  background: #fff;
}

/* Hamburger Animation - Open State */
.mobileMenuToggle.active .hamburger span:nth-child(1){
  transform: translateY(8.5px) rotate(45deg);
}

.mobileMenuToggle.active .hamburger span:nth-child(2){
  opacity: 0;
}

.mobileMenuToggle.active .hamburger span:nth-child(3){
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobileNav{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--csu-blue) 0%, var(--csu-blue-dark) 100%);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.mobileNav.active{
  opacity: 1;
  visibility: visible;
}

.mobileNavContent{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 100px 20px 40px;
  gap: 8px;
}

.mobileNavLink{
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 16px 24px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.mobileNavLink::after{
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--csu-green);
  transition: width 0.2s ease;
}

.mobileNavLink:hover::after,
.mobileNavLink:focus::after{
  width: 60%;
}

.mobileNavSub{
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 10px 24px;
}

.mobileNavSub::before{
  content: '— ';
  opacity: 0.5;
}

.mobileNavCta{
  margin-top: 24px;
  font-size: 16px;
  padding: 16px 32px;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 1440px){
  /* Hero Layout für Laptop/Tablet Querformat */
  .heroGrid{ grid-template-columns: 1fr; }
  
  .heroGrid > div:first-child{
    max-width: 55%;
    position: relative;
    z-index: 10;
  }
  
  .heroImage{
    right: 0;
    width: 50%;
    top: 80px;
    bottom: auto;
  }
  
  .heroCard{
    position: relative;
    z-index: 15;
    max-width: 400px;
  }
}

@media (max-width: 1100px){
  nav{ gap: 16px; }
  nav a{ font-size: 14px; }
  .brand{ min-width: 220px; }
  .ctaRight{ min-width: 200px; }
  .ctaRight .btn{ padding: 11px 14px; font-size: 13px; }
}

@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; gap: 34px; }
  .grid3{ grid-template-columns: 1fr 1fr; }
  .split{ grid-template-columns: 1fr; }
  .contactGrid{ grid-template-columns: 1fr; }
  .ctaRight{ min-width: unset; }
  .heroCard{ position: static; max-width: 100%; z-index: 15; position: relative; }
  .thumbnailGrid{ grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  #bundeswehr .thumbnailGrid{ grid-template-columns: repeat(3, 1fr); }
  .motivationLayout{ grid-template-columns: 1fr; }
  .motivationImage{ min-height: 400px; }
  .footerGrid{ grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footerLeft, .footerRight{ align-items: center; }
  .footerLogoWrap{ align-items: center; }
  .footerRight .footerLogoWrap{ align-items: center; }
  
  /* Hero Image - zentriert */
  .heroImage{ 
    right: 50%; 
    transform: translateX(50%);
    width: 45%; 
    bottom: -80px;
    z-index: 5;
  }
  
  /* Hide desktop nav, show mobile toggle */
  nav#mainNav{ display: none; }
  .mobileMenuToggle{ display: block; }
  .mobileNav{ display: block; }
  
  /* Hero Text über dem Bild */
  .heroGrid > div:first-child{ 
    padding: 16px 20px; 
    position: relative;
    z-index: 10;
  }
}

@media (max-width: 768px){
  :root{
    --sectionPad: 80px;
    --gap: 40px;
  }
  
  .topbar{ padding: 16px 0; }
  .csuLogo{ height: 38px; }
  header.sticky .csuLogo{ height: 32px; }
  .ortsverband{ font-size: 12px; }
  
  h1{ font-size: clamp(28px, 6vw, 42px); }
  .lead{ font-size: 15px; line-height: 1.8; }
  
  
  .sectionHead h2{ font-size: 24px; }
  .sectionHead p{ font-size: 14.5px; }
  
  .textBlock h3{ font-size: 18px; }
  .textBlock p{ font-size: 14.5px; line-height: 1.85; }
  
  .cardBody h3{ font-size: 14px; }
  .cardBody p{ font-size: 13.5px; }
  
  #bundeswehr .thumbnailGrid{ grid-template-columns: repeat(2, 1fr); }
  
  .contactBox{ padding: 24px; }
  .wahlBox{ padding: 24px; }
  .wahlDay{ font-size: 40px; }
  .wahlMonth{ font-size: 20px; }
  
  .footerNav a{ width: auto; padding: 10px 16px; }
  .footerNav{ flex-direction: row; flex-wrap: wrap; justify-content: center; }
  
  .motivationImage{ min-height: 300px; }
  #motivation .sectionHead h2{ font-size: clamp(28px, 6vw, 42px); }
}

@media (max-width: 860px){
  .grid3{ grid-template-columns: 1fr; }
  section{ padding: 60px 0; }
  
  /* Hero Mobile Layout mit Grid */
  .hero{ 
    padding: 30px 16px 0; 
    min-height: auto; 
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    position: relative;
    overflow: visible;
  }
  
  /* Container transparent machen */
  .hero .container{ 
    display: contents;
  }
  
  /* heroGrid auch transparent machen */
  .heroGrid{ 
    display: contents;
  }
  
  /* Text-Block kommt zuerst */
  .heroGrid > div:first-child{ 
    grid-row: 1;
    padding: 12px 0;
    max-width: 100%;
    z-index: auto;
  }
  
  /* Hero Image kommt als zweites */
  .heroImage{ 
    grid-row: 2;
    position: relative; 
    right: auto; 
    bottom: auto; 
    width: 85%;
    max-width: 340px;
    margin: 15px auto 10px;
    z-index: 5;
    justify-self: center;
    transform: none;
  }
  .heroImage img{
    object-fit: contain;
    object-position: bottom center;
  }
  
  /* Hero Card - als drittes, unter dem Image, zentriert */
  .heroCard{ 
    grid-row: 3;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    z-index: 15;
    text-align: center;
    justify-self: center;
    width: 100%;
  }
  
  .container{ width: min(var(--container), calc(100% - 32px)); }
  .thumbnailGrid{ grid-template-columns: repeat(2, 1fr); gap: 8px; }
  
  .brand{ min-width: auto; }
  .csuLogo{ height: 34px; }
  header.sticky .csuLogo{ height: 28px; }
  
  .ctaRight{ display: none; }
  
  .heroActions{ 
    display: flex;
    flex-direction: column; 
    align-items: stretch; 
  }
  .heroActions .btn{ text-align: center; justify-content: center; }
  .heroCardBody{ 
    padding: 20px 16px 14px; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .heroName{ 
    font-size: clamp(24px, 7vw, 36px); 
    text-align: center;
  }
  .heroRole{ font-size: 12px; text-align: center; }
  .heroMeta{ justify-content: center; }
  .metaTag{ font-size: 11px; padding: 6px 8px; }
  
  .photo{ min-height: 280px; }
  
  .contactBtns{ flex-direction: column; align-items: stretch; }
  .contactBtns .btn{ text-align: center; justify-content: center; }
  .contactBtns .socialIcon{ align-self: center; }
  
  .ctaBox{ padding: 16px 20px; }
  .ctaBox p{ font-size: 16px; }
  .ctaBox .ctaDate{ font-size: 20px; }
  .ctaBox b{ font-size: 24px; }
  
  .quote{ font-size: 15px; padding-left: 12px; }
  
  footer{ padding: 40px 0 30px; }
  .footerShare strong{ font-size: 14px; }
  .shareButtons{ gap: 10px; }
  .shareBtn{ width: 40px; height: 40px; }
  .footerCopyright{ font-size: 13px; margin-top: 30px; }
  
  .mobileNavLink{ font-size: 20px; padding: 14px 20px; }
  .mobileNavSub{ font-size: 15px; }
}

@media (max-width: 400px){
  .container{ width: calc(100% - 24px); }
  
  h1{ font-size: 26px; }
  .kicker{ font-size: 11px; letter-spacing: 0.15em; }
  .lead{ font-size: 14px; }
  
  .heroName{ font-size: 24px; }
  
  .sectionHead h2{ font-size: 20px; }
  
  .wahlDay{ font-size: 32px; }
  .wahlMonth{ font-size: 18px; }
  .wahlTitle{ font-size: 16px; }
  .wahlText{ font-size: 14px; }
}

/* Print Styles for better SEO/accessibility */
@media print{
  header, footer, .mobileMenuToggle, .mobileNav, .lightbox, .modal{ display: none !important; }
  .hero{ min-height: auto; background: none !important; }
  .heroImage{ position: static; width: 200px; }
  section{ padding: 30px 0; page-break-inside: avoid; }
  .split{ grid-template-columns: 1fr; }
  a[href]::after{ content: " (" attr(href) ")"; font-size: 12px; color: #666; }
}

