/* Rent a Martin — udendørs håndværk i Syddanmark */
:root {
  --bg: #f5f0e8;
  --bg-card: #ffffff;
  --primary: #2c3e2d;
  --primary-light: #3d5240;
  --accent: #8b6914;
  --accent-hover: #6d5310;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --border: #d8cfc0;
  --danger: #b33;
  --radius: 0;
  --shadow: 0 4px 24px rgba(44, 62, 45, 0.1);
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  max-width: 14rem;
  line-height: 1.3;
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .nav {
    margin-left: auto;
  }
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.3rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.lang-switch-flag {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.lang-switch:hover {
  border-color: #fff;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sub-brand-note-inner {
  text-align: center;
}

.sub-brand-note-inner h2 {
  font-size: 1.35rem;
}

.sub-brand-note-inner p {
  color: var(--muted);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}

.about-portrait {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-content h2 {
  margin-top: 0;
}

.about-content p {
  color: var(--muted);
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  min-width: 7rem;
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
}

.about-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 0.5rem;
}

.final-cta p {
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

.pillar-grid--single {
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .pillar-grid--single {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #fff;
  border: 2px solid #25d366;
  margin-top: 0.5rem;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}

.btn-whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn-block {
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: 0.65rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.06);
  color: var(--primary);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: var(--primary);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 0;
}

.hero-card p {
  opacity: 0.9;
}

.hero-card .btn-accent {
  margin-top: 1rem;
}

.fuge-teaser {
  padding-top: 0;
}

.fuge-teaser-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fuge-teaser-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.fuge-teaser-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.fuge-teaser-link img {
  display: block;
  width: 100%;
  height: auto;
}

/* Trust bar */
.trust-bar {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.trust-bar span {
  opacity: 0.85;
  margin: 0 0.5rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.areas-section {
  padding-top: 2.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.section-title p {
  color: var(--muted);
  margin: 0;
}

/* Pillar cards */
.pillar-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.pillar-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.pillar-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin: 0 0 1rem;
}

.pillar-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.pillar-card--media {
  padding: 0;
  overflow: hidden;
}

.pillar-card--media .pillar-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pillar-card--media .pillar-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Service overview cards */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid--compact {
    grid-template-columns: repeat(2, 1fr);
    max-width: 52rem;
    margin-inline: auto;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.service-card.featured {
  border-color: var(--accent);
}

.service-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.service-card-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.service-card-tag.secondary {
  color: var(--muted);
}

/* Area chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 6rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55) !important;
  margin: 0 0 0.5rem;
}

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-cta a {
  text-align: center;
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  border-right: 1px solid var(--border);
}

.mobile-cta a:last-child {
  border-right: none;
  background: var(--accent);
  color: #fff;
}

.mobile-cta a.whatsapp-link {
  background: #25d366;
  color: #fff;
}

.mobile-cta a.whatsapp-link:hover {
  background: #1ebe57;
  color: #fff;
}

@media (min-width: 768px) {
  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

/* Funnel */
.funnel-page {
  padding: 2rem 0 6rem;
}

.funnel-seo-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.funnel-seo-block h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.funnel-header {
  text-align: center;
  margin-bottom: 2rem;
}

.funnel-header h1 {
  margin-bottom: 0.5rem;
}

.progress {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.progress-step {
  width: 2.5rem;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.progress-step.active,
.progress-step.done {
  background: var(--accent);
}

.funnel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin-inline: auto;
}

.funnel-step {
  display: none;
}

.funnel-step.active {
  display: block;
}

.funnel-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--text);
}

.success-message .funnel-step-title {
  margin-bottom: 0.75rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tab {
  flex: 1;
  padding: 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.form-group small {
  color: var(--muted);
  font-size: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.wall-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wall-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--bg);
}

.wall-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.wall-preview {
  background: #e8e2d8;
  border-radius: 6px;
  height: 80px;
  margin: 0.75rem 0;
  position: relative;
  overflow: hidden;
}

.wall-canvas-wrap {
  margin: 0.75rem 0 0.5rem;
  position: relative;
}

.opening-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tool-btn {
  padding: 0.4rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.tool-btn:hover {
  border-color: var(--accent);
}

.tool-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.toolbar-shortcuts {
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: auto;
}

.canvas-toast {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  margin: 0;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.canvas-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.opening-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.opening-row-label {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.opening-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  align-items: end;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.opening-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.wall-canvas-hint {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.wall-canvas {
  position: relative;
  height: 148px;
  width: 100%;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 40%),
    repeating-linear-gradient(
      90deg,
      #ddd6c8 0,
      #ddd6c8 12px,
      #d4cdc0 12px,
      #d4cdc0 24px
    );
  border: 1px solid var(--border);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
  touch-action: none;
  cursor: crosshair;
  user-select: none;
  overflow: hidden;
}

.wall-stone-condition {
  margin: 0.85rem 0 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.broken-count-wrap.hidden {
  display: none;
}

.wall-canvas:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wall-surface {
  position: absolute;
  border-radius: 4px;
  background-color: #b55242;
  background-image:
    linear-gradient(145deg, rgba(200, 80, 60, 0.2) 0%, rgba(100, 35, 25, 0.28) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(70, 25, 18, 0.14) 11px,
      rgba(70, 25, 18, 0.14) 12px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 7px,
      rgba(70, 25, 18, 0.1) 7px,
      rgba(70, 25, 18, 0.1) 8px
    );
  border: 2px solid #7a2e22;
  box-shadow:
    inset 0 0 0 1px rgba(255, 200, 170, 0.1),
    0 4px 14px rgba(60, 20, 10, 0.18);
  pointer-events: none;
  overflow: hidden;
}

.wall-surface--damaged::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background:
    radial-gradient(circle at 22% 35%, rgba(40, 15, 10, 0.35) 0 6px, transparent 7px),
    radial-gradient(circle at 68% 55%, rgba(40, 15, 10, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 45% 78%, rgba(40, 15, 10, 0.28) 0 4px, transparent 5px),
    linear-gradient(125deg, transparent 44%, rgba(30, 10, 5, 0.25) 45%, transparent 46%),
    linear-gradient(35deg, transparent 62%, rgba(30, 10, 5, 0.2) 63%, transparent 64%);
  pointer-events: none;
}

.wall-opening {
  position: absolute;
  border-radius: 3px;
  border: 2px solid rgba(26, 58, 92, 0.55);
  background: linear-gradient(160deg, rgba(180, 210, 235, 0.85) 0%, rgba(120, 165, 205, 0.75) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 2px 8px rgba(26, 58, 92, 0.2);
  cursor: grab;
  transition: box-shadow 0.15s, transform 0.1s;
  min-width: 8px;
  min-height: 8px;
}

.wall-opening:active {
  cursor: grabbing;
}

.wall-opening.selected {
  border-color: var(--accent);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 2px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.wall-opening.door {
  border-color: rgba(92, 58, 32, 0.65);
  background: linear-gradient(180deg, #a67c52 0%, #7a5535 45%, #6b4a2e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 -4px 8px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.wall-opening.door .opening-glass,
.wall-opening.door .opening-mullion-v,
.wall-opening.door .opening-mullion-h {
  display: none;
}

.door-panel {
  position: absolute;
  top: 6%;
  bottom: 0;
  width: 48%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0%, transparent 40%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.door-panel-l {
  left: 2%;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.door-panel-r {
  right: 2%;
}

.door-step {
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -2px;
  height: 3px;
  background: #5c5c5c;
  border-radius: 0 0 2px 2px;
  pointer-events: none;
}

.door-handle {
  position: absolute;
  right: 14%;
  top: 48%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f0d080, #b8860b);
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.wall-opening.door.draft {
  background: rgba(122, 85, 53, 0.35);
}

.wall-opening.draft {
  background: rgba(255, 255, 255, 0.35);
  border: 2px dashed var(--accent);
  cursor: crosshair;
  pointer-events: none;
  z-index: 3;
}

.opening-glass {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.opening-mullion-v,
.opening-mullion-h {
  position: absolute;
  background: rgba(26, 58, 92, 0.35);
  pointer-events: none;
}

.opening-mullion-v {
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 2px;
  transform: translateX(-50%);
}

.opening-mullion-h {
  top: 50%;
  left: 8%;
  right: 8%;
  height: 2px;
  transform: translateY(-50%);
}

.opening-handle {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: nwse-resize;
  z-index: 1;
}

.wall-preview-inner {
  position: absolute;
  background: var(--primary-light);
  opacity: 0.35;
  border: 2px solid var(--primary);
}

.opening-preview {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--muted);
}

.total-panel {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.total-panel .big {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.calc-lines {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.5rem;
  font-family: monospace;
  white-space: pre-line;
}

.price-result {
  text-align: center;
  padding: 1rem 0;
}

.price-result .amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  color: var(--primary);
  margin: 0.5rem 0;
}

.price-result .secondary {
  color: var(--muted);
  font-size: 1.1rem;
}

.disclaimer {
  background: rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  font-size: 0.9rem;
  margin: 1.25rem 0;
  border-radius: 0 8px 8px 0;
}

.disclaimer p {
  margin: 0;
  line-height: 1.5;
}

.disclaimer-extra {
  margin-top: 0.65rem !important;
}

.label-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88em;
}

.photo-notice {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  line-height: 1.45;
}

.breakdown {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
  white-space: pre-line;
}

.funnel-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.funnel-nav .btn-outline {
  flex: 0 0 auto;
}

.funnel-nav .btn-primary,
.funnel-nav .btn-accent {
  flex: 1;
}

/* Lean conversion funnel (ClickFunnels-style) */
.funnel-lean .site-header--lean .nav {
  display: none;
}

.funnel-lean .header-phone {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.funnel-lean .site-footer--lean {
  padding: 1.5rem 0 5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.funnel-lean.funnel-pending #funnel-offer {
  display: none;
}

.funnel-lean:not(.funnel-pending) #funnel-advertorial,
.funnel-lean:not(.funnel-pending) #funnel-sticky-cta {
  display: none;
}

/* Sales advertorial (ClickFunnels long-form) */
.sales-advertorial {
  max-width: 44rem;
  margin-inline: auto;
  padding-bottom: 1.5rem;
}

.adv-masthead {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.adv-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}

.sales-advertorial h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--primary);
}

.adv-deck {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 auto 1rem;
  max-width: 36rem;
}

.adv-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.adv-byline-sep {
  opacity: 0.45;
}

.adv-section {
  margin-bottom: 2.25rem;
}

.adv-section--muted {
  margin-inline: -1rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

@media (min-width: 640px) {
  .adv-section--muted {
    margin-inline: -1.5rem;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }
}

.adv-lead {
  font-size: 1.08rem;
}

.adv-figure {
  margin: 1.75rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.adv-figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.adv-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  padding: 0.65rem 0.85rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  font-style: italic;
  line-height: 1.45;
}

.adv-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 11rem;
  padding: 1.5rem 1rem;
  text-align: center;
  background: linear-gradient(145deg, #ebe4d8 0%, #ddd5c8 100%);
  color: var(--muted);
  border: 2px dashed var(--border);
}

.adv-img-placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.55;
  color: var(--primary);
}

.adv-img-placeholder span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 14rem;
  line-height: 1.35;
}

.adv-img-placeholder em {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  margin-top: 0.15rem;
  opacity: 0.85;
}

.adv-gallery {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

@media (min-width: 520px) {
  .adv-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .adv-gallery--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.adv-gallery .adv-figure {
  margin: 0;
}

.adv-split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .adv-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .adv-split--reverse .adv-split-media {
    order: 2;
  }
}

.adv-split-media .adv-figure {
  margin: 0;
}

.sales-advertorial h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.2vw, 1.65rem);
  margin: 0 0 0.85rem;
  line-height: 1.22;
  color: var(--primary);
}

.adv-section > h2:first-child {
  margin-top: 0;
}

.sales-advertorial p {
  line-height: 1.68;
  margin: 0 0 1rem;
}

.sales-advertorial ul,
.sales-advertorial ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.62;
}

.sales-advertorial li {
  margin-bottom: 0.45rem;
}

.adv-icon-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
  list-style: none;
  padding: 0;
}

@media (min-width: 520px) {
  .adv-icon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.adv-icon-grid li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.adv-icon-grid-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg);
  color: var(--accent);
  font-size: 1.1rem;
}

.adv-pullquote {
  margin: 1.75rem 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-card);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--primary);
  box-shadow: var(--shadow);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.adv-compare {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (min-width: 480px) {
  .adv-compare {
    grid-template-columns: 1fr 1fr;
  }
}

.adv-compare-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.adv-compare-card--good {
  background: #eef4ee;
  border-color: #b8cfb9;
}

.adv-compare-card--bad {
  background: #faf0ee;
  border-color: #e0c4bf;
}

.adv-compare-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.35rem;
}

.adv-compare-card--good .adv-compare-label {
  color: var(--primary-light);
}

.adv-compare-card--bad .adv-compare-label {
  color: var(--danger);
}

.adv-compare-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
  color: var(--primary);
}

.adv-compare-card p:last-child {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.adv-callout {
  margin: 1.5rem 0;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.adv-callout-inner {
  padding: 1.25rem 1.35rem;
}

.adv-callout--split {
  display: grid;
}

@media (min-width: 560px) {
  .adv-callout--split {
    grid-template-columns: 9rem 1fr;
  }

  .adv-callout--split .adv-img-placeholder {
    min-height: 100%;
    border: none;
    border-right: 1px solid var(--border);
    border-radius: 0;
  }
}

.adv-callout-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.65rem;
  color: var(--primary);
  line-height: 1.25;
}

.adv-callout-steps {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.adv-callout-steps li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.adv-callout-steps li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.adv-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.adv-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0;
}

.adv-price-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  padding: 0.75rem 0.85rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}

.adv-price-table th,
.adv-price-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.adv-price-table tr:last-child td {
  border-bottom: none;
}

.adv-price-table th {
  background: var(--bg);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.adv-price-table td:nth-child(2) {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.adv-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.adv-checklist li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.55rem;
}

.adv-checklist li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

.adv-expert {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 480px) {
  .adv-expert {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.adv-expert-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-inline: auto;
}

.adv-expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adv-expert-photo .adv-img-placeholder {
  min-height: 88px;
  height: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 0;
}

.adv-expert-photo .adv-img-placeholder svg {
  width: 1.75rem;
  height: 1.75rem;
}

.adv-expert-body p {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
}

@media (min-width: 480px) {
  .adv-expert-body p {
    text-align: left;
  }
}

.adv-expert-body p + p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.adv-expert-meta {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.35rem !important;
}

.adv-process {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
  counter-reset: advstep;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .adv-process {
    grid-template-columns: 1fr 1fr;
  }
}

.adv-process li {
  counter-increment: advstep;
  margin: 0;
  padding: 1rem 1rem 1rem 3.25rem;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.adv-process li::before {
  content: counter(advstep);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
}

.adv-process strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.adv-process span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.adv-cta-band {
  text-align: center;
  margin: 2.25rem 0;
  padding: 1.75rem 1.25rem;
  background: linear-gradient(165deg, var(--bg-card) 0%, #f0ebe2 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.adv-cta-band p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.adv-cta-band .btn-lg {
  width: 100%;
  max-width: 20rem;
}

.adv-faq {
  display: grid;
  gap: 0.5rem;
}

.adv-faq details {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  background: var(--bg-card);
}

.adv-faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--primary);
  line-height: 1.35;
}

.adv-faq p {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.adv-split-text p:last-child,
.adv-split-note {
  margin-bottom: 0;
}

.adv-split-note {
  color: var(--muted);
  font-size: 0.98rem;
}

.adv-gallery .adv-figure img,
.adv-gallery .adv-img-placeholder {
  min-height: 10rem;
  object-fit: cover;
}

.adv-gallery--3 .adv-figure img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.funnel-offer-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.funnel-offer-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin-bottom: 0.35rem;
}

.funnel-offer-header p {
  color: var(--muted);
  margin: 0;
}

.funnel-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.funnel-sticky-cta p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}

.funnel-sticky-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.funnel-lean.funnel-pending .funnel-page {
  padding-bottom: 5rem;
}

.funnel-preframe {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  text-align: center;
}

.funnel-preframe-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.funnel-preframe h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.funnel-preframe-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.funnel-pain-list {
  text-align: left;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.funnel-pain-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.funnel-pain-list li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.funnel-authority {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.funnel-trust-micro {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
}

.funnel-step-intro {
  color: var(--muted);
  margin: -0.25rem 0 1rem;
  font-size: 0.95rem;
}

.funnel-tip {
  display: block;
  margin-top: 0.35rem;
}

.funnel-help-link {
  margin: 0.65rem 0 0;
}

.funnel-help-link .btn {
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
}

.scaffolding-option {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.scaffolding-option .checkbox-label {
  margin-bottom: 0.35rem;
}

.scaffolding-option small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.scaffolding-option .funnel-tip {
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.funnel-value-stack {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.funnel-value-stack-title {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.funnel-value-stack .checklist {
  margin: 0 0 0.75rem;
}

.funnel-value-stack-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.funnel-social-proof {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin: 1rem 0 0;
}

.funnel-objections {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.funnel-objections li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.funnel-next-steps {
  text-align: left;
  margin: 1.25rem auto;
  max-width: 28rem;
  padding-left: 1.25rem;
}

.funnel-next-steps li {
  margin-bottom: 0.5rem;
}

.funnel-urgent-cta {
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.funnel-wait-tip {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.photo-preview {
  max-height: 200px;
  border-radius: 8px;
  margin-top: 0.75rem;
  display: none;
}

.photo-preview.visible {
  display: block;
}

.success-message {
  text-align: center;
  padding: 2rem 1rem;
}

.success-message h2 {
  color: var(--primary);
}

.error-msg {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.hidden {
  display: none !important;
}

.openings-list {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.btn-sm.danger {
  color: var(--danger);
  border-color: var(--danger);
}

.btn-add {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  margin-top: 0.25rem;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 0.35rem 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
}

.nav-dropdown-panel a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a[aria-current="page"] {
  background: var(--bg);
  color: var(--accent);
}

/* Service pages */
.service-hero {
  padding: 2.5rem 0 2rem;
}

.service-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .service-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.breadcrumb a {
  color: var(--muted);
}

.content-narrow {
  max-width: 720px;
}

.service-list {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.service-list li {
  margin-bottom: 0.65rem;
}

.seo-content h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1rem;
}

.seo-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
}

.seo-content p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

.seo-content ul,
.seo-content ol {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.seo-content li {
  margin-bottom: 0.5rem;
}

.seo-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.seo-table th,
.seo-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.seo-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 252, 247, 0.85);
}

.seo-table td {
  color: var(--muted);
}

.seo-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 0.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.55;
}

.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  top: 0.65rem;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.process-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.25rem 2.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-list {
  margin: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.faq-list details:first-child {
  border-top: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0.75rem 0 0;
}

.seo-cta-inline {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .related-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-links a {
  display: block;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.related-links a:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.section-muted {
  background: rgba(255, 252, 247, 0.6);
}

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

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.photo-grid-item {
  margin: 0;
}

.photo-grid-item figcaption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.testimonial-card--featured {
  border-color: var(--accent);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.testimonial-card footer span {
  color: var(--muted);
}

.photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: var(--bg);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.cta-band {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin-top: 0;
}

/* Inquiry funnel */
.service-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-pick {
  text-align: left;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.service-pick strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.service-pick span {
  font-size: 0.85rem;
  color: var(--muted);
}

.service-pick:hover,
.service-pick.selected {
  border-color: var(--accent);
  background: var(--bg-card);
}

.service-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.selected-service-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.step-lead {
  color: var(--muted);
  margin-top: 0;
}

.success-card {
  text-align: center;
}

.success-card h3 {
  margin-top: 0;
}

/* Kontakt page */
.kontakt-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .kontakt-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
  }
}

.kontakt-info h1 {
  margin-top: 0;
}

.kontakt-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.kontakt-details li {
  margin-bottom: 0.5rem;
}

.kontakt-form-card {
  max-width: none;
}

.submit-status {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.25rem;
}

.submit-status.error {
  color: var(--danger);
}

@media (max-width: 767px) {
  .header-inner {
    padding: 0.55rem 0;
    gap: 0.75rem;
  }

  .logo {
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .logo-name {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
  }

  .logo-tagline {
    font-size: 0.5rem;
  }

  .site-header {
    z-index: 101;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 102;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: calc(3.75rem + env(safe-area-inset-top, 0px)) 1.25rem 2rem;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    z-index: 99;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.8rem 0;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-actions .lang-switch {
    padding: 0.35rem 0.5rem;
  }

  .nav-dropdown summary {
    padding: 0.8rem 0;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
  }

  .hero {
    padding: 2rem 0 2.5rem;
  }

  .hero-grid {
    gap: 1.25rem;
  }

  .hero-badge {
    font-size: 0.68rem;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.65rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .hero-card h2 {
    font-size: 1.25rem;
  }

  .trust-bar {
    padding: 0.5rem 0;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .section {
    padding: 2.25rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-dropdown-panel {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.25rem 0.75rem;
  }
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  padding: 1rem 0;
}

@media (max-width: 767px) {
  .cookie-banner {
    bottom: 3.1rem;
  }

  body.cookie-banner-open {
    padding-bottom: 9rem;
  }
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: var(--primary);
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--primary);
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  font-size: 0.8rem;
  padding: 0.55rem 0.85rem;
  white-space: nowrap;
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-settings[hidden] {
  display: none !important;
}

.cookie-settings-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: min(100%, 28rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cookie-settings-panel h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.cookie-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option small {
  color: var(--muted);
  font-weight: 400;
}

.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

.footer-legal {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.footer-legal a {
  margin-right: 0.75rem;
}

.promo-video-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.promo-video-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .promo-video-grid {
    grid-template-columns: 1fr min(300px, 36%);
    gap: 3rem;
  }
}

.promo-video-copy h2 {
  margin-bottom: 0.75rem;
}

.promo-video-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.promo-video-player {
  margin: 0;
  max-width: 300px;
  width: 100%;
  justify-self: center;
}

.promo-video-player video,
.promo-video-embed,
.promo-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: var(--radius);
  background: #111;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.promo-video-player video {
  object-fit: cover;
}

.promo-video-player figcaption a {
  color: var(--primary);
  font-weight: 600;
}

.promo-video-player figcaption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--text);
  line-height: 1.65;
  font-size: 0.95rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}
