:root {
  --color-bg: #e7eee9;
  --color-bg-deep: #d5e0d8;
  --color-surface: #f4f7f4;
  --color-ink: #1c2421;
  --color-ink-soft: #3d4d46;
  --color-muted: #5f7168;
  --color-brand: #2a4a42;
  --color-brand-deep: #1a322c;
  --color-accent: #8a6238;
  --color-accent-soft: #c4a574;
  --color-line: rgba(42, 74, 66, 0.16);
  --color-success: #2a4a42;
  --color-error: #8b3a2f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --space-xs: 0.35rem;
  --space-sm: 0.7rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 0.35rem;
  --shadow-soft: 0 18px 40px rgba(26, 50, 44, 0.08);
  --max: 72rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 165, 116, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(42, 74, 66, 0.12), transparent 45%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 40%, var(--color-bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--color-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.18;
  color: var(--color-brand-deep);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 var(--space-md);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin: 0 0 var(--space-md);
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 var(--space-sm);
}

p {
  margin: 0 0 var(--space-md);
}

ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.2rem;
}

.main {
  min-height: 60vh;
}

.island-error {
  background: var(--color-error);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 244, 0.88);
  border-bottom: 1px solid var(--color-line);
  animation: header-in 0.6s ease both;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-h);
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-brand-deep);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-header__brand:hover {
  color: var(--color-brand);
}

.site-header__toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  cursor: pointer;
}

.site-header__toggle-bars {
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  text-decoration: none;
  color: var(--color-ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-brand-deep);
}

.site-nav__link.is-active {
  box-shadow: inset 0 -2px 0 var(--color-accent);
}

/* Footer */
.site-footer {
  margin-top: var(--space-2xl);
  background: var(--color-brand-deep);
  color: #dce6e1;
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

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

.site-footer a:hover {
  color: var(--color-accent-soft);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.site-footer__label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  color: var(--color-accent-soft);
  margin-bottom: var(--space-sm);
}

.site-footer__address {
  word-break: break-word;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__list li {
  margin-bottom: 0.35rem;
}

.site-footer__bottom {
  max-width: var(--max);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 50;
  animation: rise-in 0.45s ease both;
}

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

.cookie-banner__inner {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

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

.btn--ghost {
  background: transparent;
  border-color: var(--color-brand);
  color: var(--color-brand-deep);
}

.btn--ghost:hover {
  background: rgba(42, 74, 66, 0.08);
  color: var(--color-brand-deep);
}

.btn--light {
  background: #f7faf7;
  color: var(--color-brand-deep);
}

.btn--light:hover {
  background: #fff;
  color: var(--color-brand);
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-sm);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 40rem;
}

.prose {
  max-width: 42rem;
}

.prose > *:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

/* Hero home — full-bleed */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #f4f7f4;
  overflow: hidden;
}

.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-in-out alternate infinite;
}

.hero-home__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 50, 44, 0.25) 0%, rgba(26, 50, 44, 0.55) 45%, rgba(26, 50, 44, 0.88) 100%);
}

.hero-home__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  animation: fade-up 0.8s ease 0.15s both;
}

.hero-home__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 var(--space-md);
  color: #fff;
  max-width: 12ch;
}

.hero-home__text {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  max-width: 32rem;
  color: rgba(244, 247, 244, 0.92);
  margin-bottom: var(--space-lg);
}

.hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Page heroes */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  animation: fade-up 0.65s ease both;
}

.page-hero--media {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.page-hero--media .page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero--media .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--media .page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 50, 44, 0.2), rgba(26, 50, 44, 0.85));
}

.page-hero--media .page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.page-hero--media h1 {
  color: #fff;
}

.page-hero--media .lead {
  color: rgba(244, 247, 244, 0.9);
}

/* Offer / listing blocks — interaction containers ok */
.offer-list {
  display: grid;
  gap: var(--space-md);
}

.offer-item {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
}

.offer-item:hover {
  background: rgba(255, 255, 255, 0.35);
}

.offer-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

@media (min-width: 720px) {
  .offer-item {
    grid-template-columns: 12rem 1fr auto;
    align-items: center;
  }
}

.offer-item__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.offer-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-item:hover .offer-item__image img {
  transform: scale(1.04);
}

.offer-item__title {
  margin-bottom: 0.35rem;
}

.offer-item__meta {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}

.offer-item__link {
  font-weight: 600;
  color: var(--color-brand);
  white-space: nowrap;
}

/* Evidence / quotes */
.quote-stack {
  display: grid;
  gap: var(--space-lg);
}

.quote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
}

.quote__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-brand-deep);
  margin-bottom: var(--space-sm);
}

.quote__meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.story {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-line);
}

.story h3 {
  margin-bottom: var(--space-xs);
}

.story__meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

/* Pricing */
.rate-block {
  display: grid;
  gap: var(--space-md);
}

.rate-row {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-line);
}

@media (min-width: 700px) {
  .rate-row {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: baseline;
  }
}

.rate-row__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-brand);
  font-weight: 650;
}

/* Blog */
.post-list {
  display: grid;
  gap: var(--space-xl);
}

.post-teaser {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 800px) {
  .post-teaser {
    grid-template-columns: 1.1fr 1.4fr;
    align-items: center;
  }
}

.post-teaser__image {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
}

.post-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-teaser__date {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}

.article-meta {
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

/* Forms */
.form {
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field__label {
  font-weight: 600;
  font-size: 0.95rem;
}

.field__hint {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  color: var(--color-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(42, 74, 66, 0.15);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field__error {
  color: var(--color-error);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--color-error);
}

.form-status {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  margin: 0;
}

.form-status--success {
  background: rgba(42, 74, 66, 0.12);
  color: var(--color-brand-deep);
}

.form-status--error {
  background: rgba(139, 58, 47, 0.12);
  color: var(--color-error);
}

.contact-aside {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.contact-aside__address {
  word-break: break-word;
  font-family: ui-monospace, monospace;
  font-size: 0.92rem;
}

/* Methode steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps__item {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  animation: fade-up 0.6s ease both;
}

.steps__item:nth-child(2) { animation-delay: 0.08s; }
.steps__item:nth-child(3) { animation-delay: 0.16s; }
.steps__item:nth-child(4) { animation-delay: 0.24s; }

.steps__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Detail lists */
.detail-grid {
  display: grid;
  gap: var(--space-lg);
}

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

.panel {
  padding: var(--space-md) 0;
}

.panel h3 {
  margin-bottom: var(--space-sm);
}

.cta-band {
  margin: var(--space-xl) 0;
  padding: var(--space-xl) var(--space-md);
  background:
    linear-gradient(135deg, rgba(42, 74, 66, 0.95), rgba(26, 50, 44, 0.98)),
    var(--color-brand);
  color: #eef3ef;
  border-radius: var(--radius);
  animation: fade-up 0.7s ease both;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(238, 243, 239, 0.88);
  max-width: 34rem;
}

.cta-band .btn {
  margin-top: var(--space-sm);
}

.legal h2 {
  margin-top: var(--space-xl);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: var(--space-md) 0;
}

.legal th,
.legal td {
  border: 1px solid var(--color-line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.4);
}

.legal th {
  background: rgba(42, 74, 66, 0.08);
  font-weight: 600;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--color-accent);
  margin: 0;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.home-block {
  padding: var(--space-xl) 0;
}

.home-block + .home-block {
  border-top: 1px solid var(--color-line);
}

.note {
  font-size: 0.95rem;
  color: var(--color-muted);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(244, 247, 244, 0.98);
    padding: var(--space-lg) var(--space-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    gap: var(--space-md);
  }

  .site-nav__link {
    font-size: 1.2rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
