/* === Buttons, Cards, Pills, Forms === */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: #fff;
  color: #1d4fb0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .75);
}
.btn-accent {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 115, 218, .25);
}

@media (min-width: 768px) {
  .btn {
    min-height: 60px;
    padding: 0 28px;
    font-size: 1.02rem;
  }
}

/* --- Glass-Karten --- */
.glass-card,
.glass-panel,
.contact-card,
.contact-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78));
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

/* --- News Cards --- */
.news-card {
  padding: 26px;
  border-radius: var(--radius);
}
.news-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.news-card p {
  margin: 0;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* --- Team Cards --- */
.team-grid .team-card,
.cta-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
}
.team-card {
  border-radius: var(--radius);
  padding: 24px;
  display: block;
  color: inherit;
}
a.team-card {
  transition: transform .22s ease, box-shadow .22s ease;
}
a.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(5, 20, 40, .22);
}
.team-card h3 {
  margin: 0 0 10px;
}
.team-card p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}
.team-card-cta .inline-link {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
}
.team-age {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
  font-weight: 600;
}
.team-card-arrow {
  display: inline-block;
  margin-top: 14px;
  color: var(--clr-accent);
  font-weight: 700;
  font-size: .9rem;
}

@media (min-width: 768px) {
  .team-card {
    padding: 28px;
  }
}

/* --- Pills & Badges --- */
.pill,
.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pill {
  background: rgba(47, 115, 218, .10);
  color: #1f65cf;
}
.team-badge {
  background: rgba(133, 210, 255, .12);
  color: #9edaff;
}

/* --- Social / Follow Cards --- */
.follow-grid {
  display: grid;
  gap: 22px;
}
.follow-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 260px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .78);
  border: 4px solid transparent;
  box-shadow: 0 18px 46px rgba(11, 35, 65, .08);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.follow-card::before {
  content: "";
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  filter: blur(4px);
  opacity: .22;
}
.instagram-card { border-color: #e14a98; }
.instagram-card::before {
  background: radial-gradient(circle, rgba(255, 146, 76, .9), rgba(136, 53, 219, .15) 68%, transparent 72%);
}
.whatsapp-card { border-color: #27b857; }
.whatsapp-card::before {
  background: radial-gradient(circle, rgba(83, 211, 126, .8), rgba(83, 211, 126, .08) 68%, transparent 72%);
}
.follow-top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.follow-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 14px 28px rgba(10, 30, 61, .14);
}
.follow-icon svg { width: 28px; height: 28px; }
.instagram-icon {
  background: linear-gradient(135deg, #8e31ff 0%, #ef4c87 48%, #f6a13a 100%);
}
.whatsapp-icon { background: #21b653; }
.follow-top h3 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -.03em;
}
.follow-top span {
  display: block;
  margin-top: 3px;
  color: var(--clr-muted);
  font-size: .95rem;
}
.follow-card p {
  margin: 0;
  color: #566476;
  font-size: 1rem;
  line-height: 1.75;
}
.follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 12px 26px rgba(11, 35, 65, .08);
}
.follow-btn svg { width: 22px; height: 22px; }
.instagram-btn {
  background: linear-gradient(90deg, #8f2fe8 0%, #ef4d88 50%, #f89b38 100%);
  color: #fff;
}
.whatsapp-btn {
  background: linear-gradient(90deg, #25d366 0%, #128c3e 100%);
  color: #fff;
}
/* --- QR-Codes in Follow Cards --- */
.follow-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 0 4px;
}
.follow-qr img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(11, 35, 65, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.follow-qr img:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 36px rgba(11, 35, 65, .16);
}
.follow-qr span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.whatsapp-btn.is-disabled { opacity: .92; cursor: default; }

@media (min-width: 768px) {
  .follow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
  .follow-card {
    min-height: 320px;
    padding: 40px;
    gap: 26px;
  }
  .follow-icon { width: 64px; height: 64px; }
  .follow-icon svg { width: 32px; height: 32px; }
  .follow-top h3 { font-size: 2rem; }
  .follow-top span { font-size: 1.05rem; }
  .follow-card p { font-size: 1.1rem; max-width: 30ch; }
  .follow-btn { min-height: 56px; padding: 0 24px; }
  .follow-qr img { width: 140px; height: 140px; border-radius: 18px; }
  .follow-qr span { font-size: .82rem; }
}

/* --- CTA Panel --- */
.cta-panel {
  padding: 28px;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

@media (min-width: 768px) {
  .cta-panel {
    padding: 34px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .cta-actions { width: auto; }
}

/* --- Kontakt --- */
.contact-grid {
  display: grid;
  gap: 22px;
}
.contact-card {
  padding: 26px;
  border-radius: var(--radius);
}
.contact-card h3 {
  margin: 0 0 10px;
}
.contact-card p {
  margin: 0 0 14px;
  line-height: 1.65;
  color: var(--clr-muted);
}
.contact-card a {
  color: #1f65cf;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 34, 58, .12);
  background: rgba(255, 255, 255, .88);
  color: var(--clr-text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(46, 137, 255, .22);
  border-color: #3b87ff;
}
.form-status {
  margin: 4px 0 0;
  color: #1b5fc7;
  font-weight: 700;
  min-height: 1.4em;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* --- Sponsoren --- */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sponsor-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .6);
  border: 2px dashed rgba(47, 115, 218, .15);
  color: var(--clr-muted);
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
}
.sponsor-slot img {
  max-height: 60px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 980px) {
  .sponsor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Note Box --- */
.note-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(26, 101, 201, .08);
  color: #24405f;
  border: 1px solid rgba(26, 101, 201, .12);
}
