/* ── TOKENS ── */
:root {
  --bg:         #0f172a;
  --bg-card:    rgba(255,255,255,0.03);
  --border:     #1e2d45;
  --muted:      #94a3b8;
  --fg:         #e2e8f0;
  --accent:     #38bdf8;
  --accent-dim: rgba(56,189,248,0.12);
  --radius:     14px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 110px; /* Höhe beider Header-Zeilen + Puffer */
}

body {
  margin: 0;
  font: 400 16px/1.7 'Jost', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Syne', system-ui, sans-serif; font-weight: 600; line-height: 1.2; margin-top: 0; }
p { margin-top: 0; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* ── LAYOUT ── */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
section { margin: 64px 0; }

/* ── STICKY HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  background: rgba(10, 18, 38, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 45, 69, 0.8);
  margin: 0 -24px;
  width: calc(100% + 48px);
  max-width: none;
}

/* Zeile 1: Logo · Sprachumschalter · CTA */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54px;
  border-bottom: 1px solid rgba(30, 45, 69, 0.6);
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Zeile 2: Navigationslinks */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: 38px;
}

.header-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  text-decoration: none;
}
.header-nav a:hover { color: var(--fg); }

/* ── LOGO MIT DYNAMISCHEN KLAMMERN ── */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
  gap: 6px;           /* Abstand zwischen Klammern und Text */
  letter-spacing: -0.02em;
  cursor: default;    /* Da es kein Link ist */
  transition: color 0.3s ease;
}

/* Der Punkt vor dem .de */
.logo .dot::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: #fff; /* Startfarbe Weiß */
  border-radius: 50%;
  margin: 0 1px 3px 1px;  /* Perfekte Ausrichtung zur Baseline */
  vertical-align: middle;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Die Klammern */
.logo::before, .logo::after {
  content: "";
  width: 10px;
  height: 28px;
  background-color: var(--accent);
  display: inline-block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Linke Klammer Maske */
.logo::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 32'%3E%3Cpath d='M10 4H4V28H10' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 32'%3E%3Cpath d='M10 4H4V28H10' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* Rechte Klammer Maske */
.logo::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 32'%3E%3Cpath d='M2 4H8V28H2' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 32'%3E%3Cpath d='M2 4H8V28H2' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* ── HOVER EFFEKT ── */
.logo:hover {
  color: #fff;
}

.logo:hover::before {
  transform: translateX(-3px); /* Klammer weitet sich leicht nach links */
}

.logo:hover::after {
  transform: translateX(3px);  /* Klammer weitet sich leicht nach rechts */
}

.logo:hover .dot::before {
  background-color: var(--accent); /* Punkt wechselt zu Blau */
  transform: scale(1.3);           /* Punkt wird dezent größer */
}

/* ── CTA BUTTON ── */
.cta {
  display: inline-block;
  padding: 9px 18px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  background: transparent;
}
.cta:hover { background: var(--accent-dim); color: var(--accent); box-shadow: 0 0 20px rgba(56,189,248,0.15); }

.cta-filled { background: var(--accent); color: #0f172a; font-weight: 700; border-color: var(--accent); }
.cta-filled:hover { background: #7dd3fc; color: #0f172a; border-color: #7dd3fc; box-shadow: 0 0 24px rgba(56,189,248,0.3); }

.cta-ghost { border-color: var(--accent); color: var(--accent); }
.cta-ghost:hover { background: var(--accent-dim); box-shadow: 0 0 20px rgba(56,189,248,0.15); }

/* ── HERO ── */
.hero { margin: 56px 0 48px; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 100%;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.75;
}

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

/* ── STATS BAR ── */
.stats-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 28px 32px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 120px; }

.stat-num {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 400; line-height: 1.3; }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* ── SECTION HEADERS ── */
/* ── SECTION HEADERS MIT ICON ── */
.section-title { 
  display: flex;
  align-items: center; /* Vertikale Zentrierung zum Text */
  gap: 12px;           /* Abstand zwischen Icon und Text */
  font-size: clamp(1.4rem, 2.5vw, 1.8rem); 
  font-weight: 700; 
  margin-bottom: 8px; 
  letter-spacing: -0.02em; 
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 24px;  /* Größe des Icons im Header */
  height: 24px;
  /* Das SVG als Data-URI (optimiert für CSS) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M10 8H6V24H10' stroke='%2338bdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M22 8H26V24H22' stroke='%2338bdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='16' r='3' fill='white'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0; /* Verhindert, dass das Icon gequetscht wird */
}
.section-sub { color: var(--muted); font-size: 1rem; margin-bottom: 36px; font-weight: 300; }

/* ── GRID ── */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ── CARD ── */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
}
.card:hover { border-color: #2d4060; background: rgba(255,255,255,0.04); }

/* ── SERVICE CARDS ── */
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--fg); }
.service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }
.card-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 16px; }
.card-icon svg { width: 100%; height: 100%; }

/* ── INDUSTRIES ── */
.industries { margin: 0 0 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.industries-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; white-space: nowrap; margin: 0; }
.industries-list { display: flex; gap: 8px; flex-wrap: wrap; }
.industry-tag { font-size: 0.8rem; padding: 4px 12px; border: 1px solid var(--border); border-radius: 100px; color: var(--muted); background: var(--bg-card); }

/* ── TESTIMONIALS ── */
.testimonial-card { display: flex; flex-direction: column; gap: 16px; position: relative; }
.quote-mark { font-family: 'Syne', Georgia, serif; font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.3; margin-bottom: -24px; margin-top: -8px; }
.quote-text { font-size: 0.95rem; color: var(--fg); line-height: 1.75; font-style: italic; font-weight: 300; margin: 0; flex: 1; }
.quote-author { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
.quote-author-info { display: flex; flex-direction: column; gap: 2px; }
.quote-author-info strong { font-size: 0.95rem; font-weight: 600; color: var(--fg); }
.quote-author-info span  { font-size: 0.83rem; color: var(--muted); }
.quote-tenure { font-size: 0.78rem; margin: 0; border-top: 1px solid var(--border); padding-top: 12px; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: stretch; }

.about-card { font-size: 0.98rem; color: var(--muted); line-height: 1.8; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg-card); }
.about-card p + p { margin-top: 14px; }

.skills-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg-card); display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.skill-group p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.skill-label { font-size: 0.75rem !important; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent) !important; font-weight: 600 !important; margin-bottom: 4px !important; }

/* ── PROFILFOTO ── */
.about-photo {
  float: right;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 0 16px 24px;
  border: 2.5px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.12), 0 8px 32px rgba(0,0,0,0.4);
  flex-shrink: 0;
  shape-outside: circle(50%);
}
.about-card::after { content: ''; display: block; clear: both; }

/* ── FRATCH CARD ── */
.fratch-card a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; height: 100%; }
.fratch-header { margin-bottom: 4px; }
.fratch-badge { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #34d399; border: 1px solid rgba(52,211,153,0.3); border-radius: 100px; padding: 2px 10px; }
.fratch-card h3 { margin: 0; color: var(--fg); font-size: 1.05rem; }
.fratch-link { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-top: auto; }

/* ── EXPERIENCE CHART ── */
.chart-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.exp-chart { display: flex; flex-direction: column; gap: 14px; }
.exp-row { display: grid; grid-template-columns: 160px 1fr 46px; align-items: center; gap: 12px; }
.exp-label { font-size: 0.83rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-bar-wrap { height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.exp-bar { height: 100%; width: var(--bar-w); border-radius: 4px; background: linear-gradient(90deg, var(--accent), #0ea5e9); transition: width 3s cubic-bezier(0.16, 1, 0.3, 1); }
.exp-years { font-size: 0.8rem; color: var(--accent); font-weight: 600; text-align: right; font-family: 'Syne', sans-serif; }

/* ── PROFILE CARDS ── */
.profile-card a { display: block; text-decoration: none; color: inherit; }
.profile-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--muted); }
.qr { aspect-ratio: 1/1; object-fit: contain; max-width: 240px; width: clamp(160px, 35vw, 240px); margin: 0 auto; padding: 8px; image-rendering: crisp-edges; }
.center { text-align: center; }

/* ── CONTACT ── */
.contact-section { background: linear-gradient(135deg, rgba(56,189,248,0.06), rgba(56,189,248,0.02)); border: 1px solid rgba(56,189,248,0.15); border-radius: var(--radius); padding: 48px 40px; text-align: center; }
.contact-section h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: 12px; font-weight: 700; }
.contact-section p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; font-size: 0.98rem; font-weight: 300; }

/* ── INSURANCE ── */
.insurance-row { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: left; }
.insurance-badge { width: 100px; height: 100px; max-width: none; }
.insurance-text strong { font-size: 0.9rem; display: block; margin-bottom: 6px; }
.insurance-text p { margin: 0; font-size: 0.85rem; max-width: 380px; }

/* ── MUTED ── */
.muted { color: var(--muted); font-size: 0.9rem; }

/* ── FOOTER ── */
footer { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }

/* ── BURGER – nur Mobile ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.burger span { display: block; width: 100%; height: 2px; background: #e0f0ff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(5, 12, 28, 0.97); z-index: 1000; flex-direction: column; align-items: center; justify-content: center; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: #c8e8ff; text-decoration: none; font-size: 1.3rem; font-weight: 500; letter-spacing: 0.05em; padding: 14px 32px; width: 100%; text-align: center; border-bottom: 1px solid rgba(30, 80, 140, 0.25); transition: color 0.2s, background 0.2s; }
.mobile-nav a:first-of-type { border-top: 1px solid rgba(30, 80, 140, 0.25); }
.mobile-nav a:hover { color: #3ab0ff; background: rgba(30, 100, 200, 0.08); }
.mobile-nav a.cta-mobile { margin-top: 20px; border: 1.5px solid #3ab0ff; border-radius: 6px; color: #3ab0ff; width: auto; font-weight: 600; }
.mobile-nav .mobile-divider { width: 60%; height: 1px; background: rgba(30, 80, 140, 0.4); margin: 16px 0; }
.mobile-nav a.muted-link { color: rgba(150, 190, 230, 0.5); font-size: 0.9rem; border: none; padding: 8px 32px; }
.mobile-nav a.muted-link:hover { color: rgba(150, 190, 230, 0.85); background: none; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stats-bar { gap: 20px; padding: 24px; }
}

@media (max-width: 767px) {
  .burger { display: flex; }
  .header-nav { display: none; } /* Nav-Zeile auf Mobile verstecken */
  header { flex-direction: column; } /* bleibt column, nur header-top sichtbar */
  .header-top { width: 100%; }
}

@media (max-width: 640px) {
  .contact-section { padding: 36px 24px; }
  .hero-actions { flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; }
  .about-photo { float: none; display: block; margin: 0 auto 20px auto; width: 130px; height: 130px; }
}

@media (max-width: 520px) {
  .insurance-row { text-align: center; }
}
