/* Verbandsportal (/verband) — builds on /site.css */

.v-hero { background: #1B2430; position: relative; overflow: hidden; padding: 64px 0 80px; }
.v-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 85% 10%, rgba(214,178,74,0.10), transparent 70%); pointer-events: none; }
.v-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.v-greeting { display: inline-flex; align-items: center; gap: 8px; background: rgba(214,178,74,0.12); border: 1px solid rgba(214,178,74,0.3); border-radius: 20px; padding: 6px 14px; margin-bottom: 24px; font-size: 13px; font-weight: 600; color: #D6B24A; }
.v-greeting svg { flex-shrink: 0; }
.v-hero h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; color: #F7F8FA; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 20px; }
.v-hero .v-lead { font-size: 17px; color: #9AA3B0; line-height: 1.65; margin-bottom: 28px; max-width: 540px; }
.v-hero-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.v-hero-points li { display: flex; gap: 10px; font-size: 15px; color: #C5CAD4; }
.v-hero-points li::before { content: '✓'; color: #D6B24A; font-weight: 700; }

/* Share card with WhatsApp-style preview */
.share-card { display: flex; flex-direction: column; background: #232f3e; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.share-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.share-card-title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9AA3B0; }
.share-card-tag { font-size: 12px; color: #6E7B8C; }
.wa-chat { background: #0B141A; border-radius: 12px; padding: 18px 16px; margin-bottom: 18px; }
.wa-bubble { position: relative; background: #005C4B; color: #E9EDEF; border-radius: 10px 0 10px 10px; padding: 10px 12px 8px; margin-left: 28px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.wa-bubble::after { content: ''; position: absolute; top: 0; right: -8px; border-width: 0 0 10px 8px; border-style: solid; border-color: transparent transparent transparent #005C4B; }
.wa-bubble a { color: #53BDEB; }
.wa-bubble b { font-weight: 700; }
.share-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #0B141A; font-weight: 700; font-size: 15px; padding: 13px 16px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background 150ms, transform 100ms; }
.btn-wa:hover { background: #1FBE5B; }
.btn-wa:active, .btn-copy:active { transform: scale(0.98); }
.btn-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: #F7F8FA; font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.22); cursor: pointer; transition: border-color 150ms, background 150ms, color 150ms; }
.btn-copy:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.06); }
.btn-copy.copied { border-color: #D6B24A; color: #D6B24A; }
.btn-copy.light { color: #1B2430; border-color: #DDE0E6; background: #fff; }
.btn-copy.light:hover { border-color: #9AA3B0; background: #F7F8FA; }
.btn-copy.light.copied { border-color: #C49A2E; color: #A07D20; }
.share-alt { margin-top: 14px; text-align: center; font-size: 14px; color: #9AA3B0; }
.share-alt a { color: #D6B24A; font-weight: 600; text-decoration: none; }
.share-alt a:hover { text-decoration: underline; }

/* Steps */
.v-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.v-step { background: #fff; border: 1px solid #EEF0F3; border-radius: 14px; padding: 28px; box-shadow: 0 2px 12px rgba(27,36,48,0.06); }
.v-step-icon { position: relative; width: 52px; height: 52px; border-radius: 14px; background: rgba(214,178,74,0.12); color: #C49A2E; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.v-step-icon::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: #1B2430; color: #D6B24A; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.v-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.v-step p { font-size: 15px; color: #6E7B8C; line-height: 1.6; }

/* E-Mail template */
.mail-card { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #EEF0F3; border-radius: 16px; box-shadow: 0 2px 16px rgba(27,36,48,0.07); overflow: hidden; }
.mail-row { padding: 22px 28px; border-bottom: 1px solid #EEF0F3; }
.mail-row:last-child { border-bottom: none; }
.mail-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.mail-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9AA3B0; }
.mail-subject { font-size: 16px; font-weight: 600; color: #1B2430; }
.mail-body { font-size: 15px; line-height: 1.7; color: #3A4452; white-space: pre-wrap; overflow-wrap: anywhere; }
.mail-body a { color: #A07D20; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #F7F8FA; }
.btn-sm-copy { padding: 8px 14px; font-size: 13px; }
.v-note { max-width: 820px; margin: 20px auto 0; display: flex; gap: 12px; background: #FBF6E3; border-radius: 10px; padding: 16px 18px; font-size: 14px; line-height: 1.6; color: #59430D; }
.v-note svg { flex-shrink: 0; margin-top: 2px; color: #A07D20; }

/* About Notei */
.v-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.v-about-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.v-about-list li { display: flex; gap: 14px; }
.v-about-list .feature-icon { margin: 0; flex-shrink: 0; }
.v-about-list strong { display: block; font-size: 16px; color: #F7F8FA; margin-bottom: 2px; }
.v-about-list span { font-size: 14px; color: #9AA3B0; line-height: 1.55; }
/* Without screenshot/video the feature list spans the full width. */
.v-about-grid:has(#v-media[hidden]) { grid-template-columns: 1fr; }
.v-about-grid:has(#v-media[hidden]) .v-about-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.app-frame { background: #232f3e; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.app-frame-bar { display: flex; gap: 6px; padding: 12px 14px; background: #1B2430; border-bottom: 1px solid rgba(255,255,255,0.06); }
.app-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.app-frame img, .app-frame video { display: block; width: 100%; height: auto; }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.dl-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #EEF0F3; border-radius: 12px; padding: 22px; text-decoration: none; color: inherit; transition: border-color 200ms, box-shadow 200ms, transform 200ms; }
.dl-card:hover { border-color: rgba(214,178,74,0.5); box-shadow: 0 6px 24px rgba(27,36,48,0.08); transform: translateY(-2px); }
.dl-type { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: #A07D20; background: rgba(214,178,74,0.14); border-radius: 4px; padding: 2px 7px; margin-bottom: 6px; }
.dl-card h3 { font-size: 16px; font-weight: 700; }
.dl-card p { font-size: 13px; color: #6E7B8C; line-height: 1.5; flex: 1; }
.dl-more { margin-top: 10px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.dl-card:hover .dl-more { color: #C49A2E; }

/* Contact strip */
.v-contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.v-contact h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: #F7F8FA; letter-spacing: -0.02em; margin-bottom: 8px; }
.v-contact p { font-size: 16px; color: #9AA3B0; line-height: 1.6; }
.v-contact p a { color: #D6B24A; text-decoration: none; }
.v-contact p a:hover { text-decoration: underline; }

/* Copy feedback for screen readers is announced via #v-live */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Subtle entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
  .reveal.visible { opacity: 1; transform: none; }
  .v-hero h1, .v-hero .v-lead, .share-card { animation: vUp 600ms ease both; }
  .v-hero .v-lead { animation-delay: 80ms; }
  .share-card { animation-delay: 160ms; }
  @keyframes vUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 980px) {
  .v-hero-grid, .v-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .v-steps { grid-template-columns: 1fr; }
  .v-about-grid:has(#v-media[hidden]) .v-about-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .v-hero { padding: 36px 0 56px; }
  .v-hero .v-lead { font-size: 16px; margin-bottom: 0; }
  .v-hero-points { display: none; }
  .share-card { padding: 18px; }
  /* On phones the share buttons come first so they are visible without scrolling. */
  .share-actions { order: 1; grid-template-columns: 1fr; margin-bottom: 16px; }
  .share-alt { order: 2; margin: 0 0 16px; }
  .wa-chat { order: 3; margin-bottom: 0; }
  .share-card-tag { display: none; }
  .v-hero h1 { font-size: 28px; }
  .mail-row { padding: 18px; }
  .v-step { padding: 22px; }
}
