/* ===================================================
   TEAM VERMISSTENSUCHE SACHSEN / THÜRINGEN e.V.
   Redesign – Professionelles Blau-Design
   =================================================== */

:root {
  --navy:          #0a1628;
  --navy-mid:      #0d1f3c;
  --blue:          #0e3a7d;
  --blue-light:    #1a52b0;
  --blue-bright:   #2563eb;
  --blue-glow:     rgba(37,99,235,.25);
  --red:           #c0392b;
  --red-light:     #e74c3c;
  --gold:          #f0a500;
  --gold-light:    #fbbf24;
  --white:         #ffffff;
  --off-white:     #f8fafc;
  --gray-light:    #f1f5f9;
  --gray-mid:      #e2e8f0;
  --gray:          #64748b;
  --text:          #0f172a;
  --text-light:    #475569;
  --border:        #cbd5e1;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
  --shadow-md:     0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:     0 8px 36px rgba(0,0,0,.14);
  --shadow-xl:     0 16px 56px rgba(0,0,0,.18);
  --shadow-blue:   0 8px 32px rgba(14,58,125,.3);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --transition:    0.3s cubic-bezier(.4,0,.2,1);
  --font-head:     'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;
  --header-h:      80px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); font-size: 1rem; }

/* ---- Layout ---- */
.container { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }

/* ---- Typography ---- */
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(37,99,235,.1);
  color: var(--blue-bright);
  font-family: var(--font-head);
  font-weight: 700; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(37,99,235,.2);
}
.section-tag.light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900; line-height: 1.12;
  color: var(--navy); margin-bottom: 14px;
}
.section-title.light { color: #fff; }
.section-title span { color: var(--blue-bright); }
.section-desc { font-size: 1.05rem; color: var(--text-light); max-width: 580px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.light-text { color: rgba(255,255,255,.82); font-size: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  letter-spacing: .04em; transition: all var(--transition);
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-lg { padding: 17px 36px; font-size: .97rem; }
.btn-primary { background: var(--blue-bright); color: #fff; border-color: var(--blue-bright); }
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #a93226; border-color: #a93226; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,57,43,.4); }
.btn-outline { background: transparent; color: var(--blue-bright); border-color: var(--blue-bright); }
.btn-outline:hover { background: var(--blue-bright); color: #fff; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--gray-light); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

.pulse-btn { position: relative; }
.pulse-btn::after { content: ''; position: absolute; inset: -5px; border-radius: 14px; border: 2px solid rgba(192,57,43,.5); animation: pulse-ring 2.2s infinite; pointer-events: none; }
@keyframes pulse-ring { 0% { transform:scale(1); opacity:.7; } 80%,100% { transform:scale(1.15); opacity:0; } }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); transition-delay: var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); transition-delay: var(--delay, 0s); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); transition-delay: var(--delay, 0s); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.fade-in { animation: fadeInUp .9s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }

/* ===================================================
   HEADER – PROFESSIONAL TRANSPARENT → DARK GLASS
   =================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header.scrolled {
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
}
/* Thin accent line at bottom of header */
.header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), var(--gold), var(--blue-bright), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  opacity: 0; transition: opacity .4s;
}
.header.scrolled::after { opacity: 1; }
@keyframes shimmer { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-img {
  height: 60px; width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.logo:hover .logo-img { transform: scale(1.06) rotate(-3deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title {
  font-family: var(--font-head); font-weight: 900; font-size: .9rem;
  color: #fff; letter-spacing: .02em;
}
.logo-sub { font-size: .68rem; color: rgba(255,255,255,.58); letter-spacing: .04em; }

/* Nav */
.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 2px; align-items: center; }
.nav-link {
  font-family: var(--font-head); font-size: .76rem; font-weight: 700;
  color: rgba(255,255,255,.78);
  padding: 8px 10px; border-radius: 7px;
  display: flex; align-items: center; gap: 4px;
  transition: all var(--transition); white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--gold);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link:hover::after, .nav-link.active::after { left: 10px; right: 10px; }
.nav-link.active { color: #fff; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: rgba(8,18,34,.98);
  backdrop-filter: blur(24px);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px 0; min-width: 220px;
  opacity: 0; visibility: hidden;
  transition: all var(--transition); z-index: 200;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-family: var(--font-head); font-size: .79rem; font-weight: 600;
  color: rgba(255,255,255,.72); transition: all var(--transition);
}
.dropdown-menu li a i { color: var(--gold); font-size: .8rem; width: 16px; flex-shrink: 0; }
.dropdown-menu li a:hover { background: rgba(37,99,235,.15); color: #fff; padding-left: 22px; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-notruf {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px; background: var(--red); color: #fff;
  border: none; border-radius: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .81rem;
  transition: all var(--transition);
}
.btn-notruf:hover { background: #a93226; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(192,57,43,.55); }
.btn-notruf i { animation: phone-ring 3s ease-in-out infinite; }
@keyframes phone-ring {
  0%,90%,100% { transform: rotate(0); }
  92% { transform: rotate(-18deg); }
  94% { transform: rotate(18deg); }
  96% { transform: rotate(-10deg); }
  98% { transform: rotate(10deg); }
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 7px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(8,18,34,.99);
  backdrop-filter: blur(24px);
  z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; padding: 80px 24px 40px;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-close { display: none; }
.mobile-nav-list { text-align: center; width: 100%; }
.mobile-nav-list li a { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.75); padding: 10px 24px; border-radius: 8px; transition: all var(--transition); }
.mobile-nav-list li a:hover, .mobile-nav-list li a.active { color: #fff; background: rgba(37,99,235,.15); }
.mobile-notruf-btn { display: flex; align-items: center; gap: 9px; margin-top: 24px; padding: 14px 36px; background: var(--red); color: #fff; border-radius: 10px; font-family: var(--font-head); font-weight: 700; font-size: .97rem; transition: all var(--transition); }
.mobile-notruf-btn:hover { background: #a93226; }

/* ===================================================
   PAGE HERO (inner pages)
   =================================================== */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden; min-height: 360px; display: flex; align-items: flex-end;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.92) 0%, rgba(14,58,125,.7) 60%, rgba(10,22,40,.88) 100%);
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--gold), var(--red), var(--blue-bright));
  background-size: 300% 100%;
  animation: gradient-line 4s linear infinite;
}
@keyframes gradient-line { 0% { background-position: 0% 0%; } 100% { background-position: 300% 0%; } }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; font-size: .78rem; color: rgba(255,255,255,.5); }
.page-hero-breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb i { font-size: .6rem; }
.page-hero-title { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #fff; margin-bottom: 10px; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.page-hero-sub { font-size: 1rem; color: rgba(255,255,255,.78); max-width: 550px; }

/* ===================================================
   SHARED COMPONENTS
   =================================================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse .two-col-img { order: 2; }
.two-col.reverse .two-col-text { order: 1; }
.two-col-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); object-fit: cover; }
.two-col-text p { color: var(--text-light); font-size: .96rem; margin-bottom: 14px; line-height: 1.8; }
.two-col-text .section-title { margin-bottom: 18px; }

.info-box { background: rgba(37,99,235,.06); border-left: 4px solid var(--blue-bright); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 20px 0; }
.info-box p { color: var(--text); font-size: .92rem; margin: 0; }
.info-box strong { color: var(--blue); }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card { background: #fff; border-radius: var(--radius-lg); padding: 30px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-mid); transition: all var(--transition); text-align: center; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-bright); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(14,58,125,.08)); color: var(--blue-bright); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin: 0 auto 18px; transition: all var(--transition); border: 1px solid rgba(37,99,235,.12); }
.feature-card:hover .feature-icon { background: var(--blue-bright); color: #fff; border-color: var(--blue-bright); transform: scale(1.1) rotate(-5deg); }
.feature-card h3 { font-family: var(--font-head); font-size: .97rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: .86rem; color: var(--text-light); line-height: 1.65; }

.check-list { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: .93rem; font-weight: 500; }
.check-list li i { color: var(--blue-bright); font-size: .85rem; flex-shrink: 0; }

.step-list { display: flex; flex-direction: column; gap: 16px; }
.step-item { display: flex; gap: 18px; align-items: flex-start; padding: 18px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-mid); transition: all var(--transition); }
.step-item:hover { box-shadow: var(--shadow-md); border-color: var(--blue-bright); transform: translateX(4px); }
.step-num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; color: var(--blue-bright); min-width: 38px; line-height: 1; }
.step-item strong { display: block; font-family: var(--font-head); font-size: .93rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step-item p { font-size: .85rem; color: var(--text-light); margin: 0; }

.timeline { display: flex; flex-direction: column; gap: 28px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 93px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--blue-bright), rgba(37,99,235,.1)); }
.tl-item { display: grid; grid-template-columns: 96px 1fr; gap: 36px; align-items: flex-start; }
.tl-date { text-align: right; padding-top: 20px; position: relative; }
.tl-date::after { content: ''; position: absolute; top: 26px; right: -22px; width: 12px; height: 12px; background: var(--blue-bright); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue-bright); }
.tl-date span { display: block; font-size: .7rem; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }
.tl-date strong { font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
.tl-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--gray-mid); display: grid; grid-template-columns: 200px 1fr; transition: all var(--transition); }
.tl-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tl-card-img { overflow: hidden; }
.tl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tl-card:hover .tl-card-img img { transform: scale(1.07); }
.tl-card-body { padding: 20px 24px; }
.e-tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.e-tag.vermisst { background: rgba(37,99,235,.1); color: var(--blue); }
.e-tag.rehkitz { background: rgba(34,197,94,.1); color: #16a34a; }
.e-tag.festival { background: rgba(234,88,12,.1); color: #c2410c; }
.tl-card-body h3 { font-family: var(--font-head); font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.tl-card-body p { font-size: .86rem; color: var(--text-light); margin-bottom: 10px; }
.tl-meta { font-size: .78rem; color: var(--gray); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.team-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); border: 1px solid var(--gray-mid); }
.team-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-xl); border-color: var(--blue-bright); }
.team-card-img { position: relative; height: 260px; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-card-img img { transform: scale(1.06); }
.team-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.85), transparent 55%); display: flex; align-items: flex-end; gap: 10px; padding: 16px; opacity: 0; transition: opacity var(--transition); }
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay a { width: 38px; height: 38px; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: all var(--transition); }
.team-overlay a:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
.team-info { padding: 20px; }
.team-info h3 { font-family: var(--font-head); font-size: 1.02rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.team-role { display: inline-block; font-size: .68rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.team-role.vorstand { background: rgba(37,99,235,.1); color: var(--blue); }
.team-role.mitglied { background: rgba(192,57,43,.1); color: var(--red); }
.team-info p { font-size: .84rem; color: var(--text-light); line-height: 1.65; }

.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition); border: 1px solid var(--gray-mid); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--blue-bright); }
.news-card-img { position: relative; height: 210px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.news-card-body { padding: 22px; }
.news-meta { font-size: .76rem; color: var(--gray); margin-bottom: 9px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.news-card-body h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 9px; line-height: 1.4; }
.news-card-body p { font-size: .86rem; color: var(--text-light); margin-bottom: 14px; }
.news-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--blue-bright); transition: gap var(--transition); }
.news-link:hover { gap: 10px; }

.galerie-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.galerie-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galerie-item:hover img { transform: scale(1.1); }
.galerie-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.8) 0%, rgba(14,58,125,.35) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #fff; opacity: 0; transition: opacity var(--transition); }
.galerie-item:hover .galerie-overlay { opacity: 1; }
.galerie-overlay i { font-size: 1.6rem; }
.galerie-overlay span { font-family: var(--font-head); font-size: .78rem; font-weight: 600; }
.galerie-filter { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; background: #fff; border: 2px solid var(--gray-mid); border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--text-light); transition: all var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.96); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: .95rem; transition: all var(--transition); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-img-wrap { max-width: 90vw; max-height: 85vh; text-align: center; }
.lightbox-img-wrap img { max-height: 80vh; border-radius: var(--radius); }
.lightbox-img-wrap p { color: rgba(255,255,255,.65); margin-top: 10px; font-size: .88rem; }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1.5px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition); }
.faq-item.open { border-color: var(--blue-bright); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; text-align: left; cursor: pointer; }
.faq-q span { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--navy); }
.faq-q i { color: var(--blue-bright); transition: transform var(--transition); font-size: .82rem; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--text-light); font-size: .9rem; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 400px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-family: var(--font-head); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-size: .93rem; color: var(--text); background: #fff; transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--blue-bright); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-size: .85rem; color: var(--text-light); line-height: 1.5; }
.form-check label a { color: var(--blue-bright); font-weight: 600; }
.form-success { margin-top: 16px; padding: 16px; background: rgba(34,197,94,.1); border-radius: 9px; color: #16a34a; font-weight: 600; display: flex; align-items: center; gap: 10px; font-size: .9rem; border: 1px solid rgba(34,197,94,.2); }
.form-error { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(192,57,43,.1) !important; }

.kontakt-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.kontakt-items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.kontakt-item { display: flex; gap: 14px; align-items: flex-start; }
.k-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.kontakt-item strong { display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 700; margin-bottom: 4px; }
.kontakt-item a, .kontakt-item span { font-size: .88rem; color: var(--text-light); }
.kontakt-item a:hover { color: var(--blue-bright); }
.social-links { display: flex; gap: 9px; }
.social-btn { width: 38px; height: 38px; background: var(--navy); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: all var(--transition); }
.social-btn:hover { background: var(--blue-bright); transform: translateY(-2px); }
.kontakt-form-card { background: #fff; border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-mid); }
.kontakt-form-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.kontakt-form-card h3 i { color: var(--blue-bright); }

.spenden-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.spenden-konto { background: var(--gray-light); border-radius: var(--radius); padding: 22px; border: 1px solid var(--gray-mid); margin-top: 24px; }
.spenden-konto h4 { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.spenden-konto table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.spenden-konto td { padding: 5px 6px 5px 0; vertical-align: top; }
.spenden-konto td:first-child { color: var(--gray); white-space: nowrap; padding-right: 14px; }
.betrag-buttons { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 14px; }
.betrag-btn { padding: 11px; background: #fff; border: 2px solid var(--gray-mid); border-radius: 9px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--text); transition: all var(--transition); }
.betrag-btn:hover, .betrag-btn.active { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }
.betrag-custom { margin-bottom: 14px; }
.betrag-custom input { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 9px; font-size: .93rem; outline: none; transition: border-color var(--transition); }
.betrag-custom input:focus { border-color: var(--blue-bright); }
.betrag-selected { font-size: .88rem; color: var(--text-light); margin-bottom: 18px; }
.betrag-selected strong { color: var(--blue-bright); }
.spenden-hint { font-size: .78rem; color: var(--gray); margin-top: 12px; display: flex; align-items: flex-start; gap: 5px; line-height: 1.6; }

.partner-grid-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.partner-card { background: #fff; border-radius: var(--radius); padding: 26px 20px; display: flex; align-items: flex-start; gap: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-mid); transition: all var(--transition); }
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-bright); }
.partner-card i { font-size: 2rem; color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }
.partner-card h3 { font-family: var(--font-head); font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.partner-card p { font-size: .82rem; color: var(--text-light); }

.legal-block { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-mid); }
.legal-block:last-child { border-bottom: none; }
.legal-block h3 { font-family: var(--font-head); font-size: .93rem; font-weight: 700; color: var(--navy); margin-bottom: 9px; }
.legal-block p { font-size: .87rem; color: var(--text-light); line-height: 1.8; }

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--navy); border-top: 3px solid var(--blue); position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 50%, rgba(37,99,235,.07) 0%, transparent 55%); pointer-events: none; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding: 64px 28px; position: relative; }
.footer-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.footer-logo-img { height: 54px; }
.footer-logo-text span { display: block; font-family: var(--font-head); font-size: .9rem; font-weight: 800; color: #fff; }
.footer-logo-text small { font-size: .68rem; color: rgba(255,255,255,.45); }
.footer-about { font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-head); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: .84rem; color: rgba(255,255,255,.55); transition: all var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a i { color: var(--blue-bright); font-size: .62rem; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.footer-contact li i { margin-top: 3px; color: var(--gold); font-size: .8rem; flex-shrink: 0; }
.footer-contact li a, .footer-contact li span { font-size: .84rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-contact li a:hover { color: #fff; }
.footer-notruf-btn { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 18px; background: var(--red); color: #fff; border-radius: 9px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; transition: all var(--transition); width: fit-content; }
.footer-notruf-btn:hover { background: #a93226; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 18px 28px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom span { font-size: .77rem; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: .77rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* Floating Notruf */
.float-notruf { position: fixed; bottom: 30px; right: 30px; z-index: 900; background: var(--red); color: #fff; border-radius: 999px; display: flex; align-items: center; gap: 9px; padding: 14px 22px; font-family: var(--font-head); font-weight: 700; font-size: .87rem; box-shadow: 0 8px 32px rgba(192,57,43,.55); transition: all var(--transition); }
.float-notruf:hover { background: #a93226; transform: translateY(-3px); box-shadow: 0 14px 42px rgba(192,57,43,.65); }
.float-notruf-ring { position: absolute; inset: -7px; border-radius: 999px; border: 2px solid rgba(192,57,43,.4); animation: ring-pulse 2.5s infinite; pointer-events: none; }
@keyframes ring-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.26); opacity: 0; } }

.scroll-top { position: fixed; bottom: 96px; right: 30px; z-index: 900; width: 44px; height: 44px; background: var(--navy-mid); color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: .88rem; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-bright); border-color: var(--blue-bright); transform: translateY(-2px); }

/* Responsive */
@media (max-width: 1100px) {
  .nav-list { gap: 0; }
  .nav-link { font-size: .73rem; padding: 7px 7px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .btn-notruf { display: none; }
  .section { padding: 72px 0; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse .two-col-img, .two-col.reverse .two-col-text { order: unset; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 36px; }
  .spenden-grid { grid-template-columns: 1fr; gap: 36px; }
  .tl-item { grid-template-columns: 1fr; }
  .tl-date { text-align: left; padding: 0; }
  .tl-date::after { display: none; }
  .tl-card { grid-template-columns: 1fr; }
  .tl-card-img { height: 160px; }
  .timeline::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .galerie-grid { grid-template-columns: repeat(3,1fr); }
  .partner-grid-full { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(2,1fr); }
  .partner-grid-full { grid-template-columns: 1fr; }
  .betrag-buttons { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .float-notruf-text { display: none; }
  .float-notruf { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
  .logo-sub { display: none; }
}

/* ===================================================
   MOBILE FIXES – Vollständige mobile Optimierung
   =================================================== */

/* Hamburger Touch-Ziel größer machen */
.hamburger {
  min-width: 44px;
  min-height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  touch-action: manipulation;
}

/* Mobile Nav Overlay – flüssiger & scrollbar */
.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,18,34,.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s cubic-bezier(.4,0,.2,1), visibility .35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: calc(var(--header-h) + 16px);
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: env(safe-area-inset-bottom, 32px);
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Close-Button oben rechts – größeres Touch-Ziel */
.mobile-nav-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top, 18px));
  right: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  touch-action: manipulation;
  z-index: 10000;
}
.mobile-nav-close:hover,
.mobile-nav-close:active {
  background: var(--red);
  border-color: var(--red);
}

/* Mobile Nav Links – größere Touch-Ziele */
.mobile-nav-list {
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.mobile-nav-list li a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  padding: 14px 24px;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: all var(--transition);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.mobile-nav-list li a:hover,
.mobile-nav-list li a:active,
.mobile-nav-list li a.active {
  color: #fff;
  background: rgba(37,99,235,.2);
}

/* Mobile Notruf-Button unten */
.mobile-notruf-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 40px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  touch-action: manipulation;
  min-height: 52px;
}
.mobile-notruf-btn:hover,
.mobile-notruf-btn:active {
  background: #a93226;
}

/* Float Notruf – Safe Area für Notch-Phones */
.float-notruf {
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  right: max(20px, env(safe-area-inset-right, 20px));
}

/* Container padding für kleine Screens */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  /* Buttons full-width auf kleinen Screens */
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btns .btn {
    justify-content: center;
    width: 100%;
  }
  /* Page Hero */
  .page-hero {
    min-height: 240px;
    padding: calc(var(--header-h) + 40px) 0 48px;
  }
  .page-hero-title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }
  /* Kontakt-Form Card */
  .kontakt-form-card {
    padding: 22px 16px;
    border-radius: var(--radius);
  }
  /* Spenden Konto */
  .spenden-konto td:first-child {
    white-space: normal;
  }
  /* Galerie noch kleiner */
  .galerie-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
  }
  /* Team Grid */
  .team-card-img {
    height: 220px;
  }
  /* Footer */
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* Extra kleine Screens (iPhone SE etc.) */
@media (max-width: 380px) {
  .logo-title {
    font-size: .78rem;
  }
  .btn-notruf,
  .notruf-btn {
    padding: 8px 12px;
    font-size: .74rem;
  }
  .betrag-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

/* Landscape Handy – Nav scrollbar */
@media (max-width: 900px) and (orientation: landscape) {
  .mobile-nav-overlay {
    padding-top: 70px;
    justify-content: flex-start;
    align-items: center;
  }
  .mobile-nav-list li a {
    padding: 10px 24px;
    font-size: .95rem;
  }
}

/* iOS Safari Fix – verhindert Zoom auf Input-Fokus */
@media (max-width: 900px) {
  input, textarea, select {
    font-size: max(16px, 1rem) !important;
  }
}

/* Touch-Friendly Buttons allgemein */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .btn-primary:hover,
  .btn-danger:hover,
  .btn-outline:hover {
    transform: none;
  }
  .feature-card:hover {
    transform: none;
  }
  .news-card:hover {
    transform: none;
  }
  .team-card:hover {
    transform: translateY(-4px);
  }
  .partner-card:hover {
    transform: none;
  }
}
