/* === Fonts === */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

/* === Base === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-gray {
  background: #f8f8f8;
}

.section-subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #1f9d0f;
  border-radius: 2px;
}

.section-link {
  margin-top: 2.5rem;
  text-align: center;
}

.section-link a {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.2s;
}

.section-link a:hover {
  border-color: #1f9d0f;
  background: #e8f5e4;
}

/* === Header & Navigation === */
.site-header {
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

/* CSS-only mobile menu */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  position: relative;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle:checked ~ .nav-toggle-label .hamburger {
  background: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked ~ .nav-toggle-label .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-toggle:checked ~ .main-nav {
  max-height: 400px;
}

.nav-link {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-top: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.nav-link:hover {
  background: #f8f8f8;
  color: #1a1a1a;
}

.nav-link.active {
  background: #e8f5e4;
  color: #1a1a1a;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
  background: #1f9d0f;
  color: #ffffff;
  border-color: #1f9d0f;
}

.btn-primary:hover {
  background: #178a0a;
  border-color: #178a0a;
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border-color: #d0d0d0;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
}

/* === Hero === */
.hero {
  background: #0f0f0f;
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(31,157,15,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(31,157,15,0.06) 0%, transparent 50%),
    linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f9d0f, #178a0a, #1f9d0f);
  z-index: 2;
}

.hero-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4dc63d;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  animation: fadeInUp 0.6s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Stats === */
.stats {
  background: #1a1a1a;
  padding: 2rem 0;
  border-bottom: 1px solid #333;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #4dc63d;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === About === */
.about h2 {
  display: inline-block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}

.about-photo img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin: 0 auto;
  display: block;
}

.about-content {
  max-width: 700px;
}

.about-quote {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  background: #e8f5e4;
  border-radius: 8px;
  line-height: 1.4;
}

/* === Card Grid === */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid #1f9d0f;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f9d0f, #178a0a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #e8f5e4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #1a1a1a;
  transition: background 0.3s;
}

.card:hover .card-icon {
  background: #1f9d0f;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card p {
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.card .btn {
  margin-top: auto;
  align-self: center;
}

/* Dark cards for business section */
.services-dark {
  background: #1a1a1a;
  color: #ffffff;
}

.services-dark h2 {
  color: #ffffff;
}

.services-dark h2::after {
  background: #1f9d0f;
}

.services-dark .section-subtitle {
  color: #999;
}

.card-dark {
  background: #252525;
  color: #ffffff;
  border-top-color: #1f9d0f;
}

.card-dark .card-icon {
  background: rgba(31,157,15,0.2);
  color: #4dc63d;
}

.card-dark:hover .card-icon {
  background: #1f9d0f;
  color: #1a1a1a;
}

.card-dark h3 {
  color: #ffffff;
}

.card-dark p {
  color: #aaa;
}

.card-dark:hover {
  background: #2d2d2d;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* === Project Cards === */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem;
  border-left: 4px solid #1f9d0f;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateX(4px);
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #e8f5e4;
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #b8e0b0;
}

.project-card p:last-child {
  color: #666;
  margin-bottom: 0;
  line-height: 1.7;
}

.project-card a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: underline;
}

/* === Projekte Page === */
.projekte-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 4px solid #1f9d0f;
  display: inline-block;
}

.projekte-intro {
  font-size: 1.15rem;
  color: #666;
  max-width: 650px;
}

.project-grid-2col {
  grid-template-columns: 1fr;
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}

.project-card-header h3 {
  margin-bottom: 0;
  min-width: 0;
  word-break: break-word;
}

.project-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: #f0f0f0;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-live {
  background: #e8f5e4;
  color: #1f9d0f;
}

.project-features {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.project-features li {
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: #666;
}

.project-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: #1f9d0f;
  border-radius: 50%;
}

.project-card-highlight {
  border-left-color: #1f9d0f;
  border-left-width: 5px;
  background: #fafffe;
}

.project-link {
  margin-top: 1rem;
  display: inline-block;
}

/* === Feature List (Foto & Video) === */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-top: 3px solid #1f9d0f;
  transition: all 0.3s;
}

.feature-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #e8f5e4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f9d0f;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.feature-item p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* === CTA Dark === */
.cta-dark {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #ffffff;
  padding: 5rem 0;
}

.cta-dark h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-dark h2::after {
  display: none;
}

.cta-dark p {
  color: #bbb;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-container {
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* === Page Content (single pages) === */
.page-content h1 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #1f9d0f;
}

.page-content h2 {
  margin-top: 2.5rem;
}

.page-content h3 {
  margin-top: 1.5rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.35rem;
  line-height: 1.7;
}

.page-content a {
  color: #1a1a1a;
  text-decoration: underline;
  font-weight: 600;
}

.page-content a:hover {
  color: #555;
}

/* Service tables */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.95rem;
  border-radius: 8px;
  overflow: hidden;
}

.page-content thead {
  background: #1a1a1a;
  color: #ffffff;
}

.page-content th,
.page-content td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}

.page-content th {
  font-weight: 600;
}

.page-content tbody tr:hover {
  background: #e8f5e4;
}

/* Contact info styling (legacy for other pages) */
.contact-info {
  background: #f8f8f8;
  border-left: 4px solid #1f9d0f;
  border-radius: 0 12px 12px 0;
  padding: 2rem;
  margin: 1.5rem 0;
}

.contact-info p {
  font-size: 1.05rem;
}

/* === Contact Page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
  text-decoration: none;
  color: #1a1a1a;
  border-top: 3px solid #1f9d0f;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-card-whatsapp {
  border-top-color: #25D366;
}

.contact-card-whatsapp .contact-card-icon {
  background: rgba(37,211,102,0.1);
  color: #25D366;
}

.contact-card-whatsapp:hover .contact-card-icon {
  background: #25D366;
  color: #ffffff;
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: #e8f5e4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #1f9d0f;
  transition: all 0.3s;
}

.contact-card:hover .contact-card-icon {
  background: #1f9d0f;
  color: #ffffff;
}

.contact-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.contact-info-block {
  padding: 2rem;
  background: #f8f8f8;
  border-radius: 12px;
  border-left: 4px solid #1f9d0f;
}

.contact-info-block h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-info-block h2::after {
  display: none;
}

.contact-info-block .btn {
  margin-top: 0.75rem;
}

.contact-photo {
  height: 40vh;
  min-height: 250px;
  max-height: 450px;
  background: url('/img/desk.jpg') center 40%/cover no-repeat;
  position: relative;
}

.contact-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(15,15,15,0.6) 100%);
}

/* === Footer === */
.site-footer {
  background: #0f0f0f;
  color: #999;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer a {
  color: #999;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #4dc63d;
}

.site-footer p {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

/* === Print === */
@media print {
  .site-header, .site-footer, .hero, .stats, .cta-dark { display: none; }
  .section { padding: 1rem 0; }
}

/* === Media Queries === */

/* Tablet */
@media (min-width: 600px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.25rem; }

  .hero { padding: 6rem 0; }
  .hero h1 { font-size: 3rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .hero-buttons { flex-direction: row; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-number { font-size: 2rem; }

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

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

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

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

/* Desktop */
@media (min-width: 900px) {
  .section { padding: 5rem 0; }

  .hero { padding: 7rem 0; }
  .hero h1 { font-size: 3.5rem; }

  .about-grid {
    grid-template-columns: 300px 1fr;
  }

  .about-quote { font-size: 1.35rem; }

  /* Desktop nav */
  .nav-toggle-label {
    display: none;
  }

  .main-nav {
    position: static;
    max-height: none;
    flex-direction: row;
    border-bottom: none;
    overflow: visible;
  }

  .nav-link {
    border-top: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
  }

  .nav-link.active {
    background: transparent;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: #1f9d0f;
    border-radius: 2px;
  }

  .nav-link:hover {
    background: transparent;
    color: #1f9d0f;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
