/* ========================================
   Green MeOH – Energie & Speicher
   Adapted from deploy_ready/b2b/styles-optimized.css
   Recolored to the Green MeOH energy (green) palette.
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #0E1116;          /* Graphit (Text + dunkle Flächen) */
  --graphite: #0E1116;
  --graphite-2: #151A20;   /* etwas hellere dunkle Fläche */
  --muted: #5b6672;
  --line: #e4e8ee;
  --paper: #f7f8fa;
  --white: #ffffff;
  --field: #f1f4f8;

  /* Green MeOH — Premium Tech: Graphit + Electric Teal */
  --green: #14b8a6;        /* Primär-Akzent: Electric Teal (Power/CTA) */
  --green-dark: #0d9488;   /* dunkleres Teal (Hover) */
  --green-bright: #2DD4BF; /* helles Teal (Text auf Dunkel) */
  --green-light: #E6FBF7;  /* helle Teal-Tönung (Flächen auf Hell) */
  --mint: #2DD4BF;         /* Sekundär = emissionsfrei/eco */

  --accent: #14b8a6;
  --accent-dark: #0d9488;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  --radius: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

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

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--green); }
img { display: block; max-width: 100%; height: auto; }

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.brand .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand .brand-name { letter-spacing: -0.01em; }
.brand .brand-name span { color: var(--green); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.74);
  padding: 0.5rem 0;
  position: relative;
}
.main-nav a:hover { color: #fff; }

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after { transform: scaleX(1); }

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  background: var(--green);
  color: #04211c !important;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.30);
}
.cta-button:hover { background: var(--green-bright); }

/* ========================================
   Hero
   ======================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 3rem;
  min-height: 70vh;
  background: radial-gradient(120% 120% at 15% 0%, #151d24 0%, #0E1116 55%, #0b0e12 100%);
  color: #fff;
}
.hero h1 { color: #fff; }
.hero-copy { max-width: 640px; }

.eyebrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--green-dark);
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-copy > p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.primary-link, .secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
}
.primary-link {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.30);
}
.primary-link:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  color: #fff;
}
.secondary-link {
  background: var(--white);
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.secondary-link:hover { background: var(--field); }

.hero-media { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-media img { width: 100%; max-width: 600px; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }

/* ========================================
   Sections & common
   ======================================== */
.section {
  padding: 5rem 3rem;
}
.section-heading { max-width: 760px; margin: 0 auto 3rem; }
.section-heading.center { text-align: center; }
.section-heading h1,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.section-heading p { font-size: 1.125rem; color: var(--muted); line-height: 1.7; }

.wrap { max-width: 1200px; margin: 0 auto; }

/* Card grid (hub pages) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--green); }
.card .tag {
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.2rem; }
.card a.card-link { margin-top: auto; color: var(--green-dark); font-weight: 800; }

/* Spec strips / panels reused from source pages */
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  padding: 5rem 3rem;
  background: #14181d;
  color: white;
}
.detail-hero h1 { max-width: 760px; }
.detail-hero p { color: rgba(255, 255, 255, 0.78); font-size: 1.125rem; max-width: 700px; }
.detail-hero .eyebrow { color: #ffffff; background: var(--green-dark); }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.spec-strip div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.spec-strip strong { display: block; color: #ffffff; font-size: 1.4rem; }
.spec-strip span { color: rgba(255,255,255,0.7); font-size: 0.82rem; }

.detail-section { padding: 5rem 3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; }
.panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 2rem; }
.panel h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.panel p, .panel li { color: var(--muted); line-height: 1.7; }
.panel ul { list-style: none; display: grid; gap: 0.75rem; margin-top: 1rem; }
.panel li::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  margin-right: 0.65rem; border-radius: 50%; background: var(--green);
}

.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--field); font-weight: 800; }

.cta-band {
  margin: 0 3rem 5rem;
  padding: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0 auto 1.5rem; max-width: 720px; opacity: 0.92; }
.cta-band .secondary-link { color: var(--ink); border-radius: 999px; background: #fff; font-weight: 900; }

details { background: var(--field); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; border: 1px solid var(--line); }
summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: '→'; display: inline-block; margin-right: 0.75rem; transition: transform 0.2s; }
details[open] summary::before { transform: rotate(90deg); }
details p { margin-top: 1rem; color: var(--muted); line-height: 1.7; }

/* ========================================
   Contact
   ======================================== */
.contact-content { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr); gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-info h1,
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.contact-methods { display: grid; gap: .85rem; margin-top: 1rem; }
.contact-methods div { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.contact-methods strong { display: block; color: var(--ink); margin-bottom: .25rem; }
.contact-methods p { color: var(--green-dark); font-weight: 900; }
.contact-methods small { color: var(--muted); }

/* ========================================
   Footer
   ======================================== */
.site-footer { background: var(--ink); color: white; padding: 4rem 3rem 2rem; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; max-width: 1200px; margin-left:auto; margin-right:auto; }
.footer-brand strong { display: block; font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); margin-bottom: 1rem; font-size: 0.92rem; line-height: 1.6; }
.footer-cross { color: rgba(255,255,255,0.7); font-size: 0.88rem; line-height: 1.7; }
.footer-cross a { color: var(--mint); font-weight: 700; }
.footer-col strong { display: block; margin-bottom: 1rem; font-size: 1rem; }
.footer-col a { display: block; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin-bottom: 0.55rem; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero, .two-col, .detail-hero, .contact-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .site-header { flex-wrap: wrap; padding: 0.85rem 1rem; gap: 0.75rem; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; gap: 1.25rem; padding-top: 0.75rem; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; flex: 0 0 auto; }
  .cta-button { margin-left: auto; }
  .hero { padding: 2.5rem 1.25rem; min-height: auto; }
  .section, .detail-section, .detail-hero { padding: 3rem 1.25rem; }
  .cta-band { margin: 0 1rem 3rem; padding: 2rem 1.25rem; }
  .footer-main, .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
}

/* Marken-Logo im Header (Bild statt Text-Lockup) */
.brand img.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 768px) { .brand img.brand-logo { height: 32px; } }

/* Produkt-Bild im Detail-Hero — Instagrid-Stil: Produkt sofort sichtbar (First Screen) */
.detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-hero-media { display: flex; align-items: center; justify-content: center; }
.detail-hero-media img { width: 100%; max-width: 480px; border-radius: 14px; background: #ffffff; padding: 1.1rem; box-shadow: var(--shadow-xl); }
@media (max-width: 1024px) { .detail-hero-media { order: -1; } .detail-hero-media img { max-width: 360px; } }

/* Produktbild in Karten — Produkt sofort sichtbar */
.card > img { width: 100%; height: 168px; object-fit: contain; background: var(--field); border-radius: 10px; padding: .6rem; margin-bottom: 1rem; }

/* Szenario-Wegweiser: "Welche Lösung passt?" (Nutzer -> passendes Produkt) */
.szenario { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; max-width: 1100px; margin: 1.5rem auto 0; }
.szenario a { display: block; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; background: var(--white); color: var(--ink); transition: box-shadow .2s ease; }
.szenario a:hover { box-shadow: var(--shadow-lg); }
.szenario a strong { display: block; color: var(--green-dark); font-weight: 800; margin-bottom: .35rem; }
.szenario a span { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ===== Live-Text-Wortmarke (weiß auf dunklem Header) – analog TerraMow ===== */
.brand .gm-mark { flex-shrink:0; }
.brand .gm-word { font-family:'Space Grotesk','Poppins',sans-serif; font-weight:700; font-size:1.3rem; letter-spacing:-.01em; color:#fff; line-height:1; white-space:nowrap; }
@media (max-width:640px){ .brand .gm-word{ font-size:1.12rem; } .brand .gm-mark{ width:26px; height:26px; } }

/* ===== Produkt-Thumbnails in Cards ===== */
.card > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

/* ===== Anwendungs-Streifen (Instagrid-Style, lange Bilder) ===== */
.app-strip { background: #0E1116; padding: 3rem 2rem 3.4rem; }
.app-strip-in { max-width: 1200px; margin: 0 auto; }
.app-strip .eyebrow { display:inline-block; }
.app-strip .app-head { text-align:center; margin-bottom: 1.6rem; }
.app-strip h2 { color:#fff; font-size: clamp(1.5rem, 3vw, 2.15rem); margin:.5rem 0 .4rem; letter-spacing:-.01em; }
.app-strip .app-sub { color: rgba(255,255,255,.62); font-size: 1rem; max-width: 620px; margin: 0 auto; }
.app-row { display:grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app-tile { position:relative; border-radius: 14px; overflow:hidden; aspect-ratio: 4 / 5; background:#151A20; }
.app-tile img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.app-tile:hover img { transform: scale(1.06); }
.app-tile .app-label { position:absolute; inset:auto 0 0 0; padding: 1rem .95rem .85rem; background: linear-gradient(to top, rgba(7,9,12,.94) 12%, rgba(7,9,12,.55) 60%, rgba(7,9,12,0)); }
.app-tile .app-label small { display:block; color: var(--green-bright); font-size:.7rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; margin-bottom:.2rem; }
.app-tile .app-label b { color:#fff; font-weight:600; font-size:.98rem; line-height:1.2; }
@media (max-width: 820px){ .app-row { grid-template-columns: repeat(2,1fr); } }

/* ===== GM 3600 Highlight (Flaggschiff auf Startseite) ===== */
.gm-feature { background: linear-gradient(180deg,#151A20 0%,#0E1116 100%); padding: 3.6rem 2rem; }
.gm-feature-in { max-width: 1140px; margin: 0 auto; display:grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items:center; }
.gm-feature .eyebrow { display:inline-block; }
.gm-feature h2 { color:#fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height:1.12; margin:.55rem 0 1rem; letter-spacing:-.02em; }
.gm-feature > .gm-feature-in > div > p { color: rgba(255,255,255,.76); font-size: 1.06rem; line-height:1.7; margin-bottom: 1.5rem; }
.gm-specs { display:flex; gap: 1.8rem; flex-wrap:wrap; margin-bottom: 1.7rem; }
.gm-specs b { display:block; color: var(--green-bright); font-size: 1.55rem; font-weight:700; font-family:'Space Grotesk','Poppins',sans-serif; line-height:1; }
.gm-specs span { color: rgba(255,255,255,.58); font-size:.8rem; }
.gm-feature-media { display:flex; justify-content:center; }
.gm-feature-media img { width:100%; max-width: 440px; border-radius: 18px; background:#fff; padding: 1.2rem; }
@media (max-width: 860px){ .gm-feature-in { grid-template-columns: 1fr; gap: 2rem; } .gm-feature-media { order:-1; } }

/* ===== Green MeOH – Positionierung "Energy Expert" ===== */
.brand .gm-lockup { display:flex; flex-direction:column; line-height:1; }
.brand .gm-tag { font-size:.6rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--green-bright); margin-top:4px; }

/* ===== Einzel-/UVP-Preise auf Portable/Jump-Starter ===== */
.power-card .retail-price { margin:.15rem 0 .1rem; font-size:1.35rem; font-weight:800; color:var(--green-dark); line-height:1.1; }
.power-card .retail-price small { font-size:.68rem; font-weight:600; color:var(--muted); letter-spacing:.02em; }
.compare-table td.price { font-weight:800; color:var(--green-dark); white-space:nowrap; }

/* ===== H1 groß/klein-Split (detail-hero) ===== */
.detail-hero h1 .h1-sub { display:block; font-size:.4em; font-weight:600; color:rgba(255,255,255,.72); margin-top:.6rem; letter-spacing:0; line-height:1.3; }

/* ===== DE/EN Language Switcher ===== */
.header-actions { display:flex; align-items:center; gap:1rem; }
.lang-switch { display:inline-flex; align-items:center; gap:.35rem; font-size:.82rem; font-weight:600; letter-spacing:.02em; white-space:nowrap; }
.lang-switch a { color:rgba(255,255,255,.55); padding:.15rem .1rem; transition:color .2s ease; }
.lang-switch a:hover { color:#fff; }
.lang-switch a.active { color:var(--green-bright); }
.lang-switch .sep { color:rgba(255,255,255,.25); }
@media (max-width:768px){ .header-actions { margin-left:auto; gap:.75rem; } }
