/*
Theme Name: Lebenslauf Generator Theme Fix
Theme URI: https://example.com/
Author: OpenAI
Description: WordPress Theme für Lebenslauf-Generierung mit PDF-, DOC-Export und automatischem Speichern im Browser.
Version: 1.1.0
Text Domain: lebenslauf-generator
*/
:root {
  --accent: #183a6b;
  --accent-soft: #dce4ee;
  --accent-light: #dfe8f2;
  --accent-text: #1d3760;
  --name-accent: #71a0d6;
  --button: #2563eb;
  --surface: rgba(255,255,255,0.96);
  --glass-border: rgba(255,255,255,0.72);
  --text: #1b1b1b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.85), transparent 28%),
    radial-gradient(circle at top right, rgba(255,255,255,0.55), transparent 22%),
    linear-gradient(180deg, #eef3fb 0%, #f6f8fc 45%, #f3f4f6 100%);
  min-height: 100vh;
}
body.theme-blue { --accent:#183a6b; --accent-soft:#dce4ee; --accent-light:#dfe8f2; --accent-text:#1d3760; --name-accent:#71a0d6; --button:#2563eb; }
body.theme-green { --accent:#1f5f46; --accent-soft:#deeee7; --accent-light:#eaf6f0; --accent-text:#184a37; --name-accent:#4aa37c; --button:#198754; }
body.theme-burgundy { --accent:#7a1f3d; --accent-soft:#f2dfe7; --accent-light:#f8eaf0; --accent-text:#5f1830; --name-accent:#c05a7d; --button:#b02a5b; }
body.theme-dark { --accent:#111827; --accent-soft:#e5e7eb; --accent-light:#f3f4f6; --accent-text:#111827; --name-accent:#6b7280; --button:#111827; }
.page-decor { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.blob { position: absolute; border-radius: 999px; filter: blur(18px); opacity: 0.18; animation: floatBlob 10s ease-in-out infinite; }
.blob.one { width: 240px; height: 240px; background: var(--accent); top: 88px; left: -70px; }
.blob.two { width: 280px; height: 280px; background: var(--name-accent); top: 320px; right: -70px; animation-delay: 1.3s; }
.blob.three { width: 180px; height: 180px; background: #93c5fd; bottom: 60px; left: 8%; animation-delay: 2.2s; }
@keyframes floatBlob { 0%,100% { transform: translateY(0) scale(1);} 50% { transform: translateY(-18px) scale(1.03);} }
header.site-header { position: relative; z-index: 4; max-width: 1380px; margin: 0 auto; padding: 18px 20px 0; }
.topbar-simple {
  min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 14px 18px; color: #fff; border-radius: 24px;
  background: linear-gradient(135deg, rgba(17,24,39,0.82), rgba(30,58,95,0.72));
  border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(15,23,42,0.18); overflow: hidden;
}
.brand-left { display: flex; align-items: center; gap: 14px; }
.logo-badge {
  position: relative; width: 52px; height: 52px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.42));
  box-shadow: 0 18px 34px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.6); overflow: hidden;
}
.logo-badge::before {
  content: ''; position: absolute; inset: 11px; border: 4px solid #2563eb;
  border-left-color: transparent; border-bottom-color: transparent; border-radius: 16px; transform: rotate(18deg);
}
.logo-badge::after {
  content: ''; position: absolute; width: 11px; height: 11px; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 999px; background: #71a0d6; box-shadow: 0 0 0 5px rgba(113,160,214,0.14);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-title { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; color: #fff; }
.brand-sub { margin-top: 6px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,0.62); font-weight: 700; }
.nav-center { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 8px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); }
.nav-link-pill { text-decoration: none; color: rgba(255,255,255,0.96); font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 999px; background: transparent; border: 1px solid transparent; }
.nav-link-pill.active, .nav-link-pill:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.16); color: #fff; }
.header-mini-cta, .btn, .btn-secondary { padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.header-mini-cta, .btn { border: none; background: linear-gradient(135deg, var(--button), color-mix(in srgb, var(--button) 75%, white 25%)); color: #fff; }
.btn-secondary { border: 1px solid #cbd5e1; background: rgba(255,255,255,0.88); color: var(--accent); }
.hero {
  position: relative; z-index: 1; max-width: 1380px; margin: 22px auto 0; padding: 30px 28px 36px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center;
  background: linear-gradient(135deg, #f5f8fd 0%, #eef3fb 50%, #f7f9fc 100%);
  border-radius: 34px; overflow: hidden; box-shadow: 0 24px 54px rgba(15,23,42,0.08); border: 1px solid rgba(255,255,255,0.9);
}
.hero-copy { max-width: 590px; }
.hero-breadcrumbs { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; color: #4b5563; font-size: 14px; font-weight: 500; }
.hero-breadcrumbs .sep { font-size: 24px; opacity: 0.8; }
.hero-copy h1 { margin: 0 0 18px; font-size: 58px; line-height: 1.05; letter-spacing: -0.05em; font-weight: 500; color: #0f172a; }
.hero-subtext { font-size: 17px; line-height: 1.6; color: #475569; margin-bottom: 22px; }
.hero-feature-row, .hero-action-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge, .mini-tag, .preview-chip, .storage-badge {
  padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-light); border: 1px solid rgba(15,23,42,0.04);
}
.hero-primary-btn, .hero-secondary-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 220px; padding: 16px 24px; border-radius: 18px; font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none;
}
.hero-primary-btn { border: none; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 20px 36px rgba(37,99,235,0.24); }
.hero-secondary-btn { border: 1px solid #cbd5e1; background: rgba(255,255,255,0.86); color: var(--accent); }
.hero-visual { min-height: 440px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 30px; background: linear-gradient(135deg, #dce4ee 0%, #c8d4e2 100%); padding: 22px; }
.hero-canvas-shot { width: min(100%, 820px); border-radius: 28px; box-shadow: 0 26px 50px rgba(30,41,59,0.18); display: block; background: linear-gradient(135deg,#dce4ee,#ffffff); padding:24px; }
.toolbar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; padding: 12px 16px; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,0.9); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.6); border-radius: 18px; box-shadow: 0 14px 32px rgba(15,23,42,0.12); }
.toolbar-status { font-size: 13px; color: #4b5563; padding: 8px 12px; background: #fff; border: 1px solid #d1d5db; border-radius: 10px; }
main.site-main { position: relative; z-index: 1; max-width: 1380px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 460px 1fr; gap: 24px; }
.center-mode main.site-main { grid-template-columns: 1fr; }
.center-mode #formSection { display: none !important; }
.center-mode .preview { max-width: 1120px; margin: 0 auto; transform: scale(1.02); }
.panel, .preview { background: var(--surface); border-radius: 22px; box-shadow: 0 14px 40px rgba(15,23,42,.08); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); }
.panel { padding: 22px; }
.preview { padding: 28px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(15,23,42,0.08); }
.panel-header h3 { margin: 0; font-size: 18px; color: #111827; }
.panel-tags, .preview-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 700; color: #334155; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border-radius: 12px; border: 1px solid #d1d5db; background: rgba(255,255,255,0.96); font-size: 14px; font-family: inherit; }
.field textarea { min-height: 96px; resize: vertical; }
.upload-box { border: 2px dashed color-mix(in srgb, var(--accent) 28%, white 72%); border-radius: 18px; padding: 18px; background: linear-gradient(180deg, rgba(248,251,255,0.95), rgba(240,244,252,0.86)); }
.upload-preview { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.86); border: 1px solid rgba(15,23,42,0.06); }
.upload-preview img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; border: 2px solid #e5e7eb; background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.export-note { font-size: 12px; color: #64748b; margin-top: 8px; }
.storage-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.cv-sheet { width: 794px; min-height: 1123px; margin: 0 auto; background: white; color: var(--text); box-shadow: 0 8px 24px rgba(15,23,42,.08); }
.cv-card { background: #fff; border: none; box-shadow: none; font-family: Arial, Helvetica, sans-serif; color: var(--text); padding: 26px 22px 40px; }
.cv-header { display: flex; align-items: center; gap: 18px; background: var(--accent-soft); border-left: 18px solid var(--accent); padding: 20px 24px; margin-bottom: 38px; }
.cv-photo { width: 122px; height: 150px; background: #fff; overflow: hidden; flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--accent) 18%, white 82%); }
.cv-photo img { width: 100%; height: 100%; object-fit: cover; }
.cv-name { font-size: 32px; line-height: 1.05; margin: 0 0 10px; font-weight: 500; letter-spacing: 0.2px; color: var(--text); }
.cv-name span:last-child { color: var(--name-accent); }
.contact { font-size: 18px; line-height: 1.45; color: color-mix(in srgb, var(--accent) 72%, #274c77 28%); margin-top: 0; }
.bar-title { margin: 28px 0 24px; background: var(--accent-light); border-left: 18px solid var(--accent); padding: 10px 18px; font-size: 17px; letter-spacing: 7px; color: var(--accent-text); font-weight: 700; text-transform: uppercase; }
.row { display: grid; grid-template-columns: 170px 1fr; gap: 10px; margin-bottom: 10px; align-items: start; padding: 0 16px; }
.date { font-size: 18px; font-weight: 700; color: var(--text); white-space: nowrap; }
.job-title { font-size: 19px; font-weight: 700; color: var(--text); }
.content-block { font-size: 18px; line-height: 1.35; color: var(--text); }
.company { color: var(--name-accent); }
.list { margin-top: 6px; padding-left: 0; list-style: none; font-size: 16px; line-height: 1.35; }
.list li { margin: 2px 0; }
.list li::before { content: '- '; color: var(--accent); }
.single-line { font-size: 18px; font-weight: 700; padding: 0 16px; line-height: 1.35; color: var(--text); }
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 54px; height: 54px; border: none; border-radius: 18px; background: linear-gradient(135deg, var(--button), color-mix(in srgb, var(--button) 70%, white 30%)); color: #fff; font-size: 20px; box-shadow: 0 16px 30px rgba(15,23,42,0.18); cursor: pointer; }
.pulse-ring { position: absolute; inset: -6px; border-radius: 22px; border: 2px solid rgba(37,99,235,0.22); animation: pulseRing 2.2s infinite; pointer-events: none; }
@keyframes pulseRing { 0% { transform: scale(.96); opacity: .85; } 70% { transform: scale(1.12); opacity: 0; } 100% { opacity: 0; } }
.site-faq-wrap { position: relative; z-index: 1; max-width: 1380px; margin: 18px auto 0; padding: 0 24px 28px; }
.faq-card { background: rgba(255,255,255,0.86); border: 1px solid rgba(255,255,255,0.72); border-radius: 22px; padding: 18px; box-shadow: 0 14px 32px rgba(15,23,42,0.07); backdrop-filter: blur(16px); }
.faq-card h3 { margin: 0 0 14px; color: var(--accent); }
details.faq-item { border: 1px solid #e5e7eb; border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,0.9); margin-bottom: 10px; }
details.faq-item summary { cursor: pointer; font-weight: 700; color: #111827; list-style: none; }
details.faq-item p { margin: 10px 0 0; color: #6b7280; line-height: 1.6; font-size: 14px; }
.screen-reader-text{position:absolute;left:-9999px;}
@media (max-width: 1200px) { .cv-sheet { width: 100%; min-height: auto; } }
@media (max-width: 980px) {
  .toolbar { position: static; margin: 14px 16px 0; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 24px 18px 30px; border-radius: 26px; }
  .hero-copy h1 { font-size: 48px; }
  main.site-main { grid-template-columns: 1fr; padding: 16px; }
  .preview { order: -1; }
  .center-mode .preview { transform: none; max-width: 100%; }
}
@media (max-width: 760px) { .cv-header { flex-direction: column; align-items: flex-start; } .row, .action-grid { grid-template-columns: 1fr; } .date { margin-bottom: 4px; } .bar-title { letter-spacing: 4px; } }
@media (max-width: 640px) {
  header.site-header { padding: 12px 10px 0; }
  .topbar-simple { min-height: auto; padding: 14px; grid-template-columns: 1fr; align-items: flex-start; }
  .brand-title { font-size: 18px; }
  .brand-sub { letter-spacing: .12em; }
  .nav-center { width: 100%; justify-content: flex-start; padding: 6px; }
  .nav-link-pill { padding: 9px 12px; }
  .header-mini-cta { width: 100%; }
  .hero { margin-top: 16px; padding: 18px 12px 20px; border-radius: 22px; }
  .hero-breadcrumbs { gap: 8px; font-size: 12px; margin-bottom: 18px; }
  .hero-breadcrumbs .sep { font-size: 18px; }
  .hero-copy h1 { font-size: 34px; margin-bottom: 18px; }
  .hero-subtext { font-size: 15px; }
  .hero-visual { padding: 14px; border-radius: 24px; }
  .cv-sheet { width: 100%; }
}
