@media (max-width:780px) {
  
  .head-inner .brand{max-width:calc(100% - 92px)}

}

/* Keep the approved index's two restrained background flowers; never part of text layout. */
.flower { pointer-events:none; user-select:none; }
.hero .flower, .features .flower { z-index:0; }
.hero .shell, .features .shell { position:relative; z-index:1; }
/* Tuck the index decorations into the margins, away from text and captions. */
@media (min-width:1180px) {
 .hero .flower-hero { left:-68px; width:190px; height:114px; bottom:-12px; opacity:.43; }
}
@media (min-width:781px) and (max-width:1179px) {
 .hero .flower-hero { left:-116px; width:134px; height:100px; bottom:-12px; opacity:.36; }
}
.features .flower-features { right:3px; top:-72px; width:89px; height:91px; opacity:.37; }
@media (max-width:780px) {
 .features .flower-features { right:2px; top:-67px; width:75px; height:79px; opacity:.32; }
}
/* Longer introduction should wrap within its column, not cover the photo. */
.hero h1 { white-space:normal; }
.hero .hero-lead { max-width: 490px; }
.hero .hero-lead + .hero-lead { margin-top:-8px; }
/* Small, faded cicory flowers belong to the PAGE BACKGROUND, not content. */
.about-intro,.about-home,.breeding-intro,.sale-hero,.sale-status-section { isolation:isolate; }
.about-intro .shell,.about-home .shell,.breeding-intro .shell,.sale-hero .shell,.sale-status-panel { position:relative; z-index:1; }
.about-intro .about-flower-intro {
 width:105px; max-width:12vw; height:auto; bottom:-22px; left: max(6px,calc((100vw - 1280px)/2));
 opacity:.28; transform:rotate(-13deg); z-index:0;
}
.about-home .about-flower-story {
 width:86px; max-width:10vw; height:auto; top:-30px; right:max(7px,calc((100vw - 1250px)/2));
 opacity:.27; transform:rotate(12deg); z-index:0;
}

.sale-hero .sale-flower {
 width:110px; max-width:13vw; height:auto; bottom:-12px; top:auto; right:max(11px,calc((100vw - 1230px)/2));
 opacity:.28; transform:rotate(14deg); z-index:0;
}
/* The flower in the sales-status card is likewise decorative, not an item taking up space. */
.sale-status-heading { position:relative; }

.sale-status-heading h2 { position:relative; z-index:1; }
@media (max-width:780px) {
 .about-intro .about-flower-intro { width:73px; max-width:15vw; opacity:.23; bottom:-15px; left:-9px; }
 .about-home .about-flower-story { width:55px; max-width:13vw; opacity:.21; top:auto; bottom:-20px; right:-5px; }
 
 .sale-hero .sale-flower { width:74px; max-width:16vw; opacity:.23; bottom:-12px; right:0; top:auto; }
 
}
@media (max-width:600px) {
 /* Hide introductory flowers if they would intrude on the single-column text area. */
 .about-intro .about-flower-intro, .sale-hero .sale-flower { display:none; }
 .about-home .about-flower-story { width:43px; opacity:.2; right:-3px; top:auto; bottom:-20px; }
 
}

/* Make the slightly longer introduction comfortable alongside its photograph. */
@media (min-width:1040px) {
  .hero-inner { grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); }
  .hero h1 { font-size:clamp(31px,2.8vw,37px); letter-spacing:-.7px; }
}
@media (max-width:1039px) { .hero h1 { white-space:normal; } }

body { position:relative; }

/* Fixed measure: apply only to ordinary introductory paragraphs, not photos or cards. */
.hero .hero-copy p.hero-lead,
.about-intro .about-intro-text p,
.sale-hero .sale-hero-inner p,
.breeding-intro p.breeding-lead{max-width:720px}

/* Index: softer vertical rhythm between the introductory area,
   the two feature cards and the registration card. */
@media(min-width:781px){
 main .hero .hero-inner{padding-block:56px 62px;}
 main .features{padding-top:68px;padding-bottom:82px;}
 main .features .feature-grid{column-gap:36px;row-gap:36px;}
 main .features .dmk-card{margin-top:55px;}
}
@media(max-width:780px){
 main .hero .hero-inner{padding-block:48px 54px;}
 main .features{padding-top:55px;padding-bottom:72px;}
 main .features .feature-grid{row-gap:26px;}
 main .features .dmk-card{margin-top:42px;}
}

/* Editorial home presentation: open photographs and typography, no enclosing cards. */
main .features { padding-block:90px 108px; }
main .features .feature-grid {
  align-items:start; column-gap:clamp(36px,4vw,65px); row-gap:64px;
}
main .features .feature-card,
main .features .feature-card:hover {
  border:0; border-radius:0; background:transparent; box-shadow:none;
  overflow:visible; transform:none;
}
main .features .feature-card a,
main .features .feature-card.sales-card a {
  display:flex; flex-direction:column; align-items:stretch;
  height:auto; min-height:0; gap:0;
}
main .features .feature-card .feature-image,
main .features .feature-card .feature-image.kys {
  display:block; width:100%; height:318px; min-height:0;
  order:0; grid-column:auto; grid-row:auto;
  padding:0; border-radius:18px; overflow:hidden;
  background:#eff4f6;
}
main .features .feature-card .feature-image img,
main .features .feature-card.sales-card .feature-image.kys img {
  display:block; width:100%; height:100%; max-height:none;
  object-fit:cover; object-position:center; filter:none;
}
main .features .feature-card.sales-card .feature-image.kys img {
  object-fit:contain;
}
main .features .feature-card .feature-caption,
main .features .feature-card.sales-card .feature-caption {
  order:1; grid-column:auto; grid-row:auto;
  background:transparent; padding:10px 0 0;
  text-align:center; font-size:12px; line-height:1.5;
}
main .features .feature-card .feature-content,
main .features .feature-card.sales-card .feature-content {
  display:block; order:2; grid-column:auto; grid-row:auto;
  padding:15px 0 0; background:transparent;
}
main .features .feature-card .feature-content h2 {
  font-size:var(--vf-card-title); line-height:1.2; margin:0 0 11px;
}
main .features .feature-card .feature-content p {
  font-size:var(--vf-body-text); line-height:1.7; margin:0; max-width:480px;
}
main .features .dmk-card,
main .features .dmk-card:hover {
  border:0; border-top:1px solid #dbe5eb; border-radius:0;
  background:transparent; box-shadow:none; transform:none;
  margin-top:86px; padding:55px 0 0;
  grid-template-columns:minmax(0,1fr) minmax(230px,310px);
  column-gap:48px;
}
main .features .dmk-text h2 {margin:0; font-size:var(--vf-card-title);}
main .features .dmk-proof {margin:0;}
main .features .dmk-proof img {box-shadow:0 10px 28px #28465b10;}
@media(max-width:780px){
  main .features {padding-block:65px 85px;}
  main .features .feature-grid {column-gap:25px;row-gap:50px;}
  main .features .feature-card .feature-image,
  main .features .feature-card .feature-image.kys {height:280px;}
  main .features .dmk-card,
  main .features .dmk-card:hover {margin-top:58px;padding-top:42px;column-gap:24px;}
}
@media(max-width:600px){
  main .features {padding-block:50px 68px;}
  main .features .feature-grid {row-gap:45px;}
  main .features .feature-card .feature-image,
  main .features .feature-card .feature-image.kys {height:270px;}
  main .features .feature-card .feature-caption,
  main .features .feature-card.sales-card .feature-caption {padding-top:8px;}
  main .features .feature-card .feature-content,
  main .features .feature-card.sales-card .feature-content {padding-top:12px;}
  main .features .dmk-card,
  main .features .dmk-card:hover {
    grid-template-columns:minmax(0,1fr);
    margin-top:50px;padding-top:38px;row-gap:24px;
  }
}

/* Registration: one compact pastel-blue area for the existing title and certificate. */
main .features .dmk-card,
main .features .dmk-card:hover {
  background: linear-gradient(115deg,#edf5f9 0%,#f4f8fb 100%);
  border:1px solid #d7e6ef;
  border-radius:20px;
  box-shadow:0 10px 28px #2448650a;
  padding:30px clamp(20px,3vw,40px);
  margin-top:56px;
  column-gap:30px;
  align-items:center;
}
main .features .dmk-card:hover {box-shadow:0 12px 32px #24486514;}
main .features .dmk-card .dmk-text h2 {margin:0;}
main .features .dmk-card .dmk-proof img {border-radius:3px;}
@media(max-width:780px){
 main .features .dmk-card,
 main .features .dmk-card:hover {margin-top:46px;padding:24px;column-gap:20px;}
}
@media(max-width:600px){
 main .features .dmk-card,
 main .features .dmk-card:hover {margin-top:42px;padding:24px 20px;row-gap:20px;}
}

/* Restored approved centered captions for the two feature cards. */
main .features .feature-card .feature-content,
main .features .feature-card.sales-card .feature-content {
  text-align: center;
  align-items: center;
}
main .features .feature-card .feature-content p,
main .features .feature-card.sales-card .feature-content p {
  margin-inline: auto;
}

/* INDEX: Nyt lyst blikfang med brugerens originale marsvinefoto.
   Det øvrige site-layout, logo, navigation og indhold bevares. */
main .home-visual {
  position:relative;
  isolation:isolate;
  width:100%;
  height:clamp(505px,43vw,650px);
  background:linear-gradient(112deg,#dae8ee 0%,#8cb2c8 49%,#21587b 100%);
  overflow:hidden;
}
main .home-visual-photo {
  position:absolute; inset:0 auto 0 0;
  width:70%; height:100%; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 63%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 63%,transparent 100%);
}
main .home-visual-photo img {
  display:block;width:100%;height:100%;
  object-fit:cover;object-position:50% 49%;
  filter:brightness(1.045) contrast(1.015);
}
main .home-visual::after {
  content:"";position:absolute;z-index:1;inset:0;pointer-events:none;
  background:linear-gradient(90deg,
    transparent 0%,transparent 36%,rgba(41,94,126,.03) 47%,
    rgba(40,93,125,.68) 62%,#265d82 75%,#204e72 100%);
}
main .home-visual .hero-wordmark {
  position:absolute; z-index:2; left:54%; right:3%; top:49%;
  transform:translateY(-50%); margin:0;
  color:#fff; text-align:center;
  text-shadow:0 2px 13px rgba(16,43,66,.16);
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;line-height:1.04;
}
main .home-visual .hero-wordmark span {display:block;}
main .home-visual .hero-wordmark .hero-wordmark-top {
  font-size:clamp(46px,5.7vw,86px);font-weight:400;
}
main .home-visual .hero-wordmark .hero-wordmark-bottom {
  margin-top:11px;font-size:clamp(49px,6.4vw,100px);
  font-style:italic;font-weight:400;
}
/* Bevarer den tidligere aftalte, rolige introduktion direkte nedenunder. */
main .home-intro {background:#fbfaf7;overflow:visible;}
main .home-intro .hero-inner {
  min-height:0;padding-block:clamp(62px,6.5vw,90px) clamp(56px,6vw,78px);
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:start;gap:clamp(35px,5.5vw,90px);
}
main .home-intro .home-intro-heading h1 {
  max-width:420px;margin:0;color:#203e5b;
  font-size:clamp(36px,3.15vw,46px);font-weight:400;
  line-height:1.2;white-space:normal;
}
main .home-intro .hero-copy {max-width:610px;}
main .home-intro .hero-copy .hero-lead {margin:0 0 17px;max-width:100%;line-height:1.72;}
main .home-intro .hero-copy .hero-lead + .hero-lead {margin-top:0;}
main .home-intro .btn {margin-top:12px;}
main .features {padding-top:46px;}
@media(max-width:920px) and (min-width:601px){
  main .home-visual{height:500px;}
  main .home-visual-photo{width:77%;}
  main .home-visual .hero-wordmark{left:52%;right:2%;}
  main .home-visual .hero-wordmark .hero-wordmark-top{font-size:clamp(42px,5.7vw,65px);}
  main .home-visual .hero-wordmark .hero-wordmark-bottom{font-size:clamp(46px,6.4vw,74px);}
}
@media(max-width:780px){
  main .home-intro .hero-inner {gap:24px;grid-template-columns:1fr;padding-block:53px 58px;}
  main .home-intro .home-intro-heading h1 {font-size:36px;max-width:590px;}
  main .features {padding-top:40px;}
}
@media(max-width:600px){
  main .home-visual{height:clamp(480px,135vw,585px);background:#7aafce;}
  main .home-visual-photo{inset:0;width:100%;height:100%;-webkit-mask-image:none;mask-image:none;}
  main .home-visual-photo img{object-position:50% 52%;}
  main .home-visual::after{
    background:linear-gradient(180deg,transparent 0%,transparent 47%,rgba(27,70,101,.1) 62%,rgba(22,60,88,.64) 82%,rgba(17,49,76,.85) 100%);
  }
  main .home-visual .hero-wordmark{left:4%;right:4%;top:auto;bottom:22px;transform:none;}
  main .home-visual .hero-wordmark .hero-wordmark-top{font-size:clamp(39px,10vw,58px);}
  main .home-visual .hero-wordmark .hero-wordmark-bottom{font-size:clamp(43px,11vw,65px);margin-top:4px;}
  main .home-intro .hero-inner{padding-block:42px 51px;}
  main .home-intro .home-intro-heading h1{font-size:32px;}
  main .home-intro .hero-copy .hero-lead{font-size:16px;}
}

/* Genskabte, tidligere godkendte interne og eksterne linkpile. */
main .features .vf-link-arrow {
  display:inline-block;margin-left:.12em;color:#4c85ac;
  font-family:Arial,Helvetica,sans-serif;font-size:.65em;
  font-style:normal;font-weight:400;vertical-align:.1em;
  transition:transform .18s ease;
}
main .features .feature-card a:hover .vf-link-arrow,
main .features .feature-card a:focus-visible .vf-link-arrow {transform:translateX(3px)}
main .features .dmk-card:hover .vf-link-arrow,
main .features .dmk-card:focus-visible .vf-link-arrow {transform:translate(2px,-2px)}
@media(prefers-reduced-motion:reduce){main .features .vf-link-arrow{transition:none}}

/* Teksten er valgt af brugeren; kun typografisk tilpasning til billedets ledige flade. */
@media(min-width:921px){
  main .home-visual .hero-wordmark {left:52%;right:2%;}
  main .home-visual .hero-wordmark .hero-wordmark-top {font-size:clamp(38px,4.45vw,66px);letter-spacing:-.035em;}
  main .home-visual .hero-wordmark .hero-wordmark-bottom {font-size:clamp(42px,5.15vw,74px);white-space:normal;}
}
@media(max-width:920px) and (min-width:601px){
  main .home-visual .hero-wordmark .hero-wordmark-top {font-size:clamp(32px,4.1vw,45px);}
  main .home-visual .hero-wordmark .hero-wordmark-bottom {font-size:clamp(36px,5vw,55px);}
}
@media(max-width:600px){
  main .home-visual .hero-wordmark .hero-wordmark-top {font-size:clamp(33px,8vw,50px);}
  main .home-visual .hero-wordmark .hero-wordmark-bottom {font-size:clamp(39px,9vw,58px);}
}

/* Von Fredslund: mere sammenhængende introduktion og luftige, adskilte tiles.
   Den godkendte hero med marsvinehovedet er bevidst uændret. */
main .home-intro {position:relative;background:#fbfaf7;}
main .home-intro .hero-inner {
  display:flex;flex-direction:column;align-items:center;text-align:center;
  max-width:1000px;min-height:0;padding:clamp(52px,5vw,84px) 28px clamp(28px,3.5vw,54px);
  gap:clamp(18px,2vw,26px);
}
main .home-intro .home-intro-heading {width:100%;text-align:center;}
main .home-intro .home-intro-heading h1 {
  max-width:none;margin:0 auto;font-size:clamp(34px,4vw,56px);
  line-height:1.15;letter-spacing:-.025em;
}
main .home-intro .home-intro-heading:after {
  content:"";display:block;width:74px;height:2px;border-radius:2px;
  margin:20px auto 0;background:#a8c8d9;
}
main .home-intro .hero-copy {max-width:765px;margin:0 auto;}
main .home-intro .hero-copy .hero-lead {max-width:100%;line-height:1.75;margin:0 0 16px;font-size:clamp(16px,1.3vw,19px);}
main .home-intro .btn {margin-top:10px;}
main .features {padding-top:clamp(36px,5vw,78px);padding-bottom:clamp(75px,8vw,125px);}
main .features .feature-grid {
  max-width:1140px;display:grid;grid-template-columns:minmax(0,1fr);
  gap:clamp(44px,6vw,90px);
}
main .features .feature-card,
main .features .feature-card:hover {min-width:0;margin:0;background:#fff;border:1px solid #dbe6ed;
  border-radius:20px;box-shadow:0 14px 35px rgba(29,67,94,.07);overflow:hidden;transform:none;}
main .features .feature-card a,
main .features .feature-card.sales-card a {
  display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);
  align-items:center;gap:0;height:100%;padding:0;text-align:left;
}
main .features .feature-card:nth-child(even) a {grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);}
main .features .feature-card:nth-child(even) .feature-image {order:2;}
main .features .feature-card:nth-child(even) .feature-content {order:1;}
main .features .feature-card .feature-image,
main .features .feature-card .feature-image.kys {
  width:100%;height:clamp(290px,32vw,415px);min-height:290px;
  margin:0;overflow:hidden;border-radius:0;background:#ecf3f6;
}
main .features .feature-card .feature-image img,
main .features .feature-card.sales-card .feature-image.kys img {
  display:block;width:100%;height:100%;max-width:none;object-fit:cover;
  object-position:center center;border-radius:0;
}
main .features .feature-card .feature-content,
main .features .feature-card.sales-card .feature-content {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  padding:clamp(30px,4.4vw,66px);text-align:left;background:transparent;
}
main .features .feature-card .feature-content h2 {margin:0 0 18px;font-size:clamp(31px,3vw,43px);line-height:1.12;}
main .features .feature-card .feature-content p {max-width:360px;margin:0;font-size:clamp(16px,1.25vw,19px);line-height:1.72;}
main .features .feature-card .feature-caption,
main .features .feature-card.sales-card .feature-caption {position:absolute;bottom:14px;left:15px;right:15px;z-index:1;
  width:max-content;max-width:calc(100% - 30px);padding:4px 9px;border-radius:7px;
  background:rgba(255,255,255,.82);color:#24445c;font-size:12px;line-height:1.35;}
main .features .dmk-card,
main .features .dmk-card:hover {margin-top:clamp(65px,9vw,120px);}
main .program-banner {margin-top:0;}
@media(max-width:740px){
 main .home-intro .hero-inner{padding:48px 22px 36px;gap:18px;}
 main .home-intro .hero-copy .hero-lead{font-size:16px;line-height:1.68;}
 main .features{padding:28px 0 82px;}
 main .features .feature-grid{gap:38px;}
 main .features .feature-card a,
 main .features .feature-card.sales-card a,
 main .features .feature-card:nth-child(even) a{display:flex;flex-direction:column;gap:0;}
 main .features .feature-card:nth-child(even) .feature-image{order:0;}
 main .features .feature-card:nth-child(even) .feature-content{order:1;}
 main .features .feature-card .feature-image,
 main .features .feature-card .feature-image.kys{height:260px;min-height:0;}
 main .features .feature-card .feature-content,
 main .features .feature-card.sales-card .feature-content{align-self:stretch;padding:27px 28px 34px;}
 main .features .feature-card .feature-content h2{font-size:31px;}
 main .features .dmk-card,
 main .features .dmk-card:hover{margin-top:64px;}
}
@media(max-width:420px){
 main .features .feature-card .feature-image,
 main .features .feature-card .feature-image.kys{height:215px;}
 main .features .feature-card .feature-content,
 main .features .feature-card.sales-card .feature-content{padding:24px 23px 29px;}
}

main .features .feature-card .feature-image {position:relative;}
main .features .feature-card .feature-image .feature-caption,
main .features .feature-card.sales-card .feature-image .feature-caption {
  position:absolute;z-index:2;bottom:12px;left:12px;right:auto;
  max-width:calc(100% - 24px);width:auto;margin:0;padding:5px 10px;
  line-height:1.4;font-size:12px;color:#355a71;background:rgba(255,255,255,.88);
  border-radius:7px;text-align:left;box-sizing:border-box;
}
@media(max-width:700px){
 main .features .feature-card .feature-image .feature-caption,
 main .features .feature-card.sales-card .feature-image .feature-caption {
   bottom:9px;left:9px;max-width:calc(100% - 18px);font-size:11px;
 }
}

/* Von Fredslund – godkendt finpudsning af index (15.11.2026).
   Kun de to eksisterende feature-kort, introduktionen og index-dekorationerne berøres. */
main .home-intro .home-intro-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3.7vw, 50px);
}
main .home-intro .hero-copy .hero-lead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 1.32vw, 19px);
  line-height: 1.7;
}
main .features .feature-card .feature-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 2.9vw, 40px);
  margin-bottom: 18px;
}
main .features .feature-card .feature-content p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 1.32vw, 19px);
  line-height: 1.65;
}
main .home-intro .btn, main .features .feature-cta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 8px;
  padding: 13px 22px;
  min-height: 48px;
  background: #233d5f;
  color: white;
}
main .features .feature-content .feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-top: 25px;
  box-shadow: none;
  text-decoration: none;
  transition: background-color .2s ease;
}
main .features .feature-card a:hover .feature-cta,
main .features .feature-card a:focus-visible .feature-cta {background: #355f84;}
main .features .feature-card a:focus-visible {outline: 3px solid #457eab;outline-offset: 3px;}

@media(max-width:740px) {
  main .home-intro .home-intro-heading h1 {font-size: clamp(33px, 8.5vw, 40px);}
  main .home-intro .hero-copy .hero-lead {font-size: 16px;}
  main .features .feature-card .feature-content h2 {font-size: 32px;}
  main .features .feature-card .feature-content p {font-size: 17px;}
  main .features .feature-content .feature-cta {margin-top: 20px;}
  main .home-intro .btn, main .features .feature-cta {font-size: 15px;}
}
@media(prefers-reduced-motion:reduce){main .features .feature-content .feature-cta{transition:none;}}

/* Von Fredslund / index only: medium, light and varied cikorier,
   anchored to the approved section transitions, independent of page height.
   Motifs and all non-botanical content remain unchanged. */
#indhold { overflow-x:clip; } /* Prevent rotated flowers causing horizontal scroll. */
#indhold .home-intro, #indhold .features { position:relative; }
#indhold .home-intro > .shell, #indhold .features > .shell {
  position:relative; z-index:2;
}
#indhold img.vf-index-flower {
  position:absolute; display:block; max-width:none; height:auto;
  z-index:1; pointer-events:none; user-select:none;
  object-fit:contain; object-position:center;
}
#indhold .home-intro > img.vf-index-flower-intro {
  left:max(8px, calc((100vw - 1500px) / 2 - 22px));
  bottom:-12px; top:auto; width:230px; opacity:.68;
  transform:rotate(-7deg);
}
#indhold .features > img.vf-index-flower-features {
  right:max(8px, calc((100vw - 1520px) / 2 - 20px));
  bottom:8px; top:auto; width:192px; opacity:.65;
  transform:rotate(8deg);
}
@media(max-width:780px) {
  /* Extra floral breathing room so the lower motif clears the DMK card. */
  #indhold .features { padding-bottom:155px; }
  #indhold .home-intro > img.vf-index-flower-intro {
    left:6px; bottom:-9px; width:196px; opacity:.67;
  }
  #indhold .features > img.vf-index-flower-features {
    right:0px; bottom:8px; width:177px; opacity:.66;
  }
}
@media(max-width:600px) {
  /* Reserve space below the intro button for its botanical illustration. */
  #indhold .home-intro { padding-bottom:90px; }
  #indhold .features { padding-bottom:176px; }
  #indhold .home-intro > img.vf-index-flower-intro {
    left:3px; bottom:-6px; width:186px; opacity:.69;
  }
  #indhold .features > img.vf-index-flower-features {
    right:0px; bottom:8px; width:170px; opacity:.67;
  }
}

/* Von Fredslund: godkendt tekst og harmoniske linjeskift på index.
   Den godkendte top, billeder, cikorier, andre sider og links ændres ikke. */
@media (min-width:741px) {
  main .home-intro .hero-copy { max-width:730px; }
  main .features .feature-card .feature-content,
  main .features .feature-card.sales-card .feature-content { padding:clamp(28px,3.2vw,48px); }
  main .features .feature-card .feature-content p { max-width:none; }
}
main .home-intro .hero-copy .hero-lead,
main .features .feature-card .feature-content p {
  text-wrap:balance;
}
/* Tablet: narrow side-by-side columns create cramped text; use the established
   mobile card flow earlier, without changing the desktop cards or images. */
@media (min-width:741px) and (max-width:980px) {
  main .features .feature-card a,
  main .features .feature-card.sales-card a,
  main .features .feature-card:nth-child(even) a {
    display:flex; flex-direction:column;
  }
  main .features .feature-card:nth-child(even) .feature-image {order:0;}
  main .features .feature-card:nth-child(even) .feature-content {order:1;}
  main .features .feature-card .feature-image,
  main .features .feature-card .feature-image.kys {
    height:clamp(280px,38vw,360px);min-height:0;
  }
  main .features .feature-card .feature-content,
  main .features .feature-card.sales-card .feature-content {
    align-self:stretch;padding:32px 40px 42px;
  }
}

/* Index: jul 1.–26. december, styret efter dansk tid. */
.vf-christmas-greeting { display:none; }
html.vf-christmas {
  --vf-jul-green:#294e3d;
  --vf-jul-red:#762f39;
  --vf-jul-gold:#b39a60;
  --vf-jul-cream:#faf5eb;
  --vf-jul-line:#e4d7bf;
}
.vf-christmas .top-line { background:linear-gradient(90deg,#294e3d,#b39a60,#762f39); }
/* Separate motifs in the open space beside the brand, never on top of it. */
:is(.vf-christmas,.vf-newyear) .head-inner::before,
:is(.vf-christmas,.vf-newyear) .head-inner::after,
:is(.vf-christmas,.vf-newyear) .home-visual::before,
:is(.vf-christmas,.vf-newyear) .home-intro::after,
:is(.vf-christmas,.vf-newyear) .feature-grid::after,
:is(.vf-christmas,.vf-newyear) .features::after,
.vf-newyear .program-banner::before {
  content:""; position:absolute; pointer-events:none; background-repeat:no-repeat; background-size:contain;
}
.vf-christmas .head-inner::before { width:clamp(125px,18vw,245px); height:160px; left:0; top:13px; background-image:url('assets/site/julegran.svg?v=4'); background-position:left top; }
.vf-christmas .head-inner::after { width:clamp(110px,13vw,182px); height:112px; right:6px; top:28px; background-image:url('assets/site/julebaer.svg?v=3'); background-position:right top; }
.vf-christmas .site-nav>a.current { color:var(--vf-jul-red); border-bottom-color:var(--vf-jul-gold); }
/* The original guinea pig photograph and blue identity remain intact. */
.vf-christmas main .home-visual::before { z-index:2; width:clamp(90px,12vw,185px); height:clamp(85px,11vw,165px); right:18px; top:0; background-image:url('assets/site/julepynt.svg?v=3'); background-position:right top; opacity:.92; }
:is(.vf-christmas,.vf-newyear) main .home-visual .hero-wordmark { z-index:3; }
.vf-christmas .hero-wordmark .vf-christmas-greeting {
  display:block; font:italic 400 clamp(23px,2.1vw,33px)/1.25 Georgia,"Times New Roman",serif;
  letter-spacing:0; color:#f8e6ba; margin:clamp(20px,3vw,40px) auto 0; text-shadow:0 2px 6px #19344a;
}
.vf-christmas .hero-wordmark .vf-christmas-greeting::before { content:""; display:block; width:56px; height:1px; margin:0 auto 16px; background:#d2b778; }
.vf-christmas body { background:var(--vf-jul-cream); }
.vf-christmas main .home-intro { background:linear-gradient(180deg,#fcf8ef,#faf5eb); }
.vf-christmas main .home-intro .home-intro-heading:after { background:var(--vf-jul-gold); }
.vf-christmas .home-intro::after { width:clamp(125px,18vw,235px); height:155px; right:max(8px,calc((100vw - 1500px)/2)); bottom:5px; background-image:url('assets/site/julebaer.svg?v=3'); background-position:right bottom; z-index:1; }
.vf-christmas main .features { background:linear-gradient(180deg,#faf5eb,#f8f2e7); }
.vf-christmas main .features .feature-card, .vf-christmas main .features .feature-card:hover { border-color:var(--vf-jul-line); background:#fffdf9; box-shadow:0 14px 35px #604a2810; }
.vf-christmas main .features .feature-card .feature-content h2 { color:var(--vf-jul-green); }
.vf-christmas main .home-intro .btn, .vf-christmas main .features .feature-cta { background:var(--vf-jul-green); }
.vf-christmas main .home-intro .btn:hover, .vf-christmas main .features .feature-card a:hover .feature-cta, .vf-christmas main .features .feature-card a:focus-visible .feature-cta { background:#416851; }
.vf-christmas main .features .feature-grid { position:relative; row-gap:clamp(17px,2vw,27px); }
:is(.vf-christmas,.vf-newyear) .feature-grid > .feature-card:first-child { grid-row:1; }
:is(.vf-christmas,.vf-newyear) .feature-grid > .feature-card:nth-child(2) { grid-row:3; }
.vf-christmas .feature-grid::after { position:static; grid-row:2; justify-self:center; width:180px; height:62px; background-image:url('assets/site/julekvist.svg?v=3'); background-position:center; }
.vf-christmas main .features .dmk-card, .vf-christmas main .features .dmk-card:hover { background:#fffbf2; border-color:var(--vf-jul-line); }
.vf-christmas .features::after { width:clamp(145px,19vw,255px); height:142px; bottom:10px; left:max(6px,calc((100vw - 1500px)/2)); background-image:url('assets/site/julegran.svg?v=4'); background-position:left bottom; z-index:1; }
.vf-christmas main .features { padding-bottom:clamp(155px,14vw,200px); }
.vf-christmas main .program-banner { background:linear-gradient(110deg,#294e3d,#355b48); border-top-color:#b39a60; }
.vf-christmas .footer { background:#faf5eb; border-top-color:var(--vf-jul-line); }
.vf-christmas .footer a:not(.vf-footer-admin) { color:var(--vf-jul-green); }
@media(max-width:1050px) {
  :is(.vf-christmas,.vf-newyear) .head-inner::before,:is(.vf-christmas,.vf-newyear) .head-inner::after { display:none; }
}
@media(max-width:780px) {
  .vf-christmas .home-intro { padding-bottom:100px; }
  .vf-christmas .home-intro::after { width:145px; height:110px; right:3px; bottom:0; }
  .vf-christmas .features::after { width:155px; height:105px; bottom:12px; }
  .vf-christmas main .features { padding-bottom:176px; }
}
@media(max-width:600px) {
  .vf-christmas main .home-visual::before { width:100px; height:92px; right:12px; }
  .vf-christmas .hero-wordmark .vf-christmas-greeting { font-size:23px; margin-top:17px; }
  .vf-christmas .hero-wordmark .vf-christmas-greeting::before { margin-bottom:10px; width:40px; }
  .vf-christmas main .home-visual .hero-wordmark { bottom:20px; }
  .vf-christmas .feature-grid::after { width:145px; height:50px; }
}


/* Index: nytår, udelukkende 31. december efter dansk tid. */
.vf-newyear-greeting { display:none; }
html.vf-newyear {
  --vf-ny-navy:#20354e;
  --vf-ny-gold:#b48b3b;
  --vf-ny-line:#ddd7c8;
  --vf-ny-cream:#faf8f3;
}
.vf-newyear .top-line {background:linear-gradient(90deg,#20354e,#d5b674,#aebdce,#20354e);}
.vf-newyear .head-inner::before,
.vf-newyear .head-inner::after {top:15px;width:clamp(135px,17vw,235px);height:160px;background-image:url('assets/site/nytaar-fyrvaerkeri.svg');background-position:left center;}
.vf-newyear .head-inner::before {left:4px;}
.vf-newyear .head-inner::after {right:4px;transform:scaleX(-1);}
.vf-newyear .site-nav>a.current {border-bottom-color:var(--vf-ny-gold);}
.vf-newyear main .home-visual {background:linear-gradient(110deg,#dae8ee,#759ab5,#182d48);}
.vf-newyear main .home-visual::after {background:linear-gradient(90deg,transparent 0%,transparent 36%,rgba(31,53,79,.04) 47%,rgba(31,53,79,.65) 62%,#233d5b 76%,#182e48 100%);}
.vf-newyear main .home-visual::before {z-index:2;right:24px;top:12px;width:clamp(115px,15vw,220px);height:clamp(102px,13.3vw,195px);background-image:url('assets/site/nytaar-gnister.svg');background-position:right top;}
.vf-newyear .hero-wordmark .vf-newyear-greeting {display:block;font:italic 400 clamp(26px,2.7vw,40px)/1.2 Georgia,'Times New Roman',serif;letter-spacing:0;color:#f9e3ad;margin:clamp(20px,3vw,40px) auto 0;text-shadow:0 2px 6px #172b45;}
.vf-newyear .hero-wordmark .vf-newyear-greeting::before {content:"";display:block;width:60px;height:1px;margin:0 auto 15px;background:#d5b674;}
.vf-newyear body {background:var(--vf-ny-cream);}
.vf-newyear main .home-intro {background:linear-gradient(180deg,#fcfaf5,#f8f6f1);}
.vf-newyear main .home-intro .home-intro-heading:after {background:var(--vf-ny-gold);}
.vf-newyear .home-intro::after {right:max(12px,calc((100vw - 1500px)/2));bottom:8px;width:clamp(125px,17vw,230px);height:155px;background-image:url('assets/site/nytaar-fyrvaerkeri.svg');background-position:right bottom;z-index:1;opacity:.85;}
.vf-newyear main .features {background:linear-gradient(180deg,#f8f6f1,#f3f5f8);padding-bottom:clamp(155px,14vw,200px);}
.vf-newyear main .features .feature-card,.vf-newyear main .features .feature-card:hover {border-color:var(--vf-ny-line);background:#fffefa;box-shadow:0 14px 35px #23354e10;}
.vf-newyear main .home-intro .btn,.vf-newyear main .features .feature-cta {background:var(--vf-ny-navy);}
.vf-newyear main .features .feature-grid {position:relative;row-gap:clamp(17px,2vw,27px);}
.vf-newyear .feature-grid::after {position:static;grid-row:2;justify-self:center;width:220px;height:70px;background-image:url('assets/site/nytaar-stjerner.svg');background-position:center;}
.vf-newyear main .features .dmk-card,.vf-newyear main .features .dmk-card:hover {background:#fffefa;border-color:var(--vf-ny-line);}
.vf-newyear .features::after {width:clamp(145px,19vw,250px);height:158px;bottom:7px;left:max(6px,calc((100vw - 1500px)/2));background-image:url('assets/site/nytaar-fyrvaerkeri.svg');background-position:left bottom;z-index:1;}
.vf-newyear main .program-banner {background:linear-gradient(110deg,#20354e,#334f70);border-top-color:#c3a36a;overflow:hidden;}
.vf-newyear .program-banner::before {left:50%;top:0;width:170px;height:100%;background-image:url('assets/site/nytaar-gnister.svg');background-position:center;opacity:.30;z-index:0;}
.vf-newyear .footer {background:linear-gradient(110deg,#f8f6f1,#edf1f6);border-top-color:var(--vf-ny-line);}
@media(max-width:980px) {
  .vf-newyear .home-intro {padding-bottom:112px;}
  .vf-newyear main .features {padding-bottom:200px;}
  .vf-newyear .home-intro::after {width:150px;height:110px;right:9px;bottom:4px;}
}
@media(max-width:780px) {
  .vf-newyear .features::after {width:155px;height:110px;bottom:12px;}
  .vf-newyear main .features {padding-bottom:176px;}
}
@media(max-width:600px) {
  .vf-newyear main .home-visual::after {background:linear-gradient(180deg,transparent 0%,transparent 47%,rgba(23,43,66,.08) 62%,rgba(23,43,66,.65) 82%,rgba(18,34,55,.9) 100%);}
  .vf-newyear main .home-visual::before {width:108px;height:96px;top:8px;right:8px;background-image:url('assets/site/nytaar-fyrvaerkeri.svg');}
  .vf-newyear .hero-wordmark .vf-newyear-greeting {font-size:27px;margin-top:17px;}
  .vf-newyear .hero-wordmark .vf-newyear-greeting::before {width:40px;margin-bottom:10px;}
  .vf-newyear main .home-visual .hero-wordmark {bottom:20px;}
  .vf-newyear .feature-grid::after {width:165px;height:53px;}
  .vf-newyear .program-banner::before {display:none;}
}
