/*
Theme Name: OE Vinduespudsning
Theme URI: https://oevinduespudsning.dk
Author: OE Vinduespudsning
Description: Hjemmeside for OE Vinduespudsning. Tekster rettes i sider og ydelser. Beskeder går via Contact Form 7.
Version: 1.0.2
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: oe
*/

:root {
  --paper: #f4f7f5;
  --ink: #172126;
  --muted: #5d6c72;
  --line: #d7e2de;
  --brand: #0f6e6b;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.oe-top {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}
.oe-top a { color: var(--white); font-weight: 650; text-decoration: none; }
.oe-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.oe-top .oe-wrap,
.oe-header .oe-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.oe-top .oe-wrap { padding: 0.45rem 0; }
.oe-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.oe-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
}
.oe-brand img { height: 40px; width: auto; }
.oe-nav { display: flex; }
.oe-nav ul { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.oe-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
}
.oe-nav a:hover,
.oe-nav .current-menu-item a { background: #e7f3f2; }
.oe-header .oe-wrap { padding: 0.7rem 0; }
.oe-offer {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.oe-phone-link { display: none; font-weight: 700; color: var(--ink); text-decoration: none; }

.oe-hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  min-height: 34rem;
}
.oe-hero img.oe-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.oe-hero .oe-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 33, 38, 0.92), rgba(23, 33, 38, 0.55), rgba(23, 33, 38, 0.25));
}
.oe-hero .oe-wrap {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: 3.5rem 0 2rem;
}
.oe-kicker {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
.oe-hero h1 {
  margin: 0.6rem 0 0;
  max-width: 14ch;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.oe-hero .oe-lead { max-width: 38rem; color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; }
.oe-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.oe-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.oe-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 1.4rem;
  padding: 1.3rem;
}
.oe-contact .oe-wrap { max-width: 760px; }
.oe-contact .oe-card { border: 1px solid var(--line); margin-top: 1rem; }
.oe-card h2 { margin: 0 0 0.8rem; font-size: 1.5rem; }
.oe-trust {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  width: min(1120px, calc(100% - 2rem));
  margin: -1.5rem auto 0;
  padding: 0;
  list-style: none;
}
.oe-trust li {
  margin: 0;
  padding: 1.05rem 1.15rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(23, 33, 38, 0.06);
}
.oe-hero + .oe-trust + .oe-section { padding-top: 2.6rem; }

.oe-section { padding: 3.25rem 0; }
.oe-split { display: grid; gap: 1.6rem; align-items: center; }
.oe-frame {
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--line);
  aspect-ratio: 4 / 3;
}
.oe-frame img,
.oe-frame .oe-map { width: 100%; height: 100%; border: 0; display: block; }
.oe-frame img { object-fit: cover; }
.oe-section h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; }
.oe-muted { color: var(--muted); }
.oe-label { margin: 0 0 0.3rem; color: var(--brand); font-size: 0.85rem; font-weight: 750; }

.oe-services,
.oe-band { background: var(--white); }
.oe-grid { display: grid; gap: 1rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.oe-service {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--white);
}
.oe-service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.oe-service div { padding: 1.2rem 1.3rem 1.4rem; }
.oe-service h3 { margin: 0; font-size: 1.2rem; }
.oe-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.oe-chips li {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.oe-faq details {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.oe-faq details:first-of-type { border-top: 0; }
.oe-faq summary { cursor: pointer; font-weight: 700; }
.oe-page { padding: 3.2rem 0 4rem; }
.oe-page h1 { margin: 0.2rem 0 0; font-size: clamp(2.1rem, 4vw, 3rem); letter-spacing: -0.03em; }
.oe-prose { font-size: 1.05rem; color: var(--muted); }
.oe-prose p { margin: 0 0 1rem; }

.oe-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 3rem 0; }
.oe-footer .oe-wrap { display: grid; gap: 1.5rem; }
.oe-footer a { color: var(--white); text-decoration: none; }
.oe-footer strong { color: var(--white); font-size: 1.05rem; }
.oe-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }

.oe-bar {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.oe-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-weight: 750;
  text-decoration: none;
}
.oe-bar a + a { background: var(--brand); color: var(--white); }

label { display: block; font-size: 0.92rem; font-weight: 700; margin-top: 0.8rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select {
  width: 100%;
  margin-top: 0.25rem;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: var(--white);
}
textarea { height: 7rem; min-height: 7rem; }
.oe-contact { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.oe-form .wpcf7-submit,
button,
.oe-button {
  margin-top: 0.9rem;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font: inherit;
  font-weight: 750;
  padding: 0 1.1rem;
  cursor: pointer;
}

@media (min-width: 800px) {
  .oe-nav { display: flex; }
  .oe-phone-link { display: inline; }
  .oe-hero { min-height: 40rem; }
  .oe-hero .oe-wrap { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .oe-trust { grid-template-columns: repeat(3, 1fr); }
  .oe-split { grid-template-columns: 1fr 1fr; }
  .oe-grid { grid-template-columns: 1fr 1fr; }
  .oe-footer .oe-wrap { grid-template-columns: 1.4fr 1fr; }
  .oe-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 799px) {
  .oe-header .oe-wrap { flex-wrap: wrap; }
  .oe-nav { width: 100%; overflow-x: auto; }
  .oe-nav a { white-space: nowrap; }
  .oe-header .oe-offer { display: none; }
  body { padding-bottom: 52px; }
}
