/*
Theme Name: Liftmaat
Theme URI: https://liftmaat.nl
Author: Liftmaat
Author URI: https://liftmaat.nl
Description: Custom WordPress theme voor Liftmaat - Compact hijswerk met de Hoeflon C6e minikraan. Gebouwd op maat door Liftmaat.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: liftmaat
Tags: custom, one-page, responsive, crane-rental
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ==========================================================================
   CSS Custom Properties (Brand Tokens)
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy-dark: #1f2126;
  --navy: #2C2F36;
  --navy-light: #444850;
  --orange: #DB1D1D;
  --orange-hover: #bd1717;
  --blue: #85888F;
  --blue-light: #d6d7da;
  --steel: #85888F;
  --offwhite: #F5F6F8;
  --success: #22c55e;
  --white: #ffffff;

  /* Fonts */
  --font-heading: 'Poppins', Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  /* Spacing */
  --section-py: 4rem;
  --section-py-md: 6rem;
  --container-max: 72rem;
  --container-px: 1rem;
}

@media (min-width: 768px) {
  :root {
    --section-py: 6rem;
    --container-px: 1.5rem;
  }
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--steel);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.font-heading { font-family: var(--font-heading); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.text-navy { color: var(--navy); }
.text-orange { color: var(--orange); }
.text-steel { color: var(--steel); }
.text-white { color: var(--white); }
.text-blue-light { color: var(--blue-light); }

.bg-navy { background-color: var(--navy); }
.bg-navy-dark { background-color: var(--navy-dark); }
.bg-offwhite { background-color: var(--offwhite); }
.bg-white { background-color: var(--white); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 106, 35, 0.3);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 1rem 0;
}

.site-header.scrolled {
  background: rgba(44, 47, 54, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 0.5rem 0;
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo-image {
  display: block;
  width: auto;
  height: 56px;
  max-width: 250px;
}

.footer-logo-image {
  height: 42px;
  max-width: 190px;
}
.site-wordmark {
  letter-spacing: 0.08em;
}
.site-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}
.site-logo .logo-accent {
  color: var(--orange);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
}

@media (max-width: 639px) {
  .site-logo-image {
    height: 46px;
    max-width: 190px;
  }

  .nav-cta {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 768px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 99;
  padding-top: 5rem;
}
.mobile-nav.open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover {
  color: var(--orange);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(31,33,38,0.96), rgba(44,47,54,0.88), rgba(44,47,54,0.64));
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(31,33,38,0.78), transparent, rgba(31,33,38,0.38));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: none;
}

.hero h1 {
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--blue-light);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.hero-image {
  display: none;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-image { display: flex; }
}
.hero-image img {
  max-height: 560px;
  width: auto;
  filter: drop-shadow(0 24px 54px rgba(31,33,38,0.2));
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-indicator svg {
  width: 2rem;
  height: 2rem;
  color: rgba(255,255,255,0.4);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
  background: var(--orange);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
}
.stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--white);
}
.stat-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--orange);
  margin-left: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 0.125rem;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.section {
  padding: var(--section-py) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--section-py-md) 0; }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--steel);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.section-label-lg {
  font-size: 1.125rem;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Introduction Section
   ========================================================================== */

.intro-image {
  position: relative;
}
.intro-image img {
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.intro-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
  .intro-badge { bottom: -1.5rem; right: -1.5rem; }
}
.intro-badge .badge-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--orange);
}
.intro-badge .badge-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(44,47,54,0.08);
  box-shadow: 0 8px 30px rgba(44,47,54,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  box-shadow: 0 16px 40px rgba(44,47,54,0.12);
  transform: translateY(-4px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(219, 29, 29, 0.08);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--orange);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 1rem;
  transition: gap 0.2s;
}
.service-link:hover {
  gap: 0.625rem;
}

/* ==========================================================================
   USP Section
   ========================================================================== */

.usp-card {
  text-align: center;
  padding: 2rem;
}

.usp-icon {
  width: 4rem;
  height: 4rem;
  background: var(--navy);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--orange);
}

.usp-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.usp-card p {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
}

/* ==========================================================================
   Machine Highlight
   ========================================================================== */

.highlight-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.highlight-stat {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.highlight-stat .hs-icon {
  color: var(--orange);
  margin: 0 auto 0.5rem;
}
.highlight-stat .hs-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.125rem;
}
.highlight-stat .hs-label {
  font-size: 0.75rem;
  color: var(--steel);
}

.machine-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.machine-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.specs-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
}
.specs-card h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}
.spec-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.spec-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}
.spec-value {
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: monospace;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .cta-banner h2 { font-size: 2.25rem; }
}
.cta-banner p {
  color: var(--blue-light);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .cta-banner .cta-buttons { flex-direction: row; }
}

/* ==========================================================================
   Page Heroes (inner pages)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { padding: 10rem 0 6rem; }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ==========================================================================
   Photo Gallery
   ========================================================================== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

.photo-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--offwhite);
  aspect-ratio: 1;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform 0.5s;
}
.photo-card:hover img {
  transform: scale(1.05);
}
.photo-card .photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15,43,70,0.8), transparent);
  padding: 2.5rem 1rem 1rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ==========================================================================
   Feature Cards (De Kraan page)
   ========================================================================== */

.feature-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-card-image {
  background: var(--offwhite);
  aspect-ratio: 16/10;
  overflow: hidden;
}
.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.5s;
}
.feature-card:hover .feature-card-image img {
  transform: scale(1.05);
}

.feature-card-body {
  padding: 1.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(232, 106, 35, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--orange);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
}

/* ==========================================================================
   Spec Tables
   ========================================================================== */

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
}

.spec-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.spec-table td {
  padding: 0.75rem 0;
  font-size: 0.875rem;
}
.spec-table td:first-child {
  color: var(--steel);
}
.spec-table td:last-child {
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  font-family: monospace;
}

/* ==========================================================================
   About / Over Ons
   ========================================================================== */

.david-portrait {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
  aspect-ratio: 3/4;
}
.david-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.david-portrait .portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,31,51,0.9), transparent);
  padding: 4rem 1.5rem 1.5rem;
}
.david-portrait .portrait-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
}
.david-portrait .portrait-overlay p {
  color: var(--orange);
  font-weight: 500;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.value-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--navy);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--orange);
}
.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
}

.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--offwhite);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  color: var(--navy);
  font-weight: 500;
}

/* ==========================================================================
   Comparison Table (Diensten)
   ========================================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr 1fr; }
}

.comparison-card {
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.comparison-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.comparison-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.comparison-negative {
  background: var(--offwhite);
}
.comparison-negative h3 { color: var(--navy); }
.comparison-negative li { color: var(--steel); }
.comparison-negative .icon { color: #ef4444; margin-top: 2px; }

.comparison-positive {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.comparison-positive h3 { color: var(--white); }
.comparison-positive li { color: var(--blue-light); }
.comparison-positive .icon { color: var(--success); margin-top: 2px; }

.comparison-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.comparison-images img {
  border-radius: 0.75rem;
  width: 100%;
  height: 10rem;
  object-fit: contain;
  background: var(--offwhite);
  padding: 0.5rem;
}

/* ==========================================================================
   Quote Form (Offerte)
   ========================================================================== */

.form-section {
  padding: var(--section-py) 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}
.form-group label .required {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,144,217,0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--orange);
}

.form-sidebar {
  background: var(--offwhite);
  border-radius: 1rem;
  padding: 2rem;
  height: fit-content;
}
.form-sidebar h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.form-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.form-sidebar li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--steel);
}
.form-sidebar .sidebar-icon {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.radio-group {
  display: flex;
  gap: 1rem;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--navy);
}
.radio-option input {
  width: auto;
  accent-color: var(--orange);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .site-footer { padding: 4rem 0; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-section a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.footer-contact-item a {
  display: inline;
  padding: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}
.footer-social a:hover {
  background: var(--orange);
}
.footer-social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p,
.footer-bottom span {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.footer-owner {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.4s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Offerte Page Layout
   ========================================================================== */

.offerte-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .offerte-layout {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

.offerte-form-wrapper {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
@media (min-width: 768px) {
  .offerte-form-wrapper { padding: 2rem; }
}

.form-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 2rem 0;
}

.btn-full {
  width: 100%;
}

.offerte-sidebar-sticky {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.sidebar-card-dark {
  background: var(--navy);
}

.sidebar-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.875rem;
}
.sidebar-contact-link:hover {
  color: var(--orange);
}

.expect-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.expect-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-number {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(219,29,29,0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
}

.section-anchor {
  scroll-margin-top: 6.5rem;
}

.lead-text {
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.signature-panel {
  border: 1px solid rgba(44,47,54,0.08);
  box-shadow: 0 18px 40px rgba(44,47,54,0.08);
}

.signature-badge {
  background: var(--navy);
}

.service-card-accent {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.service-card-accent h3,
.service-card-accent p {
  color: var(--white);
}

.service-card-accent .service-icon {
  background: rgba(255,255,255,0.08);
  color: var(--orange);
}

.specs-card-light {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.mini-grid {
  gap: 1rem;
}

.compact-card {
  padding: 1.25rem;
  text-align: left;
}

.signature-tagline-card {
  padding: 0;
  overflow: hidden;
}

.signature-strip {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(44,47,54,0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.trust-item strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
}

.trust-item span {
  font-size: 1rem;
  color: var(--steel);
  line-height: 1.6;
}

.trust-item {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(44,47,54,0.08);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(44,47,54,0.04);
}

.trust-item strong {
  font-size: 1.15rem;
}

.trust-item-strong {
  background: linear-gradient(135deg, rgba(219,29,29,0.06), rgba(255,255,255,1));
}

.trust-item-dark {
  background: var(--navy);
  border-color: transparent;
}

.trust-item-dark strong,
.trust-item-dark span {
  color: var(--white);
}

.quiet-hero-grid {
  gap: 2rem;
}

.quiet-copy {
  max-width: 38rem;
}

.quiet-hero-image {
  justify-content: flex-end;
}

.quiet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .quiet-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.quiet-text {
  color: var(--steel);
  line-height: 1.85;
  max-width: 40rem;
}

.service-list-card {
  background: var(--white);
  border: 1px solid rgba(44,47,54,0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(44,47,54,0.06);
}

.service-list-item {
  padding: 1.35rem 1.5rem 1.35rem 4.5rem;
  border-bottom: 1px solid rgba(44,47,54,0.08);
  position: relative;
}

.service-list-item:last-child {
  border-bottom: 0;
}

.service-list-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.service-list-item p {
  font-size: 0.9375rem;
  color: var(--steel);
  line-height: 1.65;
}

.service-item-icon {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.75rem;
  background: rgba(219,29,29,0.08);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-side-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.services-highlight-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(44,47,54,0.08);
  background: var(--white);
}

.services-highlight-image {
  min-height: 220px;
}

.services-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-highlight-copy {
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--offwhite);
}

.services-highlight-copy.alt {
  background: var(--white);
}

.services-highlight-copy strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.services-highlight-copy span {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  background: var(--white);
  border: 1px solid rgba(44,47,54,0.08);
  border-radius: 1rem;
  padding: 1.5rem;
}

.why-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--steel);
}

.why-visual-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .why-visual-banner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.why-visual-image {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(44,47,54,0.08);
  background: var(--white);
  min-height: 220px;
}

.why-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-visual-copy {
  border-radius: 1rem;
  border: 1px solid rgba(44,47,54,0.08);
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.why-visual-copy strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.why-visual-copy span {
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.7;
}

.machine-compact-grid {
  align-items: stretch;
}

.spec-inline-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.spec-inline-item {
  padding: 1rem 1.125rem;
  border: 1px solid rgba(44,47,54,0.08);
  border-radius: 0.9rem;
  background: var(--offwhite);
}

.spec-inline-item strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.spec-inline-item span {
  font-size: 0.875rem;
  color: var(--steel);
}

.machine-inline-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .machine-inline-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.machine-inline-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(44,47,54,0.08);
  background: var(--white);
}

.machine-inline-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--offwhite);
}

.machine-inline-card span {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.quiet-machine-panel {
  border: 1px solid rgba(44,47,54,0.08);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--offwhite);
}

.quiet-machine-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiet-portrait-wrap {
  align-self: start;
}

.quiet-portrait {
  box-shadow: 0 16px 34px rgba(44,47,54,0.08);
}

.contact-mini-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-mini-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-mini-item span {
  color: var(--steel);
  font-size: 0.9375rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.contact-panel {
  max-width: 32rem;
}

.contact-panel-card {
  background: var(--offwhite);
  border: 1px solid rgba(44,47,54,0.08);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-data-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-data-item {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(44,47,54,0.08);
}

.contact-data-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-data-item a,
.contact-data-item span:last-child {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(44,47,54,0.08);
  border-radius: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

.premium-form-wrapper {
  padding: 2rem;
}

@media (min-width: 768px) {
  .premium-form-wrapper {
    padding: 2.5rem;
  }
}

.premium-form-wrapper .form-section-title {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.premium-form-wrapper .form-grid {
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.premium-form-wrapper .form-group {
  gap: 0.5rem;
}

.premium-form-wrapper .form-group label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

.premium-form-wrapper input,
.premium-form-wrapper select,
.premium-form-wrapper textarea {
  border: 1px solid rgba(44,47,54,0.12);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  background: #fff;
}

.premium-form-wrapper input:focus,
.premium-form-wrapper select:focus,
.premium-form-wrapper textarea:focus {
  outline: none;
  border-color: rgba(219,29,29,0.45);
  box-shadow: 0 0 0 4px rgba(219,29,29,0.08);
}

.premium-form-wrapper .form-divider {
  margin: 1.75rem 0;
  border-top: 1px solid rgba(44,47,54,0.08);
}

.premium-form-wrapper .radio-group {
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.35rem;
}

.premium-form-wrapper .radio-option {
  font-size: 0.9375rem;
}

.premium-form-wrapper .checkbox-group {
  align-items: flex-start;
}

.premium-form-wrapper .btn-full {
  margin-top: 1.75rem;
}

.quiet-footer {
  padding-top: 2.5rem;
}

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

@media (min-width: 900px) {
  .quiet-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.quiet-footer-bottom {
  justify-content: center;
}

/* ==========================================================================
   Dienst Detail page
   ========================================================================== */

.dienst-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}
.dienst-content h2:first-child {
  margin-top: 0;
}
.dienst-content p {
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.dienst-content ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.dienst-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--steel);
  font-size: 0.9375rem;
}
.dienst-content li .check {
  color: var(--orange);
  font-weight: 700;
  margin-top: 2px;
}

/* ==========================================================================
   Responsive fine-tuning
   ========================================================================== */

@media (max-width: 639px) {
  .hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.5rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .highlight-specs { grid-template-columns: 1fr; }
  .contact-panel-card { padding: 1.5rem; }
  .premium-form-wrapper { padding: 1.5rem; }
  .spec-inline-list { grid-template-columns: 1fr; }
}
