/* =============================================
   SÄGEWERK MARTSCHAUSKE — Redesign 2026
   Pure CSS · Mobile-First · No Dependencies
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* --- Design Tokens --- */
:root {
  --bg:           #F7F4EF;
  --surface:      #FFFFFF;
  --text:         #1C1916;
  --text-muted:   #7A7168;
  --accent:       #2A5C42;
  --accent-dark:  #1E4431;
  --accent-light: #EBF2ED;
  --border:       #E8E3D8;
  --border-dark:  #D5CEBD;

  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --container:    1280px;
  --nav-h:        64px;

  --radius:       6px;
  --radius-lg:    14px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 2px rgba(28,25,22,.04), 0 2px 8px rgba(28,25,22,.06);
  --shadow-md:    0 4px 6px rgba(28,25,22,.04), 0 12px 32px rgba(28,25,22,.08);
  --shadow-lg:    0 8px 16px rgba(28,25,22,.05), 0 24px 48px rgba(28,25,22,.10);

  --transition:   0.22s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVIGATION
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}
.nav-logo-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
.nav-logo-secondary {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(42, 92, 66, 0.08);
}
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--surface) !important;
  background: var(--accent) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}
.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--accent-light); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.nav-mobile a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 16px;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text); background: var(--accent-light); }
.nav-mobile a.nav-cta {
  margin-top: 16px;
  text-align: center;
  background: var(--accent) !important;
  color: white !important;
  border: none;
}

/* =============================================
   HERO — HOMEPAGE
   ============================================= */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100dvh - var(--nav-h));
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 24px;
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  width: fit-content;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--surface);
  background: var(--accent);
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(42,92,66,.2), 0 1px 2px rgba(42,92,66,.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,92,66,.25), 0 2px 4px rgba(42,92,66,.2);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--border-dark);
  padding: 12px 26px;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
}
.btn-secondary:active { transform: scale(0.98); }

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: translateX(3px); }

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(247, 244, 239, 0.25) 0%,
    transparent 30%
  );
  pointer-events: none;
}

/* =============================================
   STATS STRIP
   ============================================= */

.stats {
  background: var(--text);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 16px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.03em;
  color: var(--surface);
  line-height: 1.1;
}
.stat-number span {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* =============================================
   SECTION BASE
   ============================================= */

.section {
  padding: 96px 0;
}
.section-sm { padding: 64px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 60ch;
}

/* =============================================
   LEISTUNGEN — HOMEPAGE OVERVIEW
   ============================================= */

.leistungen-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  margin-top: 56px;
}

.leistungen-main {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.leistung-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.leistung-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.leistung-card-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.leistung-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leistung-card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.leistung-card-icon svg { color: var(--accent); }

.leistung-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.leistung-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.leistung-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 20px;
  transition: gap var(--transition);
}
.leistung-card-link:hover { gap: 10px; }

.leistungen-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.leistung-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex: 1;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.leistung-mini:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.leistung-mini-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  margin-top: 12px;
}

.leistung-mini-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* =============================================
   PRODUKTE
   ============================================= */

.produkte-section { background: var(--text); }

.produkte-section .section-label { color: rgba(255,255,255,0.5); }
.produkte-section .section-label::before { background: rgba(255,255,255,0.3); }
.produkte-section .section-headline { color: var(--surface); }
.produkte-section .section-sub { color: rgba(255,255,255,0.55); }

.produkte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.produkt-item {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px;
  border: none;
  transition: background var(--transition);
  position: relative;
}
.produkt-item:hover { background: rgba(255,255,255,0.08); }

.produkt-item::after {
  content: attr(data-num);
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2);
}

.produkt-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin-bottom: 10px;
}

.produkt-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   USP / IHR PLUS
   ============================================= */

.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: center;
}

.usp-values {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.usp-value {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.usp-value-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.usp-value-icon svg { color: var(--accent); }

.usp-value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.usp-value-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.usp-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 520px;
}
.usp-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.usp-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.usp-badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.usp-badge-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =============================================
   CONTACT CTA BAND
   ============================================= */

.cta-band {
  background: var(--accent);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
}

.cta-band-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: var(--surface);
  line-height: 1.1;
  margin-bottom: 10px;
}

.cta-band-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  padding: 14px 28px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-white:active { transform: scale(0.98); }

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: #100F0D;
  padding: 60px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 28ch;
  margin-bottom: 20px;
}

.footer-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(42,92,66,0.9);
  background: rgba(42,92,66,0.15);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(42,92,66,0.3);
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--surface); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer-contact-icon {
  margin-top: 2px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-text {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.6); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */

.page-hero {
  background: var(--text);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

/* Photo background variant */
.page-hero.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,25,22,0.75) 0%,
    rgba(28,25,22,0.65) 100%
  );
  z-index: 0;
}
.page-hero.has-photo .container {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0L80 12v2L54 40h-2zm4 0L80 16v2L58 40h-2zm4 0L80 20v2L62 40h-2zm4 0L80 24v2L66 40h-2zm4 0L80 28v2L70 40h-2zm4 0L80 32v2L74 40h-2zm4 0L80 36v2L78 40h-2zm4 0L80 40h-2zm-56 0h2L0 36v-2zm4 0h2L0 32v-2zm4 0h2L0 28v-2zm4 0h2L0 24v-2zm4 0h2L0 20v-2zm4 0h2L0 16v-2zm4 0h2L0 12v-2zm4 0h2L0 8v-2zm4 0h2L0 4v-2zm4 0h2L0 0v2z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.page-hero-breadcrumb svg { color: rgba(255,255,255,0.2); }

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.03em;
  color: var(--surface);
  line-height: 1.05;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 56ch;
  line-height: 1.65;
}

/* =============================================
   INNER PAGE CONTENT
   ============================================= */

.prose { max-width: 72ch; }

.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
}
.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.prose strong { color: var(--text); font-weight: 600; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1' stroke='%232A5C42' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
}
.spec-table td { color: var(--text-muted); }
.spec-table td strong { color: var(--text); }
.spec-table tr:last-child td { border-bottom: none; }

/* Info boxes */
.info-box {
  background: var(--accent-light);
  border: 1px solid rgba(42,92,66,0.15);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}
.info-box-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 6px;
}
.info-box p {
  font-size: 14px;
  color: var(--accent-dark);
  margin: 0;
}

/* Two-col layout for inner pages */
.inner-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.contact-detail-value a {
  color: var(--accent);
  transition: color var(--transition);
}
.contact-detail-value a:hover { text-decoration: underline; }

/* =============================================
   KONTAKT FORMULAR
   ============================================= */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form-label .required { color: var(--accent); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42,92,66,0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(122,113,104,0.6); }

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

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

.form-submit {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--surface);
  background: var(--accent);
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(42,92,66,.2);
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,92,66,.25);
}
.form-submit:active { transform: scale(0.98); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

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

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content {
    padding: 64px 24px;
    max-width: 700px;
    margin: 0 auto;
  }
  .hero-image { height: 480px; }

  .leistungen-grid { grid-template-columns: 1fr; }
  .leistungen-main { grid-template-rows: auto auto; }
  .leistung-card { grid-template-columns: 1fr; }
  .leistung-card-img { height: 200px; }

  .usp-grid { grid-template-columns: 1fr; gap: 48px; }
  .usp-image-wrap { height: 380px; }

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

  .inner-grid { grid-template-columns: 1fr; gap: 40px; }
  .sidebar-card { position: static; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(2n) { border-bottom: none; }

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

@media (max-width: 768px) {
  :root { --section-py: 60px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 64px 0; }

  .hero-headline { font-size: 36px; }
  .hero-image { height: 320px; }

  .cta-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .btn-white { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal-links { flex-wrap: wrap; justify-content: center; }

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

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

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 48px 16px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .stat-item { padding: 16px 20px; }
}

/* =============================================
   DATENSCHUTZ / IMPRESSUM
   ============================================= */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }
