:root {
  --green: #176f16;
  --green-dark: #0d4d0d;
  --green-soft: #edf7eb;
  --black: #171717;
  --muted: #666;
  --line: #e7e7e7;
  --shadow: 0 16px 45px rgba(0,0,0,.12);
  --radius: 22px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--black);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

/* Startbild */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #f7f7f2;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 1.15s ease, transform 1.15s ease, filter 1.15s ease, visibility 1.15s ease;
}
.intro-screen::before {
  content: "";
  position: absolute;
  inset: -35px;
  background: url('../images/rs-hero.png') center/cover no-repeat;
  filter: blur(16px) saturate(1.05);
  transform: scale(1.05);
  opacity: .42;
}
body.intro-active { overflow: hidden; }
.intro-screen.is-hidden {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(16px);
  visibility: hidden;
  pointer-events: none;
}
.intro-image {
  position: relative;
  z-index: 1;
  width: min(900px, 86vw);
  max-height: 62vh;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  background: #fff;
}
.intro-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18));
  pointer-events: none;
}
.intro-button {
  position: absolute;
  z-index: 3;
  bottom: clamp(74px, 11vh, 96px);
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.intro-hint {
  position: absolute;
  z-index: 3;
  bottom: clamp(36px, 6vh, 54px);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
  font-weight: 800;
  width: calc(100% - 36px);
  text-align: center;
}

/* Header / Navigation */
.site-header {
  position: sticky; top: 0; z-index: 20;
  min-height: 84px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; min-width: 0; }
.brand-rs { font-family: Georgia, serif; font-size: 2.55rem; line-height: 1; }
.brand-icon { color: var(--green); font-size: 1.45rem; }
.brand-text { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 800; }
.main-nav a:not(.nav-cta):hover { color: var(--green); }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px;
  background: var(--green); color: #fff;
  padding: 13px 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23,111,22,.22);
  min-height: 48px;
}
.btn:hover, .nav-cta:hover { background: var(--green-dark); }
.btn-small { padding: 11px 16px; font-size: .95rem; min-height: 44px; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(430px, 58vw, 650px);
  overflow: hidden;
  display: grid;
  place-items: end start;
  background: #eef6ea;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.38), rgba(255,255,255,.08));
}
.hero-card {
  position: relative;
  z-index: 2;
  width: min(570px, calc(100% - 36px));
  margin: 0 0 clamp(30px, 7vw, 70px) clamp(18px, 6vw, 90px);
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  background: rgba(255,255,255,.91);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero-card p, .eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 900; }
h1, h2 { margin: 0 0 16px; line-height: 1.14; }
h1 { font-size: clamp(2rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }

.section-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 72px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.welcome p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.image-card {
  min-height: 330px;
  border-radius: var(--radius);
  background: linear-gradient(rgba(255,255,255,.05), rgba(0,0,0,.1)), url('../images/rs-hero.png') center/cover;
  box-shadow: var(--shadow);
}
.center { text-align: center; }
.section-intro { color: var(--muted); margin-top: -8px; }
.services-section { width: min(1160px, calc(100% - 36px)); margin: 72px auto; }
.service-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; margin-top: 28px; }
.service-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.07);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  padding: 16px 10px;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(23,111,22,.35); }
.service-card span { font-size: 2.2rem; }
.service-card strong { font-size: .95rem; line-height: 1.2; }

.about-contact { align-items: stretch; }
.about-box, .contact-box {
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-box { display: grid; grid-template-columns: 140px 1fr; gap: 26px; background: linear-gradient(135deg, var(--green-soft), #fff); }
.avatar { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: #e5e5e5; font-size: 3.5rem; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badges span { padding: 10px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 900; color: var(--green-dark); }
.contact-form { display: grid; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
label { display: grid; gap: 6px; font-weight: 800; color: #333; }
input, textarea { width: 100%; border: 1px solid #d7d7d7; border-radius: 12px; padding: 14px 15px; font: inherit; font-size: 16px; }
input:focus, textarea:focus { outline: 3px solid rgba(23,111,22,.16); border-color: var(--green); }

.form-actions { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; align-items: stretch; }
.btn-secondary { background: #2f2f2f; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.btn-secondary:hover { background: #111; }
.whatsapp-submit { background: #159947; }
.whatsapp-submit:hover { background: #0f7f3a; }
.form-note { margin: 2px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

.phone-box { margin-top: 22px; padding: 18px; border-radius: 16px; background: var(--green-soft); display: grid; gap: 4px; }
.phone-box a { color: var(--green); font-size: 1.45rem; font-weight: 900; }
.trust-strip { width: min(1120px, calc(100% - 36px)); margin: 48px auto 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-strip div { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.07); }
.trust-strip strong { display: block; margin-bottom: 4px; }
.trust-strip span { color: var(--muted); }

.site-footer { background: #171717; color: #fff; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 30px; padding: 48px clamp(18px, 5vw, 80px) 24px; }
.site-footer a { color: #fff; }
.footer-brand { display: grid; align-content: start; gap: 6px; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; color: #ccc; font-size: .9rem; }
.mobile-contact-bar { display: none; }

/* Popups */
.modal-backdrop[hidden] { display: none !important; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.55);
  display: grid; place-items: center;
  padding: 20px;
}
.service-modal {
  width: min(640px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  position: relative;
  animation: modalIn .18s ease-out;
}
@keyframes modalIn { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.94); font-size: 2rem; cursor: pointer;
  z-index: 3;
  box-shadow: 0 3px 14px rgba(0,0,0,.15);
}
.modal-image { min-height: 210px; background: url('../images/rs-hero.png') center/cover; }
.modal-content { padding: 28px; }
.modal-content p { color: var(--muted); font-size: 1.05rem; }
.modal-contact { margin-top: 14px; width: 100%; }

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  body { padding-bottom: calc(76px + var(--safe-bottom)); }
  .site-header { min-height: 72px; padding: 10px 16px; }
  .brand-rs { font-size: 2.05rem; }
  .brand-icon { font-size: 1.2rem; }
  .brand-text { font-size: .66rem; letter-spacing: .08em; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    background: #fff;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; border-radius: 12px; }
  .main-nav a:not(.nav-cta) { background: #f7f7f7; }
  .nav-cta { width: 100%; }
  .hero { min-height: 520px; place-items: end center; }
  .hero img { object-position: center; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.88)); }
  .hero-card { margin: 0 16px 22px; width: calc(100% - 32px); }
  .section-grid, .about-box, .site-footer, .trust-strip { grid-template-columns: 1fr; }
  .section-grid, .services-section { width: min(100% - 28px, 680px); margin: 48px auto; }
  .image-card { min-height: 230px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { min-height: 118px; }
  .about-box { text-align: left; }
  .avatar { width: 112px; height: 112px; font-size: 3rem; }
  .form-row, .form-actions { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: calc(90px + var(--safe-bottom)); }
  .mobile-contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + var(--safe-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .mobile-contact-bar a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
  }
  .mobile-contact-bar .call { background: var(--green); }
  .mobile-contact-bar .whatsapp { background: #159947; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(1.75rem, 8vw, 2.45rem); }
  h2 { font-size: clamp(1.4rem, 7vw, 2rem); }
  .intro-image {
    width: min(88vw, 430px);
    max-height: 52vh;
    border-radius: 18px;
  }
  .intro-button { bottom: 84px; padding: 13px 18px; font-size: .95rem; }
  .intro-hint { bottom: 42px; font-size: .92rem; }
  .hero { min-height: 480px; }
  .hero-card { padding: 22px; }
  .btn, .nav-cta { width: 100%; }
  .welcome p:not(.eyebrow) { font-size: 1rem; }
  .service-card { min-height: 106px; padding: 12px 8px; gap: 8px; }
  .service-card span { font-size: 1.85rem; }
  .service-card strong { font-size: .88rem; }
  .about-box, .contact-box { padding: 20px; border-radius: 18px; }
  .badges { display: grid; grid-template-columns: 1fr; }
  .phone-box a { font-size: 1.25rem; }
  .modal-backdrop { padding: 10px; align-items: end; }
  .service-modal {
    width: 100%;
    max-height: calc(92dvh - var(--safe-bottom));
    border-radius: 22px 22px 0 0;
  }
  .modal-image { min-height: 160px; }
  .modal-content { padding: 22px; }
}

@media (max-width: 360px) {
  .brand-text { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .mobile-contact-bar { grid-template-columns: 1fr; }
  body { padding-bottom: calc(132px + var(--safe-bottom)); }
}
