:root {
  --green-950: #102015;
  --green-900: #193520;
  --green-800: #24522d;
  --green-700: #2f6d38;
  --green-500: #78a342;
  --green-200: #dce9ca;
  --cream: #f7f3e9;
  --paper: rgba(255, 255, 255, 0.92);
  --text: #1d271f;
  --muted: #58665a;
  --shadow: 0 28px 90px rgba(16, 32, 21, 0.24);
  --radius-xl: 34px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(120, 163, 66, 0.34), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(220, 233, 202, 0.55), transparent 31%),
    linear-gradient(135deg, #eff5e6 0%, #d9e7c7 45%, #f7f3e9 100%);
}

body.home {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

body.home::before,
body.home::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
}

body.home::before {
  width: 42vmin;
  height: 42vmin;
  right: -11vmin;
  bottom: -12vmin;
  background: rgba(47, 109, 56, 0.18);
}

body.home::after {
  width: 26vmin;
  height: 26vmin;
  left: -8vmin;
  top: 46vh;
  background: rgba(120, 163, 66, 0.22);
}

.page-shell {
  position: relative;
  z-index: 1;
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(18px, 2.8vw, 44px) clamp(22px, 3vw, 50px) 62px;
}

.hero-card {
  width: min(1440px, 100%);
  max-width: 100%;
  height: min(820px, calc(100vh - 88px));
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(560px, 1.18fr);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vh, 40px);
  padding: clamp(26px, 4vw, 56px);
  color: white;
  background:
    linear-gradient(160deg, rgba(16, 32, 21, 0.92), rgba(36, 82, 45, 0.92)),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, 0.04) 22px 23px);
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: auto -42px -72px auto;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  border: 34px solid rgba(220, 233, 202, 0.16);
}

.logo-backdrop {
  width: min(100%, 440px);
  padding: clamp(18px, 2.5vw, 30px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.logo {
  width: 100%;
  height: auto;
  display: block;
}

.claim {
  max-width: 430px;
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: -0.045em;
}

.content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(2rem, 3vw, 3.65rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: clamp(22px, 3vh, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 16px 12px 42px;
  color: var(--green-950);
  line-height: 1.25;
  border-radius: 18px;
  background: rgba(220, 233, 202, 0.72);
  border: 1px solid rgba(47, 109, 56, 0.14);
}

.services li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  box-shadow: 0 0 0 6px rgba(120, 163, 66, 0.13);
}

.contact-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(22px, 3vh, 34px);
}

.button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  color: white;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  box-shadow: 0 16px 34px rgba(47, 109, 56, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(47, 109, 56, 0.32);
}

.contact-lines {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.contact-lines a {
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(16, 32, 21, 0.76);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green-900);
  text-decoration: underline;
}

.legal-page {
  min-height: 100vh;
  overflow: auto;
  background: var(--cream);
}

.legal-wrap {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 70px;
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 28px;
  background: white;
  box-shadow: 0 22px 64px rgba(16, 32, 21, 0.12);
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--green-800);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

.legal-card h1 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.legal-card h2 {
  margin: 28px 0 10px;
  color: var(--green-900);
  font-size: 1.25rem;
}

.legal-card p {
  margin: 0 0 14px;
  color: #344138;
  line-height: 1.66;
}

.legal-card a {
  color: var(--green-800);
}

@media (max-width: 1040px) {
  .hero-card {
    grid-template-columns: 0.74fr 1.26fr;
    height: min(760px, calc(100vh - 86px));
  }

  .services {
    gap: 10px;
  }

  .services li {
    min-height: 60px;
    font-size: 0.95rem;
  }
}

@media (max-width: 860px) {
  body.home {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .page-shell {
    height: auto;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 16px 14px 76px;
  }

  .hero-card {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .brand-panel,
  .content-panel {
    min-width: 0;
    padding: 28px 22px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .contact-area {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    width: calc(100% - 28px);
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-height: 700px) and (min-width: 861px) {
  .page-shell {
    padding: 22px 44px 60px;
  }

  .hero-card {
    height: calc(100vh - 92px);
    min-height: 0;
  }

  .brand-panel,
  .content-panel {
    padding: 28px 38px;
  }

  .claim {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  }

  h1 {
    font-size: clamp(1.9rem, 2.7vw, 3rem);
  }

  .services {
    gap: 10px;
    margin-top: 18px;
  }

  .services li {
    min-height: 48px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 0.92rem;
  }

  .contact-area {
    margin-top: 18px;
  }

  .button {
    min-height: 48px;
  }
}

@media (min-width: 861px) and (max-height: 820px) {
  .hero-card {
    height: calc(100vh - 78px);
  }

  .brand-panel,
  .content-panel {
    padding: clamp(24px, 3.2vw, 44px);
  }

  .logo-backdrop {
    width: min(100%, 380px);
    padding: 18px;
  }

  .claim {
    font-size: clamp(1.35rem, 2vw, 2rem);
  }

  h1 {
    font-size: clamp(1.85rem, 2.55vw, 3.1rem);
  }

  .eyebrow {
    margin-bottom: 10px;
  }
}


@media (max-width: 420px) {
  .page-shell {
    padding-inline: 10px;
  }

  .brand-panel,
  .content-panel {
    padding-inline: 18px;
  }

  .services li {
    padding-right: 12px;
    padding-left: 38px;
  }

  .services li::before {
    left: 15px;
  }
}


/* Mobile: nur ein Scrollbereich für die gesamte Seite */
@media (max-width: 860px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
  }

  body.home {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .page-shell {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 14px 14px 0;
  }

  .hero-card {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .site-footer {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    transform: none;
    padding: 20px 14px 28px;
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 10px 10px 0;
  }
}
