:root {
  --pine: #1e4a3c;
  --pine-deep: #143328;
  --moss: #4f7a66;
  --sage: #a8c0b0;
  --mist: #e8eee9;
  --paper: #f5f7f4;
  --ink: #1a2420;
  --muted: #54605a;
  --brass: #b8923f;
  --brass-soft: #e8d5a3;
  --line: rgba(30, 74, 60, 0.14);
  --white: #ffffff;
  --danger: #8b3a2f;
  --ok: #2d6a4f;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(20, 51, 40, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(168, 192, 176, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(184, 146, 63, 0.12), transparent 45%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.2;
  color: var(--pine-deep);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #f8e8e4;
  color: var(--danger);
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 244, 0.92);
  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;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 42%, var(--paper) 0 18%, transparent 19%),
    linear-gradient(145deg, var(--pine) 0%, var(--moss) 100%);
  box-shadow: inset 0 0 0 2px rgba(212, 168, 75, 0.55);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pine-deep);
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

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

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

.nav-cta {
  background: var(--pine);
  color: var(--paper) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  background: var(--pine-deep);
  transform: translateY(-1px);
  color: var(--brass-soft) !important;
}

.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.35rem;
  height: 2px;
  background: var(--pine);
  margin: 4px 0;
}

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

.section {
  padding: 4.5rem 0;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--pine);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--pine-deep);
  color: var(--brass-soft);
}

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

.btn-ghost:hover {
  background: rgba(30, 74, 60, 0.06);
  color: var(--pine-deep);
}

.btn-brass {
  background: var(--brass);
  color: var(--pine-deep);
}

.btn-brass:hover {
  background: #a07e32;
  color: var(--white);
}

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

/* Hero — full-bleed, brand-first */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 51, 40, 0.88) 0%, rgba(20, 51, 40, 0.55) 48%, rgba(20, 51, 40, 0.25) 100%),
    linear-gradient(0deg, rgba(20, 51, 40, 0.7) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem 4rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-brand em {
  font-style: italic;
  color: var(--brass-soft);
  font-weight: 450;
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 450;
  max-width: 28rem;
  margin-bottom: 0.85rem;
}

.hero .hero-text {
  max-width: 32rem;
  color: rgba(245, 247, 244, 0.88);
  font-size: 1.05rem;
}

.hero .btn-primary {
  background: var(--brass);
  color: var(--pine-deep);
}

.hero .btn-primary:hover {
  background: var(--brass-soft);
}

.hero .btn-ghost {
  border-color: rgba(245, 247, 244, 0.55);
  color: var(--paper);
}

.hero .btn-ghost:hover {
  background: rgba(245, 247, 244, 0.1);
  color: var(--brass-soft);
}

@keyframes heroDrift {
  from {
    transform: scale(1.05) translateY(0);
  }
  to {
    transform: scale(1.12) translateY(-2%);
  }
}

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

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

.reveal {
  animation: fadeSlide 0.8s ease both;
}

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

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

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: 2px;
}

.panel + .panel {
  margin-top: 1rem;
}

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

.list-check li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brass);
}

/* Offer grid — not cards in hero; interaction containers for browsing */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.offer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.offer img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.offer-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.offer p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.offer .offer-link {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--pine);
}

/* Quote / reviews */
.quote-stack {
  display: grid;
  gap: 1.25rem;
}

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

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

.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 450;
  color: var(--pine-deep);
}

.quote footer {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(30, 74, 60, 0.06), transparent 60%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 0.5rem;
}

.page-hero-visual {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 2px;
  max-height: 320px;
}

.page-hero-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  animation: heroDrift 30s ease-in-out infinite alternate;
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.rate-table th {
  background: var(--pine);
  color: var(--paper);
  font-weight: 600;
}

.rate-table tr:last-child td {
  border-bottom: none;
}

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

/* Blog */
.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.blog-item:hover h2 {
  color: var(--moss);
}

.blog-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.article-cover {
  margin: 0 0 2rem;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.article h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.1rem;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

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

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: #e4f0ea;
  color: var(--ok);
}

.form-status.is-error {
  background: #f8e8e4;
  color: var(--danger);
}

.address-block p {
  margin-bottom: 0.35rem;
}

/* Timeline / Ablauf */
.timeline {
  position: relative;
  margin: 2rem 0 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--sage);
}

.timeline-step {
  position: relative;
  padding: 0 0 2rem 1.25rem;
  animation: fadeSlide 0.7s ease both;
}

.timeline-step:nth-child(2) {
  animation-delay: 0.1s;
}
.timeline-step:nth-child(3) {
  animation-delay: 0.2s;
}
.timeline-step:nth-child(4) {
  animation-delay: 0.3s;
}
.timeline-step:nth-child(5) {
  animation-delay: 0.4s;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 0 4px var(--mist);
}

.timeline-step h3 {
  font-size: 1.25rem;
}

/* Legal */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
}

.legal h1 {
  font-size: 2.2rem;
}

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

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

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

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

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: var(--pine);
}

/* Footer */
.site-footer {
  background: var(--pine-deep);
  color: rgba(245, 247, 244, 0.88);
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

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

.footer-lead {
  max-width: 36rem;
  color: rgba(245, 247, 244, 0.7);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 2rem;
}

.footer-col h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 0.85rem;
}

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

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

.footer-col a {
  color: rgba(245, 247, 244, 0.85);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--brass-soft);
}

.footer-copy {
  border-top: 1px solid rgba(245, 247, 244, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(245, 247, 244, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 2px;
  animation: riseIn 0.45s ease both;
}

.cookie-banner-inner {
  padding: 1.15rem 1.25rem;
}

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

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

/* Misc */
.cta-band {
  background: linear-gradient(120deg, var(--pine) 0%, var(--moss) 100%);
  color: var(--paper);
  padding: 3.5rem 0;
  margin-top: 2rem;
}

.cta-band h2 {
  color: var(--paper);
}

.cta-band p {
  color: rgba(245, 247, 244, 0.85);
  max-width: 36rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.person img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.person h3 {
  margin-bottom: 0.25rem;
}

.person .role {
  color: var(--moss);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.fact {
  padding: 1.25rem 0;
  border-top: 2px solid var(--brass);
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--pine-deep);
  margin-bottom: 0.25rem;
}

.fact span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .split,
  .split-reverse,
  .contact-grid,
  .offer-grid,
  .people-grid,
  .fact-row,
  .footer-cols,
  .blog-item {
    grid-template-columns: 1fr;
  }

  .split img {
    height: 280px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(245, 247, 244, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }

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

  .site-nav a {
    padding: 0.65rem 0.25rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

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