/* Jedi IT - Theme fuer jedi-it.de
   Dunkle Tech-/Infrastruktur-Optik mit Teal-Akzenten, echte Seitenstruktur
   (Kopfzeile, Hero, Sektionen, Footer) statt einer einzelnen schwebenden
   Card wie bei mf-tebbs.de - passend zum User-Wunsch nach mehr Inhalt/
   Gestaltung statt der bisherigen sehr schlichten WordPress-Seite. */

:root {
  --bg: #0b0f14;
  --bg-elevated: #121821;
  --border: rgba(148, 178, 190, 0.16);
  --text: #dce6ea;
  --muted: #8ba0ab;
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.12);
}

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

html, body {
  height: 100%;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(79, 209, 197, 0.08), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(79, 209, 197, 0.05), transparent 35%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

strong, b {
  font-weight: 600;
}

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand span {
  color: var(--accent);
}
.brand:hover {
  text-decoration: none;
}

nav.main-nav {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

main {
  flex: 1;
}

/* Hero */
.hero {
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 span {
  color: var(--accent);
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.tagline {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.hero-content {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.hero-content p {
  margin-bottom: 0.75rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #06201d;
}
.btn-primary:hover {
  background: #6fe0d5;
  text-decoration: none;
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* Sektionen / generische Seiten */
.section {
  max-width: 68rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.section.narrow {
  max-width: 42rem;
}
.portrait {
  display: block;
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin: 0 auto 1.5rem;
}
/* Portrait auf der Ueber-mich-Seite: greift sowohl fuer das dedizierte
   Cover-Image (siehe .portrait oben) als auch, falls stattdessen einfach
   ins Fliesstext-Feld eingefuegt (kein Rohtext-/HTML-Editor in diesem
   Bludit-Setup verfuegbar) - display:block reisst das Bild trotz gleichem
   <p> wie der Text auf eine eigene Zeile. */
.ueber-mich-content img {
  display: block;
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin: 0 auto 1.5rem;
}
.section.narrow h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.page-content p {
  margin-bottom: 1rem;
  color: var(--text);
}
.page-content h2 {
  font-size: 1.4rem;
  color: var(--accent);
  margin: 1.75rem 0 0.75rem;
}
.page-content ul {
  margin: 0.5rem 0 1rem 1.3rem;
}
.page-content li {
  margin-bottom: 0.4rem;
}

/* Vita-Listen (Publikationen-Seite: Zertifikate/Publikationen/Vortraege) */
.cv-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.cv-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.cv-list {
  list-style: none;
}
.cv-list li {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.5rem 0 0.5rem 0.9rem;
  border-left: 2px solid var(--border);
  margin-bottom: 0.5rem;
}

/* Leistungen-Grid (Icon-Cards) */
.ji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}
.ji-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.ji-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ji-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
.ji-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.ji-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Kontakt */
.contact-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}
.contact-box .ji-icon {
  margin-bottom: 0;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0.4rem;
}
.contact-box a {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}
.legal-links {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.legal-links a {
  margin: 0 0.4rem;
  color: var(--muted);
}
.legal-links a:hover {
  color: var(--accent);
}
.copyright {
  font-size: 0.85rem;
  color: rgba(139, 160, 171, 0.6);
}

@media (max-width: 30rem) {
  .hero {
    padding: 3.5rem 1.25rem 2.5rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .header-inner {
    justify-content: center;
    text-align: center;
  }
  nav.main-nav {
    justify-content: center;
    gap: 1.1rem;
  }
}
