/* === pdf2image.de — Light Mode mit Logo-Schriftart === */

:root {
  /* Logo-Farben */
  --orange: #FF7A1A;
  --orange-bright: #FF9444;
  --orange-deep: #E5630A;
  --orange-light: #FFE3CC;
  --orange-soft: #FFF5EC;

  --navy: #1E2536;
  --navy-2: #2D3748;
  --navy-3: #4A5568;
  --navy-soft: #F4F5F8;

  --coral: #FF4D6D;
  --amber: #FFB347;

  /* Light Mode Surfaces */
  --bg: #FAFAF7;
  --bg-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F4F5F8;
  --border: rgba(30, 37, 54, 0.08);
  --border-2: rgba(30, 37, 54, 0.15);

  /* Text */
  --text: #1E2536;
  --text-2: #4A5568;
  --text-3: #8693A7;

  /* Gradients */
  --grad-orange: linear-gradient(135deg, #FF7A1A 0%, #FFB347 100%);
  --grad-warm: linear-gradient(135deg, #E5630A 0%, #FF7A1A 50%, #FFB347 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Fonts — Chakra Petch matched zum Logo */
  --font-display: 'Chakra Petch', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

/* === Background Decoration === */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF5EC 0%, #FAFAF7 30%, #FAFAF7 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: float 24s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--orange);
  top: -200px; right: -150px;
}
.blob-2 {
  width: 480px; height: 480px;
  background: var(--amber);
  top: 30%; left: -150px;
  animation-delay: -8s;
  opacity: 0.35;
}
.blob-3 {
  width: 520px; height: 520px;
  background: var(--coral);
  bottom: -150px; right: 20%;
  animation-delay: -16s;
  opacity: 0.25;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 37, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 37, 54, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}

/* === Navigation === */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  transition: transform 0.3s;
}
.logo:hover .logo-img { transform: scale(1.03); }
.logo-img-sm { height: 42px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.btn-pill {
  background: var(--navy);
  color: white !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(30, 37, 54, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-pill:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 122, 26, 0.4);
}

/* === Hero === */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border-2);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 36px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(30, 37, 54, 0.04);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); }
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--navy);
}
.accent-text {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.accent-text::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0; right: 0;
  height: 0.12em;
  background: var(--orange);
  opacity: 0.18;
  z-index: -1;
  border-radius: 4px;
}
.wink {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--text-2);
  letter-spacing: 0;
}

.sub {
  font-size: 20px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.55;
}

/* === Convert Box === */
.convert {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow:
    0 1px 2px rgba(30, 37, 54, 0.04),
    0 20px 60px rgba(30, 37, 54, 0.08),
    0 50px 120px rgba(255, 122, 26, 0.08);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.convert::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-orange);
}

.drop-zone {
  border: 2px dashed var(--border-2);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  text-align: center;
  background: var(--orange-soft);
  cursor: pointer;
  transition: all 0.25s;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--orange);
  background: var(--orange-light);
  transform: scale(1.005);
}
.drop-zone.dragover {
  border-style: solid;
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.15);
}

.drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.drop-icon { width: 76px; height: 76px; }
.drop-icon svg { width: 100%; height: 100%; }
.drop-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.drop-text span {
  color: var(--text-2);
  font-size: 14px;
}
.link-btn {
  background: none;
  border: none;
  color: var(--orange-deep);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
}

/* === Options === */
.options {
  display: grid;
  grid-template-columns: 1fr 1.4fr 2fr;
  gap: 16px;
  margin: 24px 0;
}
.opt-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 8px;
}
.seg {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 3px;
}
.seg-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.seg-btn:hover { color: var(--navy); }
.seg-btn.active {
  background: var(--navy);
  color: white;
  box-shadow: 0 2px 8px rgba(30, 37, 54, 0.2);
}
.input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}
.input:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}
.input::placeholder { color: var(--text-3); }

/* === CTA Button === */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--orange);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s, background 0.2s;
}
.btn-cta svg { width: 20px; height: 20px; }
.btn-cta:hover:not(:disabled) {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(255, 122, 26, 0.5);
}
.btn-cta:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

/* === Status / Results === */
.status {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-2);
}
.status.show {
  padding: 16px;
  background: var(--orange-soft);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--orange);
}
.status.error {
  background: #FFF0F2;
  border-left-color: var(--coral);
  color: #B53050;
}
.status.success {
  background: #E8FFF1;
  border-left-color: #00B873;
  color: #00734A;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 122, 26, 0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-bar > div {
  height: 100%;
  background: var(--grad-orange);
  width: 0;
  transition: width 0.3s;
  border-radius: 999px;
}

.results {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.result-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.result-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.15);
}
.result-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--surface-2);
  display: block;
}
.result-card .label {
  padding: 10px;
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.result-card .label strong { color: var(--navy); }

.btn-zip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font-display);
}
.btn-zip:hover { background: var(--orange); }

/* === Trust === */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.01em;
}
.trust-item span {
  font-size: 13px;
  color: var(--text-3);
}

/* === Sections === */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
}

/* === Features === */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feat:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(30, 37, 54, 0.08);
}
.feat-lg { grid-column: span 2; }

.feat-primary {
  background: var(--grad-orange);
  border-color: transparent;
  color: white;
}
.feat-primary h3, .feat-primary p { color: white; }
.feat-primary p { opacity: 0.92; }
.feat-primary:hover {
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(255, 122, 26, 0.35);
}

.feat-dark {
  background: var(--navy);
  border-color: transparent;
  color: white;
}
.feat-dark h3 { color: white; }
.feat-dark p { color: rgba(255,255,255,0.75); }
.feat-dark:hover {
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(30, 37, 54, 0.25);
}

.feat-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: inline-block;
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-primary .feat-icon, .feat-dark .feat-icon {
  background: rgba(255, 255, 255, 0.18);
}
.feat h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.feat p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
}

/* === How === */
.how {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30, 37, 54, 0.06);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--navy);
}
.step p { color: var(--text-2); font-size: 15px; }

/* === API Section === */
.api-sec {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.api-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--navy);
}
.api-text p {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 24px;
}
.api-feats {
  list-style: none;
  margin-bottom: 32px;
}
.api-feats li {
  padding: 8px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.btn-ghost {
  display: inline-flex;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: white;
  padding: 14px 24px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-display);
  transition: all 0.2s;
}
.btn-ghost:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.api-code {
  background: #0E1117;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30, 37, 54, 0.2);
}
.code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-head span:not(.code-file) { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.code-file {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #6E7681;
}
.api-code pre {
  padding: 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #E6EDF3;
}
.c-c { color: #8B949E; font-style: italic; }
.c-k { color: var(--orange-bright); font-weight: 600; }
.c-s { color: #79C0FF; }
.c-n { color: var(--amber); }

/* === CTA Final === */
.cta-final {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.cta-card {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 60%);
  opacity: 0.4;
  filter: blur(40px);
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 60%);
  opacity: 0.25;
  filter: blur(40px);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  color: white;
}
.cta-card .accent-text { color: var(--orange-bright); }
.cta-card .accent-text::after { background: var(--orange-bright); opacity: 0.25; }
.cta-card p {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.btn-cta-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange);
  color: white;
  padding: 20px 40px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  font-family: var(--font-display);
  box-shadow: 0 15px 40px rgba(255, 122, 26, 0.5);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-cta-lg:hover {
  background: var(--orange-bright);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(255, 122, 26, 0.65);
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 60px 24px 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}
.foot-inner .logo { margin-bottom: 12px; }
.muted { color: var(--text-3); font-size: 14px; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot-cols h4 {
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.foot-cols a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.foot-cols a:hover { color: var(--orange); }
.copy {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

/* === Animations === */
.hero-inner > * {
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.5s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn-pill) { display: none; }
  .logo-img { height: 48px; }
  .options { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-lg { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .api-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 30px 16px 60px; }
  .convert { padding: 20px; }
  .drop-zone { padding: 32px 20px; }
  .cta-card { padding: 60px 24px; }
}
