/*
Theme Name: Knut Barth – Head of Online Marketing
Theme URI: https://knut-barth.de
Author: Knut Barth
Author URI: https://knut-barth.de
Description: Personal Branding Theme für Knut Barth – Dark & Premium Design für maximale Professionalität als Head of Online Marketing.
Version: 1.0.0
License: Private
Tags: personal, portfolio, dark, premium, one-page
*/

/* ── CSS VARIABLES ───────────────────────────────── */
:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim:   rgba(201,168,76,0.15);
  --dark:       #0D0D0D;
  --dark-2:     #141414;
  --dark-3:     #1C1C1C;
  --dark-4:     #242424;
  --text:       #E8E8E8;
  --text-muted: #888888;
  --white:      #FFFFFF;
}

/* ── RESET & BASE ────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}
.site-logo span { color: var(--gold); }

.main-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold); }

.nav-cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 68px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); color: var(--dark); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-avatar-frame {
  width: 340px;
  height: 400px;
  position: relative;
}
.hero-avatar-frame::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 4px;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--dark-4);
}
.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--gold);
  gap: 1rem;
}
.badge {
  position: absolute;
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.badge-1 { top: 20px; right: -20px; }
.badge-2 { bottom: 60px; right: -30px; }
.badge-3 { bottom: 20px; left: -20px; }
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── SECTIONS ────────────────────────────────────── */
section { padding: 100px 5%; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ── ABOUT ───────────────────────────────────────── */
#about { background: var(--dark-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.about-text p strong { color: var(--text); }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.highlight-item {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  padding: 1.2rem;
  transition: border-color 0.2s;
}
.highlight-item:hover { border-color: rgba(201,168,76,0.3); }
.highlight-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.highlight-title { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.highlight-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

.cert-box {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.cert-box-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.cert-list { list-style: none; }
.cert-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--dark-4);
  font-size: 0.9rem;
  color: var(--text);
}
.cert-list li:last-child { border-bottom: none; }
.cert-check { color: var(--gold); flex-shrink: 0; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.tool-tag {
  background: var(--dark-4);
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  padding: 0.5rem 0.4rem;
  font-size: 0.7rem;
  text-align: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.tool-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ── EXPERTISE ───────────────────────────────────── */
#expertise { background: var(--dark); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.expertise-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.expertise-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-3px); }
.expertise-card:hover::before { opacity: 1; }
.expertise-icon { font-size: 2rem; margin-bottom: 1rem; }
.expertise-title { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.7rem; }
.expertise-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.expertise-skills { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-chip {
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ── EXPERIENCE ──────────────────────────────────── */
#experience { background: var(--dark-2); }

.timeline {
  margin-top: 3.5rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.timeline-item {
  padding-left: 3rem;
  padding-bottom: 3rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 15px rgba(201,168,76,0.4);
}
.timeline-period {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.timeline-company { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.timeline-role { font-size: 0.95rem; color: var(--gold-light); margin-bottom: 0.8rem; }
.timeline-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; max-width: 700px; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.timeline-tag {
  background: var(--dark-4);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  border: 1px solid var(--dark-4);
}

/* ── RESULTS ─────────────────────────────────────── */
#results { background: var(--dark); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.result-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.result-card:hover { border-color: rgba(201,168,76,0.3); }
.result-num {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}
.result-label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* ── CONTACT ─────────────────────────────────────── */
#contact { background: var(--dark-2); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}
.contact-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; font-size: 1.05rem; }
.contact-channels { display: flex; flex-direction: column; gap: 1rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  transition: border-color 0.2s;
}
.contact-channel:hover { border-color: rgba(201,168,76,0.3); }
.channel-icon { font-size: 1.3rem; width: 40px; text-align: center; flex-shrink: 0; }
.channel-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.channel-value { font-size: 0.95rem; color: var(--white); font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.form-group input,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  resize: vertical;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 2.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }
.footer-copy span { color: var(--gold); }
.footer-nav ul { display: flex; gap: 2rem; list-style: none; }
.footer-nav a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }

/* ── WORDPRESS ADMIN BAR FIX ─────────────────────── */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
}
@media (max-width: 600px) {
  .expertise-grid, .results-grid, .about-highlights { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer { flex-direction: column; gap: 1rem; text-align: center; }
}
