/* ================================================================
   Bella.tax — Portal (Subdomain personalfragebogen.bella.tax)
   Landing Page + Wizard für öffentliche Nutzung
   ================================================================ */

/* ============ Portal-Nav ============ */
.portal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 48px;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
}
.portal-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-sans);
}
.portal-nav__mark { height: 40px; width: auto; }
.portal-nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.portal-nav__wordmark em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--brand);
  letter-spacing: -0.015em;
}
.portal-nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.portal-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
}
.portal-nav__links a:hover { color: var(--brand); }

/* Sprach-Switch im Header */
.portal-lang {
  display: inline-flex;
  gap: 2px;
  margin-left: 8px;
  padding: 3px;
  background: var(--bg, #F4F5F7);
  border-radius: 999px;
}
.portal-lang button {
  border: none;
  background: transparent;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted, #6E7B8B);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.portal-lang button:hover { color: var(--ink); }
.portal-lang button.is-active {
  background: #fff;
  color: var(--brand-deep, var(--ink));
  box-shadow: 0 1px 2px rgba(20,24,31,0.08);
}

@media (max-width: 900px) {
  .portal-nav { padding: 14px 22px; gap: 16px; flex-wrap: wrap; }
  .portal-nav__links { display: none; }
  /* Sprach-Switch bleibt sichtbar auch mobil */
  .portal-lang {
    display: inline-flex;
    margin-left: auto;
  }
}

/* ============ HERO ============ */
.hero-pub {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 48px 40px;
  text-align: center;
}
.hero-pub__badges {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-pub__badge {
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand-deep);
}
.hero-pub__h {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-pub__h em { font-style: italic; color: var(--brand); }
.hero-pub__lede {
  max-width: 60ch;
  margin: 0 auto 32px;
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-pub__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.hero-pub__provider {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.hero-pub__provider a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-pub { padding: 48px 22px 24px; }
  .hero-pub__actions .btn { width: 100%; justify-content: center; }
}

/* ============ 4 Schritte ============ */
.portal-steps {
  padding: 96px 48px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.portal-steps__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.portal-steps .eyebrow { margin-bottom: 12px; }
.portal-steps .section__h { margin-bottom: 48px; }

.steps4 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps4__item {
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.steps4__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -20px rgba(20,24,31,0.35);
}
.steps4__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand);
  padding: 4px 12px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 20px;
}
.steps4__item h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
}
.steps4__item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .portal-steps { padding: 64px 22px; }
  .steps4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps4__item { padding: 22px 20px 20px; }
}
@media (max-width: 560px) {
  .steps4 { grid-template-columns: 1fr; }
}

/* ============ Wizard-Section ============ */
.wizard-pub {
  padding: 96px 48px;
}
.wizard-pub__inner {
  max-width: 800px;
  margin: 0 auto;
}
.wizard-pub .eyebrow { margin-bottom: 12px; }
.wizard-pub .section__h { margin-bottom: 20px; }
.wizard-pub .section__lede { margin-bottom: 32px; }

.portal-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: 0 20px 60px -30px rgba(20,24,31,0.35);
}
.portal-fs {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}
.portal-legend {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  display: block;
  width: 100%;
}
.portal-legend .pfb-field__opt { color: var(--muted); letter-spacing: 0; text-transform: none; }

@media (max-width: 900px) {
  .wizard-pub { padding: 48px 22px; }
  .portal-form { padding: 24px 22px 22px; border-radius: 12px; }
}

/* ============ FAQ ============ */
.portal-faq {
  padding: 96px 48px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.portal-faq__inner {
  max-width: 820px;
  margin: 0 auto;
}
.portal-faq .eyebrow { margin-bottom: 12px; }
.portal-faq .section__h { margin-bottom: 32px; }
.portal-faq .help-faq {
  background: #fff;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .portal-faq { padding: 64px 22px; }
}

/* ============ CTA ============ */
.portal-cta {
  padding: 96px 48px;
  background: var(--brand-deep);
  color: #fff;
  text-align: center;
}
.portal-cta__inner {
  max-width: 620px;
  margin: 0 auto;
}
.portal-cta .section__h {
  color: #fff;
  margin-bottom: 20px;
}
.portal-cta .section__h em { color: rgba(255,255,255,0.65); }
.portal-cta .section__lede {
  color: rgba(255,255,255,0.75);
  margin: 0 auto 28px;
}
.portal-cta__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 900px) {
  .portal-cta { padding: 64px 22px; }
  .portal-cta__actions .btn { width: 100%; justify-content: center; }
}

/* ============ Erfolgs-Karte ============ */
.pub-success {
  padding: 32px 28px;
  background: linear-gradient(180deg, #E8F5EC 0%, #ffffff 100%);
  border: 1px solid #A9D8B4;
  border-radius: 12px;
  text-align: left;
}
.pub-success h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 12px;
  color: #1e5b2f;
}
.pub-success p { margin: 0 0 16px; color: var(--ink-soft); line-height: 1.6; }
.pub-success code {
  display: block;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  word-break: break-all;
  user-select: all;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 16px;
}
.pub-success__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============ BLOG ============ */
.blog-head {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 48px 32px;
  text-align: left;
}
.blog-head .eyebrow { margin-bottom: 12px; }
.blog-head h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.blog-head p.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft, #3F4654);
  margin: 0;
  max-width: 60ch;
}

.blog-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 48px 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.blog-card {
  display: block;
  padding: 28px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  background: #fff;
  transition: border-color .18s, transform .18s;
}
.blog-card:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.blog-card__meta {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #8A8F9C);
  margin-bottom: 10px;
}
.blog-card__t {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 10px;
}
.blog-card__p {
  color: var(--ink-soft, #3F4654);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.blog-card__cta {
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.blog-card__cta .arr { display: inline-block; transition: transform .18s; }
.blog-card:hover .blog-card__cta .arr { transform: translateX(3px); }

/* Artikel-Layout */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.article__breadcrumb {
  font-size: 13px;
  color: var(--muted, #8A8F9C);
  margin-bottom: 24px;
}
.article__breadcrumb a {
  color: var(--muted, #8A8F9C);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.article__breadcrumb a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.article__meta {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #8A8F9C);
  margin-bottom: 14px;
}
.article h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.article__lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft, #3F4654);
  margin: 0 0 36px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--ink);
}
.article h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  color: var(--ink);
}
.article h3 {
  font-family: var(--font-sans, inherit);
  font-weight: 600;
  font-size: 18px;
  margin: 32px 0 12px;
  color: var(--ink);
}
.article p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 18px;
}
.article ul, .article ol {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  padding-left: 22px;
  margin: 0 0 22px;
}
.article li { margin-bottom: 8px; }
.article a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article a:hover { color: var(--brand); }
.article strong { font-weight: 700; }

.article__cta {
  margin-top: 48px;
  padding: 28px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg, #F4F7FB);
}
.article__cta h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
}
.article__cta p {
  margin: 0 0 16px;
  color: var(--ink-soft, #3F4654);
}
.article__foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted, #8A8F9C);
}
.article__foot a { color: var(--brand-deep); }

@media (max-width: 640px) {
  .blog-head, .blog-list { padding-left: 22px; padding-right: 22px; }
  .article { padding: 44px 22px 72px; }
}
