/* ═══════════════════════════════════════════════════════════
   HAMBOORG.CITY — LANDING PAGE STYLES
   Extracted from landing.html inline <style> — 2026-02-23
   Depends on: base.css (design tokens, topbar, footer, modal, etc.)
   ═══════════════════════════════════════════════════════════ */

/* ═══ HERO ═══ */

.hero {
  padding: 80px 24px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease-out;
}
.hero h1 {
  font-family: 'Tenor Sans', Georgia, serif;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease-out 0.1s both;
}
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--text-mid);
  margin: 0 auto 40px;
  line-height: 1.6;
  white-space: nowrap;
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

/* ═══ ACTION TILES ═══ */

.actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 60px;
  animation: fadeUp 0.6s ease-out 0.3s both;
}
.action-tile {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.action-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.action-tile:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.action-tile:hover::before { opacity: 1; }
.action-tile > * { position: relative; z-index: 1; }

.action-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: transform 0.3s, background 0.3s;
}
.action-tile:hover .action-icon {
  transform: scale(1.1);
  background: var(--accent-soft);
}
.action-title {
  font-family: 'Tenor Sans', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text);
}
.action-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 16px;
}
.action-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.action-tile:hover .action-cta { background: var(--accent-hover); }

/* Document tile special */
.action-tile.primary { border-color: var(--accent); border-width: 2px; }
.action-tile.primary::before { opacity: 0.5; }

/* Mic badge on question tile */
.mic-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: white;
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

/* ═══ ACTION TILES — Mobile ═══ */

@media (max-width: 800px) {
  .actions { grid-template-columns: 1fr; gap: 16px; }
  .action-tile { padding: 24px 20px; }
}

/* ═══ HELPBOX (Ask Question) ═══ */

.helpbox-section {
  background: var(--bg-warm);
  padding: 60px 24px;
  display: none;
}
.helpbox-section.active { display: block; animation: fadeUp 0.4s ease-out; }
.helpbox {
  max-width: 700px;
  margin: 0 auto;
}
.helpbox-header {
  text-align: center;
  margin-bottom: 24px;
}
.helpbox-header h2 {
  font-family: 'Tenor Sans', serif;
  font-size: 28px;
  margin-bottom: 8px;
}
.helpbox-header p {
  color: var(--text-mid);
  font-size: 15px;
}
.helpbox-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.helpbox-field {
  position: relative;
  margin-bottom: 16px;
}
.helpbox-textarea {
  width: 100%;
  min-height: 120px;
  padding: 18px 60px 18px 18px;
  border: 2px solid var(--border-strong);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  resize: none;
  outline: none;
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.helpbox-textarea::placeholder { color: var(--text-soft); }
.helpbox-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.char-counter {
  text-align: right;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 4px;
  transition: color 0.2s;
}
.char-counter.warning { color: var(--accent); }
.char-counter.danger { color: var(--red); font-weight: 600; }

/* Big mic button */
.mic-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(200, 90, 40, 0.3);
}
.mic-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.08);
}
.mic-btn.recording {
  background: var(--red);
  animation: pulse-rec 1s infinite;
}
.mic-btn svg { width: 22px; height: 22px; fill: white; }

.helpbox-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mic-hint {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-soft);
}
.mic-hint strong { color: var(--accent); }

/* Loading & Answer */
.loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: var(--text-mid);
}
.loading.active { display: flex; }
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.answer-box {
  display: none;
  background: var(--green-soft);
  border-radius: var(--r-md);
  padding: 24px;
  margin-top: 20px;
  border-left: 4px solid var(--green);
}
.answer-box.active { display: block; animation: fadeUp 0.3s ease-out; }
.answer-box h4 {
  font-family: 'Tenor Sans', serif;
  font-size: 18px;
  color: var(--green);
  margin-bottom: 12px;
}
.answer-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}
.answer-text p { margin-bottom: 12px; }
.answer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover { background: var(--green); color: white; }
.copy-btn.copied { background: var(--green); color: white; }
.copy-btn svg { width: 14px; height: 14px; }

/* ═══ FOLLOW-UP SUGGESTIONS ═══ */

.follow-up-suggestions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.follow-up-suggestions h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.follow-up-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.follow-up-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.follow-up-btn:hover {
  background: rgba(200, 90, 40, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.follow-up-btn::before {
  content: "\2192 ";
  color: var(--accent);
  font-weight: 600;
}

/* ═══ LEXICON TOOLTIPS ═══ */

.lexicon-term {
  background: linear-gradient(to bottom, transparent 60%, rgba(200, 90, 40, 0.2) 60%);
  cursor: help;
  position: relative;
  font-weight: 500;
}
.lexicon-term:hover {
  background: rgba(200, 90, 40, 0.15);
}
.lexicon-term .lexicon-tip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  width: max-content;
  max-width: 280px;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  margin-bottom: 8px;
}
.lexicon-term .lexicon-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--bg-dark);
}
.lexicon-term:hover .lexicon-tip {
  display: block;
  animation: fadeUp 0.15s ease-out;
}
.lexicon-tip-de { font-weight: 600; color: var(--accent); }
.lexicon-tip-local { color: rgba(255,255,255,0.7); font-size: 12px; }

/* ═══ SCENARIOS ═══ */

.scenarios {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-mid);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s;
}
.scenario-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.scenario-card.urgent {
  border-left: 4px solid var(--red);
}
.scenario-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
  background: var(--red-soft);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}
.scenario-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.scenario-title {
  font-family: 'Tenor Sans', serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text);
}
.scenario-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ═══ SCENARIOS — Mobile ═══ */

@media (max-width: 800px) {
  .scenario-grid { grid-template-columns: 1fr; }
}

/* ═══ SOCIAL PROOF ═══ */

.proof-section {
  background: var(--bg-dark);
  padding: 80px 24px;
  color: var(--text-inv);
}
.proof-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.proof-header {
  text-align: center;
  margin-bottom: 48px;
}
.proof-header h2 {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  margin-bottom: 16px;
}
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-stat {
  text-align: center;
}
.proof-stat-value {
  font-family: 'Tenor Sans', serif;
  font-size: 42px;
  color: var(--accent);
}
.proof-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial {
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
}
.testimonial blockquote {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}
.testimonial cite {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonial .flag { font-size: 18px; }

/* ═══ SOCIAL PROOF — Mobile ═══ */

@media (max-width: 800px) {
  .proof-stats { gap: 32px; }
  .testimonials { grid-template-columns: 1fr; }
}

/* ═══ HOW IT WORKS ═══ */

.how-section {
  padding: 80px 24px;
  background: var(--bg-warm);
}
.how-inner {
  max-width: 900px;
  margin: 0 auto;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.how-item {
  text-align: center;
}
.how-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tenor Sans', serif;
  font-size: 20px;
}
.how-item h3 {
  font-family: 'Tenor Sans', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.how-item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ═══ HOW IT WORKS — Mobile ═══ */

@media (max-width: 700px) {
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ═══ MANIFEST ═══ */

.manifest {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.manifest-inner {
  max-width: 700px;
  margin: 0 auto;
}
.manifest-quote {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  font-style: italic;
  color: var(--text);
  position: relative;
}
.manifest-quote::before {
  content: '\201C';
  font-size: 120px;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-soft);
  font-family: 'Tenor Sans', serif;
  line-height: 1;
  pointer-events: none;
}
.manifest-cite {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-soft);
}
.manifest-cite a { color: var(--accent); font-weight: 500; }

/* ═══ MARKDOWN STYLES IN ANSWER ═══ */

.answer-text h1, .answer-text h2, .answer-text h3 {
  font-weight: 700;
  margin: 16px 0 8px;
  line-height: 1.3;
}
.answer-text h1 { font-size: 1.4em; }
.answer-text h2 { font-size: 1.2em; }
.answer-text h3 { font-size: 1.1em; }
.answer-text p { margin: 8px 0; }
.answer-text ul, .answer-text ol {
  margin: 8px 0;
  padding-left: 24px;
}
.answer-text li { margin: 4px 0; }
.answer-text strong { font-weight: 600; }
.answer-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.answer-text a:hover { color: var(--green); }
.answer-text code {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}
.answer-text pre {
  background: rgba(0,0,0,0.2);
  padding: 12px;
  border-radius: var(--r-sm);
  overflow-x: auto;
  margin: 8px 0;
}
.answer-text pre code {
  background: none;
  padding: 0;
}
.answer-text blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin: 8px 0;
  color: var(--text-soft);
  font-style: italic;
}

/* ═══ LANDING-SPECIFIC ANIMATIONS ═══ */

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes pulse-rec { 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 64, 64, 0.4); } 50% { box-shadow: 0 0 0 16px rgba(200, 64, 64, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
