/* ===== SBK-NORD - Modern Professional Design ===== */

:root {
  /* Colors - Premium Green & Gold Palette */
  --primary: #154c2a;
  /* Deeper, more sophisticated green */
  --primary-light: #1e6b3b;
  --primary-dark: #0d351d;
  --accent: #e3b65d;
  /* Brighter, more metallic gold */
  --accent-hover: #d4a84b;
  --secondary: #2d7a46;

  /* Modern Neutrals */
  --white: #ffffff;
  --black: #050a07;
  --gray-50: #f8faf9;
  /* Slightly tinted for warmth */
  --gray-100: #f1f4f2;
  --gray-200: #e2e8e4;
  --gray-300: #cbd5ce;
  --gray-400: #94a399;
  --gray-500: #64746b;
  --gray-600: #47554e;
  --gray-700: #334139;
  --gray-800: #1e2923;
  --gray-900: #0f1712;

  /* Shadows - Layered for depth */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition-base);
}

.header.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 52px;
  transition: var(--transition-base);
}

.header.scrolled .logo img {
  height: 44px;
}

.nav-desktop {
  display: flex;
  gap: 4px;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
}

.nav-desktop a:hover {
  color: var(--primary);
  background: var(--gray-100);
}

.nav-desktop a.active {
  color: var(--white);
  background: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* .header-phone::before removed to allow manual icons in HTML (e.g. 📱 and 📞) */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 24px;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
}

.nav-mobile a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-101%);
  transition: var(--transition-base);
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(21, 76, 42, 0.39);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(21, 76, 42, 0.23);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--gray-900);
  box-shadow: 0 4px 14px 0 rgba(227, 182, 93, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(227, 182, 93, 0.2);
}

.btn-lg {
  padding: 20px 48px;
  font-size: 17px;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 76px;
  padding: 120px 0 140px;
  background: radial-gradient(circle at top right, rgba(30, 86, 49, 0.08), transparent 40%),
    radial-gradient(circle at bottom left, rgba(227, 182, 93, 0.05), transparent 40%),
    var(--white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--white);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 28px;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: rotate(2deg);
  transition: var(--transition-slow);
}

.hero-image:hover img {
  transform: rotate(0deg) scale(1.02);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  opacity: 0.2;
  z-index: -1;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== ABOUT SECTION ===== */
.about-content {
  max-width: 860px;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-content strong {
  color: var(--primary);
  font-weight: 700;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: var(--transition-base);
}

.service-card:hover .service-card-image::after {
  opacity: 1;
}

.service-card-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card h6 {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== TEXT BLOCK ===== */
.text-block {
  max-width: 900px;
}

.text-block p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.75;
}

.section-dark .text-block p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  display: flex;
  gap: 28px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(30, 86, 49, 0.1) 0%, rgba(30, 86, 49, 0.05) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 86, 49, 0.1);
}

.feature-content h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

/* Advanced Form Elements */
.type-switch {
  display: flex;
  gap: 24px;
  margin: 16px 0 24px;
  flex-wrap: wrap;
}

.type-switch label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  color: var(--primary);
  font-family: var(--font-secondary);
}

.type-switch input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.info-box {
  border: 1px solid #cfe8e8;
  background: #f2fbfb;
  color: #1f3b3c;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.5;
}

.info-box strong {
  color: var(--primary);
}

.form-section-title {
  margin: 32px 0 16px;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
}

.collapse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.collapse.open {
  max-height: 1000px;
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f7fbff;
  border: 1px solid #e1eefc;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.honeypot {
  display: none !important;
}

@media (max-width: 768px) {
  .type-switch {
    gap: 16px;
  }
}

.feature-content p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== BIO SECTION ===== */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bio-image {
  position: relative;
}

.bio-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.bio-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  opacity: 0.1;
  z-index: -1;
}

.bio-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.bio-content p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  padding: 80px 0;
  background: var(--gray-50);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

.google-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.google-stars {
  font-size: 1.5rem;
  color: #fbbf24;
  /* Color: Google Gold */
  letter-spacing: 2px;
}

.google-rating-summary p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.stars-mini {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.google-logo-small {
  width: 24px;
  height: 24px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #4285F4;
  /* Google Blue */
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.testimonial-author {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1rem;
}

.testimonial-source {
  font-size: 0.8125rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial-source::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

.testimonial-cta {
  text-align: center;
  margin-top: 48px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(30, 86, 49, 0.05);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.contact-name {
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 86, 49, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.contact-item-content a {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-800);
}

.contact-item-content a:hover {
  color: var(--primary);
}

.contact-item-content span {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(21, 76, 42, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
}

.checkbox-group input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-form .btn {
  width: 100%;
  padding: 20px;
  margin-top: 12px;
}

/* Animations Init */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Specific Delay Staggering */
.service-card.reveal-init:nth-child(n) {
  transition-delay: 100ms;
}

.feature-card.reveal-init:nth-child(n) {
  transition-delay: 100ms;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer p {
  font-size: 0.9375rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 24px;
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cookie-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookie-accept {
  background: var(--primary);
  color: var(--white);
  border: none;
}

.cookie-decline {
  background: transparent;
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
}

/* ===== PAGE HERO ===== */
.page-hero {
  margin-top: 80px;
  padding: 80px 0;
  background: linear-gradient(165deg, var(--gray-50) 0%, var(--white) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  margin-top: 80px;
  padding: 60px 0 100px;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 1.375rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-page h3 {
  font-size: 1.125rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--primary);
}

/* ===== GEWERBE GRID ===== */
.gewerbe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gewerbe-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition-base);
}

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

.gewerbe-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.gewerbe-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.gewerbe-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gewerbe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {

  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    margin-top: 72px;
    padding: 60px 0 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-image::before {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.875rem;
  }

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

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

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .contact-form {
    padding: 24px;
  }

  .feature-card {
    padding: 24px;
  }
}

/* --- Pest Analysis Section --- */
.section-dark {
  background: var(--gray-900);
  color: white;
  padding: 100px 0;
}

.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 60px;
}

.analysis-upload-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.analysis-dropzone {
  position: relative;
  min-height: 400px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.analysis-dropzone:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.analysis-dropzone.dragover {
  border-color: var(--primary-light);
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.02);
}

.dropzone-content {
  text-align: center;
  padding: 40px;
}

.dropzone-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.dropzone-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.dropzone-content p {
  color: var(--gray-400);
  margin-bottom: 20px;
}

.dropzone-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.dropzone-badges span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
}

.preview-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: var(--accent);
  transform: scale(1.1);
}

/* Status Box */
.status-box {
  padding: 20px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  font-weight: 600;
}

/* Loader Animation */
.loader {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Result Panel */
.analysis-result-panel {
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-title-group .label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  display: block;
  margin-bottom: 8px;
}

.result-title-group h3 {
  font-size: 2.5rem;
  margin: 0;
  color: white;
  line-height: 1.1;
}

.badge-dringlichkeit {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-dringlichkeit.sofort {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-dringlichkeit.hoch {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-dringlichkeit.mittel {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-dringlichkeit.kein-befall {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.confidence-wrap {
  margin-bottom: 30px;
}

.confidence-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray-400);
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.result-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-300);
  font-style: italic;
  margin-bottom: 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.action-column h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 15px;
}

.action-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-column li {
  font-size: 0.95rem;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-column li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.result-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 30px;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 40px -10px rgba(212, 175, 55, 0.3);
}

.cta-info p {
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.cta-phone {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

/* Empty State */
.analysis-empty-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 60px;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.1;
}

.analysis-empty-state p {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.analysis-empty-state span {
  color: var(--gray-600);
}

.analysis-disclaimer {
  margin-top: 40px;
  padding: 20px 30px;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.analysis-disclaimer strong {
  color: #f59e0b;
}

.hidden {
  display: none !important;
}

.w-100 {
  width: 100%;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .result-header {
    flex-direction: column;
    gap: 20px;
  }

  .result-title-group h3 {
    font-size: 2rem;
  }

  .result-actions-grid {
    grid-template-columns: 1fr;
  }

  .result-cta {
    flex-direction: column;
    text-align: center;
  }
}