/* Focus Meadow Core — contemporary structured theme */
:root {
  --ink: #1a2e28;
  --ink-soft: #3d524a;
  --meadow: #2f6b54;
  --meadow-deep: #1e3a32;
  --sage: #7ba88a;
  --mist: #e6efe9;
  --paper: #f7faf8;
  --cream-cool: #f0f5f2;
  --gold: #b8954a;
  --gold-soft: #d4b87a;
  --line: rgba(30, 58, 50, 0.12);
  --shadow: 0 18px 40px rgba(30, 58, 50, 0.08);
  --radius: 4px;
  --radius-lg: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(123, 168, 138, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 149, 74, 0.1), transparent 50%),
    linear-gradient(180deg, var(--cream-cool) 0%, var(--paper) 40%, #fff 100%);
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--meadow-deep);
}

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

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 0 0 0.55em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--meadow-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 248, 0.88);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--meadow-deep);
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 6px;
  background:
    linear-gradient(145deg, var(--sage) 0%, var(--meadow) 55%, var(--meadow-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold-soft);
  top: 0.28rem;
  right: 0.28rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
}

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

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--meadow-deep);
}

.nav-cta {
  background: var(--meadow-deep);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--meadow);
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(230, 239, 233, 0.55), rgba(230, 239, 233, 0.15));
  border-block: 1px solid var(--line);
}

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

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--meadow);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

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

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

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

.btn-secondary {
  background: transparent;
  border-color: var(--meadow-deep);
  color: var(--meadow-deep);
}

.btn-secondary:hover {
  background: var(--mist);
  color: var(--meadow-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-in 1.4s var(--ease) both;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 40, 34, 0.88) 0%, rgba(20, 40, 34, 0.55) 48%, rgba(20, 40, 34, 0.25) 100%),
    linear-gradient(0deg, rgba(20, 40, 34, 0.65) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem 3.5rem;
  width: 100%;
}

.hero h1 {
  color: #fff;
  max-width: 14ch;
  animation: rise 0.9s var(--ease) 0.15s both;
}

.hero .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.35em;
  color: #fff;
  animation: rise 0.85s var(--ease) both;
}

.hero .hero-support {
  max-width: 32rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  animation: rise 0.9s var(--ease) 0.25s both;
}

.hero .btn-row {
  animation: rise 0.9s var(--ease) 0.35s both;
}

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

@keyframes hero-in {
  from { transform: scale(1.06); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  position: relative;
}

.page-hero.with-media {
  padding: 0;
  min-height: 18rem;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

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

.page-hero.with-media .hero-content {
  padding: 4rem 1.25rem 2.5rem;
}

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

.page-hero.with-media .lede {
  color: rgba(255, 255, 255, 0.9);
}

/* Offer / service tiles — not cardy hero clutter; subtle panels for browse */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offer-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: saturate(0.92);
  transition: transform 0.45s var(--ease);
}

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

.offer-item h3 {
  margin: 0;
}

.offer-item h3 a {
  text-decoration: none;
  color: var(--meadow-deep);
}

.offer-item p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

/* Quote strip */
.quote-block {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--meadow-deep);
}

.quote-block cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-family: var(--font-display);
  font-weight: 550;
  color: var(--meadow-deep);
}

.rate-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--meadow-deep);
  white-space: nowrap;
}

/* Reviews */
.review-list {
  display: grid;
  gap: 1.75rem;
}

.review {
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.review:first-child {
  border-top: 0;
  padding-top: 0;
}

.review .meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

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

.case-story {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--meadow);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-teaser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 0.85rem;
}

.blog-teaser h3 {
  margin-bottom: 0.35rem;
}

.blog-teaser h3 a {
  text-decoration: none;
  color: var(--meadow-deep);
}

.blog-teaser .meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
}

.article-cover {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 2rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

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

label {
  font-weight: 560;
  font-size: 0.92rem;
  color: var(--meadow-deep);
}

input,
select,
textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--meadow);
  box-shadow: 0 0 0 3px rgba(47, 107, 84, 0.15);
}

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

.field-error {
  color: #9b2c2c;
  font-size: 0.85rem;
  display: none;
}

.form-row.has-error .field-error {
  display: block;
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #9b2c2c;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e3f2e8;
  color: var(--meadow-deep);
  border: 1px solid var(--sage);
}

.form-status.is-error {
  display: block;
  background: #fdecea;
  color: #9b2c2c;
  border: 1px solid #e8a0a0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.contact-aside {
  padding: 1.5rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
  height: fit-content;
}

.contact-aside p {
  margin-bottom: 0.65rem;
}

/* Process steps (ablauf) */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 550;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

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

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

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

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
}

/* Legal */
.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: 1.35rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: var(--mist);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: var(--meadow-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom p {
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 200;
  max-width: 34rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  animation: rise 0.5s var(--ease) both;
}

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

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cookie-actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.cookie-link {
  margin-left: auto;
  font-size: 0.9rem;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--sage);
  line-height: 1;
  margin-bottom: 0.25rem;
}

/* Inline script error */
.runtime-error {
  background: #fdecea;
  color: #9b2c2c;
  padding: 0.75rem 1rem;
  margin: 0.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid #e8a0a0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .offer-grid,
  .blog-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .offer-grid,
  .blog-grid,
  .footer-inner,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(78vh, 34rem);
  }

  .cookie-link {
    margin-left: 0;
    width: 100%;
  }
}
