/* Rent a Martin — prototype theme */
:root {
  --bg: #f5f0e8;
  --bg-card: #fffcf7;
  --primary: #2c3e2d;
  --primary-light: #3d5a40;
  --accent: #8b6914;
  --accent-hover: #6d5210;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --border: #ddd5c8;
  --danger: #b33;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(44, 62, 45, 0.08);
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Source Sans 3", 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-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
}

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

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

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

/* Header */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 400;
}

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

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

.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.lang-switch {
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}

.lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  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-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(139, 105, 20, 0.12);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  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(44, 62, 45, 0.14);
}

.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);
  }
}

.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-size: 1.1rem;
  margin-top: 0;
}

/* 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;
}

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

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

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

.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;
}

.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(44, 62, 45, 0.08);
  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(139, 105, 20, 0.35),
    0 4px 12px rgba(139, 105, 20, 0.25);
  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(44, 62, 45, 0.25);
}

.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-serif);
}

.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-serif);
  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(139, 105, 20, 0.1);
  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;
}

.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;
}

.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: var(--primary-light);
}

.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;
}

.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) {
  .form-row {
    grid-template-columns: 1fr;
  }

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