/* ============================================================
   sandwichpaneele.net – Haupt-Stylesheet
   Farben: #4a7c2e (Dunkelgrün) | #8ab435 (Lime) | #f4f7f2 (Hellgrau-Grün)
   Abgeleitet vom Logo: Grün + Dunkelgrau
   ============================================================ */

:root {
  --primary:      #4a7c2e;
  --primary-dark: #3a6322;
  --accent:       #8ab435;
  --accent-h:     #769a2d;
  --light:        #f4f7f2;
  --border:       #d1e0cc;
  --text:         #2a2a2a;
  --muted:        #6b7264;
  --success:      #2e7d32;
  --white:        #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  border-bottom: 2px solid var(--accent);
}

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

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--light);
  color: var(--primary);
  text-decoration: none;
}

.nav-links .nav-cta a {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
}
.nav-links .nav-cta a:hover { background: var(--accent-h); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .2s;
}

/* ============================================================
   HERO / PAGE HEADER
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #eef5ec 0%, #f4f7f2 100%);
  color: var(--text);
  padding: 72px 20px 64px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(138,180,53,.2);
  border: 1px solid rgba(138,180,53,.5);
  color: #5a8a2f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page-Header (für Unterseiten) */
.page-header {
  background: linear-gradient(to right, rgba(0,0,0,.72), rgba(0,0,0,.38)), var(--primary);
  color: #fff;
  padding: 52px 20px 44px;
  background-size: cover;
  background-position: center;
}
.page-header-inner { max-width: 1140px; margin: 0 auto; }
.page-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 580px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover { background: var(--primary-dark); color: #fff; }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; text-align: center; }

/* ============================================================
   CONTAINER / LAYOUT
   ============================================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-alt { background: var(--light); }

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 580px;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); border-color: #b8ccb2; }

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), #5a9a3a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 8px;
}
.card-link:hover { text-decoration: none; gap: 10px; }

/* ============================================================
   USP LEISTE
   ============================================================ */
.usp-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 20px;
}

.usp-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.usp-item .usp-check {
  color: #4ade80;
  font-size: 1.1rem;
}

/* ============================================================
   TABELLEN (technische Daten)
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: 8px;
  overflow: hidden;
}

.spec-table th {
  background: var(--primary);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--light); }
.spec-table tr:hover td { background: #eef5ec; }

.table-wrap { overflow-x: auto; border-radius: 8px; border: 1.5px solid var(--border); }

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #5a8a2f 100%);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}

.cta-band h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: .9; margin-bottom: 28px; font-size: 1rem; }

/* ============================================================
   BADGE / TAGS
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.badge-blue { background: #e8f0e4; color: #2d5015; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-orange { background: #f0f5e4; color: #5a8a2f; }

/* ============================================================
   FORMULAR (Anfrage-Seite)
   ============================================================ */
.form-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #374151;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,124,46,.15);
}

.form-field textarea { resize: vertical; min-height: 100px; }
.form-field-full { grid-column: 1 / -1; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }

.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 14px;
}
.form-msg.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.form-msg.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
}

/* ============================================================
   NOTICE BOX
   ============================================================ */
.notice {
  background: #fff8e1;
  border: 1.5px solid #ffd54f;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #5c4b00;
}
.notice strong { display: block; margin-bottom: 4px; }

.info-box {
  background: #eef5ec;
  border: 1.5px solid #a3c890;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #2d5015;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 20px 24px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

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

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand img { height: 32px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 300px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: rgba(255,255,255,.7); font-size: 0.875rem; }
.footer-col ul a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 16px 20px 20px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; display: block; border-radius: 8px; }
  .nav-links .nav-cta { margin-top: 8px; }
  .nav-links .nav-cta a { text-align: center; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.items-center { align-items: center; }
.b2b-only { display: none; } /* placeholder für zukünftigen Login-Status */
