/* ============================================================
   Budget Manager — Main Stylesheet
   budgetmanager.verio-consult.com
   ============================================================ */

/* --- Inter (self-hosted, DSGVO-konform) --------------------- */
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
}

/* --- Design Tokens ----------------------------------------- */
:root {
  --c-dark:          #0B1A2D;
  --c-dark-2:        #122036;
  --c-dark-3:        #1C2F4A;
  --c-dark-4:        #2C4060;
  --c-accent:        #F0A520;
  --c-accent-hover:  #DC9510;
  --c-accent-light:  #FEF9EC;
  --c-white:         #FFFFFF;
  --c-surface:       #F8FAFC;
  --c-surface-2:     #F1F5F9;
  --c-border:        #E2E8F0;
  --c-text:          #0B1A2D;
  --c-muted:         #64748B;
  --c-success:       #10B981;
  --c-accent-text:   #A06A0A;   /* gold readable on light/white backgrounds */

  --font:            'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm:       4px;
  --radius:          8px;
  --radius-lg:       12px;
  --radius-full:     9999px;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.08);
  --shadow-md:       0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:       0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --transition:      150ms ease;
  --max-w:           1200px;
  --nav-h:           64px;
  --section-py:      5rem;
}

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }

/* --- Layout ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section        { padding: var(--section-py) 0; }
.section--alt   { background: var(--c-surface); }
.section--dark  { background: var(--c-dark); color: var(--c-white); }

/* --- Typography --------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.125rem;
  color: var(--c-muted);
  max-width: 580px;
  line-height: 1.7;
}
.section-header            { margin-bottom: 3rem; }
.section-header.center     { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6875rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--c-accent); color: var(--c-dark); font-weight: 700; }
.btn-primary:hover { background: var(--c-accent-hover); color: var(--c-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(240,165,32,.35); }
.btn-outline { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--c-white); background: rgba(255,255,255,.08); }
.btn-outline-dark { background: transparent; color: var(--c-accent-text); border-color: var(--c-accent); }
.btn-outline-dark:hover { background: var(--c-accent-light); border-color: var(--c-accent-hover); }
.btn-ghost { background: transparent; color: var(--c-muted); }
.btn-ghost:hover { color: var(--c-text); background: var(--c-surface-2); }
.btn-sm  { padding: .4375rem 1rem; font-size: .75rem; }
.btn-lg  { padding: .875rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

/* --- Navigation --------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.nav-logo-bm { font-size: .875rem; font-weight: 800; color: var(--c-dark); letter-spacing: -.01em; }
.nav-logo-vc { font-size: .75rem; color: var(--c-muted); }
.nav-links { display: flex; align-items: center; gap: .125rem; flex: 1; }
.nav-links a {
  padding: .4rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--c-text); background: var(--c-surface-2); }
.nav-links a.active { color: var(--c-dark); background: var(--c-accent-light); font-weight: 600; border-bottom: 2px solid var(--c-accent); }
.nav-actions { display: flex; align-items: center; flex-shrink: 0; }
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  padding: 2px;
}
.lang-btn {
  padding: .25rem .625rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--c-muted);
  transition: all var(--transition);
}
.lang-btn.active { background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-sm); }
.nav-hamburger { display: none; flex-direction: column; gap: 4px; padding: 8px; border-radius: var(--radius-sm); margin-left: auto; }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all var(--transition); }

/* --- Dropdown nav ------------------------------------------- */
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown > a::after {
  content: ' ▾';
  font-size: .65rem;
  opacity: .65;
  display: inline-block;
  vertical-align: middle;
  margin-left: .1rem;
}
.dropdown {
  position: absolute;
  top: calc(100% + .375rem);
  left: 0;
  min-width: 196px;
  list-style: none;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px 0 .375rem;
  margin-top: -8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 200;
}
.nav-item.has-dropdown:not(:hover) .dropdown {
  transition-delay: .1s;
}
.nav-item.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: .4rem .875rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-muted);
  border-radius: 0;
  white-space: nowrap;
  transition: all var(--transition);
}
.dropdown li a:hover { color: var(--c-text); background: var(--c-surface-2); }

/* --- Hero --------------------------------------------------- */
.hero {
  background: var(--c-dark);
  color: var(--c-white);
  padding: var(--section-py) 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(240,165,32,.14), transparent);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(240,165,32,.15);
  border: 1px solid rgba(240,165,32,.25);
  color: #FDE68A;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.025em;
}
.hero-sub {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Browser mockup */
.browser-mockup {
  background: var(--c-dark-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-dark-3);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1rem;
  background: var(--c-dark-3);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FEBC2E; }
.browser-dot:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1;
  background: var(--c-dark-2);
  border-radius: var(--radius-sm);
  font-size: .75rem;
  color: var(--c-muted);
  padding: .2rem .75rem;
  text-align: center;
}
.app-placeholder {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dark-4);
  font-size: .875rem;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--c-dark-2) 0%, var(--c-dark) 100%);
}

/* --- Trust bar ---------------------------------------------- */
.trust-bar { padding: 1.75rem 0; border-bottom: 1px solid var(--c-border); }
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--c-muted); }
.trust-item svg { color: var(--c-accent); flex-shrink: 0; }
.trust-divider { width: 1px; height: 20px; background: var(--c-border); }

/* --- Feature grid ------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all .2s ease;
}
.feature-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card:hover .feature-title { font-weight: 700; }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--c-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--c-accent);
}
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-desc { font-size: .875rem; color: var(--c-muted); line-height: 1.65; }

/* --- Pricing cards ------------------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all .2s ease;
}
.pricing-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pricing-card:hover .pricing-edition { font-weight: 700; }
.pricing-card.featured {
  border-color: var(--c-accent);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(240,165,32,.08), var(--shadow-md);
}
.pricing-card.featured:hover { box-shadow: 0 0 0 4px rgba(240,165,32,.12), var(--shadow-lg); }
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-dark);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-edition { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--c-muted); margin-bottom: .5rem; }
.pricing-price { display: flex; align-items: baseline; gap: .2rem; margin-bottom: .25rem; }
.pricing-amount { font-size: 2.25rem; font-weight: 800; color: var(--c-text); letter-spacing: -.025em; }
.pricing-amount.free { color: var(--c-success); }
.pricing-currency { font-size: 1.125rem; font-weight: 600; color: var(--c-muted); align-self: flex-start; padding-top: .375rem; }
.pricing-period { font-size: .75rem; color: var(--c-muted); margin-bottom: 1.25rem; }
.pricing-users {
  font-size: .875rem; font-weight: 600; color: var(--c-text);
  margin-bottom: 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
}
.pricing-features { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.pricing-feat { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--c-muted); }
.pricing-feat .ck { color: var(--c-success); }
.pricing-feat .cx { color: var(--c-border); }

/* --- Video section ------------------------------------------ */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.video-card { background: var(--c-dark-2); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-dark-3); }
.video-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: linear-gradient(135deg, var(--c-dark-2), var(--c-dark));
  color: var(--c-dark-3);
}
.video-placeholder svg { width: 48px; height: 48px; }
.video-placeholder span { font-size: .875rem; color: var(--c-dark-4); letter-spacing: .04em; }
.video-label { padding: 1rem 1.25rem; }
.video-label h3 { font-size: 1rem; font-weight: 600; color: var(--c-white); margin-bottom: .25rem; }
.video-label p  { font-size: .875rem; color: #94A3B8; }

/* --- Screenshots -------------------------------------------- */
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shot-frame {
  aspect-ratio: 16/10;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: .8rem;
  letter-spacing: .03em;
}

/* --- Comparison table --------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th {
  background: var(--c-dark);
  color: var(--c-white);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
}
.cmp-table th:first-child { text-align: left; min-width: 200px; background: var(--c-dark-2); }
.cmp-table th.hi { background: var(--c-accent); color: var(--c-dark); }
.cmp-table td {
  padding: .875rem 1.25rem;
  font-size: .875rem;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-white);
}
.cmp-table td:first-child { text-align: left; font-weight: 500; background: var(--c-surface); }
.cmp-table td.hi { background: rgba(240,165,32,.04); font-weight: 600; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table .cat td { background: var(--c-dark) !important; color: #94A3B8; font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.ck { color: var(--c-success); font-size: 1.1rem; }
.cx { color: #CBD5E1; font-size: 1.1rem; }

/* --- FAQ accordion ----------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
details.faq-item { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
details.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background var(--transition);
  -webkit-user-select: none;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { background: var(--c-surface); }
details.faq-item[open] summary { background: var(--c-accent-light); color: var(--c-accent-text); }
details.faq-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 300; color: var(--c-muted); }
details.faq-item[open] summary::after { content: '\2212'; color: var(--c-accent-text); }
.faq-answer { padding: .25rem 1.25rem 1.125rem; font-size: .875rem; color: var(--c-muted); line-height: 1.75; }

/* --- Forms -------------------------------------------------- */
.form-grid   { display: grid; gap: 1.25rem; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-group  { display: flex; flex-direction: column; gap: .375rem; }
.form-label  { font-size: .875rem; font-weight: 500; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .6875rem .875rem;
  font-family: var(--font);
  font-size: .875rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(240,165,32,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }

/* --- Download cards ----------------------------------------- */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.download-card { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 2rem; transition: all .2s ease; }
.download-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.download-card.featured { border-color: var(--c-accent); border-width: 2px; background: var(--c-accent-light); }

/* Consolidated hover background for all card types */
.pricing-card:hover,
.download-card:hover,
.feature-card:hover,
.benefit-card:hover {
  background-color: rgba(59, 130, 246, 0.12) !important;
}
.dl-icon {
  width: 56px; height: 56px;
  background: var(--c-dark);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-white);
  margin-bottom: 1.25rem;
}
.download-card.featured .dl-icon { background: var(--c-accent); }
.dl-title   { font-size: 1.25rem; font-weight: 800; margin-bottom: .375rem; }
.dl-ver     { font-size: .8rem; color: var(--c-muted); margin-bottom: 1.25rem; }
.dl-feats   { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.dl-feat    { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--c-muted); }
.dl-feat svg { color: var(--c-success); flex-shrink: 0; }
.dl-note    { font-size: .75rem; color: var(--c-muted); margin-top: .75rem; }
.req-table  { width: 100%; border-collapse: collapse; font-size: .875rem; }
.req-table td { padding: .625rem 0; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.req-table td:first-child { font-weight: 500; width: 38%; color: var(--c-text); }
.req-table td:last-child  { color: var(--c-muted); }
.req-table tr:last-child td { border-bottom: none; }

/* --- CTA section -------------------------------------------- */
.cta-section { background: var(--c-dark); color: var(--c-white); padding: 5rem 0; text-align: center; }
.cta-section .section-title { color: var(--c-white); max-width: 560px; margin: 0 auto 1rem; }
.cta-section .section-sub   { color: #94A3B8; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Page hero (inner pages) -------------------------------- */
.page-hero { background: var(--c-surface); padding: 4rem 0 3rem; border-bottom: 1px solid var(--c-border); }
.page-hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .75rem; }
.page-hero p  { font-size: 1.125rem; color: var(--c-muted); max-width: 560px; }

/* --- Legal content ------------------------------------------ */
.legal-content { max-width: 760px; margin: 0 auto; padding: 4rem 0 5rem; }
.legal-content h1 { font-size: 2rem; margin-bottom: 2.5rem; }
.legal-content h2 { font-size: 1.25rem; margin-top: 2.25rem; margin-bottom: .75rem; }
.legal-content h3 { font-size: 1rem; font-weight: 600; margin-top: 1.25rem; margin-bottom: .375rem; }
.legal-content p  { margin-bottom: .875rem; color: var(--c-muted); font-size: .9375rem; line-height: 1.75; }
.legal-content ul { margin: .5rem 0 1rem 1.5rem; list-style: disc; }
.legal-content li { font-size: .9375rem; color: var(--c-muted); margin-bottom: .3rem; line-height: 1.65; }
.legal-content a  { color: var(--c-accent); text-decoration: underline; }
.legal-content address { font-style: normal; }

/* --- Footer ------------------------------------------------- */
.footer { background: var(--c-dark); color: var(--c-white); padding: 4rem 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-dark-3);
}
.footer-logo    { font-size: 1.125rem; font-weight: 800; margin-bottom: .4rem; letter-spacing: -.01em; }
.footer-tagline { font-size: .875rem; color: #64748B; margin-bottom: 1rem; }
.footer-badge   {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  color: #94A3B8;
  border: 1px solid var(--c-dark-3);
  border-radius: var(--radius-full);
  padding: .25rem .625rem;
}
.footer-col h4  { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: #475569; margin-bottom: .875rem; }
.footer-col ul  { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a   { font-size: .875rem; color: #94A3B8; transition: color var(--transition); }
.footer-col a:hover { color: var(--c-white); }
.footer-bottom { padding: 1.25rem 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: #475569; }
.footer-bottom a { color: #64748B; }
.footer-bottom a:hover { color: #94A3B8; }

/* --- Utility ------------------------------------------------ */
.mt-sm  { margin-top: .75rem; }
.mt-md  { margin-top: 1.5rem; }
.mt-lg  { margin-top: 2.5rem; }
.text-muted  { color: var(--c-muted); }
.text-accent { color: var(--c-accent-text); }
.text-center { text-align: center; }
.text-sm     { font-size: .875rem; }
.text-xs     { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Narrow container variant (FAQ page) */
.container--narrow { max-width: 800px; }

/* Centred prose block (CTA sections) */
.prose-center { max-width: 600px; margin-left: auto; margin-right: auto; }

/* Section divider — thin border rule used between page-hero and content,
   and as group separators inside cards */
.section-divider { border: none; border-top: 1px solid var(--c-border); margin: 0; width: 100%; }

/* Pricing page — maintenance package info box */
.pricing-maint {
  max-width: 680px;
  margin: 3rem auto 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
}
.pricing-maint h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-maint p  { font-size: .875rem; color: var(--c-muted); margin: 0; }

/* Download page — system requirements block */
.dl-requirements { max-width: 640px; margin: 3rem auto 0; }
.dl-requirements h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }

/* Support page — two-column layout */
.support-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.support-layout h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.sup-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sup-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sup-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .625rem; }
.sup-card h3--lg { margin-bottom: 1rem; }
.sup-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.sup-contact-item { display: flex; align-items: center; gap: .625rem; font-size: .875rem; }

/* === Responsive ============================================= */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 3rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--c-white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; border-radius: var(--radius); }
  .nav-hamburger { display: flex; }
  .nav { position: relative; }
  .nav-item.has-dropdown .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 .25rem .5rem;
    background: transparent;
    min-width: 0;
  }
  .dropdown li a { padding: .5rem 1rem; border-radius: var(--radius); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .video-grid { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trust-divider { display: none; }
  .trust-bar-inner { gap: 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-ctas { flex-direction: column; }
  .support-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .shots-grid    { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
}

/* ============================================================
   Joomla-specific overrides
   Resets Joomla core styles that conflict with this template.
   ============================================================ */

/* mod_languages: <a> tags get same styling as <button> lang-btn */
a.lang-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Joomla article content wrapper */
.com-content-article__body,
.article-info,
.article-footer { /* strip default article chrome */ }

/* Joomla pagination in component area */
.com-content-category-blog__pagination { margin-top: 2rem; text-align: center; }

/* Joomla system messages */
#system-message-container { max-width: var(--max-w); margin: 1rem auto; padding: 0 1.25rem; }
.alert { padding: .875rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .875rem; }
.alert-info    { background: var(--c-accent-light); border: 1px solid var(--c-accent); color: var(--c-accent-text); }
.alert-success { background: #ECFDF5; border: 1px solid var(--c-success); color: #065F46; }
.alert-warning { background: #FFFBEB; border: 1px solid #F59E0B; color: #92400E; }
.alert-danger  { background: #FEF2F2; border: 1px solid #EF4444; color: #991B1B; }

/* Joomla component content gets proper spacing */
.joomla-component { padding: var(--section-py) 0; }

/* Reset Joomla's default list styles inside articles */
.com-content-article__body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.com-content-article__body ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.com-content-article__body li { margin-bottom: .375rem; font-size: .9375rem; color: var(--c-muted); }
.com-content-article__body p  { margin-bottom: .875rem; color: var(--c-muted); font-size: .9375rem; line-height: 1.75; }
.com-content-article__body h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: .75rem; }
.com-content-article__body h3 { font-size: 1rem; font-weight: 600; margin-top: 1.25rem; margin-bottom: .375rem; }
.com-content-article__body a  { color: var(--c-accent-text); text-decoration: underline; }

/* Legal pages: .legal-content sits inside .section — cancel the inner padding
   so only the outer .section padding applies (avoids stacked whitespace). */
.section .legal-content { padding-top: 0; padding-bottom: 0; }

/* Joomla debug module */
#system-debug { font-size: .75rem; color: var(--c-muted); border-top: 1px solid var(--c-border); padding: 1rem; }

/* ============================================================
   Hero Screenshot Stack
   Einfügen am Ende von:
   /templates/budgetmanager/css/style.css
   ============================================================ */

.screenshot-stack {
  position: relative;
  height: 400px;
  width: 100%;
}

.ss {
  position: absolute;
  width: 78%;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
  cursor: pointer;
}

.ss-1 { top: 0;    left: 0;     z-index: 3; transform: rotate(-3deg); }
.ss-2 { top: 50px; left: 85px;  z-index: 2; transform: rotate(1deg);  }
.ss-3 { top: 95px; left: 165px; z-index: 1; transform: rotate(4deg);  }

.ss:hover {
  transform: rotate(0deg) scale(1.6);
  z-index: 10;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}

/* Mobile: Stack kompakter, kein Überlauf */
@media (max-width: 600px) {
  .screenshot-stack { height: 260px; }
  .ss { width: 72%; }
  .ss-2 { top: 32px; left: 55px; }
  .ss-3 { top: 62px; left: 106px; }
}
