/* ============================================================
   ProzessWerk-Rudolf – Shared Stylesheet
   ============================================================ */

/* Local Fonts – DSGVO-konform */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-v15-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-v15-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-v15-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-v15-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-v15-latin-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-v25-latin-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-v25-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-v25-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --green-dark:   #1a3d1f;
  --green-mid:    #2d6a35;
  --green-bright: #4caf50;
  --green-light:  #a8d5ab;
  --green-pale:   #e8f5e9;
  --accent:       #76c442;
  --text-dark:    #111a12;
  --text-mid:     #3a4a3c;
  --text-light:   #6b7f6d;
  --white:        #ffffff;
  --off-white:    #f7faf7;
  --border:       #d4e8d5;
  --shadow:       rgba(26,61,31,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.15; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px var(--shadow); }

.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo img {
  height: 44px; width: auto;
}
.nav-logo-icon-img {
  height: 44px; width: auto;
  margin-right: 2rem;
}
.nav-logo-icon { display: none; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--green-dark); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-mid); font-size: 0.9rem;
  font-weight: 400; transition: color 0.2s; padding-bottom: 3px;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-mid); border-color: var(--accent); }
.nav-cta {
  background: var(--green-mid) !important; color: white !important;
  padding: 0.55rem 1.4rem !important; border-radius: 50px;
  font-weight: 500 !important; border-bottom: none !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); }

/* ── TOOLS BAR ── */
.tools-bar {
  background: var(--green-dark); padding: 1.1rem 4rem;
  display: flex; align-items: center; gap: 3rem; overflow: hidden;
}
.tools-bar-label {
  font-size: 0.72rem; color: var(--green-light);
  text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; font-weight: 500;
}
.tools-list { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.tool-item { color: rgba(255,255,255,0.75); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.82rem; }

/* ── SECTION BASE ── */
section { padding: 6rem 4rem; }
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--green-mid); margin-bottom: 0.8rem;
}
.section-title { font-size: clamp(1.8rem,3vw,2.8rem); color: var(--green-dark); margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--text-mid); max-width: 580px; font-weight: 300; margin-bottom: 3rem; line-height: 1.75; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green-mid); color: white; padding: 0.9rem 2rem;
  border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(45,106,53,0.3);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,106,53,0.4); }
.btn-secondary {
  background: transparent; color: var(--green-mid); padding: 0.9rem 2rem;
  border-radius: 50px; text-decoration: none; font-weight: 500; font-size: 0.95rem;
  border: 2px solid var(--green-light); transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { border-color: var(--green-mid); background: var(--green-pale); transform: translateY(-2px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--off-white); padding: 8rem 4rem 4rem;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 700px; }
.page-hero h1 { font-size: clamp(2rem,4vw,3.2rem); color: var(--green-dark); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-mid); font-weight: 300; line-height: 1.75; }

/* ── CARDS ── */
.card {
  background: var(--off-white); border: 1px solid var(--border); border-radius: 20px;
  padding: 2rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px var(--shadow); border-color: var(--green-light); }
.card-icon {
  width: 50px; height: 50px; background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.card-icon svg { width: 24px; height: 24px; fill: white; }
.card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 0.6rem; }
.card p { font-size: 0.88rem; color: var(--text-mid); font-weight: 300; line-height: 1.65; }
.tag {
  display: inline-block; background: var(--green-pale); color: var(--green-mid);
  padding: 0.22rem 0.65rem; border-radius: 50px; font-size: 0.73rem; font-weight: 600;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }

/* ── FOOTER ── */
footer {
  background: #0f2412; padding: 2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { font-family: 'Outfit', sans-serif; font-weight: 800; color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column !important;
    position: fixed; top: 62px; left: 0; right: 0;
    background: white; padding: 1.5rem 2rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 999; gap: 0;
  }
  .nav-links.open { display: flex !important; flex-direction: column !important; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 0.75rem 0;
    font-size: 1rem; border-bottom: 1px solid var(--border) !important;
  }
  .nav-links li:last-child a {
    margin-top: 0.8rem; text-align: center;
    border-bottom: none !important;
  }
  section { padding: 4rem 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .tools-bar { padding: 1rem 1.5rem; gap: 1rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .nav-logo img { height: 38px; }
  .nav-logo-icon-img { height: 38px; margin-right: 1.2rem; }
}
