/* ============================================
   PAS Pumpentechnik — Stylesheet
   Modern, professionell, industriell
   ============================================ */

/* --- Fonts (lokal gehostet) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

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

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

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/montserrat-800.woff2') format('woff2');
}

/* --- Custom Properties --- */
:root {
  --blue: #0066a6;
  --blue-dark: #004d7a;
  --blue-light: #e8f0f7;
  --cyan: #00a3d9;
  --dark: #1a2332;
  --gray-900: #2d3748;
  --gray-700: #4a5568;
  --gray-500: #718096;
  --gray-300: #cbd5e0;
  --gray-100: #f0f4f8;
  --white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 10000;
  font-size: 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
}

/* --- Noscript Fallback --- */
noscript .fade-in {
  opacity: 1;
  transform: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.3;
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.2rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0.75rem auto 0;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

section:nth-child(even):not(.hero):not(.hps-section) {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

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

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

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

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

.btn-secondary {
  background: var(--gray-100);
  color: var(--blue);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-300);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-brand a img {
  height: 62px;
  width: auto;
}

.hps-badge-logo {
  height: 10px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.hps-badge-logo:hover {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

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

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
  background-image: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(0,77,122,0.8) 50%, rgba(0,102,166,0.75) 100%), url('../img/pumpentechnik-wasserdruck-hero.jpg');
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ÜBER UNS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
}

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

.about-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-box .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
}

.stat-box .label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* ============================================
   HPS-GROUP
   ============================================ */
.hps-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hps-section .section-tag {
  color: var(--cyan);
}

.hps-section .section-header h2 {
  color: var(--white);
}

.hps-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

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

.hps-text p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.hps-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.hps-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hps-feature .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(0, 163, 217, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hps-feature .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
}

.hps-feature h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.hps-feature p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.hps-visual {
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.hps-visual .hps-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.hps-visual .hps-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.hps-visual .hps-logo-link:hover {
  color: var(--white);
}

.hps-visual .hps-logo-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   LEISTUNGEN (Vertrieb & Service)
   ============================================ */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

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

.service-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card .card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.photo-grid img:hover {
  transform: scale(1.02);
}

/* ============================================
   BRANCHEN
   ============================================ */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.branch-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.branch-card:hover {
  transform: translateY(-4px);
}

.branch-card .branch-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.branch-card .branch-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
}

.branch-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.branch-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   PARTNER
   ============================================ */
/* Partner Carousel (Swiper) */
.partner-carousel {
  margin-bottom: 2.5rem;
  padding: 2rem 0;
  overflow: hidden;
}

.partner-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.partner-carousel .swiper-slide img {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.4);
  transition: transform 0.5s ease, filter 0.5s ease;
  transform: scale(1);
}

/* Aktives Slide in der Mitte — groß und farbig */
.partner-carousel .swiper-slide-active img {
  transform: scale(1.6);
  filter: grayscale(0%) opacity(1);
}

/* Direkte Nachbarn — mittelgroß */
.partner-carousel .swiper-slide-prev img,
.partner-carousel .swiper-slide-next img {
  transform: scale(1.15);
  filter: grayscale(60%) opacity(0.6);
}

/* Fallback wenn kein JS */
.partner-logos-fallback {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem;
}

.partner-logos-fallback img {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
}

.partner-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.partner-badges img {
  height: 50px;
  width: auto;
  border-radius: 4px;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s ease;
}

.partner-badges img:hover {
  filter: grayscale(0%) opacity(1);
}

/* ============================================
   KARRIERE
   ============================================ */
.karriere-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.karriere-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.karriere-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.karriere-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.karriere-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ============================================
   KONTAKT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail span {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-detail a {
  color: var(--gray-700);
}

.contact-detail a:hover {
  color: var(--blue);
}

.hours {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-300);
}

.hours h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 0.3rem 0;
}

.hours-row .day {
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.map-consent {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.map-consent-inner {
  text-align: center;
  padding: 2rem;
  color: var(--gray-700);
}

.map-consent-inner svg {
  color: var(--blue);
  margin-bottom: 1rem;
}

.map-consent-inner p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

/* Contact Form */
.contact-form {
  margin-top: 3rem;
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 166, 0.1);
}

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

.form-consent {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.checkbox-label a {
  color: var(--blue);
  text-decoration: underline;
}

.form-submit {
  text-align: center;
  margin-top: 1.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
  color: var(--blue);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo-pas {
  height: 38px;
  width: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 6px;
}

.footer-logos img:last-child {
  height: 14px;
  width: auto;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

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

  .hps-visual {
    order: -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  section {
    padding: 3.5rem 0;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
  }

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

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    padding-top: calc(var(--header-height) + 3rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  /* Stats */
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Services */
  .service-cards {
    grid-template-columns: 1fr;
  }

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

  /* Branches */
  .branch-grid {
    grid-template-columns: 1fr;
  }

  /* Karriere */
  .karriere-content {
    grid-template-columns: 1fr;
  }

  .karriere-image {
    order: -1;
  }

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

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

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .container {
    padding: 0 1rem;
  }

  .stat-box .number {
    font-size: 2rem;
  }
}

/* ============================================
   IMPRESSUM / DATENSCHUTZ (Unterseiten)
   ============================================ */
.legal-page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  min-height: 80vh;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* ============================================
   UNTERSEITEN (Vertrieb, Service)
   ============================================ */

/* Subpage Hero */
.subpage-hero {
  padding: calc(var(--header-height) + 3rem) 1.5rem 3rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue-dark) 100%);
  text-align: center;
}

.subpage-hero .section-tag {
  color: var(--cyan);
}

.subpage-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Subpage Navigation (aktiver Link) */
.nav-links a.nav-active {
  color: var(--blue);
  font-weight: 600;
}

/* Detail-Abschnitte */
.detail-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.detail-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.detail-block .detail-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-block .detail-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
}

.detail-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.detail-block p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.detail-block ul {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.detail-block ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.detail-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.detail-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* CTA-Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin-top: 2rem;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Subpage Responsive */
@media (max-width: 768px) {
  .detail-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .detail-block .detail-icon {
    width: 48px;
    height: 48px;
  }

  .detail-block .detail-icon svg {
    width: 24px;
    height: 24px;
  }

  .subpage-hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
  }

  .cta-banner {
    padding: 2.5rem 1rem;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }
}
