/* =============================================
   KRAFTREIN PROFESSIONAL – Global Stylesheet
   Colors: Blue #0d2b4e | Green #3db87a | White #fff
   ============================================= */

:root {
  --blue-dark:   #0d2b4e;
  --blue-mid:    #1a4a7a;
  --blue-light:  #2d6ca8;
  --green:       #3db87a;
  --green-dark:  #2a9460;
  --green-light: #e6f7ef;
  --white:       #ffffff;
  --grey-light:  #f4f7fb;
  --grey-mid:    #e0e8f0;
  --grey-text:   #4a5568;
  --shadow:      0 4px 24px rgba(13, 43, 78, 0.12);
  --shadow-lg:   0 8px 40px rgba(13, 43, 78, 0.18);
  --radius:      10px;
  --radius-lg:   18px;
  --transition:  0.28s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--blue-dark);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 700; }
p  { color: var(--grey-text); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 184, 122, 0.35);
}

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

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

/* ── Layout / Container ───────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ── Navigation ───────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue-dark);
  padding: 0 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--green); }

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  transition: all var(--transition);
}

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

.nav-links .btn {
  padding: 0.5rem 1.3rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  background-image: url('../Images/Background.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 7rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 43, 78, 0.88) 0%,
    rgba(13, 43, 78, 0.72) 50%,
    rgba(10, 50, 30, 0.80) 100%
  );
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(61,184,122,0.18);
  border: 1px solid rgba(61,184,122,0.4);
  color: #7eedb4;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .highlight { color: var(--green); }

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

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

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  backdrop-filter: blur(6px);
}

.hero-card:first-child { grid-column: 1 / -1; }

.hero-card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.hero-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.hero-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ── Stats Bar ────────────────────────────── */
.stats-bar {
  background: var(--green);
  padding: 1.5rem;
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-item { text-align: center; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section Headings ─────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 { margin-bottom: 0.7rem; }
.section-head p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Product Cards ────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.product-card-image {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #0c1a2e;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.product-card-image.bg-1,
.product-card-image.bg-2,
.product-card-image.bg-3 { background: #0c1a2e; }

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--green);
  color: var(--white);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card-body { padding: 1.6rem; }
.product-card-body h3 { margin-bottom: 0.5rem; color: var(--blue-dark); }

.product-usecase {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}

.usecase-tag {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card-footer {
  padding: 1.2rem 1.6rem;
  border-top: 1px solid var(--grey-mid);
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-info {
  font-size: 0.8rem;
  color: var(--grey-text);
}

.product-price-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--blue-dark);
}

/* ── Why Contact Section ──────────────────── */
.why-contact {
  background: var(--grey-light);
}

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

.why-visual {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}

.why-visual h3 { color: var(--white); margin-bottom: 1.2rem; font-size: 1.4rem; }

.why-list { display: flex; flex-direction: column; gap: 1.1rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-icon {
  width: 42px;
  height: 42px;
  background: rgba(61,184,122,0.2);
  border: 1px solid rgba(61,184,122,0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-item-text h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.2rem; }
.why-item-text p  { color: rgba(255,255,255,0.65); font-size: 0.84rem; margin: 0; }

.why-text h2 { margin-bottom: 1rem; }
.why-text p  { margin-bottom: 1.5rem; font-size: 1.02rem; }

.why-steps { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }

.why-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text h4 { font-size: 0.95rem; color: var(--blue-dark); margin-bottom: 0.2rem; }
.step-text p  { font-size: 0.84rem; margin: 0; }

/* ── Zielgruppen ──────────────────────────── */
.zielgruppe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.zielgruppe-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

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

.zielgruppe-icon {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.zielgruppe-card h3 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 0.4rem; }
.zielgruppe-card p  { font-size: 0.83rem; }

/* ── CTA Banner ───────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--green-dark) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Kontakt Page ─────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.contact-info-card:hover { border-color: var(--green); transform: translateX(4px); }

.contact-info-icon {
  width: 46px;
  height: 46px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 { font-size: 0.82rem; font-weight: 700; color: var(--grey-text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.contact-info-text p, .contact-info-text a { font-size: 0.97rem; color: var(--blue-dark); font-weight: 600; margin: 0; }
.contact-info-text a:hover { color: var(--green); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-card h3 { margin-bottom: 0.3rem; }
.contact-form-card > p { font-size: 0.9rem; margin-bottom: 1.8rem; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

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

.form-group label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--blue-dark);
  background: var(--grey-light);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,184,122,0.15);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--grey-text);
  margin-bottom: 1.2rem;
  padding: 0.8rem 1rem;
  background: var(--green-light);
  border-radius: 8px;
  border-left: 3px solid var(--green);
}

.form-submit { width: 100%; padding: 1rem; font-size: 1rem; border-radius: var(--radius); }

/* ── Product Detail Page ──────────────────── */
.product-detail {
  padding: 5rem 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.product-detail-grid.reverse { direction: rtl; }
.product-detail-grid.reverse > * { direction: ltr; }

.product-visual {
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  overflow: hidden;
  background: #0c1a2e;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}

.product-visual:hover img {
  transform: scale(1.03);
}

.product-info h2 { margin-bottom: 0.5rem; }
.product-info .section-label { margin-bottom: 0.8rem; }

.product-desc { font-size: 1rem; margin-bottom: 1.5rem; }

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--blue-dark);
}

.feature-check {
  width: 22px;
  height: 22px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--green-dark);
  flex-shrink: 0;
  font-weight: 700;
}

.product-specs {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--grey-mid);
}

.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--grey-text); }
.spec-row span:last-child  { font-weight: 700; color: var(--blue-dark); }

/* ── Beratung Page ────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue-light));
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-num {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border: 3px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.process-step h4 { font-size: 0.95rem; color: var(--blue-dark); margin-bottom: 0.4rem; }
.process-step p  { font-size: 0.83rem; }

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

.expertise-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.expertise-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.expertise-card h3 { margin-bottom: 0.6rem; }
.expertise-card p  { font-size: 0.89rem; }

/* ── Page Hero (sub-pages) ────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.7rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand h3 span { color: var(--green); }
.footer-brand p { font-size: 0.875rem; max-width: 280px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  max-width: 1160px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--green); }

/* ── Toast Notification ───────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green);
  color: var(--white);
  padding: 1rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

/* ── 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 ───────────────────────────── */

html, body { overflow-x: hidden; }

@media (max-width: 1024px) {
  .zielgruppe-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps       { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .expertise-grid      { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  /* ── Mobile Navigation ── */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--blue-dark);
    padding: 0.8rem 1.2rem 1.2rem;
    gap: 0.2rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open      { display: flex; }
  .nav-links a         { padding: 0.9rem 1rem; font-size: 0.95rem; border-radius: 8px; min-height: 48px; display: flex; align-items: center; }
  .nav-links .btn      { margin-top: 0.4rem; justify-content: center; width: 100%; padding: 0.9rem 1rem; }
  .nav-toggle          { display: flex; }

  /* ── Layouts ── */
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-visual         { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.8rem; }
  .hero-card:first-child { grid-column: auto; }
  .why-grid            { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid        { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-grid.reverse { direction: ltr; }
  .form-row            { grid-template-columns: 1fr; }
  .expertise-grid      { grid-template-columns: 1fr; }
  .process-steps       { grid-template-columns: 1fr 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .products-grid       { grid-template-columns: repeat(2, 1fr); }

  /* ── Spacing ── */
  section              { padding: 3rem 0; }
  .hero                { padding: 4rem 1.2rem 3rem; }
  .page-hero           { padding: 3rem 1.2rem; }
  .cta-banner          { padding: 3rem 1.2rem; }
  .footer              { padding: 3rem 1.2rem 5.5rem; }

  /* ── Stats 2×2 grid ── */
  .stats-inner         { display: grid; grid-template-columns: 1fr 1fr; max-width: 340px; margin: 0 auto; gap: 1.2rem; padding: 1.2rem 0; }
  .stat-item           { text-align: center; }
  .stat-num            { font-size: 1.5rem; }

  /* ── Product nav horizontal scroll ── */
  #productNav          { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0.9rem 0; scrollbar-width: none; }
  #productNav::-webkit-scrollbar { display: none; }
  #productNav .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 0.55rem !important;
    padding: 0 1rem !important;
    justify-content: flex-start !important;
  }

  /* ── Product detail ── */
  .product-visual      { min-height: 240px; }
  .product-detail      { padding: 3rem 0; }
  .product-detail-grid { margin-bottom: 2rem; }

  /* ── Hero text ── */
  .hero-sub            { max-width: 100%; }
  .hero-actions        { flex-direction: column; }
  .hero-actions .btn   { width: 100%; justify-content: center; }

  /* ── CTA ── */
  .cta-actions         { flex-direction: column; align-items: center; }
  .cta-actions .btn    { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Contact ── */
  .contact-form-card   { padding: 1.5rem; }

  /* ── Toast (above mobile bar) ── */
  .toast               { left: 1rem; right: 1rem; bottom: 5rem; justify-content: center; }

  /* ── Show mobile bottom bar ── */
  .mobile-bar          { display: flex; }
}

@media (max-width: 480px) {
  section              { padding: 2.5rem 0; }
  .container           { padding: 0 1rem; }
  .hero                { padding: 3rem 1rem 2.5rem; }
  .page-hero           { padding: 2.5rem 1rem; }
  .cta-banner          { padding: 2.5rem 1rem; }
  .footer              { padding: 2.5rem 1rem 5.5rem; }

  /* ── Grids ── */
  .zielgruppe-grid     { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .stats-inner         { gap: 0.8rem; max-width: 280px; }
  .footer-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps       { grid-template-columns: 1fr; }
  .products-grid       { grid-template-columns: 1fr 1fr; gap: 0.9rem; }

  /* ── Typography ── */
  .stat-num            { font-size: 1.3rem; }
  .stat-label          { font-size: 0.7rem; }

  /* ── Product cards compact ── */
  .product-card-image  { height: 150px; }
  .product-card-body   { padding: 0.9rem; }
  .product-card-body h3 { font-size: 0.88rem; }
  .product-card-body p  { font-size: 0.78rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .product-card-footer { padding: 0.75rem 0.9rem; flex-direction: column; gap: 0.5rem; }
  .product-card-footer .btn { width: 100%; justify-content: center; font-size: 0.78rem; padding: 0.6rem 0.8rem; }
  .usecase-tag         { font-size: 0.67rem; }

  /* ── Product detail ── */
  .product-visual      { min-height: 200px; border-radius: var(--radius); }
  .product-detail      { padding: 2rem 0; }
  .product-detail-grid { gap: 1.5rem; margin-bottom: 1.5rem; }
  .product-desc        { font-size: 0.92rem; }
  .product-features    { gap: 0.5rem; }
  .product-feature     { font-size: 0.85rem; }
  .spec-row            { font-size: 0.8rem; padding: 0.35rem 0; }
  .product-specs       { padding: 0.9rem; }

  /* ── Contact ── */
  .contact-form-card   { padding: 1.2rem; }
  .contact-info-card   { padding: 1rem; }

  /* ── Cards ── */
  .zielgruppe-card     { padding: 1.2rem 0.6rem; }
  .zielgruppe-icon     { font-size: 2rem; }
  .zielgruppe-card h3  { font-size: 0.88rem; }
  .zielgruppe-card p   { font-size: 0.78rem; }
  .expertise-card      { padding: 1.5rem; }

  /* ── Process ── */
  .process-step-num    { width: 54px; height: 54px; font-size: 1.1rem; }

  /* ── Why ── */
  .why-visual          { padding: 1.5rem; }
  .why-icon            { width: 36px; height: 36px; font-size: 0.95rem; }
  .why-item-text h4    { font-size: 0.88rem; }
  .why-item-text p     { font-size: 0.8rem; }

  /* ── Footer ── */
  .footer-brand p      { max-width: 100%; }
  .footer-bottom       { flex-direction: column; text-align: center; }

  /* ── Buttons ── */
  .btn                 { padding: 0.75rem 1.5rem; font-size: 0.88rem; }
  .form-submit         { padding: 0.9rem; }
}

/* ── Mobile Bottom CTA Bar ───────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: rgba(10, 22, 45, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 0.65rem 1rem;
  gap: 0.6rem;
  align-items: center;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
}

.mobile-bar .mb-call {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 0.5rem;
  border-radius: 10px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
}

.mobile-bar .mb-contact {
  flex: 1.5;
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 0.5rem;
  border-radius: 10px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--white);
  background: var(--green);
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(61,184,122,0.4);
}
