/* =========================================================
   Engelhard Konzepte – Stylesheet
   Modernes, professionelles Design (B2B / Sicherheit)
   ========================================================= */

:root {
  --c-primary: #0f3a5f;      /* dunkles Blau, seriös */
  --c-primary-dark: #0a2840;
  --c-accent: #f59f00;       /* warmes Orange als Signalakzent */
  --c-accent-dark: #c87a00;
  --c-text: #1f2937;
  --c-text-soft: #4b5563;
  --c-muted: #6b7280;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;
  --c-border: #e5e7eb;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,58,95,.06), 0 1px 3px rgba(15,58,95,.08);
  --shadow-md: 0 4px 16px rgba(15,58,95,.08), 0 2px 6px rgba(15,58,95,.06);

  --container: 1140px;
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--c-primary);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); letter-spacing: -.3px; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; color: var(--c-text-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-accent-dark);
  margin: 0 0 .8rem;
}
.eyebrow.light { color: var(--c-accent); }

/* ==================== HEADER / NAV ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  color: var(--c-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 8px;
  color: var(--c-text);
  font-weight: 500;
  font-size: .95rem;
}
.main-nav a:hover { background: var(--c-bg-alt); text-decoration: none; }
.main-nav a.nav-cta {
  background: var(--c-primary);
  color: #fff;
  margin-left: .5rem;
}
.main-nav a.nav-cta:hover { background: var(--c-primary-dark); }

.nav-toggle, .nav-toggle-label { display: none; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .1s ease, background .2s ease, box-shadow .2s ease;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--c-accent);
  color: #1a1a1a;
}
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-ghost:hover { background: var(--c-primary); color: #fff; }
.btn-block { width: 100%; }

/* ==================== HERO ==================== */
.hero {
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(245,159,0,.12), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 4rem 0 4.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 { margin-bottom: 1rem; }
.lead {
  font-size: 1.15rem;
  color: var(--c-text-soft);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}
.hero-bullets li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--c-text-soft);
  font-size: .98rem;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .35rem;
  width: 18px; height: 18px;
  background: var(--c-accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
}
.hero-visual { display: flex; justify-content: center; }
.hero-img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 16px 30px rgba(15,58,95,.18));
}

/* ==================== SECTIONS ==================== */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--c-bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-sub { color: var(--c-text-soft); font-size: 1.05rem; }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* ==================== CARDS (Leistungen) ==================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d3dce5;
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245,159,0,.15), rgba(245,159,0,.05));
  color: var(--c-accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .75rem; }
.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .4rem;
}
.card-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--c-text-soft);
  font-size: .96rem;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ==================== ÜBER MICH ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}
.about-img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.role {
  color: var(--c-accent-dark);
  font-weight: 600;
  margin-top: -.5em;
  margin-bottom: 1em;
}
.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .65rem;
}
.about-features li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  padding: .75rem 1rem;
  border-radius: 8px;
  color: var(--c-text-soft);
}
.about-features strong { color: var(--c-primary); }

/* ==================== ABLAUF / STEPS ==================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(15,58,95,.25);
}
.steps h3 { margin-bottom: .5rem; }

/* ==================== KONTAKT ==================== */
.section-dark {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(245,159,0,.12), transparent 60%),
    var(--c-primary);
  color: #e7eef5;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: #c9d4e0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .85rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: .85rem;
}
.contact-label {
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: 1.5px;
  color: #9bb3c9;
  font-weight: 700;
}
.contact-list a { color: #fff; font-weight: 500; }

.contact-form {
  background: #fff;
  color: var(--c-text);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  display: grid;
  gap: 1rem;
}
.form-row { display: grid; gap: .35rem; }
.form-row label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-primary);
}
.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  padding: .75rem .9rem;
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  background: #fafbfc;
  transition: border-color .15s, background .15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
}
.form-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .6rem;
}
.form-check label {
  font-weight: 400;
  font-size: .9rem;
  color: var(--c-text-soft);
}
.form-check input { margin-top: .25rem; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--c-primary-dark);
  color: #c9d4e0;
  padding: 3rem 0 1.25rem;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: .9rem;
}
.site-footer a { color: #e7eef5; }
.site-footer .brand-name { color: #fff; font-size: 1.1rem; }
.footer-sub { color: #9bb3c9; font-size: .9rem; margin-top: .25rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .4rem;
}
.footer-bottom {
  padding-top: 1.25rem;
  color: #9bb3c9;
  text-align: center;
}

/* ==================== LEGAL PAGES ==================== */
.legal-page { padding: 3rem 0 5rem; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.legal-page h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal-page p, .legal-page li { color: var(--c-text-soft); }
.legal-page ul { padding-left: 1.25rem; }
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--c-primary);
  font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .hero { padding: 3rem 0; }
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual { order: -1; }
  .hero-img { max-width: 320px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-wrap { height: 72px; }
  .brand-logo { height: 42px; }
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 22px;
    cursor: pointer;
    z-index: 60;
  }
  .nav-toggle-label span {
    display: block;
    height: 3px;
    background: var(--c-primary);
    border-radius: 2px;
  }
  .main-nav ul {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: .25rem;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform .25s ease;
  }
  .main-nav a { padding: .85rem 1rem; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle:checked ~ ul { transform: translateY(0); }

  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
  .section { padding: 3rem 0; }
  .hero { padding: 2.5rem 0 3rem; }
}
