:root {
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --bg-light: #ffffff;
  --bg-secondary: #f9fafb;
  --surface: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* @font-face Declarations (Fonts file 2 – WOFF2) */
@font-face {
  font-family: 'Bilbo Swash Caps';
  src: url('Fonts%20file%202/BilboSwashCaps-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Dancing Script';
  src: url('Fonts%20file%202/DancingScript-VariableFont_wght.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Great Vibes';
  src: url('Fonts%20file%202/GreatVibes-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Herr Von Muellerhoff';
  src: url('Fonts%20file%202/HerrVonMuellerhoff-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Meddon';
  src: url('Fonts%20file%202/Meddon-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Meie Script';
  src: url('Fonts%20file%202/MeieScript-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Miss Fajardose';
  src: url('Fonts%20file%202/MissFajardose-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Monsieur La Doulaise';
  src: url('Fonts%20file%202/MonsieurLaDoulaise-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Mr De Haviland';
  src: url('Fonts%20file%202/MrDeHaviland-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Mrs Saint Delafield';
  src: url('Fonts%20file%202/MrsSaintDelafield-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Petit Formal Script';
  src: url('Fonts%20file%202/PetitFormalScript-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Pinyon Script';
  src: url('Fonts%20file%202/PinyonScript-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Rouge Script';
  src: url('Fonts%20file%202/RougeScript-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Sacramento';
  src: url('Fonts%20file%202/Sacramento-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Stalemate';
  src: url('Fonts%20file%202/Stalemate-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Tangerine';
  src: url('Fonts%20file%202/Tangerine-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Tangerine';
  src: url('Fonts%20file%202/Tangerine-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Whisper';
  src: url('Fonts%20file%202/Whisper-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Alex Brush';
  src: url('Fonts%20file%202/AlexBrush-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Allison';
  src: url('Fonts%20file%202/Allison-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Cedarville Cursive';
  src: url('Fonts%20file%202/CedarvilleCursive-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Clicker Script';
  src: url('Fonts%20file%202/ClickerScript-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Corinthia';
  src: url('Fonts%20file%202/Corinthia-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Corinthia';
  src: url('Fonts%20file%202/Corinthia-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Homemade Apple';
  src: url('Fonts%20file%202/HomemadeApple-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Meow Script';
  src: url('Fonts%20file%202/MeowScript-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Ms Madi';
  src: url('Fonts%20file%202/MsMadi-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Qwitcher Grypen';
  src: url('Fonts%20file%202/QwitcherGrypen-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Qwitcher Grypen';
  src: url('Fonts%20file%202/QwitcherGrypen-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'WindSong';
  src: url('Fonts%20file%202/Ab%20winsong.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* Paid inspiration fonts (Inspirationen page only) */
@font-face {
  font-family: 'Paid Ashgabat';
  src: url('Paid%20fonts/Ashgabat.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Black Angel';
  src: url('Paid%20fonts/Black%20Angel.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Creattion';
  src: url('Paid%20fonts/Creattion.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Darlington';
  src: url('Paid%20fonts/Darlington.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Holligate Signature';
  src: url('Paid%20fonts/Holligate%20Signature.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Lasthrue';
  src: url('Paid%20fonts/Lasthrue.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Mustica';
  src: url('Paid%20fonts/Mustica.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Quetta';
  src: url('Paid%20fonts/Quetta.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Paid Aullia Demo';
  src: url('Paid%20fonts/Aullia%20DEMO.woff2') format('woff2');
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

main.container {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Privacy banner at top of page (below header, above H1 – white section) */
.privacy-banner {
  width: 100%;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.privacy-banner .container {
  max-width: 960px;
  margin: 0 auto;
}

.privacy-banner span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.privacy-banner-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.privacy-banner-link:hover {
  text-decoration: underline;
}

/* Top Navigation Header – height sized to logo (logo 75%), no extra space */
.top-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-height: 72px;
}

.top-nav .container {
  min-height: 72px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 72px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 72px;
}

.logo-link .logo-img {
  width: auto !important;
  height: 72px !important;
  max-height: 72px !important;
  display: block;
  object-fit: contain;
}

.logo-link .logo-fallback-svg {
  height: 72px !important;
  width: auto;
}

.footer-logo-link .footer-logo-fallback-svg {
  height: 76px !important;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  margin-left: auto;
}

/* Werkzeuge dropdown */
.nav-item--dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  display: none;
  z-index: 100;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown.dropdown-open .nav-dropdown {
  display: block;
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown li+li {
  border-top: 1px solid var(--border);
}

.nav-dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown-link:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

.nav-dropdown-link.active {
  background: var(--bg-secondary);
  color: var(--primary);
  font-weight: 600;
}

.nav-link {
  padding: 0.35rem 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-link:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

.nav-link.active {
  background: var(--primary);
  color: white;
}

/* Mobile: hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all 0.2s;
}

.lang-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-btn i {
  width: 18px;
  height: 18px;
}

/* Hero Header */
.hero-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 0.625rem 0 0.5rem;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.title-line-1,
.title-line-2 {
  display: block;
}

.title-line-1 {
  color: var(--text-main);
}

.title-line-2 {
  color: var(--primary);
  margin-top: 0.2rem;
}

.hero-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Page Sections */
.page-section {
  display: none;
  min-height: 60vh;
  padding: 3rem 0;
}

.page-section.active {
  display: block;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Section headings (h2) in page content – must be smaller than page title (h1) */
.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-align: left;
}

.page-content.pricing-page-content h2 {
  text-align: center;
}

/* Page title (one H1 per page) – must be clearly largest on every page */
.page-content h1,
.pdf-article h1,
.pdf-article-heading,
.pricing-page-heading,
.contact-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1.25rem;
  line-height: 1.3;
  text-align: left;
}

.pricing-page-heading {
  text-align: center;
}

.pdf-article-heading {
  text-align: left;
}

.pdf-article-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0 0 1rem;
}

.pdf-article-cta-wrap {
  margin: 2rem 0 2.5rem;
  text-align: center;
}

.pdf-article-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

/* Section headings (H2) – smaller than page title */
.pdf-article-subheading,
.leitfaden-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.leitfaden-card-title {
  margin: 0 0 0.5rem;
}

/* Subsection headings (H3) – smaller than H2 */
.pdf-article h3,
.pdf-article-step-title,
.inspiration-card-title,
.contact-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.pdf-article-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.pdf-article-steps {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.pdf-article-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.pdf-article-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  grid-row: span 2;
}

.pdf-article-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.pdf-article-step-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  grid-column: 2;
}

.pdf-article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.pdf-article-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.pdf-article-list li i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.pdf-article-lead-follow {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

/* Pdf unterschreiben page: hero split (left: title/intro/button, right: image) */
.pdf-hero-split {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.pdf-hero-left {
  flex: 1;
  min-width: 280px;
}

.pdf-hero-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.pdf-hero-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.pdf-hero-cta {
  font-size: 1.1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s;
}

.pdf-hero-cta:hover {
  background: var(--primary-hover);
}

.pdf-hero-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-hero-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

.pdf-tool-embed {
  margin-bottom: 3rem;
}

.pdf-tool-embed.pdf-tool-collapsed {
  display: none;
}

.pdf-tool-embed .controls {
  display: flex;
}

.pdf-tool-embed .drop-zone {
  margin: 0 auto;
}

/* PDF How-to section: steps and tip */
.pdf-how-section {
  background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.pdf-how-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0 0 1.5rem;
}

.pdf-how-steps-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1.25rem;
}

.pdf-how-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  counter-reset: step;
}

.pdf-how-step {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pdf-how-step:last-of-type {
  margin-bottom: 0;
}

.pdf-how-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.pdf-how-step-icon {
  width: 24px;
  height: 24px;
}

.pdf-how-step-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
}

.pdf-how-step-body strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0;
}

.pdf-how-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
}

.pdf-how-tip-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pdf-how-tip p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-main);
}

/* PDF Benefits section: Einfach & Sicherheit – two-column cards */
.pdf-benefits-section {
  margin-bottom: 2.5rem;
}

.pdf-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pdf-benefits-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pdf-benefits-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.pdf-benefits-ease::before {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.pdf-benefits-security::before {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
}

.pdf-benefits-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.pdf-benefits-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pdf-benefits-card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.pdf-benefits-ease .pdf-benefits-card-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: var(--primary);
}

.pdf-benefits-security .pdf-benefits-card-icon {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(16, 185, 129, 0.2) 100%);
  color: #059669;
}

.pdf-benefits-card-icon i {
  width: 26px;
  height: 26px;
}

.pdf-benefits-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.pdf-benefits-card-lead {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.pdf-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdf-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
}

.pdf-benefits-list li:last-child {
  margin-bottom: 0;
}

.pdf-benefits-item-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pdf-benefits-security .pdf-benefits-item-icon {
  color: #059669;
}

.pdf-benefits-privacy {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pdf-benefits-privacy-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.pdf-benefits-privacy-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Pdf unterschreiben page (Werkzeuge): sections and cards */
.pdf-unterschreiben-page .pdf-unterschreiben-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pdf-unterschreiben-page .pdf-unterschreiben-cta-wrap {
  margin: 2rem 0;
}

.pdf-unterschreiben-section {
  margin-bottom: 2rem;
}

.pdf-unterschreiben-section .pdf-article-subheading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pdf-unterschreiben-section .pdf-section-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.pdf-unterschreiben-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.pdf-unterschreiben-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

a.pdf-unterschreiben-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pdf-unterschreiben-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.pdf-unterschreiben-card .pdf-article-step-title {
  margin-bottom: 0.5rem;
}

.pdf-unterschreiben-card .pdf-article-step-text {
  grid-column: 1;
  margin: 0;
}

.pdf-unterschreiben-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdf-unterschreiben-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pdf-unterschreiben-features li:last-child {
  margin-bottom: 0;
}

.pdf-unterschreiben-features .pdf-adv-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pdf-article-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pdf-article-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.pdf-article-check {
  flex-shrink: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  background: var(--primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.pdf-article-closing {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0;
}

/* Elektronische Signatur article */
.e-sign-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.e-sign-benefit-card {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.e-sign-benefit-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.e-sign-benefit-title-icon {
  font-size: 1.1rem;
}

.e-sign-benefit-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.e-sign-usecases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.e-sign-usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.e-sign-usecase-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.e-sign-list-main,
.e-sign-list-secondary {
  margin: 0;
  padding-left: 1.25rem;
}

/* Inspirationen page */
.inspiration-article {
  max-width: 960px;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}

.inspiration-card {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.inspiration-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.inspiration-card-icon {
  font-size: 1.4rem;
}

.inspiration-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.inspiration-card-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.inspiration-keywords {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.inspiration-features {
  margin-top: 1.5rem;
}

.inspiration-fonts-section {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

/* Scroll wrapper: on mobile this element scrolls so touch works (avoids canvas capturing touch) */
.inspiration-font-grid-scroll {
  margin-top: 1.25rem;
}

.inspiration-font-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.inspiration-font-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.inspiration-font-caption {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: lowercase;
  text-align: center;
}

.inspiration-font-canvas {
  width: 100%;
  height: 90px;
  border-radius: calc(var(--radius) - 4px);
  background: #f9fafb;
}

.inspiration-fonts-cta {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .inspiration-font-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .inspiration-font-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .inspiration-font-grid-scroll {
    max-height: 55vh;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    padding-right: 0.25rem;
    margin-left: -0.25rem;
    padding-left: 0.25rem;
  }

  .inspiration-font-grid {
    max-height: none;
    overflow: visible;
  }

  .inspiration-font-item,
  .inspiration-font-canvas {
    touch-action: pan-y;
  }
}

@media (max-width: 768px) {
  .e-sign-usecases {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {

  .pdf-article-heading,
  .pricing-page-heading,
  .contact-page-title {
    font-size: 1.75rem;
  }

  .pdf-article-subheading {
    font-size: 1.25rem;
  }

  .pdf-article h3,
  .pdf-article-step-title,
  .inspiration-card-title,
  .contact-content h3 {
    font-size: 1.125rem;
  }

  .pdf-article-step {
    grid-template-columns: auto 1fr;
  }
}

/* Guide tip box (Leitfaden / article pages) */
.guide-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.guide-tip-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
}

.guide-tip-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-main);
}

/* Inline links in articles (go to tool on main page) */
.article-inline-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.article-inline-link:hover {
  color: var(--primary-hover, var(--primary));
  border-bottom-color: var(--primary);
}

/* Privacy / Datenschutz page */
.privacy-article .pdf-article-heading {
  margin-bottom: 0.5rem;
}

.privacy-intro-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.privacy-rights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.privacy-rights-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
}

.privacy-rights-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.privacy-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.privacy-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-main);
}

.privacy-feature-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
}

.privacy-last-updated {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.privacy-article .footer-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.privacy-article .footer-link:hover {
  color: var(--primary-hover, var(--primary));
  border-bottom-color: var(--primary);
}

/* Policy sections (Rückerstattung, AGB) – grouped content with highlight */
.policy-section {
  margin-top: 2rem;
}

.policy-section:first-of-type {
  margin-top: 1.5rem;
}

.policy-section--highlight {
  padding: 1.5rem 1.75rem;
  background: var(--bg-secondary, #f8fafc);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.policy-section--highlight .pdf-article-subheading {
  margin-top: 0;
}

.policy-section--highlight .pdf-article-lead:last-child {
  margin-bottom: 0;
}

/* Home page content (below tools) */
.home-content-wrap {
  padding: 1.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.home-content-block {
  max-width: 720px;
  margin: 0 auto;
}

.home-content-heading {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

.home-content-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0 0 1rem;
}

.home-content-lead-follow {
  margin-top: 0;
}

.home-content-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.home-content-subheading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
  text-align: center;
}

.home-content-block+.home-content-block {
  margin-top: 3rem;
}

/* Home tools grid (4 columns) */
.home-tools-section {
  max-width: 100%;
}

.home-tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.home-tool-card {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.home-tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.home-tool-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.home-tool-icon i,
.home-tool-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  stroke: white;
}

.home-tool-icon svg {
  stroke: white;
  color: white;
}

.home-tool-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.home-tool-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .home-tools-grid {
    flex-direction: column;
    align-items: center;
  }

  .home-tool-card {
    max-width: 100%;
  }
}

/* Home: Signatur gestalten & vielseitig */
.home-signature-section {
  max-width: 100%;
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.04) 0%, var(--surface) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.home-signature-section .home-content-heading {
  margin-bottom: 0.5rem;
}

.home-signature-tagline {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1rem;
  text-align: center;
}

.home-signature-section .home-content-lead {
  text-align: center;
  margin-bottom: 2rem;
}

.home-signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.home-signature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.home-signature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.home-signature-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.08);
  border: 2px solid rgba(124, 58, 237, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.home-signature-card-icon i {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.home-signature-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.home-signature-card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.home-signature-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-signature-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.home-signature-features li i {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.home-signature-usecases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-signature-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

@media (max-width: 768px) {
  .home-signature-grid {
    grid-template-columns: 1fr;
  }

  .home-signature-section {
    padding: 1.5rem 1rem;
  }
}

/* Home: Warum unser Unterschrift Generator die beste Wahl ist */
.home-why-section {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  max-width: 100%;
}

.home-why-section .home-content-heading {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.home-why-section .home-content-lead {
  margin-top: 0;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 100%;
  margin: 0;
}

.home-why-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1rem 0.875rem 1rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: box-shadow 0.2s, border-left-color 0.2s;
}

.home-why-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

.home-why-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.home-why-icon-wrap i {
  width: 18px;
  height: 18px;
}

.home-why-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.home-why-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .home-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-why-section {
    padding: 1.5rem 0 2rem;
  }

  .home-why-card {
    padding: 1rem 1rem 1rem 0.875rem;
  }
}

/* Pricing Page */
.pricing-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

/* Pricing H1 uses .pricing-page-heading – sized in .pdf-article-heading block above */
.pricing-page-heading {
  margin: 0 0 0.5rem;
}

.pricing-page-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 2rem;
  text-align: center;
}

.pricing-packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pricing-package {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.pricing-package:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.pricing-package-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.pricing-package-header {
  margin-bottom: 1rem;
}

.pricing-package-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.35rem;
}

.pricing-package-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.pricing-package-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.pricing-package-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pricing-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-select-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.pricing-download-cta {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.btn-pricing-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
}

.pricing-download-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.pricing-payment-section {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.pricing-coming-soon {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin: 0 0 1rem;
}

.pricing-payment-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.pricing-payment-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.pricing-paddle-placeholder {
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.paddle-placeholder-text {
  font-size: 1rem;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.paddle-placeholder-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .pricing-packages {
    grid-template-columns: 1fr;
  }

  .pricing-page-content {
    padding: 1.5rem 0 2rem;
  }
}

/* Home: Erstellen Sie eine digitale Signatur – einfach und online (two-card layout) */
.home-digital-section {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.home-digital-heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
}

.home-digital-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 auto 2rem;
  max-width: 640px;
  text-align: center;
}

.home-digital-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.home-digital-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.home-digital-card-primary {
  border-left: 4px solid var(--primary);
  border-top: 3px solid var(--primary);
}

.home-digital-card-primary:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.home-digital-card-accent {
  border-right: 4px solid var(--accent);
  border-top: 3px solid var(--accent);
}

.home-digital-card-accent:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.12);
}

.home-digital-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.home-digital-card-intro {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.home-digital-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-digital-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.home-digital-bullet {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-digital-bullet::before {
  content: "✓";
}

.home-digital-bullet-accent {
  color: var(--accent);
}

.home-digital-legal {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 1.5rem;
  text-align: left;
}

.home-digital-legal strong {
  color: var(--text-main);
}

.home-digital-cta-wrap {
  margin: 0;
  text-align: center;
}

.home-cta-signatur {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.home-cta-signatur:hover {
  color: white;
}

@media (max-width: 768px) {
  .home-digital-heading {
    white-space: normal;
    font-size: 1.375rem;
  }

  .home-digital-cards {
    grid-template-columns: 1fr;
  }

  .home-digital-section {
    padding: 1.5rem 1rem;
  }
}

/* Home: Unterschrift als Bild erstellen – digital & online (step layout) */
.home-signature-image-section {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, var(--surface) 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius);
  text-align: center;
}

.home-signature-image-heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
}

.home-signature-image-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 auto 1.75rem;
  max-width: 640px;
  text-align: center;
}

.home-signature-image-subheading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1.25rem;
  text-align: center;
}

.home-signature-image-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  margin-top: 0;
}

.home-signature-image-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.home-signature-image-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.home-signature-image-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.home-signature-image-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.home-signature-image-step-icon i {
  width: 22px;
  height: 22px;
}

.home-signature-image-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.home-signature-image-step-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .home-signature-image-heading {
    white-space: normal;
    font-size: 1.375rem;
  }

  .home-signature-image-steps {
    grid-template-columns: 1fr;
  }

  .home-signature-image-section {
    padding: 1.5rem 1rem;
  }
}

/* Home: Vergleich Online Unterschrift vs. Unterschrift auf Papier */
.home-comparison-section {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.home-comparison-heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1.5rem;
  line-height: 1.3;
  text-align: center;
}

.home-comparison-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.home-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.home-comparison-table th,
.home-comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.home-comparison-table thead th {
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-bottom: none;
  white-space: nowrap;
}

.home-comparison-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.home-comparison-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.home-comparison-table tbody tr:nth-child(even) {
  background: rgba(124, 58, 237, 0.04);
}

.home-comparison-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.06);
}

.home-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.home-comparison-table td:first-child {
  color: var(--text-main);
  min-width: 120px;
}

.home-comparison-table td:nth-child(2) {
  color: var(--text-muted);
}

.home-comparison-table td:nth-child(3) {
  color: var(--text-main);
  font-weight: 500;
}

.home-comparison-fazit {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0;
  padding: 1rem 1.25rem;
  background: rgba(124, 58, 237, 0.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

@media (max-width: 768px) {
  .home-comparison-section {
    padding: 1.5rem 1rem;
  }

  .home-comparison-heading {
    font-size: 1.375rem;
  }

  /* Mobile: table as cards – no horizontal scroll */
  .home-comparison-table-wrap {
    overflow-x: visible;
  }

  .home-comparison-table,
  .home-comparison-table thead,
  .home-comparison-table tbody,
  .home-comparison-table tr,
  .home-comparison-table th,
  .home-comparison-table td {
    display: block;
  }

  .home-comparison-table thead {
    position: absolute;
    left: -9999px;
  }

  .home-comparison-table tr {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
  }

  .home-comparison-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
  }

  .home-comparison-table td:last-child {
    border-bottom: none;
  }

  .home-comparison-table td:first-child {
    font-weight: 700;
    background: rgba(124, 58, 237, 0.06);
    color: var(--text-main);
    min-width: auto;
  }

  .home-comparison-table td:nth-child(2)::before {
    content: "Papier: ";
    font-weight: 600;
    color: var(--text-main);
  }

  .home-comparison-table td:nth-child(3)::before {
    content: "Digital: ";
    font-weight: 600;
    color: var(--text-main);
  }
}

/* Home: The Best Signature Generator in Germany */
.home-best-section {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.home-best-heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  line-height: 1.3;
  text-align: center;
}

.home-best-tagline {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1rem;
  text-align: center;
}

.home-best-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 auto 2rem;
  max-width: 640px;
  text-align: center;
}

.home-best-subheading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem;
  text-align: center;
}

.home-best-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  text-align: left;
}

.home-best-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-best-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.home-best-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  border-radius: 10px;
}

.home-best-feature-icon i {
  width: 20px;
  height: 20px;
}

.home-best-feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.home-best-feature-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.home-best-apps-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  text-align: center;
}

.home-best-apps {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 480px;
  text-align: left;
}

.home-best-apps li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.home-best-apps li i {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.home-best-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.home-best-why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.75rem;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.home-best-why-item:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--primary);
}

.home-best-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.home-best-why-icon i {
  width: 20px;
  height: 20px;
}

.home-best-why-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.home-best-why-text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.home-best-closing {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0 auto 1.5rem;
  max-width: 640px;
  text-align: center;
}

.home-best-cta-wrap {
  margin: 0;
  text-align: center;
}

.home-best-cta-wrap .home-cta-signatur {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

/* FAQ section (home page) */
.home-faq-section {
  margin-top: 3rem;
}

.home-faq-heading {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1.5rem;
  line-height: 1.3;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.faq-question:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.75rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(-135deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer .article-inline-link {
  font-weight: 600;
  font-style: italic;
}

@media (max-width: 1024px) {
  .home-best-why {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-best-section {
    padding: 1.5rem 1rem;
  }

  .home-best-features {
    grid-template-columns: 1fr;
  }

  .home-best-why {
    grid-template-columns: 1fr;
  }
}

/* Werkzeuge Page */
.werkzeuge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.werkzeuge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.werkzeuge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.werkzeuge-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.werkzeuge-icon i {
  width: 32px;
  height: 32px;
  color: white;
}

.werkzeuge-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.werkzeuge-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Guides Page */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.guide-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.guide-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.guide-step p {
  color: var(--text-muted);
  line-height: 1.6;
}

.guide-tips {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}

.guide-tips h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.guide-tips ul {
  list-style: none;
  padding: 0;
}

.guide-tips li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-main);
}

.guide-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Privacy Policy Page */
.privacy-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.privacy-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.last-updated {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Contact page H1 – sized in .pdf-article-heading block; H2/H3 hierarchy below */
.contact-page-title {
  margin-bottom: 0.5rem;
}

.contact-intro {
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-intro-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem 0;
}

.contact-intro-lead {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.75rem 0;
}

.contact-intro-lead:last-child {
  margin-bottom: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-item i {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.contact-item p {
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.contact-email-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.contact-email-icon {
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.25em;
  vertical-align: middle;
}

.contact-form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  /* Mobile header: logo + hamburger only; menu in drawer */
  .top-nav .container {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    right: -1rem;
    margin-top: 0.25rem;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-wrapper.nav-menu-open .nav-menu {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.75rem 1rem;
  }

  .nav-item--dropdown .nav-dropdown,
  .nav-item--richtlinien .nav-dropdown {
    position: static;
    margin: 0;
    padding: 0 0 0 1rem;
    box-shadow: none;
    border: none;
    display: none;
  }

  .nav-item--dropdown.dropdown-open .nav-dropdown,
  .nav-item--richtlinien.dropdown-open .nav-dropdown {
    display: block;
  }

  .nav-item--dropdown .nav-dropdown-link,
  .nav-item--richtlinien .nav-dropdown-link {
    padding: 0.5rem 0;
  }

  .logo-link .logo-img {
    height: 64px !important;
    max-height: 64px !important;
  }

  .logo-link .logo-fallback-svg {
    height: 64px !important;
  }

  .top-nav,
  .top-nav .container,
  .nav-wrapper,
  .logo-link {
    min-height: 72px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-header {
    padding: 0.5rem 0 0.5rem;
  }

  /* Pdf hero split: stack on mobile */
  .pdf-hero-split {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .pdf-hero-left {
    order: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .pdf-hero-title {
    font-size: 1.75rem;
  }

  .pdf-hero-intro {
    font-size: 1rem;
  }

  .pdf-hero-right {
    order: 2;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .pdf-hero-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .pdf-how-section {
    padding: 1.25rem 1rem;
  }

  .pdf-how-step {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .pdf-how-step-num {
    width: 40px;
    height: 40px;
  }

  .pdf-how-step-icon {
    width: 22px;
    height: 22px;
  }

  .pdf-benefits-grid {
    grid-template-columns: 1fr;
  }

  .pdf-benefits-card {
    padding: 1.25rem;
  }

  .privacy-banner {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .privacy-banner span {
    max-width: 100%;
  }

  .page-content h2 {
    font-size: 1.25rem;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  /* Signature grid: one canvas per row on mobile */
  .signature-grid,
  #generator .signature-grid,
  #stylesGrid.signature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Navigation */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0.375rem 0 0.5rem 0;
  flex-wrap: wrap;
  position: sticky;
  top: 4.5rem;
  z-index: 20;
  background: #ffffff;
  padding-top: 0.25rem;
}

.nav-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.nav-btn.active i,
.nav-btn.active svg {
  color: white;
  stroke: white;
}

/* Views */
#mainContent {
  scroll-margin-top: 5.5rem;
}

.view-section {
  display: none;
  animation: fadeIn 0.3s ease;
  padding-top: 0.75rem;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Controls - Clean Minimalist */
.controls {
  background: var(--surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: none;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.generator-name-input {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
}

#generator .generator-name-field {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid rgba(129, 140, 248, 0.5);
  background: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#generator .generator-name-field::placeholder {
  color: var(--text-muted);
}

#generator .generator-name-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.25);
  background: #ffffff;
}

/* Draw Signature: touch-friendly canvas and centered controls */
#drawCanvas {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  display: block;
}

#draw .controls {
  justify-content: center;
}

#draw .input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#draw .draw-color-boxes {
  justify-content: center;
}

#draw .input-group input[type="range"] {
  width: 160px;
}

.input-group {
  flex: 1;
  min-width: 250px;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input-group input[type="text"],
.input-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
  font-family: inherit;
}

.input-group input[type="text"]:focus,
.input-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.generator-name-message {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--primary);
  font-weight: 500;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

/* Signature Grid - fixed full width, does not resize with content */
.signature-grid,
#generator .signature-grid,
#stylesGrid.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  width: 100%;
  max-width: 100%;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-height: 600px;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid transparent;
}

/* One canvas per row on tablet and mobile (avoid cut-off on small screens) */
@media (max-width: 992px) {

  .signature-grid,
  #generator .signature-grid,
  #stylesGrid.signature-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {

  .signature-grid,
  #generator .signature-grid,
  #stylesGrid.signature-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {

  .signature-grid,
  #generator .signature-grid,
  #stylesGrid.signature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Card size is fixed; size slider only changes signature text size inside */
.sig-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 180px;
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-sizing: border-box;
}

.sig-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.sig-content {
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.2;
  word-break: break-all;
  z-index: 10;
}

.sig-content-fit {
  max-width: 100%;
  overflow: visible;
}

.sig-content-multiline {
  max-width: 100%;
  overflow: visible;
}

.sig-content-multiline>div {
  text-align: center;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.08);
  /* More visible (was 0.03) */
  pointer-events: none;
  text-transform: uppercase;
  z-index: 1;
}

/* Canvas Areas */
.canvas-wrapper {
  background: white;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

canvas {
  display: block;
  cursor: crosshair;
  touch-action: none;
}

/* Sections below */
.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.info-item {
  text-align: center;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Site Footer – three columns + copyright (light theme) */
.site-footer {
  margin-top: 1rem;
  border-top: 2px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.875rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 1rem 0 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col-left,
.footer-col-center,
.footer-col-right {
  text-align: left;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-logo-link .footer-logo-img {
  display: block;
  height: 76px !important;
  /* 40% larger than original 54px */
  max-height: 76px !important;
  width: auto !important;
  object-fit: contain;
}

.footer-tagline {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-email {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--primary-dark, #5b21b6);
  text-decoration: underline;
}

.footer-email-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: middle;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links .footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links .footer-link:hover {
  color: var(--primary);
}

/* Leitfaden page: article cards and full article view */
.leitfaden-page-heading {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
}

.leitfaden-page-intro {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.leitfaden-list {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 480px;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.leitfaden-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.leitfaden-card {
  text-decoration: none;
  color: inherit;
}

.leitfaden-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.leitfaden-card:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.leitfaden-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 10px;
  color: var(--primary);
}

.leitfaden-card-icon svg {
  width: 24px;
  height: 24px;
}

/* .leitfaden-card-title font-size in .pdf-article-subheading block (H2) */
.leitfaden-card-title {
  margin: 0 0 0.5rem;
}

.leitfaden-card-desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.leitfaden-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.leitfaden-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.leitfaden-back-link:hover {
  color: var(--primary-dark, #5b21b6);
  text-decoration: underline;
}

.leitfaden-back-link svg {
  width: 18px;
  height: 18px;
}

.leitfaden-article-body {
  margin-top: 0;
}

@media (max-width: 900px) {
  .leitfaden-list {
    grid-template-columns: 1fr;
  }
}

.footer-copyright {
  border-top: 1px solid var(--border);
  padding: 0.4rem 0;
  text-align: center;
  background: var(--surface);
}

.footer-copyright-line {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0 0.75rem;
  }

  .footer-col-left,
  .footer-col-center,
  .footer-col-right {
    text-align: left;
  }

  .footer-tagline {
    max-width: none;
  }
}

/* Sign PDF workspace: back button and guide */
.pdf-back-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
}

.pdf-sign-guide {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pdf-sign-guide h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.pdf-sign-guide-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.pdf-sign-guide-steps li {
  margin-bottom: 0.5rem;
}

/* When PDF is loaded: dedicated signing page – hide header, nav, home content, hero */
body.pdf-signing-page .top-nav,
body.pdf-signing-page .privacy-banner,
body.pdf-signing-page .hero-header {
  display: none !important;
}

body.pdf-signing-page .nav-tabs {
  display: none !important;
}

body.pdf-signing-page .home-content-wrap {
  display: none !important;
}

body.pdf-signing-page .pdf-tool-hero {
  display: none !important;
}

/* Keep Back button and Upload signature visible on signing page */
body.pdf-signing-page .pdf-tool-sections,
body.pdf-signing-page #pdfResetWrap {
  display: none !important;
}

/* PDF viewer: scrollable on mobile (touch-friendly) */
.pdf-viewer-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  background: #f5f5f5;
  min-height: 280px;
  max-height: 75vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.pdf-viewer-container {
  position: relative;
  display: inline-block;
  margin: 1rem;
  flex-shrink: 0;
  touch-action: pan-x pan-y;
}

.pdf-viewer-container canvas {
  touch-action: pan-x pan-y;
  display: block;
}

.pdf-page-tabs {
  flex-shrink: 0;
}

.pdf-page-slot {
  flex-shrink: 0;
}

.pdf-page-canvas-wrap {
  touch-action: pan-x pan-y;
}

.pdf-overlay-container .signature-overlay,
.pdf-viewer-container .signature-overlay {
  touch-action: none;
}

/* Larger resize handles on touch devices so they work on mobile */
@media (max-width: 768px) {
  .pdf-viewer-wrap {
    max-height: 70vh;
    min-height: 240px;
  }

  .pdf-page-tab {
    min-height: 44px;
    padding: 0.6rem 1.2rem !important;
  }

  .pdf-viewer-container .resize-handle,
  .pdf-page-canvas-wrap .resize-handle {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
  }

  .pdf-viewer-container .resize-nw,
  .pdf-page-canvas-wrap .resize-nw {
    top: -12px !important;
    left: -12px !important;
  }

  .pdf-viewer-container .resize-ne,
  .pdf-page-canvas-wrap .resize-ne {
    top: -12px !important;
    right: -12px !important;
  }

  .pdf-viewer-container .resize-sw,
  .pdf-page-canvas-wrap .resize-sw {
    bottom: -12px !important;
    left: -12px !important;
  }

  .pdf-viewer-container .resize-se,
  .pdf-page-canvas-wrap .resize-se {
    bottom: -12px !important;
    right: -12px !important;
  }

  .pdf-viewer-container .sig-delete-btn,
  .pdf-page-canvas-wrap .sig-delete-btn {
    width: 28px !important;
    height: 28px !important;
    top: -14px !important;
    right: -14px !important;
    font-size: 20px !important;
  }
}

/* PDF tool: hero (h1 + tagline) and sections below canvas */
.pdf-tool-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pdf-tool-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem 0;
}

.pdf-tool-tagline {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.pdf-tool-sections {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pdf-tool-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.pdf-tool-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pdf-section-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.pdf-tool-section-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
}

.pdf-tool-section.pdf-create .pdf-tool-section-lead {
  margin-bottom: 1.25rem;
}

.pdf-create-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.pdf-create-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

a.pdf-create-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pdf-create-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.pdf-create-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.pdf-create-card-icon i {
  width: 22px;
  height: 22px;
}

.pdf-create-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem 0;
}

.pdf-create-card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.pdf-advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdf-advantages-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-main);
}

.pdf-advantages-list li:last-child {
  margin-bottom: 0;
}

.pdf-adv-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Payment View Styles */
.payment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.payment-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.payment-preview canvas {
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.weight-toggle {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.weight-toggle button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}

.weight-toggle button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.payment-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.payment-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.payment-form .form-group {
  margin-bottom: 1.5rem;
}

.payment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.payment-form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}

.payment-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.payment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.payment-form .btn-download {
  width: 100%;
  margin-top: 1rem;
}

/* Customization Controls */
.customization-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.customization-controls .control-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.customization-controls label {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.customization-controls input[type="color"] {
  width: 50px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.customization-controls input[type="range"] {
  width: 150px;
}

@media (max-width: 768px) {
  .payment-container {
    grid-template-columns: 1fr;
  }

  .customization-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}