/* Gartenpflege Wien - Landing Page Styles
   Mobile-first, optimized for Google Ads CTR */

:root {
  --green: #2d7a3e;
  --green-dark: #1f5a2c;
  --green-light: #e8f3ec;
  --accent: #f4a72b;
  --accent-dark: #d68d12;
  --bg: #fafdf7;
  --bg-alt: #ffffff;
  --text: #1a2820;
  --text-soft: #4a5a52;
  --border: #d8e4dc;
  --shadow: 0 4px 16px rgba(45, 122, 62, 0.08);
  --shadow-lg: 0 8px 32px rgba(45, 122, 62, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.logo-icon { width: 28px; height: 28px; flex-shrink: 0; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s;
}

.header-phone:hover { background: var(--accent-dark); color: #fff !important; }
.header-phone svg { width: 18px; height: 18px; }
.header-phone .phone-text { display: none; }

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1f5a2c 0%, #2d7a3e 50%, #3b9650 100%);
  color: #fff;
  overflow: hidden;
  padding: 48px 0 56px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: 17px;
  margin-bottom: 28px;
  opacity: 0.95;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  max-width: 320px;
}

.btn svg { width: 22px; height: 22px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--green-dark);
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: transparent;
  color: #fff;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ========== SECTION COMMON ========== */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-lead {
  font-size: 17px;
  color: var(--text-soft);
}

/* ========== PROBLEMS ========== */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.problem-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.problem-icon {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--green);
}

.problem-icon svg { width: 30px; height: 30px; }

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 15px;
  color: var(--text-soft);
}

.problems-solution {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--accent);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius);
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}

.service-icon svg { width: 32px; height: 32px; }

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-soft);
}

/* ========== BENEFITS ========== */
.benefits-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.benefits-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.benefits-list {
  list-style: none;
  display: grid;
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg { width: 26px; height: 26px; }

.benefit-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 15px;
  color: var(--text-soft);
}

/* ========== ABOUT ========== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  margin: 0 auto;
}

.about-text h2 { text-align: left; }
.about-text p { margin-bottom: 16px; color: var(--text-soft); font-size: 16px; }
.about-text .about-lead { font-size: 18px; color: var(--text); font-weight: 500; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius);
  margin: 0 20px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 26px;
}

.cta-banner p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 24px;
}

/* ========== CONTACT FORM ========== */
.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-row { margin-bottom: 16px; }

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row.error input,
.form-row.error textarea { border-color: #d04949; }

.form-error {
  font-size: 13px;
  color: #d04949;
  margin-top: 4px;
  display: none;
}

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

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.form-check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
}

.form .btn { width: 100%; max-width: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  background: var(--green-light);
  border-radius: var(--radius);
  color: var(--green-dark);
}

.form-success.show { display: block; }
.form.hidden { display: none; }

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--green);
  margin-bottom: 12px;
}

.form-success h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-or {
  text-align: center;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-soft);
  position: relative;
}

.contact-or::before,
.contact-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border);
}

.contact-or::before { left: 0; }
.contact-or::after { right: 0; }

.contact-phone-cta {
  text-align: center;
  margin-top: 24px;
}

.contact-phone-cta .btn { display: inline-flex; }

/* ========== FOOTER ========== */
.footer {
  background: #1a2820;
  color: #cfd8d2;
  padding: 40px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer p, .footer li { margin-bottom: 6px; }
.footer a { color: #b8c8c0; }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; }

.footer-bottom {
  border-top: 1px solid #2a3830;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8a9890;
}

/* ========== FLOATING CALL BUTTON (mobile) ========== */
.float-call {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(244, 167, 43, 0.5);
  z-index: 99;
  animation: pulse 2s infinite;
}

.float-call svg { width: 28px; height: 28px; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(244, 167, 43, 0.5); }
  50% { box-shadow: 0 6px 28px rgba(244, 167, 43, 0.8); }
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding: 48px 0;
  min-height: 60vh;
}

.legal-page h1 {
  font-size: 28px;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 20px;
  color: var(--green-dark);
  margin: 24px 0 12px;
  text-align: left;
}

.legal-page p, .legal-page address {
  margin-bottom: 12px;
  color: var(--text);
  font-style: normal;
}

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-weight: 600;
}

/* ========== TABLET ========== */
@media (min-width: 640px) {
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 48px; }
  .hero-sub { font-size: 19px; }
  .hero-cta { flex-direction: row; justify-content: center; }
  .btn { width: auto; }
  .header-phone .phone-text { display: inline; }

  .section { padding: 72px 0; }
  .section h2 { font-size: 34px; }

  .problems-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-wrap { grid-template-columns: 1fr 1fr; }
  .about-wrap { grid-template-columns: 320px 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .cta-banner { padding: 64px 32px; }
  .cta-banner h2 { font-size: 32px; }
}

/* ========== DESKTOP ========== */
@media (min-width: 1024px) {
  .hero { padding: 96px 0 100px; }
  .hero h1 { font-size: 60px; }
  .hero-sub { font-size: 20px; }

  .section h2 { font-size: 38px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .float-call { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
