/* Ullits Festforening: association homepage built on the existing rental design. */
.forening-page { overflow-x: clip; }


.forening-page section[id] { scroll-margin-top: 100px; }
.forening-hero { overflow: hidden; background: radial-gradient(circle at 94% 3%,#e0eedc 0,transparent 36%),linear-gradient(135deg,#f9faf7,#edf4ea); }
.forening-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: clamp(28px,5vw,80px); align-items: center; padding-top: clamp(65px,9vw,125px); padding-bottom: clamp(70px,9vw,124px); }
.forening-hero h1 { margin: 18px 0 23px; max-width: 700px; font-size: clamp(3.6rem,7.2vw,7rem); line-height: 1.03; }
.forening-hero h1 em { display: block; color: #467f57; font-style: italic; }
.forening-hero p { max-width: 580px; font-size: clamp(1.06rem,1.65vw,1.28rem); line-height: 1.7; color: #475c4d; }
.forening-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.forening-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 13px 21px; border-radius: 999px; font-weight: 750; font-size: .94rem; text-decoration: none; line-height: 1.45; transition: background .15s ease,color .15s ease; }
.forening-button-primary { background: #315c45; color: #fff; }
.forening-button-primary:hover { background: #234635; }
.forening-button-outline { border: 1px solid #8fa694; color: #254b35; }
.forening-button-outline:hover { background: #e3eee3; }
.forening-hero-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 345px; border-radius: 32px; overflow: hidden; background: #244731; box-shadow: 0 30px 80px rgba(21,51,31,.14); color: #d9ecce; text-align: center; padding: 25px; }
.forening-hero-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%,#416f48 0,transparent 55%),linear-gradient(125deg,transparent 30%,rgba(178,220,123,.12)); }
.forening-hero-orbit { position: absolute; width: 340px; height: 340px; border: 1px solid #72926e; border-radius: 50%; opacity: .5; transform: translate(74px,-64px); }
.forening-hero-art img { position: relative; z-index: 1; display: block; width: min(100%,300px); height: auto; max-height: 235px; object-fit: contain; }
.forening-hero-art span { position: relative; z-index: 1; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; margin-top: 14px; }
.forening-section { padding: clamp(62px,8vw,112px) 0; }
.forening-section h2 { font-size: clamp(2.55rem,4.1vw,4.35rem); line-height: 1.12; margin: 15px 0 22px; max-width: 770px; }
.forening-section p { font-size: 1.01rem; color: #526454; line-height: 1.75; }
.forening-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,6vw,90px); align-items: start; }
.forening-prose p { margin-bottom: 17px; }
.forening-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 34px; }
.forening-tile { border: 1px solid #e1e9de; background: #f8faf6; border-radius: 17px; padding: 29px; min-width: 0; }
.forening-tile-number { display: block; color: #6d926f; font-weight: 800; letter-spacing: .07em; margin-bottom: 26px; }
.forening-tile h3 { font-size: 1.28rem; margin: 0 0 8px; }
.forening-tile p { font-size: .93rem; margin: 0; }
.forening-light { background: #f0f4ee; }
.forening-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(35px,8vw,110px); align-items: center; }
.forening-feature p { max-width: 660px; }
.forening-feature-panel { position: relative; min-height: 310px; padding: 35px; border-radius: 24px; color: #fff; background: #315c45; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.forening-feature-panel::after { content:""; position:absolute; width:290px; height:290px; right:-75px; top:-80px; border:54px solid rgba(219,236,195,.15); border-radius:50%; }
.forening-feature-logo { display: block; width: 118px; height: 118px; max-width: 48%; object-fit: contain; border-radius: 17px; }
.forening-feature-panel span { margin-top: 22px; font-family: Georgia,serif; font-size: 1.45rem; line-height: 1.3; }
.forening-text-link { display: inline-flex; align-items: center; gap: 9px; color: #28603b; text-underline-offset: 4px; font-weight: 750; line-height: 1.5; }
.forening-text-link:hover { color: #163d24; }
.forening-rental { display: block; }
.forening-rental > div { max-width: 770px; }
.forening-rental .forening-button { margin-top: 13px; }
.forening-volunteer { background: #1c3c2a; }
.forening-volunteer h2, .forening-volunteer h3 { color: #f9fbf4; }
.forening-volunteer .eyebrow { color: #c6e5ac; }
.forening-volunteer p { color: #d2e1d1; }
.forening-volunteer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px,7vw,90px); align-items: center; }
.forening-volunteer-card { padding: clamp(22px,4vw,38px); border: 1px solid #57735c; background: #294b36; border-radius: 20px; }
.forening-volunteer-card h3 { font-size: 1.6rem; margin-bottom: 13px; }
.forening-volunteer-card .forening-button { background: #d6ebb6; color: #183721; margin-top: 5px; }
.forening-volunteer-card .forening-button:hover { background: #f2ffdb; }
.forening-phone { display: block; color: #e1f3d0; margin-top: 21px; text-underline-offset: 4px; font-weight: 700; }
.forening-section-heading { display: flex; gap: 30px; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.forening-section-heading p { max-width: 330px; margin: 0 0 12px; }
.forening-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.forening-member { min-width:0; border: 1px solid #e0e9df; border-radius: 17px; padding: 26px; background: #fbfcfa; }
.forening-avatar { display:grid;place-items:center; width:53px;height:53px;border-radius:50%; background:#e0ecdd;color:#315c45;font-weight:800;letter-spacing:.045em; margin-bottom: 24px; }
.forening-member h3 { font-size: 1.12rem; margin-bottom: 4px; overflow-wrap: anywhere; }
.forening-member p { color: #627264; font-size: .85rem; margin: 0 0 17px; }
.forening-member a { color: #28603b; font-weight: 700; text-underline-offset: 3px; }
.forening-contact { background: #edf4eb; }
.forening-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px,6vw,80px); align-items: center; }
.forening-contact-card { min-width:0; padding: clamp(22px,3vw,35px); background: #fff; border: 1px solid #dfe9dd; border-radius: 18px; display: flex; flex-direction: column; align-items: start; gap: 19px; }
.forening-contact-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: #63766a; }
.forening-email { color: #244d35; font-size: clamp(1.02rem,1.8vw,1.35rem); font-weight: 800; overflow-wrap: anywhere; text-underline-offset: 4px; }
.forening-footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 32px 0; }
.forening-footer-brand { display: flex; flex-direction:column; gap: 8px; }
.forening-footer-brand img { width: 154px; height: auto; max-width:100%; }
.forening-footer-brand span { font-size: .82rem; color: #c7d0c3; }
.forening-footer-links { display:flex; flex-wrap:wrap; align-items:center; gap: 12px 23px; }
.forening-footer-links a { color: #e4e9df; font-size: .86rem; text-underline-offset: 4px; }
.forening-page a:focus-visible { outline: 3px solid #a5d574; outline-offset: 4px; }
@media (max-width: 900px) {
  .forening-hero-grid { grid-template-columns: 1fr; padding-top: 68px; }
  .forening-hero-art { min-height: 245px; }
  .forening-intro, .forening-feature, .forening-volunteer-grid, .forening-contact-grid { grid-template-columns: 1fr; }
  .forening-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .forening-board { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .forening-feature-panel { min-height: 220px; }
}
@media (max-width: 620px) {

  .forening-hero-grid { padding-top:55px; padding-bottom:65px; }
  .forening-hero h1 { font-size: clamp(3.1rem,12.6vw,5rem); }
  .forening-hero-art { min-height: 210px; border-radius: 22px; }
  .forening-tiles, .forening-board { grid-template-columns:1fr; }
  .forening-section-heading, .forening-footer { flex-direction:column; align-items:flex-start; }
  .forening-tile-number { margin-bottom: 14px; }
  .forening-member { padding: 22px; }
}

/* Sponsor teaser: link from the association homepage to the dedicated page. */
.forening-sponsors-teaser { background: #f5f8f2; border-top: 1px solid #e0e9df; }
.forening-sponsors-teaser-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.forening-sponsors-teaser h2 { max-width: 730px; margin-bottom: 13px; }
.forening-sponsors-teaser p { max-width: 720px; margin-bottom: 0; }
.forening-sponsors-teaser .forening-button { flex-shrink: 0; }
@media (max-width: 900px) {
  .forening-sponsors-teaser-inner { align-items: flex-start; flex-direction: column; }
}

/* The association owns one general contact form directly below the board. */
.forening-contact .contact-form { min-width: 0; box-shadow: 0 12px 30px rgba(25,63,34,.05); }
.forening-contact .forening-email { display: inline-block; margin-top: 6px; }
.forening-feature-logo { position: relative; z-index: 1; }
