:root {
  --ink: #0d1c18;
  --muted: #41534b;
  --surface: #e3d6c2;
  --surface-strong: #d4c2a9;
  --panel: #f0e6d7;
  --panel-strong: #fbf3e7;
  --line: #bda98d;
  --brand: #0d332d;
  --accent: #698b73;
  --accent-dark: #355945;
  --warm: #a86f4b;
  --white: #fff8ea;
  --shadow: 0 26px 76px rgba(61, 43, 27, 0.2);
  color-scheme: light;
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#kontakt {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% -10%, rgba(104, 139, 115, 0.22), transparent 31rem),
    radial-gradient(circle at 96% 18%, rgba(168, 111, 75, 0.14), transparent 28rem),
    linear-gradient(180deg, #e8dcc9 0%, var(--surface) 42%, #d9cab5 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 4vw, 3.75rem);
  border-bottom: 1px solid rgba(251, 243, 231, 0.18);
  background:
    linear-gradient(135deg, rgba(13, 51, 45, 0.98), rgba(44, 61, 48, 0.96) 55%, rgba(85, 66, 49, 0.96));
  color: var(--panel-strong);
  box-shadow: 0 16px 42px rgba(41, 29, 18, 0.26), inset 0 -1px 0 rgba(255, 248, 234, 0.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  border-radius: 12px;
  background: rgba(251, 243, 231, 0.92);
  padding: 0.22rem 0.36rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 20px rgba(15, 34, 30, 0.18);
}

.brand-logo {
  display: block;
  width: clamp(138px, 12vw, 185px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  margin-top: 0.15rem;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  background: var(--surface);
  border-radius: 999px;
}

.brand-mark::before {
  width: 21px;
  height: 3px;
  top: 13px;
  transform: rotate(-12deg);
}

.brand-mark::after {
  width: 3px;
  height: 18px;
  bottom: 10px;
  transform: rotate(12deg);
}

.brand-mark span {
  width: 15px;
  height: 3px;
  bottom: 13px;
  right: 9px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.55rem);
  color: var(--panel-strong);
  font-size: 0.96rem;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.75rem;
  right: -0.75rem;
  height: 0.9rem;
  pointer-events: auto;
}

.nav-dropdown-summary {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  list-style: none;
  cursor: pointer;
}

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

.nav-dropdown-summary::after {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.16rem);
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-summary::after,
.nav-dropdown:focus-within .nav-dropdown-summary::after,
.nav-dropdown.is-open .nav-dropdown-summary::after {
  transform: rotate(225deg) translate(-0.1rem, -0.1rem);
}

.nav-dropdown-panel {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(1060px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(189, 169, 141, 0.82);
  border-radius: 22px;
  background: var(--panel-strong);
  color: var(--ink);
  box-shadow: 0 26px 72px rgba(41, 29, 18, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.nav-dropdown-group {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
}

.nav-dropdown-group p {
  margin: 0 0 0.25rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dropdown-link {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  border-radius: 14px;
  padding: 0.68rem 0.75rem;
  color: var(--ink);
  transition: background-color 180ms ease, color 180ms ease;
}

.dropdown-link strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.15;
}

.dropdown-link small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: rgba(13, 51, 45, 0.08);
  color: var(--brand);
  outline: 0;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 243, 231, 0.9);
  color: var(--brand);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: var(--white);
}

.menu-toggle:active {
  transform: translateY(1px);
}

.main-nav > a,
.nav-dropdown-summary,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.main-nav > a,
.nav-dropdown-summary {
  border-radius: 999px;
  color: inherit;
  padding: 0.35rem 0.2rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.main-nav > a:hover,
.nav-dropdown-summary:hover,
.text-link:hover {
  text-decoration-line: underline;
}

.main-nav > a:hover,
.nav-dropdown:hover .nav-dropdown-summary,
.nav-dropdown:focus-within .nav-dropdown-summary {
  background: rgba(251, 243, 231, 0.1);
  color: #fff8ea;
  text-decoration-line: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(16, 47, 43, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(251, 243, 231, 0.82);
  color: var(--brand);
}

.nav-cta:hover,
.button-primary:hover {
  background: #17433a;
}

.button-secondary:hover {
  border-color: var(--accent);
}

.nav-cta:active,
.button:active {
  transform: translateY(1px);
}

.site-header .nav-cta {
  border-color: rgba(251, 243, 231, 0.72);
  background: var(--panel-strong);
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(9, 25, 21, 0.24);
}

.site-header .nav-cta:hover {
  border-color: var(--panel-strong);
  background: #ffffff;
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(390px, 0.66fr);
  grid-template-areas:
    "copy form"
    "media form";
  gap: clamp(1.15rem, 2.4vw, 2.35rem) clamp(1.4rem, 3.2vw, 3.4rem);
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(2.4rem, 5.6vw, 5.6rem) clamp(1rem, 4vw, 3.75rem) clamp(2.1rem, 4vw, 3.2rem);
  min-height: min(760px, calc(100dvh - 76px));
  align-items: center;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
  max-width: 680px;
}

.soft-label {
  margin: 0 0 0.9rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(3.05rem, 6vw, 5.85rem);
  line-height: 0.98;
  max-width: 10.8ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.18;
}

h1,
h2,
h3 {
  font-family: "Aptos Display", "Segoe UI Variable Display", "Aptos", "Segoe UI", system-ui, sans-serif;
  font-weight: 850;
  hyphens: manual;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

p,
li,
summary,
label,
input,
select,
textarea,
.related-card small,
.site-footer a,
.site-footer span {
  font-size: 1.04rem;
  line-height: 1.6;
}

.hero-copy > p:not(.soft-label),
.section-heading > p,
.about-panel p,
.warm-card p,
.rut > p,
.site-footer p {
  color: var(--muted);
  max-width: 64ch;
}

.hero-copy > p:not(.soft-label) {
  font-size: 1.16rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

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

.hero-media {
  grid-area: media;
  position: relative;
  margin: 0;
  min-height: clamp(185px, 18vw, 255px);
  align-self: start;
  border: 1px solid rgba(189, 169, 141, 0.9);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(61, 43, 27, 0.16);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 248, 234, 0.62);
  border-radius: inherit;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-media-window-cleaning img {
  object-position: center 62%;
}

.hero-form {
  grid-area: form;
  display: block;
  align-items: start;
  justify-self: end;
  width: min(100%, 520px);
  margin-top: 0;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(240, 230, 215, 0.94);
  box-shadow: 0 22px 58px rgba(61, 43, 27, 0.16);
}

.form-heading h2 {
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  max-width: 13ch;
  margin-bottom: 0.55rem;
}

.form-heading p:last-child,
.form-note {
  color: var(--muted);
}

.form-heading p:last-child {
  margin-bottom: 0;
}

.form-benefits {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: clamp(1.3rem, 3vw, 2.2rem) 0 0;
  list-style: none;
  color: var(--muted);
}

.form-benefits li {
  position: relative;
  padding-left: 1.5rem;
}

.form-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(16, 47, 43, 0.08);
}

.contact-form {
  display: grid;
  gap: 0.68rem;
}

.hidden-field {
  display: none;
}

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

.field-group {
  display: grid;
  gap: 0.42rem;
}

label {
  font-weight: 750;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #aa987e;
  border-radius: 14px;
  background: var(--panel-strong);
  color: var(--ink);
  padding: 0.68rem 0.82rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

textarea {
  resize: vertical;
  min-height: 86px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(110, 143, 120, 0.24);
}

input::placeholder,
textarea::placeholder {
  color: #69776f;
}

.field-error {
  min-height: 1.25em;
  color: #9c372c;
  font-size: 0.94rem;
}

.field-error:empty {
  display: none;
}

.field-group.is-invalid input,
.field-group.is-invalid textarea {
  border-color: #b84b40;
  background: #fff0ec;
}

.consent {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--muted);
  font-weight: 600;
}

.consent input {
  width: 19px;
  height: 19px;
  margin-top: 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin-bottom: 0;
  min-height: 1.5em;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3.75rem) clamp(3rem, 6vw, 6rem);
}

.trust-strip div {
  background: var(--surface-strong);
  padding: clamp(1.2rem, 2vw, 1.65rem);
}

.trust-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 0.72rem;
  margin-bottom: 0.95rem;
  border-radius: 16px;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(16, 47, 43, 0.16);
}

.trust-strip div:first-child {
  border-radius: 22px 0 0 22px;
}

.trust-strip div:last-child {
  border-radius: 0 22px 22px 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-top: 0.22rem;
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3.25rem, 8vw, 7rem) clamp(1rem, 4vw, 3.75rem);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
  max-width: 850px;
}

.section-heading.narrow {
  max-width: 690px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 1rem;
}

.service-large,
.warm-card {
  border-radius: 24px;
  background: var(--brand);
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.service-large {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(16, 47, 43, 0.28), rgba(16, 47, 43, 0.95)),
    url("assets/old-site/noah-naf-fqQr1AFWwnc-unsplash.webp") center / cover;
}

.service-large span {
  color: #dfeade;
  font-weight: 800;
}

.service-badge {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: clamp(82px, 9vw, 118px);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(16, 47, 43, 0.2));
}

.service-large p,
.warm-card p {
  color: rgba(255, 255, 255, 0.78);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-list article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(240, 230, 215, 0.82);
  padding: clamp(1.2rem, 2vw, 1.55rem);
}

.service-list p {
  color: var(--muted);
}

.image-showcase {
  padding-top: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  grid-auto-rows: minmax(230px, 0.5fr);
  gap: 1rem;
}

.image-tile {
  position: relative;
  min-height: 230px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--brand);
  box-shadow: 0 22px 56px rgba(61, 43, 27, 0.16);
}

.image-tile-wide {
  grid-row: span 2;
}

.image-tile-tall {
  grid-column: span 2;
}

.image-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 260ms ease;
}

.image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 32, 29, 0.05), rgba(18, 32, 29, 0.72));
  pointer-events: none;
}

.image-tile:hover img {
  transform: scale(1.025);
}

.image-tile div {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1;
  color: var(--white);
}

.image-tile span,
.image-tile strong {
  display: block;
}

.image-tile span {
  color: #dfeade;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.image-tile strong {
  margin-top: 0.2rem;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.1;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.about-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.about-panel p {
  font-size: 1.08rem;
  line-height: 1.65;
}

.legacy-logo {
  width: 185px;
  height: auto;
  margin: 0.2rem 0 1.6rem;
}

.warm-card {
  background: #6d543f;
}

.warm-card h3 {
  font-size: clamp(1.45rem, 3.3vw, 2.7rem);
}

.rut {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rut h2 {
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  max-width: 14ch;
}

.rut > p {
  max-width: 66ch;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}

.rut .text-link {
  grid-column: 2;
}

.areas {
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.area-grid-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.8rem;
}

.area-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(240, 230, 215, 0.82);
  color: var(--brand);
  font-weight: 850;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.area-grid a::after {
  content: "→";
  color: var(--accent-dark);
}

.area-grid a:hover {
  border-color: var(--accent);
  background: var(--panel-strong);
  transform: translateY(-1px);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(240, 230, 215, 0.82);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  max-width: 84ch;
}

.site-footer {
  scroll-margin-top: 96px;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 3.75rem) clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(227, 214, 194, 0.25), rgba(210, 193, 169, 0)),
    #d4c2a9;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(189, 169, 141, 0.96);
  border-radius: 26px;
  background: rgba(240, 230, 215, 0.76);
  box-shadow: 0 20px 54px rgba(61, 43, 27, 0.12);
}

.footer-cta h2 {
  max-width: 18ch;
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  line-height: 1.04;
}

.footer-cta p:not(.soft-label) {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(190px, 0.62fr) minmax(170px, 0.55fr) minmax(320px, 1.25fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 3.75rem) 0;
}

.footer-about {
  max-width: 420px;
}

.site-footer address,
.site-footer nav,
.footer-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  font-style: normal;
}

.footer-column strong {
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-contact a {
  font-weight: 800;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-logo {
  width: clamp(170px, 16vw, 230px);
  max-height: 72px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-badges span {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(110, 143, 120, 0.24);
  border-radius: 999px;
  background: rgba(251, 243, 231, 0.5);
  color: var(--brand);
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 750;
}

.footer-local-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.35rem;
  row-gap: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(16, 47, 43, 0.12);
  color: var(--muted);
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-cookie-button,
.cookie-link-button {
  appearance: none;
  border: 0;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.25rem 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.footer-cookie-button:hover,
.cookie-link-button:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 3.75rem) 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.breadcrumbs a {
  color: var(--brand);
  font-weight: 750;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3.75rem) clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.subpage-copy {
  max-width: 780px;
}

.subpage-copy h1 {
  max-width: min(100%, 22ch);
  font-size: clamp(2.65rem, 5.2vw, 5.05rem);
}

.subpage-copy > p:not(.soft-label) {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
  max-width: 64ch;
}

.subpage-media {
  margin: 0;
  border-radius: 28px;
  height: clamp(360px, 38vw, 500px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.subpage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.subpage-media-contain {
  display: grid;
  place-items: center;
  height: clamp(280px, 30vw, 390px);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(240, 230, 215, 0.96), rgba(251, 243, 231, 0.96));
}

.subpage-media-contain img {
  width: 100%;
  height: 100%;
  max-width: 540px;
  object-fit: contain;
  object-position: center;
}

.page-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.detail-list h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.detail-list ul {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.detail-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.detail-copy {
  display: grid;
  gap: 1.2rem;
}

.detail-copy article {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(240, 230, 215, 0.78);
}

.detail-copy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.detail-copy p,
.related-card small {
  color: var(--muted);
}

.privacy-policy {
  border-top: 1px solid var(--line);
}

.privacy-intro {
  display: grid;
  gap: 1rem;
  max-width: 920px;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.privacy-intro h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.04;
}

.privacy-intro p:not(.soft-label) {
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.privacy-intro .button,
.cookie-policy .button {
  justify-self: start;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.privacy-card,
.policy-sections article,
.cookie-policy {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(240, 230, 215, 0.78);
}

.privacy-card {
  padding: clamp(1.2rem, 3vw, 1.75rem);
}

.privacy-card span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.privacy-card h3,
.policy-sections h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.privacy-card p,
.policy-sections p,
.cookie-policy p {
  margin: 0;
  color: var(--muted);
}

.privacy-card p + p {
  margin-top: 0.65rem;
}

.privacy-card a,
.policy-sections a,
.cookie-policy a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.policy-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.policy-sections article {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.cookie-policy {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.cookie-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(189, 169, 141, 0.95);
  border-radius: 20px;
}

.cookie-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.35fr) minmax(120px, 0.45fr);
}

.cookie-table [role="row"] + [role="row"] {
  border-top: 1px solid var(--line);
}

.cookie-table strong,
.cookie-table span {
  padding: 0.9rem 1rem;
  font-size: 0.98rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cookie-table strong {
  background: rgba(212, 194, 169, 0.55);
  color: var(--brand);
}

.subpage-form-section {
  padding-top: clamp(1.5rem, 4vw, 3.75rem);
}

.subpage-contact {
  display: grid;
  grid-template-columns: minmax(230px, 0.48fr) minmax(0, 1fr);
}

.subpage-form-section .subpage-contact {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  grid-template-columns: minmax(300px, 0.58fr) minmax(520px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3.4rem);
  align-items: start;
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
  background:
    linear-gradient(135deg, rgba(240, 230, 215, 0.94), rgba(251, 243, 231, 0.96));
}

.subpage-form-section .form-heading {
  max-width: 430px;
}

.subpage-form-section .form-heading h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

.subpage-form-section .contact-form {
  width: 100%;
  max-width: 720px;
  justify-self: end;
}

.related-section {
  padding-top: 0;
}

.cookie-banner {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 1.1rem 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid rgba(189, 169, 141, 0.95);
  border-radius: 26px;
  background: rgba(240, 230, 215, 0.96);
  box-shadow: 0 24px 70px rgba(16, 47, 43, 0.24);
}

.cookie-copy {
  display: grid;
  gap: 0.5rem;
}

.cookie-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

.cookie-copy p:not(.soft-label) {
  margin: 0;
  color: var(--muted);
}

.cookie-copy a {
  justify-self: start;
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0.65rem;
}

.cookie-choice-button {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(251, 243, 231, 0.78);
  color: var(--brand);
  box-shadow: none;
}

.cookie-choice-button:hover {
  border-color: var(--accent);
  background: var(--white);
}

.cookie-link-button {
  justify-self: center;
  color: var(--brand);
  font-weight: 800;
}

.cookie-options {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cookie-options[hidden] {
  display: none;
}

.cookie-option {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
}

.cookie-option strong {
  color: var(--brand);
}

.cookie-option-toggle {
  grid-template-columns: auto 1fr;
  align-items: start;
  cursor: pointer;
}

.cookie-option-toggle input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--brand);
}

.cookie-option-toggle small {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.related-card {
  display: grid;
  gap: 0.45rem;
  min-height: 210px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(240, 230, 215, 0.82);
  transition: transform 180ms ease, border-color 180ms ease;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related-card span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.related-card strong {
  font-size: 1.2rem;
  line-height: 1.16;
}

@media (max-width: 1180px) {
  #kontakt {
    scroll-margin-top: 142px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.6rem 1rem;
    max-width: 100vw;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    overflow: hidden;
    padding: 0.7rem;
    min-width: 0;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(240, 230, 215, 0.97);
    color: var(--ink);
    box-shadow: 0 18px 45px rgba(61, 43, 27, 0.16);
  }

  .main-nav > a,
  .nav-dropdown-summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(251, 243, 231, 0.78);
    padding: 0.65rem 0.8rem;
    font-weight: 760;
    line-height: 1.12;
  }

  .nav-dropdown {
    display: grid;
    grid-column: 1 / -1;
    min-width: 0;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-summary {
    justify-content: space-between;
  }

  .nav-dropdown-panel {
    position: static;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.75rem;
    border-radius: 16px;
    background: rgba(251, 243, 231, 0.9);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown:hover .nav-dropdown-panel,
  .nav-dropdown:focus-within .nav-dropdown-panel {
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown-panel {
    display: grid;
  }

  .nav-dropdown-group p {
    font-size: 0.74rem;
  }

  .dropdown-link {
    border: 1px solid rgba(189, 169, 141, 0.62);
    background: rgba(240, 230, 215, 0.68);
  }

  .nav-cta {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header.menu-open .main-nav {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form"
      "media";
    max-width: 900px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-form {
    justify-self: stretch;
    width: 100%;
  }

  .hero-form,
  .subpage-hero,
  .page-detail,
  .service-layout,
  .image-grid,
  .about,
  .rut,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .image-tile-wide,
  .image-tile-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .subpage-media {
    min-height: 360px;
  }

  .subpage-contact,
  .area-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .subpage-form-section .subpage-contact {
    grid-template-columns: 1fr;
  }

  .subpage-form-section .contact-form {
    max-width: none;
    justify-self: stretch;
  }

  .rut .text-link {
    grid-column: auto;
    justify-self: start;
  }

  .footer-cta,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .privacy-grid,
  .policy-sections,
  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  #kontakt {
    scroll-margin-top: 132px;
  }

  .site-header {
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    min-height: 68px;
  }

  .subpage-copy h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9.3vw, 2.65rem);
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: clamp(104px, 31vw, 128px);
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 0.75rem;
    font-size: 0.9rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .nav-dropdown-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-media {
    min-height: 240px;
    border-radius: 18px;
  }

  .hero-form,
  .subpage-media,
  .detail-copy article,
  .related-card,
  .image-tile,
  .service-large,
  .warm-card,
  .service-list article {
    border-radius: 18px;
  }

  .form-grid,
  .trust-strip,
  .service-list {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .trust-strip div:first-child,
  .trust-strip div:last-child {
    border-radius: 18px;
  }

  .trust-strip {
    gap: 0.75rem;
  }

  .subpage-form-section .subpage-contact {
    gap: 1.1rem;
    padding: 1.15rem;
  }

  .subpage-form-section .form-heading h2 {
    max-width: 16ch;
    font-size: clamp(1.65rem, 8vw, 2.3rem);
  }

  .service-large {
    min-height: 380px;
  }

  .footer-cta {
    border-radius: 18px;
    padding: 1.1rem;
  }

  .footer-cta h2 {
    max-width: 15ch;
  }

  .footer-actions,
  .footer-actions .button {
    width: 100%;
  }

  .footer-main {
    gap: 1.6rem;
    padding: 2rem 0;
  }

  .footer-local-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-card,
  .policy-sections article,
  .cookie-policy,
  .cookie-banner {
    border-radius: 18px;
  }

  .policy-sections,
  .cookie-policy,
  .cookie-table,
  .cookie-table [role="row"] {
    min-width: 0;
  }

  .privacy-grid,
  .policy-sections {
    gap: 0.85rem;
  }

  .cookie-table {
    border: 0;
    border-radius: 0;
    gap: 0.75rem;
    overflow: visible;
  }

  .cookie-table [role="row"] {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }

  .cookie-table [role="row"] + [role="row"] {
    border-top: 1px solid var(--line);
  }

  .cookie-table [role="row"]:first-child {
    display: none;
  }

  .cookie-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    max-height: calc(100dvh - 1.5rem);
    overflow: auto;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .cookie-choice-button,
  .cookie-options .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .privacy-policy {
    overflow-x: clip;
  }

  .cookie-policy {
    padding: 1rem;
  }

  .cookie-table {
    gap: 0.65rem;
  }

  .cookie-table [role="row"] {
    border-radius: 14px;
  }

  .cookie-table strong,
  .cookie-table span {
    padding: 0.78rem 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
