/* === VARIABLES === */
:root {
  --blue: #2a2a80;
  --blue-dark: #1d1d5c;
  --orange: #f39200;
  --yellow: #ffcc00;
  --bg: #fafaf7;
  --text: #1f1f1f;
  --muted: #555;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0,0,0,0.08);
  --gradient: linear-gradient(90deg, #e94e1b 0%, #f39200 50%, #ffcc00 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }

.container { max-width: 1150px; margin: 0 auto; padding: 0 24px; }

.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 800px; margin: 0 auto 2em; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.brand img { height: 48px; display: block; }
nav { display: flex; gap: 24px; align-items: center; }
nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  color: var(--blue);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: var(--gradient);
  color: white !important;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(243,146,0,0.35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(243,146,0,0.45); color: white !important; }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }
.btn-outline {
  background: transparent;
  color: white !important;
  border: 2px solid white;
  box-shadow: none;
}
.btn-outline:hover { background: white; color: var(--blue) !important; }

/* === HERO – Vandværket-stil med nedtonet baggrund === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  background: #1a1a3a;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/hedegade-ai-klippen.jpg');
  background-size: cover;
  background-position: center;
  /* Lysere nedtoning — billedet skinner mere igennem */
  filter: brightness(0.85) contrast(1.05) saturate(0.95);
  transform: scale(1.05);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Lettere overlay — så bygningen kan ses tydeligt */
  background:
    radial-gradient(ellipse at center, rgba(29,29,92,0.10) 0%, rgba(10,10,40,0.45) 100%),
    linear-gradient(180deg, rgba(29,29,92,0.25) 0%, rgba(10,10,40,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 900px;
}

.hero-logo {
  width: 150px;
  margin-bottom: 28px;
  background: white;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.hero h1 {
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}

.tagline {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll-indikator (subtilt blink nederst) */
.hero::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  z-index: 2;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse > div:first-child { order: 2; }

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-frame img { width: 100%; height: auto; display: block; }
.image-frame.tall img { aspect-ratio: 3/4; object-fit: cover; }

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 40px 0 60px;
}
.card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid transparent;
  border-image: var(--gradient) 1;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-6px); }
.card-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* === QUOTE === */
.quote {
  max-width: 800px; margin: 40px auto 0;
  padding: 32px 40px;
  background: var(--blue);
  color: white;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.quote p { font-style: italic; font-size: 1.15rem; margin-bottom: 12px; }
.quote cite { display: block; font-family: 'Montserrat', sans-serif; font-style: normal; opacity: 0.85; font-size: 0.95rem; }

/* === SPONSOR CAROUSEL === */
.sponsor-carousel {
  overflow: hidden;
  margin-top: 40px;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.sponsor-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: max-content;
}
.sponsor {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  height: 90px;
  padding: 0 20px;
}
.sponsor img {
  max-height: 70px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}
.sponsor img:hover { filter: none; opacity: 1; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === FOOTER === */
.footer {
  background: var(--blue-dark);
  color: #d8d8e8;
  padding: 60px 0 0;
}
.footer h3 {
  color: white; 
  margin-bottom: 16px; 
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.footer a { color: var(--yellow); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 50px;
}
.footer-logo { width: 120px; background: white; padding: 10px; border-radius: 10px; margin-bottom: 16px; }
.footer-bottom {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav a:not(.btn) { display: none; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse > div:first-child { order: 0; }
  .hero { min-height: 80vh; }
  .section { padding: 60px 0; }
  .tagline { font-size: 1.1rem; }
}

/* === Footer kontakt-detaljer === */
.contact-person {
  margin-bottom: 12px;
}
.contact-person strong {
  color: white;
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
}
.contact-person .role {
  font-size: 0.9rem;
  opacity: 0.75;
  font-style: italic;
}
.contact-details {
  line-height: 2;
  font-size: 0.95rem;
}
.contact-details a {
  color: var(--yellow);
  transition: opacity 0.2s;
}
.contact-details a:hover {
  opacity: 0.8;
}

/* === STØT OS === */
.section-support {
  background: linear-gradient(180deg, #fafaf7 0%, #fff 100%);
  position: relative;
}
.section-support::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 40px 0 30px;
}

.support-card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}
.support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.support-card h3 {
  margin-bottom: 16px;
}

.support-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.support-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1;
}

/* Fremhævet MobilePay-kort */
.support-card-primary {
  background: linear-gradient(135deg, #2a2a80 0%, #1d1d5c 100%);
  color: white;
  border-color: var(--orange);
  transform: scale(1.02);
}
.support-card-primary:hover {
  transform: scale(1.02) translateY(-6px);
}
.support-card-primary h3 {
  color: white;
}
.support-card-primary p {
  color: rgba(255,255,255,0.85);
}

.support-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: white;
}

.btn-mobilepay {
  background: #5a7eff;
  color: white !important;
  margin-top: 18px;
  box-shadow: 0 4px 14px rgba(90,126,255,0.4);
}
.btn-mobilepay:hover {
  background: #4a6eef;
  box-shadow: 0 8px 22px rgba(90,126,255,0.5);
}

/* Bankoplysninger */
.support-bank {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  justify-content: center;
  width: 100%;
}
.support-bank > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 20px;
  background: #f5f5f0;
  border-radius: 10px;
  min-width: 110px;
}
.support-bank span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}
.support-bank strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: var(--blue);
  letter-spacing: 1px;
}

/* Skattefradrag-kort */
.support-card-info {
  background: linear-gradient(135deg, #fff8ec 0%, #ffeed1 100%);
  border-color: var(--orange);
}
.support-fradrag {
  margin-bottom: 20px;
}
.support-amount {
  background: white;
  border-radius: 10px;
  padding: 16px 24px;
  margin: 10px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.amount-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.amount-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
  margin: 4px 0;
}
.amount-year {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}
.small {
  font-size: 0.85rem !important;
  color: var(--muted);
  margin-top: 10px;
}

.support-cta {
  text-align: center;
  margin-top: 30px;
  padding: 24px;
  font-size: 1.05rem;
}
.support-cta a {
  font-weight: 600;
  border-bottom: 2px solid var(--orange);
}

/* Responsive */
@media (max-width: 768px) {
  .support-card-primary {
    transform: scale(1);
  }
  .support-card-primary:hover {
    transform: translateY(-6px);
  }
  .support-bank {
    flex-direction: column;
    gap: 12px;
  }
}