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

:root {
  --color-primary: #8B6914;
  --color-primary-light: #A37E1E;
  --color-primary-dark: #6B510F;
  --color-dark: #1A1A1A;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #FAFAF7;
  --color-bg-alt: #F0EDE6;
  --color-white: #FFFFFF;
  --color-border: #E0DDD5;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:hover {
  color: var(--color-primary-dark);
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  transition: color var(--transition);
}

.navbar.scrolled .logo {
  color: var(--color-dark);
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--color-primary);
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--color-text);
}

.nav-links a:hover,
.navbar.scrolled .nav-links a:hover {
  color: var(--color-primary);
}

.btn-nav {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
}

.btn-nav::after {
  display: none !important;
}

.btn-nav:hover {
  background: var(--color-primary-light) !important;
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-dark);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2C1810 0%, #4A3020 50%, #3D2518 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-subtitle {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

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

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-dark);
}

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

.about-text .lead {
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* === Image Placeholders === */
.image-placeholder {
  background: linear-gradient(135deg, #D4C5A9 0%, #B8A88A 100%);
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.image-placeholder::after {
  content: attr(data-text);
}

.about-image .image-placeholder {
  min-height: 450px;
}

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

.service-card {
  background: var(--color-white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.service-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-item .image-placeholder {
  min-height: 280px;
  border-radius: 0;
  transition: transform 0.6s ease;
}

.gallery-item:hover .image-placeholder,
.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-hidden {
  display: none !important;
}

.gallery-more {
  text-align: center;
  margin-top: 40px;
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 82vh;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2001;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: var(--radius);
  z-index: 2001;
  transition: background var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-grid--full {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  color: var(--color-dark);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* === Footer === */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* === Scroll Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.service-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.service-card.reveal:nth-child(6) { transition-delay: 0.5s; }

.gallery-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-item.reveal:nth-child(3) { transition-delay: 0.15s; }
.gallery-item.reveal:nth-child(4) { transition-delay: 0.2s; }
.gallery-item.reveal:nth-child(5) { transition-delay: 0.25s; }
.gallery-item.reveal:nth-child(6) { transition-delay: 0.3s; }

/* === Mobile CTA Button (floating call button) === */
.mobile-cta {
  display: none;
}

/* === Responsive === */

/* Tablet landscape (769px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 80px 0;
  }

  /* About: side-by-side bleibt, aber enger */
  .about-grid {
    gap: 40px;
  }

  .about-image img {
    min-height: 350px !important;
  }

  /* Services: 2er Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  /* Gallery: 2er Grid, wide Items bleiben breit */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  /* Contact: nebeneinander bleibt */
  .contact-grid {
    gap: 40px;
  }

  .contact-form {
    padding: 32px;
  }

  /* Footer */
  .footer-grid {
    gap: 32px;
  }
}

/* Tablet portrait (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  /* Navigation: Hamburger, aber breiteres Menü */
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    padding: 80px 40px 40px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--color-text) !important;
    font-size: 1.15rem;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
    display: block;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links a::after {
    display: none;
  }

  .btn-nav {
    margin-top: 20px;
    text-align: center;
    border-bottom: none !important;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-content {
    max-width: 550px;
  }

  /* About: Bild oben, Text unten */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    min-height: 300px !important;
    max-height: 400px;
  }

  /* Services: 2er Grid bleibt */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Gallery: 2er Grid, wide=span 2 */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .gallery-item img {
    min-height: 220px !important;
  }

  /* Captions immer sichtbar (Touch-Gerät) */
  .gallery-caption {
    transform: translateY(0);
    padding: 12px 16px;
  }

  /* Contact: untereinander */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Form-Row bleibt 2-spaltig auf Tablet */
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  /* Footer: 3 Spalten beibehalten */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
  }

  /* Kein floating CTA auf Tablet */
  .mobile-cta {
    display: none;
  }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* Navigation */
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--color-text) !important;
    font-size: 1.1rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    display: block;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links a::after {
    display: none;
  }

  .btn-nav {
    margin-top: 16px;
    text-align: center;
    border-bottom: none !important;
  }

  /* Hero - mobile viewport height fix */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .hero-desc br {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    padding: 16px 24px;
    font-size: 1rem;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    min-height: 250px !important;
    max-height: 350px;
  }

  .about-text .lead {
    font-size: 1.05rem;
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Services: 1 Spalte */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-card:hover {
    transform: none;
  }

  /* Gallery: 1 Spalte */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-wide {
    grid-column: span 1;
  }

  .gallery-item img {
    min-height: 220px !important;
    max-height: 300px;
  }

  /* Show captions always on mobile (no hover on touch) */
  .gallery-caption {
    transform: translateY(0);
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }

  .contact-form {
    padding: 20px;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .btn-full {
    padding: 16px;
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    padding: 20px 0 80px; /* extra bottom padding for mobile CTA */
  }

  /* Floating CTA button */
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-cta:hover,
  .mobile-cta:active {
    background: var(--color-primary-dark);
    color: var(--color-white);
  }

  /* Disable hover effects on touch */
  .service-card:active {
    transform: scale(0.98);
  }

  .gallery-item:hover .image-placeholder,
  .gallery-item:hover img {
    transform: none;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-content {
    padding-right: 8px;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.5rem;
    min-width: 60px;
  }

  .stat-label {
    margin-top: 0;
    text-align: left;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 16px;
  }

  .gallery-item img {
    min-height: 180px !important;
  }
}

/* Safe area support for phones with notch/rounded corners */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-cta {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .footer-bottom {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}
