/* Dolenio.dk – statisk udgave af det tidligere WordPress/Divi-design */

:root {
  --pink: #da295d;
  --orange: #fc7420;
  --link: #2ea3f2;
  --text: #666;
  --heading: #333;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
p { margin: 0; padding-bottom: 1em; }
p:last-child { padding-bottom: 0; }
h1, h2, h3, h4 { margin: 0; padding-bottom: 10px; color: var(--heading); font-weight: 500; line-height: 1em; }

.row { width: 80%; max-width: 1080px; margin: 0 auto; }

/* Topbjælke: vises først, når man scroller (som før) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform .4s, visibility .4s;
}
.site-header.is-visible { transform: none; visibility: visible; }
.site-header .row { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.site-header img { width: auto; height: 24px; }
.site-header a:not(.logo) { font-weight: 600; }

/* Top */
.intro { padding-top: 20px; }
.intro-columns {
  display: grid;
  grid-template-columns: repeat(3, 29.6667%);
  column-gap: 5.5%;
  align-items: start;
}
.intro-columns img { width: 266px; }
.phone { padding-top: 30px; text-align: center; }
.phone p { color: var(--heading); font-size: 36px; font-weight: 700; line-height: 1; padding-bottom: 10px; white-space: nowrap; }
.divider { width: 89%; margin: 0 auto; padding-top: 20px; height: 43px; }
.divider::after { content: ""; display: block; margin-top: 16px; border-top: 1px solid var(--pink); }

.hero img { width: 100%; animation: fade-in .5s ease-in-out both; }
@keyframes fade-in { from { opacity: 0; } }

/* Knapper */
.button {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s;
}
.button:hover, .button:focus-visible { background-color: rgba(255, 255, 255, .2); }
.button-solid { display: block; border: 0; padding: 6px 20px; background: var(--pink); }
.button-solid:hover, .button-solid:focus-visible { background-color: #c01f4f; }
.button-pink { border-color: var(--pink); color: var(--pink); }
.button-pink:hover, .button-pink:focus-visible { background-color: rgba(218, 41, 93, .08); }

/* Orange sektion */
.more { background: var(--orange); color: #fff; text-align: center; }
.more > img { margin: 0 auto; width: 176px; }
.section-title { font-size: 50px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.more h2 { max-width: 550px; margin: 30px auto 0; color: #fff; }
.more-action { padding: 36px 30px 108px; }
.more-action .button { max-width: 285px; }

/* Kontakt */
.contact { padding: 80px 0 54px; }
.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 47.25%);
  column-gap: 5.5%;
  align-items: start;
  padding: 25px 0;
}
.address { color: #000; font-size: 20px; line-height: 1.2; }
.address h2 { color: #000; line-height: 1; }
.address p { padding-bottom: 20px; }
.address p:last-child { padding-bottom: 0; }
.address .phone-large { margin-top: 31px; color: var(--orange); }
.address .email { color: #ff6600; }
.address .web { color: #000; font-weight: 700; }
.address .web a { color: #6d6d6d; }

.contact form h2 { padding-bottom: 16px; }
.contact label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact input, .contact textarea {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 16px;
  border: 1px solid #a0a0a0;
  border-radius: 0;
  background: #fff;
  color: var(--heading);
  font-family: inherit;
  font-size: 11px;
}
.contact textarea { height: 150px; resize: vertical; }
.contact .trap { position: absolute; left: -9999px; }
.form-actions { text-align: right; margin-top: -7px; }
.form-status { padding: 0 0 15px; font-weight: 700; color: var(--heading); }
.form-status:empty { display: none; }

/* Produktresume */
.summary { background: var(--pink); padding: 50px 0; color: #fff; }
.summary .row { padding-top: 25px; padding-bottom: 25px; }
.summary h2 { color: #fff; font-size: 22px; font-weight: 700; }
.summary p { padding-bottom: 14px; }
.summary p:last-child { padding-bottom: 0; }
.summary-action { width: 47.25%; text-align: center; }

/* Privatlivspolitik */
.page-text { padding: 76px 0; }
.page-text h1 { font-size: 30px; }
.page-text ul { margin: 0; padding: 0 0 23px 14px; line-height: 26px; }

/* Bund */
.site-footer { background: #222; }
.site-footer div { background: rgba(0, 0, 0, .32); padding: 15px 0 15px; }
.site-footer p { padding: 0; }

@media (max-width: 980px) {
  /* På små skærme står topbjælken fast øverst på siden, uden menulink */
  body { padding-top: 80px; }
  .site-header, .site-header.is-visible { position: absolute; transform: none; visibility: visible; transition: none; }
  .site-header .row { height: 80px; }
  .site-header img { height: 43px; }
  .site-header a:not(.logo) { display: none; }
  .intro-columns { grid-template-columns: 1fr; row-gap: 30px; justify-items: center; }
  .intro-columns .button { max-width: 320px; }
  .two-columns { grid-template-columns: 1fr; row-gap: 50px; }
  .divider { width: 80%; }
  .summary-action { width: 100%; }
}

@media (min-width: 768px) and (max-width: 980px) {
  .divider::after { display: none; }
}

@media (max-width: 767px) {
  /* Telefonnummer og knap i toppen vises ikke på mobil (som før) */
  .intro-columns .phone, .intro-columns .button, .divider { display: none; }
  .intro { padding-bottom: 30px; }
  .section-title { font-size: 40px; overflow-wrap: break-word; }
  .address .phone-large { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero img { animation: none; }
  .site-header { transition: none; }
}
