/*
Theme Name: Webfyn
Theme URI: https://webfyn.dk/
Author: Webfyn
Author URI: https://webfyn.dk/
Description: Et varmt, lokalt WordPress block theme til Webfyn.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0.14
Text Domain: webfyn
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700;9..40,800&family=Fraunces:opsz,wght,SOFT,WONK@9..144,500..800,65,1&display=swap");

:root {
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --webfyn-cream: #fff3df;
  --webfyn-amber: #f0a04b;
  --webfyn-blue: #2f6fed;
  --webfyn-coral: #c96f4a;
  --webfyn-green: #244033;
  --webfyn-mint: #dcead9;
  --webfyn-shadow: 0 22px 56px rgba(47, 68, 54, 0.11);
  --webfyn-shadow-strong: 0 32px 80px rgba(47, 68, 54, 0.18);
  --webfyn-section-shadow: inset 0 1px 0 rgba(47, 68, 54, 0.08), inset 0 -1px 0 rgba(47, 68, 54, 0.08);
  --webfyn-radius-large: 32px;
  --webfyn-radius-medium: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(240, 160, 75, 0.24), transparent 34rem),
    linear-gradient(180deg, #fff7ea 0%, #f8eedf 54%, #fffaf2 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.webfyn-brand {
  font-family: var(--font-display);
}

.webfyn-header {
  border-bottom: 1px solid rgba(47, 68, 54, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(47, 68, 54, 0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}

.webfyn-brand {
  letter-spacing: -0.04em;
}

.webfyn-header__bar {
  align-items: center;
  gap: 1rem;
}

.webfyn-header__aside {
  align-items: center;
  gap: 1.1rem 1.35rem;
}

.webfyn-header__contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 650;
  gap: 0.35rem 0.45rem;
  line-height: 1.2;
}

.webfyn-header__phone {
  color: var(--webfyn-green);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.webfyn-header__phone:hover {
  color: var(--webfyn-blue);
}

.webfyn-header__email {
  color: #6c7d68;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.webfyn-header__email:hover {
  color: var(--webfyn-green);
}

.webfyn-header__sep {
  color: rgba(47, 68, 54, 0.28);
  user-select: none;
}

.webfyn-button-row {
  align-items: center;
}

.wp-block-button__link {
  box-shadow: 0 12px 26px rgba(47, 68, 54, 0.16);
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.wp-block-button__link:hover {
  box-shadow: 0 18px 34px rgba(47, 68, 54, 0.2);
  transform: translateY(-1px);
}

/* Secondary hero CTA: outlined ghost so it stands out on cream */
.webfyn-hero .wp-block-button:not(:first-child) .wp-block-button__link {
  background: transparent !important;
  border: 1.5px solid var(--webfyn-green);
  box-shadow: none;
  color: var(--webfyn-green) !important;
}

.webfyn-hero .wp-block-button:not(:first-child) .wp-block-button__link:hover {
  background: var(--webfyn-green) !important;
  color: #fff7ea !important;
}

.webfyn-hero {
  background:
    radial-gradient(circle at 92% 8%, rgba(47, 111, 237, 0.1), transparent 22rem),
    radial-gradient(circle at 6% 92%, rgba(240, 160, 75, 0.22), transparent 22rem),
    linear-gradient(180deg, #fff7ea 0%, #faecd6 100%);
  overflow: hidden;
  position: relative;
}

.webfyn-hero::before {
  background: radial-gradient(circle, rgba(47, 111, 237, 0.06), transparent 70%);
  content: "";
  height: 28rem;
  left: -10rem;
  position: absolute;
  top: -8rem;
  width: 28rem;
  z-index: 0;
}

.webfyn-hero .wp-block-columns {
  position: relative;
  z-index: 1;
}

.webfyn-hero h1 {
  max-width: 14ch;
  letter-spacing: -0.03em;
}

.webfyn-hero h1 em {
  color: var(--webfyn-blue);
  font-style: italic;
  font-weight: 600;
  position: relative;
}

.webfyn-hero h1 em::after {
  background: linear-gradient(90deg, rgba(47, 111, 237, 0.4), rgba(47, 111, 237, 0));
  border-radius: 999px;
  bottom: 0.04em;
  content: "";
  height: 0.18em;
  left: 0;
  position: absolute;
  width: 100%;
}

.webfyn-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.webfyn-trust-row span {
  align-items: center;
  background: #fffdf8;
  border: 1px solid rgba(47, 68, 54, 0.11);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(47, 68, 54, 0.06);
  color: var(--webfyn-green);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.45rem;
  padding: 0.62rem 0.88rem;
}

.webfyn-trust-row span::before {
  background: var(--webfyn-blue);
  border-radius: 999px;
  content: "";
  height: 0.5rem;
  width: 0.5rem;
}

.webfyn-section {
  box-shadow: var(--webfyn-section-shadow);
  position: relative;
}

.webfyn-section::before {
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid rgba(47, 68, 54, 0.09);
  border-radius: 999px;
  content: "";
  height: 0.75rem;
  left: 50%;
  position: absolute;
  top: -0.375rem;
  transform: translateX(-50%);
  width: min(9rem, 34vw);
}

.webfyn-section-services {
  background: #fffdf8 !important;
}

.webfyn-section-process {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 247, 234, 0.6), transparent 22rem),
    #f6e8d0 !important;
}

.webfyn-section-local {
  background: #fff7ea !important;
}

.webfyn-section-contact {
  background:
    radial-gradient(circle at 85% 15%, rgba(47, 111, 237, 0.14), transparent 22rem),
    radial-gradient(circle at 12% 88%, rgba(240, 160, 75, 0.16), transparent 20rem),
    linear-gradient(180deg, #244033 0%, #1b3026 100%) !important;
  color: #fff7ea;
}

.webfyn-wizard {
  background: #fffdf8;
  border: 1px solid rgba(47, 68, 54, 0.08);
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 30px 60px -20px rgba(36, 64, 51, 0.25),
    0 18px 40px -12px rgba(36, 64, 51, 0.18);
  color: var(--webfyn-green);
  display: grid;
  gap: 1.05rem;
  margin-left: auto;
  max-width: 32rem;
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  position: relative;
  z-index: 1;
}

.webfyn-wizard__topline {
  display: grid;
  gap: 0.65rem;
  margin: -0.45rem -0.45rem 0;
  padding: 0.85rem 0.95rem 0.95rem;
  background: var(--webfyn-green);
  color: #fffaf2;
  border-radius: 20px 20px 14px 14px;
}

.webfyn-wizard__counter {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.webfyn-wizard__counter strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.webfyn-wizard__counter span {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.85rem;
  font-weight: 700;
}

.webfyn-wizard__progress {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, 1fr);
}

.webfyn-wizard__dot {
  background: rgba(255, 250, 242, 0.22);
  border-radius: 999px;
  height: 0.4rem;
  transition: background 220ms ease, transform 220ms ease;
}

.webfyn-wizard__dot.is-active {
  background: var(--webfyn-amber);
  transform: scaleY(1.15);
}

.webfyn-wizard__dot.is-done {
  background: rgba(240, 160, 75, 0.7);
}

.webfyn-wizard__viewport {
  position: relative;
  overflow: hidden;
}

.webfyn-wizard__step {
  display: grid;
  gap: 0.45rem;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

.webfyn-wizard__step[hidden] {
  display: none;
}

.webfyn-wizard__step.is-leaving-left {
  opacity: 0;
  transform: translateX(-2rem);
}

.webfyn-wizard__step.is-leaving-right {
  opacity: 0;
  transform: translateX(2rem);
}

.webfyn-wizard__step.is-entering-left {
  opacity: 0;
  transform: translateX(-1.5rem);
}

.webfyn-wizard__step.is-entering-right {
  opacity: 0;
  transform: translateX(1.5rem);
}

.webfyn-wizard__eyebrow {
  color: var(--webfyn-coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.webfyn-wizard__title {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
}

.webfyn-wizard__sub {
  color: #5a6f64;
  margin: 0;
}

.webfyn-wizard__options {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.webfyn-wizard__option {
  align-items: center;
  background: #fffdf8;
  border: 1.5px solid rgba(47, 68, 54, 0.12);
  border-radius: 18px;
  cursor: pointer;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto 1fr;
  padding: 0.85rem 1rem;
  position: relative;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.webfyn-wizard__option:hover {
  border-color: rgba(47, 111, 237, 0.55);
  transform: translateY(-1px);
}

.webfyn-wizard__option input {
  height: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 0;
}

.webfyn-wizard__option:has(input:checked) {
  background: linear-gradient(135deg, #f4f8ff, #fff7ea);
  border-color: var(--webfyn-blue);
  box-shadow: 0 14px 28px rgba(47, 111, 237, 0.18);
}

.webfyn-wizard__option:has(input:focus-visible) {
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.18);
}

.webfyn-wizard__icon {
  align-items: center;
  background: #edf2ff;
  border-radius: 14px;
  color: var(--webfyn-blue);
  display: inline-flex;
  height: 2.4rem;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 2.4rem;
}

.webfyn-wizard__icon svg {
  height: 1.25rem;
  width: 1.25rem;
}

.webfyn-wizard__option:has(input:checked) .webfyn-wizard__icon {
  background: var(--webfyn-blue);
  color: #fffdf8;
  transform: rotate(-4deg);
}

.webfyn-wizard__option-body {
  display: grid;
  gap: 0.15rem;
}

.webfyn-wizard__option-title {
  color: var(--webfyn-green);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.webfyn-wizard__option-sub {
  color: #6c7d68;
  font-size: 0.88rem;
}

.webfyn-wizard__fields {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.webfyn-wizard__field {
  align-items: center;
  background: #fffdf8;
  border: 1.5px solid rgba(47, 68, 54, 0.12);
  border-radius: 16px;
  cursor: text;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr;
  padding: 0.7rem 0.85rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.webfyn-wizard__field:focus-within {
  border-color: var(--webfyn-blue);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.16);
}

.webfyn-wizard__field-icon {
  align-items: center;
  background: #edf2ff;
  border-radius: 12px;
  color: var(--webfyn-blue);
  display: inline-flex;
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}

.webfyn-wizard__field-icon svg {
  height: 1.05rem;
  width: 1.05rem;
}

.webfyn-wizard__field-body {
  display: grid;
  gap: 0.18rem;
}

.webfyn-wizard__field-body > span {
  color: var(--webfyn-green);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.webfyn-wizard__field-body em {
  color: #6c7d68;
  font-style: normal;
  font-weight: 600;
}

.webfyn-wizard__field input,
.webfyn-wizard__field textarea {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--webfyn-green);
  font: inherit;
  outline: none;
  padding: 0;
  width: 100%;
}

.webfyn-wizard__field textarea {
  min-height: 4.2rem;
  resize: vertical;
}

.webfyn-wizard__field input::placeholder,
.webfyn-wizard__field textarea::placeholder {
  color: rgba(36, 64, 51, 0.45);
}

.webfyn-wizard__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: 0.2rem;
}

.webfyn-wizard__btn[hidden] {
  display: none !important;
}

.webfyn-wizard__btn {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.webfyn-wizard__btn svg {
  height: 1.05rem;
  width: 1.05rem;
}

.webfyn-wizard__btn--primary {
  background: linear-gradient(135deg, var(--webfyn-blue), #1f55bd);
  box-shadow: 0 14px 28px rgba(47, 111, 237, 0.25);
  color: #fffdf8;
  flex: 1 1 auto;
}

.webfyn-wizard__btn--primary:hover {
  box-shadow: 0 20px 36px rgba(47, 111, 237, 0.32);
  transform: translateY(-1px);
}

.webfyn-wizard__btn--primary:disabled {
  background: rgba(47, 111, 237, 0.4);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.webfyn-wizard__btn--ghost {
  background: rgba(47, 68, 54, 0.06);
  color: var(--webfyn-green);
}

.webfyn-wizard__btn--ghost:hover {
  background: rgba(47, 68, 54, 0.1);
}

.webfyn-wizard__note {
  color: #6c7d68 !important;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* Site showcase (forside hero) */

.webfyn-hero-aside {
  display: grid;
  gap: 1.15rem;
  margin-left: auto;
  max-width: 32rem;
  width: 100%;
}

.webfyn-showcase {
  background: #ffffff;
  border: 1px solid rgba(47, 68, 54, 0.1);
  border-radius: var(--webfyn-radius-large);
  box-shadow: 0 34px 80px rgba(36, 64, 51, 0.16);
  display: grid;
  gap: 1.35rem;
  margin-left: auto;
  max-width: 32rem;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
}

.webfyn-showcase--compact {
  box-shadow: 0 18px 44px rgba(36, 64, 51, 0.1);
  gap: 0.85rem;
  padding: 1rem 1.15rem;
}

.webfyn-showcase--compact .webfyn-showcase__title {
  font-size: 1rem;
}

.webfyn-showcase--compact .webfyn-showcase__list li {
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.webfyn-showcase__label {
  color: var(--webfyn-blue);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.webfyn-showcase__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0;
}

.webfyn-showcase__list {
  border-top: 1px dashed rgba(47, 68, 54, 0.18);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}

.webfyn-showcase__list li {
  align-items: center;
  border-bottom: 1px dashed rgba(47, 68, 54, 0.14);
  color: var(--webfyn-green);
  display: flex;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 0.75rem;
  padding: 0.65rem 0;
}

.webfyn-showcase__list li span {
  background: #fff7ea;
  border-radius: 999px;
  color: var(--webfyn-blue);
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .webfyn-wizard__option {
    grid-template-columns: auto 1fr;
    padding: 0.75rem 0.85rem;
  }

  .webfyn-wizard__icon {
    height: 2.1rem;
    width: 2.1rem;
  }

  .webfyn-wizard__foot {
    flex-direction: column-reverse;
  }

  .webfyn-wizard__btn {
    width: 100%;
  }
}

.webfyn-proof-bar {
  background: var(--webfyn-green);
  color: rgba(255, 247, 234, 0.92);
}

.webfyn-proof-bar__row {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: var(--wp--style--global--wide-size, 1180px);
  padding: 1.35rem clamp(1.25rem, 4vw, 2rem);
}

.webfyn-proof-bar__item {
  align-items: baseline;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.webfyn-proof-bar__item strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.webfyn-proof-bar__item span {
  color: rgba(255, 247, 234, 0.7);
  font-size: 0.88rem;
}

@media (max-width: 780px) {
  .webfyn-proof-bar__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .webfyn-proof-bar__row {
    grid-template-columns: 1fr;
  }
}

.webfyn-card,
.webfyn-process-step,
.webfyn-contact-card {
  box-shadow: var(--webfyn-shadow);
}

.webfyn-card {
  border: 1px solid rgba(47, 68, 54, 0.08);
  border-radius: var(--webfyn-radius-medium);
  background: #ffffff !important;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.webfyn-card:hover {
  border-color: rgba(47, 111, 237, 0.35);
  box-shadow: 0 30px 70px rgba(36, 64, 51, 0.12);
  transform: translateY(-3px);
}

.webfyn-services .webfyn-card::before,
.webfyn-landing-features .webfyn-card::before {
  background: rgba(47, 111, 237, 0.1);
  border-radius: 999px;
  color: var(--webfyn-blue);
  content: "01";
  display: grid;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  height: 2.4rem;
  left: 0;
  margin: 1.3rem 0 0 1.3rem;
  place-items: center;
  position: absolute;
  top: 0;
  width: 2.4rem;
}

.webfyn-services .wp-block-column:nth-child(2) .webfyn-card::before {
  content: "02";
}

.webfyn-services .wp-block-column:nth-child(3) .webfyn-card::before {
  content: "03";
}

.webfyn-landing-features .wp-block-column:nth-child(1) .webfyn-card::before {
  content: "01";
}

.webfyn-landing-features .wp-block-column:nth-child(2) .webfyn-card::before {
  content: "02";
}

.webfyn-landing-features .wp-block-column:nth-child(3) .webfyn-card::before {
  content: "03";
}

.webfyn-landing-features .webfyn-card .wp-block-heading,
.webfyn-services .webfyn-card .wp-block-heading {
  padding-top: 3.5rem;
}

.webfyn-card__list {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.webfyn-card__list li {
  color: #4f6455;
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.webfyn-card__list li::before {
  background: var(--webfyn-blue);
  border-radius: 999px;
  content: "";
  height: 0.4rem;
  left: 0.35rem;
  position: absolute;
  top: 0.65rem;
  width: 0.4rem;
}

.webfyn-process-step {
  background: #ffffff !important;
  border: 1px solid rgba(47, 68, 54, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(36, 64, 51, 0.08);
  min-height: 13rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.webfyn-process-step:hover {
  border-color: rgba(47, 111, 237, 0.3);
  box-shadow: 0 28px 60px rgba(36, 64, 51, 0.14);
  transform: translateY(-3px);
}

.webfyn-process-step > p:first-child {
  background: transparent;
  color: var(--webfyn-blue) !important;
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 0.45rem;
  padding: 0;
}

.webfyn-eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Local trust card */

.webfyn-local-card {
  background: #ffffff;
  border: 1px solid rgba(47, 68, 54, 0.08);
  border-radius: var(--webfyn-radius-large);
  box-shadow: 0 24px 60px rgba(36, 64, 51, 0.1);
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.webfyn-local-card__row {
  align-items: flex-start;
  display: flex;
  gap: 0.95rem;
}

.webfyn-local-card__pin {
  align-items: center;
  background: rgba(47, 111, 237, 0.1);
  border-radius: 14px;
  color: var(--webfyn-blue);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.6rem;
  justify-content: center;
  width: 2.6rem;
}

.webfyn-local-card__pin svg {
  height: 1.25rem;
  width: 1.25rem;
}

.webfyn-local-card__label {
  color: var(--webfyn-blue);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.webfyn-local-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}

.webfyn-local-card__list {
  border-top: 1px dashed rgba(47, 68, 54, 0.18);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.webfyn-local-card__list li {
  align-items: center;
  border-bottom: 1px dashed rgba(47, 68, 54, 0.18);
  color: var(--webfyn-green);
  display: flex;
  font-weight: 600;
  gap: 0.85rem;
  padding: 0.7rem 0;
}

.webfyn-local-card__list li span {
  background: #fff7ea;
  border-radius: 999px;
  color: var(--webfyn-blue);
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  text-transform: uppercase;
}

.webfyn-local-card__note {
  color: #4f6455;
  font-size: 0.95rem;
  margin: 0;
}

/* Contact section */

.webfyn-contact-card {
  align-items: stretch !important;
  background: transparent !important;
}

.webfyn-section-contact .wp-block-column {
  color: rgba(255, 247, 234, 0.92);
}

.webfyn-section-contact .webfyn-eyebrow {
  color: rgba(240, 160, 75, 0.9);
}

.webfyn-section-contact h2 {
  color: #fff7ea;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.webfyn-section-contact p {
  color: rgba(255, 247, 234, 0.78);
}

.webfyn-contact-meta {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.webfyn-contact-meta li {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.webfyn-contact-meta__icon {
  align-items: center;
  background: rgba(255, 247, 234, 0.1);
  border: 1px solid rgba(255, 247, 234, 0.18);
  border-radius: 14px;
  color: rgba(240, 160, 75, 0.95);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.7rem;
  justify-content: center;
  width: 2.7rem;
}

.webfyn-contact-meta__icon svg {
  height: 1.2rem;
  width: 1.2rem;
}

.webfyn-contact-meta li small {
  color: rgba(255, 247, 234, 0.65);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webfyn-contact-meta li a,
.webfyn-contact-meta li > div > span {
  color: #fff7ea;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.webfyn-contact-meta li a:hover {
  color: var(--webfyn-amber);
}

.webfyn-contact-form {
  background: rgba(255, 247, 234, 0.05);
  border: 1px solid rgba(255, 247, 234, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.webfyn-contact-form input,
.webfyn-contact-form textarea {
  background: rgba(255, 247, 234, 0.96);
  border: 1px solid rgba(255, 247, 234, 0.4);
  border-radius: 14px;
  box-sizing: border-box;
  color: var(--webfyn-green);
  display: block;
  font: inherit;
  margin-top: 0.45rem;
  padding: 0.85rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.webfyn-contact-form input:focus,
.webfyn-contact-form textarea:focus {
  border-color: var(--webfyn-amber);
  box-shadow: 0 0 0 3px rgba(240, 160, 75, 0.25);
  outline: none;
}

.webfyn-contact-form label {
  color: rgba(255, 247, 234, 0.9);
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.webfyn-contact-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.webfyn-contact-form button {
  background: linear-gradient(135deg, var(--webfyn-amber), var(--webfyn-coral));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(240, 160, 75, 0.3);
  color: #1d2c25;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  justify-self: stretch;
  padding: 0.95rem 1.35rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.webfyn-form-status {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0.85rem 0 0;
}

.webfyn-form-status--success {
  color: var(--webfyn-green);
}

.webfyn-form-status--error {
  color: #9f5f45;
}

.webfyn-form-status--info {
  color: #4f6455;
}

.webfyn-wizard.is-submitting .webfyn-wizard__btn,
.webfyn-contact-form.is-submitting button {
  cursor: wait;
  opacity: 0.72;
}

.webfyn-contact-form button:hover {
  box-shadow: 0 20px 36px rgba(240, 160, 75, 0.42);
  transform: translateY(-1px);
}

/* ===== Longtail landing pages ===== */

.webfyn-landing-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(47, 111, 237, 0.1), transparent 22rem),
    radial-gradient(circle at 6% 92%, rgba(240, 160, 75, 0.2), transparent 22rem),
    linear-gradient(180deg, var(--webfyn-cream) 0%, #faecd6 100%);
}

.webfyn-landing-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.webfyn-landing-lead {
  color: #4f6455;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  margin: 0;
  max-width: 46ch;
}

.webfyn-landing-section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.webfyn-landing-section h2:not(:first-child) {
  margin-top: 2.2rem;
}

.webfyn-landing-faq {
  background: var(--webfyn-paper, #fffdf8);
}

.webfyn-landing-faq .wp-block-details {
  background: #ffffff;
  border: 1px solid rgba(47, 68, 54, 0.1);
  border-radius: 16px;
  margin-top: 0.75rem;
  padding: 1.1rem 1.25rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.webfyn-landing-faq .wp-block-details[open] {
  border-color: rgba(47, 111, 237, 0.4);
  box-shadow: 0 18px 40px rgba(36, 64, 51, 0.08);
}

.webfyn-landing-faq summary {
  color: var(--webfyn-ink, #1d2c25);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.webfyn-landing-faq summary:hover {
  color: var(--webfyn-blue);
}

.webfyn-landing-faq .wp-block-details p {
  color: #4f6455;
  margin: 0.6rem 0 0;
}

.webfyn-landing-cta {
  background: linear-gradient(135deg, var(--webfyn-green) 0%, var(--webfyn-green-deep, #16271f) 100%);
}

.webfyn-landing-cta h2 {
  color: #fff7ea;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}

.webfyn-landing-cta p {
  color: rgba(255, 247, 234, 0.82);
  margin: 0;
  max-width: 52ch;
}

.webfyn-landing-cta__call {
  margin: 1.25rem 0 0 !important;
}

.webfyn-landing-cta__call a {
  color: #fff7ea;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  text-decoration: none;
}

.webfyn-landing-cta__call a:hover {
  color: var(--webfyn-amber);
}

/* Hero CTA row + microcopy */

.webfyn-landing-microcopy {
  color: #6c7d68;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 1rem 0 0;
}

.webfyn-call-btn .wp-block-button__link.is-style-outline,
.webfyn-call-btn.is-style-outline > .wp-block-button__link {
  border: 1.5px solid var(--webfyn-green);
  color: var(--webfyn-green);
}

/* Wizard på landingssider (hero) */

.webfyn-landing-wizard {
  margin-left: auto;
  max-width: 100%;
  width: 100%;
}

.webfyn-landing-wizard__label {
  color: #6c7d68;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  margin: 0 0 0.65rem;
  text-align: center;
}

.webfyn-landing-wizard__label span {
  color: var(--webfyn-green);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.webfyn-breadcrumb-wrap {
  margin-bottom: 0.5rem;
  padding-top: 0.75rem;
}

.webfyn-breadcrumb ol {
  color: #6c7d68;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.webfyn-breadcrumb li + li::before {
  color: rgba(47, 68, 54, 0.35);
  content: "›";
  margin-right: 0.5rem;
}

.webfyn-breadcrumb a {
  color: var(--webfyn-green);
  text-decoration: none;
}

.webfyn-breadcrumb a:hover {
  text-decoration: underline;
}

.webfyn-breadcrumb [aria-current="page"] {
  color: #4f6455;
}

.webfyn-landing-visual {
  margin: 1.25rem 0 0;
  max-width: 28rem;
}

.webfyn-landing-visual__screen {
  background: linear-gradient(145deg, #fff7ea 0%, #f3ece0 100%);
  border: 1px solid rgba(47, 68, 54, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(47, 68, 54, 0.12);
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.25rem;
}

.webfyn-landing-visual__tag {
  color: #6c7d68;
  font-size: 0.82rem;
  font-weight: 700;
}

.webfyn-landing-visual__screen strong {
  color: var(--webfyn-green);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.webfyn-landing-visual__screen em {
  color: #5a6f64;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
}

.webfyn-landing-hero .webfyn-wizard {
  box-shadow: 0 34px 80px rgba(36, 64, 51, 0.18);
}

.webfyn-landing-depth h3,
.webfyn-landing-process h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.webfyn-landing-process .wp-block-columns {
  align-items: stretch;
  margin-top: 1.5rem;
}

.webfyn-landing-process .webfyn-process-step {
  height: 100%;
}

.webfyn-landing-related a {
  font-weight: 650;
}

@media (max-width: 780px) {
  .webfyn-landing-process .wp-block-columns {
    flex-direction: column;
  }
}

/* Browser mockup (legacy) */

.webfyn-mockup {
  background: #ffffff;
  border: 1px solid rgba(47, 68, 54, 0.1);
  border-radius: 18px;
  box-shadow: 0 34px 80px rgba(36, 64, 51, 0.2);
  margin-left: auto;
  max-width: 30rem;
  overflow: hidden;
}

.webfyn-mockup__bar {
  align-items: center;
  background: #f3ece0;
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
}

.webfyn-mockup__bar span {
  background: #cdbfa9;
  border-radius: 999px;
  height: 0.6rem;
  width: 0.6rem;
}

.webfyn-mockup__body {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
}

.webfyn-mockup__hero {
  background: linear-gradient(135deg, var(--webfyn-green), #16271f);
  border-radius: 12px;
  color: #fff7ea;
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem;
}

.webfyn-mockup__hero strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.webfyn-mockup__hero span {
  color: rgba(255, 247, 234, 0.75);
  font-size: 0.85rem;
}

.webfyn-mockup__hero em {
  align-self: start;
  background: var(--webfyn-amber);
  border-radius: 999px;
  color: #1d2c25;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
  margin-top: 0.35rem;
  padding: 0.3rem 0.8rem;
}

.webfyn-mockup__grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.webfyn-mockup__grid span {
  background: #f3ece0;
  border-radius: 10px;
  color: #5a6f64;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.7rem 0.8rem;
}

/* Trust strip */

.webfyn-trust-strip {
  background: var(--webfyn-green);
  color: #fff7ea;
}

.webfyn-trust-strip__row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0 auto;
  max-width: var(--wp--style--global--wide-size, 1180px);
  padding: 1.15rem clamp(1.25rem, 4vw, 2rem);
}

.webfyn-trust-strip__row li {
  display: flex;
  flex-direction: column;
}

.webfyn-trust-strip__row strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.webfyn-trust-strip__row span {
  color: rgba(255, 247, 234, 0.7);
  font-size: 0.85rem;
}

/* Features grid */

.webfyn-landing-features .wp-block-columns {
  margin-top: 1.5rem;
}

/* Pricing */

.webfyn-landing-pricing {
  background: var(--webfyn-paper, #fffdf8);
}

.webfyn-pricing {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.75rem auto 0;
  max-width: var(--wp--style--global--wide-size, 1180px);
}

.webfyn-pricing__card {
  background: #ffffff;
  border: 1px solid rgba(47, 68, 54, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(36, 64, 51, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem 1.5rem;
  position: relative;
}

.webfyn-pricing__card.is-featured {
  border-color: var(--webfyn-blue);
  box-shadow: 0 26px 60px rgba(47, 111, 237, 0.2);
}

.webfyn-pricing__tag {
  background: var(--webfyn-blue);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  left: 1.5rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem;
  position: absolute;
  text-transform: uppercase;
  top: -0.8rem;
}

.webfyn-pricing__name {
  color: var(--webfyn-muted, #5a6f64);
  font-weight: 700;
}

.webfyn-pricing__price {
  color: var(--webfyn-ink, #1d2c25);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.webfyn-pricing__card ul {
  display: grid;
  gap: 0.4rem;
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.webfyn-pricing__card li {
  color: #4f6455;
  font-size: 0.95rem;
  padding-left: 1.4rem;
  position: relative;
}

.webfyn-pricing__card li::before {
  color: var(--webfyn-blue);
  content: "✓";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.webfyn-pricing__intro-note {
  color: var(--webfyn-muted, #5a6f64) !important;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem !important;
  max-width: 52rem;
}

.webfyn-pricing__note {
  background: rgba(242, 223, 198, 0.45);
  border: 1px solid rgba(47, 68, 54, 0.08);
  border-radius: 12px;
  color: var(--webfyn-muted, #5a6f64) !important;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 1.25rem !important;
  max-width: 52rem;
  padding: 0.95rem 1.1rem !important;
}

/* Sticky mobile CTA bar */

.webfyn-stickybar {
  display: none;
}

@media (max-width: 980px) {
  .webfyn-trust-strip__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .webfyn-pricing {
    grid-template-columns: 1fr;
  }

  .webfyn-landing-wizard {
    margin-top: var(--wp--preset--spacing--40);
  }

  .webfyn-mockup {
    margin: var(--wp--preset--spacing--40) auto 0;
  }
}

@media (max-width: 780px) {
  .webfyn-header__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .webfyn-header__aside {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .webfyn-header__email {
    display: none;
  }

  .webfyn-hero {
    background:
      radial-gradient(circle at 90% 5%, rgba(47, 111, 237, 0.14), transparent 14rem),
      linear-gradient(180deg, #fff7ea 0%, #fff7ea 56%, #244033 56%, #244033 100%);
    padding-top: var(--wp--preset--spacing--60) !important;
  }

  .webfyn-trust-strip__row {
    grid-template-columns: 1fr 1fr;
  }

  .webfyn-stickybar {
    align-items: center;
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(47, 68, 54, 0.12);
    bottom: 0;
    box-shadow: 0 -10px 30px rgba(36, 64, 51, 0.12);
    display: flex;
    gap: 0.6rem;
    left: 0;
    padding: 0.6rem 0.9rem;
    position: fixed;
    right: 0;
    z-index: 40;
  }

  .webfyn-stickybar a {
    border-radius: 999px;
    font-weight: 800;
    padding: 0.8rem 1rem;
    text-align: center;
    text-decoration: none;
  }

  .webfyn-stickybar__call {
    border: 1.5px solid var(--webfyn-green);
    color: var(--webfyn-green);
    flex: 0 0 auto;
  }

  .webfyn-stickybar__cta {
    background: var(--webfyn-blue);
    color: #fff;
    flex: 1 1 auto;
  }

  .webfyn-estimate-form {
    margin-top: var(--wp--preset--spacing--40);
  }

  .webfyn-estimate-form::before {
    inset: 0.7rem -0.5rem -0.7rem 0.5rem;
  }

  .webfyn-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    overflow-x: visible;
    padding: 0;
  }

  .webfyn-image-card {
    min-height: 13rem;
    transform: none !important;
  }

  .webfyn-image-card--large {
    min-height: 13rem;
  }

  .webfyn-button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .webfyn-button-row .wp-block-button,
  .webfyn-button-row .wp-block-button__link {
    width: 100%;
  }

  .webfyn-footer__cols {
    flex-direction: column;
  }
}

/* Lokalt sponsorat (over footer) */

.webfyn-local-support__card {
  align-items: flex-start;
  background: #fffaf2;
  border: 1px solid rgba(47, 68, 54, 0.1);
  border-radius: var(--webfyn-radius-large);
  box-shadow: 0 22px 50px rgba(36, 64, 51, 0.1);
  display: flex;
  gap: 1.35rem;
  margin: 0 auto;
  max-width: 52rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2rem);
}

.webfyn-local-support__icon {
  align-items: center;
  background: rgba(47, 111, 237, 0.1);
  border-radius: 16px;
  color: var(--webfyn-blue);
  display: inline-flex;
  flex: 0 0 auto;
  height: 3.25rem;
  justify-content: center;
  width: 3.25rem;
}

.webfyn-local-support__icon svg {
  height: 1.55rem;
  width: 1.55rem;
}

.webfyn-local-support__eyebrow {
  color: #9f5f45;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}

.webfyn-local-support__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.webfyn-local-support__text,
.webfyn-local-support__note {
  color: #4f6455;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

.webfyn-local-support__text + .webfyn-local-support__note {
  margin-top: 0.75rem;
}

.webfyn-local-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.webfyn-local-support__btn {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.webfyn-local-support__btn--primary {
  background: var(--webfyn-green);
  color: #fffaf2;
}

.webfyn-local-support__btn--primary:hover {
  background: #243d32;
  color: #fffaf2;
}

.webfyn-local-support__btn--secondary {
  background: transparent;
  border: 2px solid rgba(47, 68, 54, 0.22);
  color: var(--webfyn-green);
}

.webfyn-local-support__btn--secondary:hover {
  background: rgba(47, 68, 54, 0.06);
  border-color: var(--webfyn-green);
  color: var(--webfyn-green);
}

@media (max-width: 640px) {
  .webfyn-local-support__card {
    flex-direction: column;
    gap: 1rem;
  }

  .webfyn-local-support__actions {
    flex-direction: column;
  }

  .webfyn-local-support__btn {
    justify-content: center;
    width: 100%;
  }
}

/* Footer */

.webfyn-footer a {
  color: #fffaf2;
  font-weight: 700;
  text-decoration-color: rgba(255, 250, 242, 0.45);
  text-underline-offset: 0.15em;
}

.webfyn-footer a:hover {
  color: #f2dfc6;
  text-decoration-color: #f2dfc6;
}

.webfyn-footer__heading {
  font-size: 1.05rem !important;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem !important;
}

.webfyn-footer__company {
  color: #f2dfc6;
  display: grid;
  font-style: normal;
  gap: 0.35rem;
  line-height: 1.45;
}

.webfyn-footer__company-name {
  color: #fffaf2;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.webfyn-footer__company-line {
  display: block;
  font-size: 0.98rem;
}

.webfyn-footer__nav ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.webfyn-footer__nav a {
  color: #f2dfc6;
  font-size: 0.98rem;
  font-weight: 600;
}

.webfyn-footer__nav a:hover {
  color: #fffaf2;
}
