/* =========================================================
   netz-spezialist.de – Portfolio-/Business-Website
   Reines HTML5/CSS3, kein Framework.
   ========================================================= */

:root {
  --color-navy: #0f2942;
  --color-navy-dark: #081826;
  --color-teal: #2a9d8f;
  --color-teal-light: #4fc3b0;
  --color-bg: #f4f7f8;
  --color-card: #ffffff;
  --color-text: #1c2b36;
  --color-text-light: #55697a;
  --shadow: 0 4px 18px rgba(15, 41, 66, 0.10);
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

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

/* ---------- Header / Navigation ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.brand img { height: 36px; width: 36px; border-radius: 8px; object-fit: cover; }

nav.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-nav a { color: #dce6ec; font-weight: 500; }
nav.main-nav a:hover { color: #fff; text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  nav.main-nav ul {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-navy-dark);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  nav.main-nav ul.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #fff;
  padding: 64px 0 72px;
}

.hero-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.hero-text { flex: 1 1 380px; }
.hero-img { flex: 0 1 320px; text-align: center; }
.hero-img img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero h1 { font-size: 2.4rem; margin: 0 0 8px; line-height: 1.2; }
.hero .claim { color: var(--color-teal-light); font-size: 1.2rem; font-weight: 600; margin-bottom: 18px; }
.hero p.lead { color: #cfe0e8; max-width: 520px; margin-bottom: 26px; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary { background: var(--color-teal); color: #fff; }
.btn-primary:hover {
  background: var(--color-teal-light);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42,157,143,0.35);
}

.btn-outline { border: 2px solid #cfe0e8; color: #fff; margin-left: 12px; }
.btn-outline:hover { border-color: #fff; text-decoration: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section h2 { font-size: 1.9rem; color: var(--color-navy); text-align: center; margin-bottom: 10px; }
section .section-sub {
  text-align: center;
  color: var(--color-text-light);
  max-width: 620px;
  margin: 0 auto 42px;
}

/* ---------- Leistungen Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card .icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.service-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--color-navy); }
.service-card p { margin: 0; color: var(--color-text-light); font-size: 0.92rem; }

/* ---------- Über mich ---------- */
.about { background: var(--color-card); }
.about-inner { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1 1 420px; }
.about-facts {
  flex: 1 1 280px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 24px;
}
.about-facts dt { font-weight: 700; color: var(--color-navy); margin-top: 12px; }
.about-facts dt:first-child { margin-top: 0; }
.about-facts dd { margin: 2px 0 0; color: var(--color-text-light); }

/* ---------- Kontakt ---------- */
.contact-card {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-info a { color: #fff; font-weight: 600; }
.contact-info .label { color: var(--color-teal-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
footer {
  background: var(--color-navy-dark);
  color: #9fb3c0;
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}
footer a { color: #cfe0e8; }
footer .footer-links { margin-top: 8px; }
footer .footer-links a { margin: 0 10px; }

/* ---------- Legal Pages (Impressum/Datenschutz) ---------- */
.legal-page main {
  background: var(--color-card);
  max-width: 820px;
  margin: 40px auto 80px;
  padding: 40px 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal-page h1 { color: var(--color-navy); }
.legal-page h2 { text-align: left; font-size: 1.3rem; margin-top: 32px; }
.legal-page section { padding: 0; }
