/* ============================================================
   Unternehmensberatung N. Felba – Stylesheet
   ============================================================ */

:root {
  --primary:       #1b3a4b;
  --primary-dark:  #122838;
  --accent:        #c8a44a;
  --accent-light:  #e8c878;
  --bg:            #ffffff;
  --bg-alt:        #f2f5f8;
  --bg-card:       #ffffff;
  --text:          #2a2a2a;
  --text-muted:    #5a6a7a;
  --border:        #d0dae4;
  --radius:        4px;
  --radius-lg:     8px;
  --shadow:        0 2px 12px rgba(27,58,75,0.10);
  --shadow-lg:     0 6px 24px rgba(27,58,75,0.14);
  --transition:    0.2s ease;
  --max-width:     1060px;
  --nav-height:    68px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }
ul { list-style: none; }

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

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
}

.site-nav a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5470 100%);
  color: #ffffff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  position: relative;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  position: relative;
}

.page-hero .accent-line {
  display: inline-block;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
  position: relative;
}

/* ── Home Hero ──────────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1b3a4b 50%, #254d62 100%);
  color: #ffffff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
  position: relative;
}

.home-hero-text .accent-line {
  display: inline-block;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

.home-hero-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.home-hero-text h1 em {
  font-style: normal;
  color: var(--accent);
}

.home-hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,164,74,0.35);
}

.home-hero-photo {
  position: relative;
}

.home-hero-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(200,164,74,0.3);
  object-fit: cover;
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 40px;
}

.section-header .accent-line {
  display: inline-block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h3 .card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--text);
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Profil Layout ──────────────────────────────────────────── */
.profil-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.profil-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--border);
}

.profil-photo .photo-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.competency-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.competency-table th {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 10px 16px;
}

.competency-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.competency-table tr:nth-child(even) td {
  background: var(--bg-alt);
}

.competency-table .years {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.role-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── Info Box ───────────────────────────────────────────────── */
.info-box {
  background: linear-gradient(135deg, var(--primary) 0%, #254d62 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 8rem;
  color: rgba(255,255,255,0.07);
  font-family: Georgia, serif;
  line-height: 1;
}

.info-box p {
  font-size: 1.1rem;
  line-height: 1.7;
  position: relative;
}

.info-box .info-box-accent {
  color: var(--accent);
  font-weight: 700;
}

/* ── Tipps ──────────────────────────────────────────────────── */
.tipps-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.tipps-box h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.tipps-box p {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 16px;
}

.tipps-box .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  text-decoration: none;
  transition: all var(--transition);
}

.tipps-box .btn-link:hover {
  color: var(--accent);
}

/* ── Referenzen ─────────────────────────────────────────────── */
.referenzen-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.referenzen-note .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.referenzen-note h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.referenzen-note p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── Impressum / Datenschutz ────────────────────────────────── */
.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 28px 0 10px;
  padding-top: 8px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content address {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.7;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--accent);
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.legal-warning {
  background: #fff8e6;
  border: 1px solid #e8c878;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-warning h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.legal-warning p {
  font-size: 0.87rem;
  color: #5a4a20;
  margin: 0;
}

/* ── Contact Info Strip ─────────────────────────────────────── */
.contact-strip {
  background: var(--primary);
  color: #ffffff;
  padding: 40px 0;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-strip h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-strip p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.contact-items {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.contact-item a,
.contact-item span {
  color: #ffffff;
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent-light);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.55);
  padding: 28px 0;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p {
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.9);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .home-hero-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .profil-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profil-photo {
    max-width: 260px;
  }
}

@media (max-width: 700px) {
  :root { --nav-height: 60px; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 16px 16px;
    gap: 2px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .home-hero-text h1 { font-size: 1.8rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .section { padding: 48px 0; }
  .card { padding: 22px 20px; }

  .contact-strip-inner { flex-direction: column; align-items: flex-start; }
  .site-footer-inner { flex-direction: column; }

  .referenzen-note { padding: 28px 24px; }
  .legal-content h2 { font-size: 1.1rem; }
}
