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

:root {
  --blue:         #1a45c0;
  --blue-dark:    #1234a0;
  --blue-light:   #e8eeff;
  --green:        #3d8a18;
  --green-dark:   #2d6a10;
  --green-light:  #e6f5da;
  --text:         #1a2340;
  --text-muted:   #566280;
  --white:        #ffffff;
  --bg:           #f4f7ff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.11);
  --shadow-lg:    0 16px 56px rgba(0,0,0,0.16);
  --radius:       1.25rem;
  --ease:         0.25s cubic-bezier(0.25,0.46,0.45,0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,69,192,0.09);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  height: 150px;
  width: auto;
  display: block;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { transform: scaleX(1); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #f0f4ff 0%, #fafffe 60%, #f0f9ea 100%);
  overflow: hidden;
  padding: 5rem 2rem 12rem;
}

/* Soft ambient blobs */
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -140px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26,69,192,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 80px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61,138,24,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.brand-title {
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
  flex-wrap: wrap;
}

.brand-it     { color: var(--blue); }
.brand-und    { color: var(--text-muted); font-weight: 300; font-size: 0.45em; }
.brand-garten { color: var(--green); }

.hero-name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3em;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: #1a2340;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2.75rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 28px rgba(26,69,192,0.32);
  transition: transform var(--ease), box-shadow var(--ease);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(26,69,192,0.42);
}

.hero-btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

/* Hero bottom: wave + corner swatches */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  pointer-events: none;
  z-index: 1;
}

.hero-wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-corners {
  position: absolute;
  inset: 0;
  display: flex;
}

.corner-blue,
.corner-green {
  display: block;
  height: 100%;
  flex: 1;
}

/* ===== SHARED ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.section-heading--light { color: var(--white); }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3.25rem;
  line-height: 1.6;
}

.section-sub--light { color: rgba(255,255,255,0.78); }

/* ===== SERVICES ===== */
.services {
  padding: 6rem 0 7rem;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease);
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.svc-card--it     { border-top-color: var(--blue); }
.svc-card--garten { border-top-color: var(--green); }

.svc-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.svc-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-icon svg   { width: 28px; height: 28px; }
.svc-icon--it   { background: var(--blue);  color: var(--white); }
.svc-icon--garten { background: var(--green); color: var(--white); }

.svc-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.svc-title--it     { color: var(--blue); }
.svc-title--garten { color: var(--green); }

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.svc-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text);
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check svg    { width: 13px; height: 13px; }
.check--it    { background: var(--blue);  color: var(--white); }
.check--garten { background: var(--green); color: var(--white); }

/* ===== PRICING NOTE ===== */
.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pricing-note__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

.pricing-note strong {
  color: var(--text);
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  padding: 6rem 0 7rem;
  background: linear-gradient(145deg, #121e50 0%, #1a45c0 55%, #2a6012 100%);
  overflow: hidden;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem 3.25rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 1.25rem 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 24px; height: 24px; }
.contact-icon--blue  { background: var(--blue);  color: var(--white); }
.contact-icon--green { background: var(--green); color: var(--white); }

.contact-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-text strong { font-size: 1.05rem; font-weight: 700; color: var(--text); }

.contact-hours {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.contact-text a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--ease);
}

.contact-text a:hover { color: var(--blue); }

.contact-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.contact-wave svg { display: block; width: 100%; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0c1530;
  color: rgba(255,255,255,0.65);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-inner p { font-size: 0.88rem; }

.footer-nav {
  display: flex;
  gap: 1.75rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--ease);
}

.footer-nav a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 1.25rem; }

  .main-nav { gap: 1.25rem; }
  .main-nav a { font-size: 0.82rem; }

  .hero { padding: 3.5rem 1.25rem 11rem; }

  .brand-title { gap: 0.2em; }

  .svc-card { padding: 2rem 1.75rem; }

  .contact-card {
    padding: 2rem 1.75rem;
    margin: 0;
  }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 440px) {
  .main-nav a[href="/impressum"],
  .main-nav a[href="/datenschutz"] { display: none; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.svc-card.fade-up:nth-child(2) {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}
