:root {
  --color-primary: #1a3d7c;
  --color-accent: #00c896;
  --color-bg: #f5f5f5;
  --color-dark: #222;
  --color-light: #fff;
  --color-border: rgba(0,0,0,0.1);
}

/* ---------------------------------------------------------------------
  MAIN PAGE
------------------------------------------------------------------------ */
html {
  overflow-y: scroll;          /* Scrollbar immer anzeigen */
  /* optional moderner: scrollbar-gutter: stable; */
}


body { 
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header { 
    color: #fff;
    text-align: center;
}

main { 
    padding: 20px;
}

footer { 
    background: #222;
    color: #fff;
    text-align: center;
    padding: 10px;
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

/* GLOBAL BUTTON STYLE */
.button {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.button:hover {
  background: #335cad;
  transform: scale(1.05);
}


/* GLOBAL H2 STYLE */
h2 {
  font-size: 2.0rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}



/* LEFT-ALIGNED H2 ON SELECTED PAGES */
#contact-page h2,
#pricing-page > h2,
.contact-block h2 {
  text-align: left;
}

/* HERO TEXT FIX */
#hero h2,
#hero p {
  color: white;
}

footer p {
  color: #fff;
}


header p {
  color: #fff;
}



/* ---------------------------------------------------------------------
  NAV BAR
------------------------------------------------------------------------ */

nav {
     background: #444;
     padding: 10px;
}

#nav-index a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#nav-index a:hover {
  background-color: var(--color-primary);
}

#nav-index a:active {
  background-color: #335cad;
}

/* ---------------------------------------------------------------------
  TITLE BAR
------------------------------------------------------------------------ */

#titel {
  background-image: url("../images/title-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px;
  padding: 4rem 2rem;
  color: white;
  text-align: center;
}

/* Haupttitel */
#index-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Untertitel */
#index-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
}

/* Mobile */
@media (max-width: 768px) {
  #index-title {
    font-size: 2rem;
    font-weight: 600;
  }
  #index-subtitle {
    font-size: 1rem;
  }
}

/* Desktop */
@media (min-width: 769px) {
  #index-title {
    font-size: 3.5rem;
    font-weight: 700;
  }
  #index-subtitle {
    font-size: 1.5rem;
  }
}

/* ---------------------------------------------------------------------
  FEATURE BOXES
------------------------------------------------------------------------ */

#feature-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px;
}

/* Box als Bild-Container */
.box {
  position: relative;
  width: 30%;
  min-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Minimalist Card */
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Bild füllt die komplette Box */
.box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* Overlay mit h3 + p */
.overlay-text {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;

  padding: 25px;
  z-index: 10;
  color: #000;

  /* Apple‑Style Verlauf */
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.0)
  );
}

/* CumDelta ohne Apple-Fade */
.box.no-fade .overlay-text {
  background: none !important;
}

/* Typo */
.box h3 {
  font-size: 1.4rem;
  margin: 0 0 8px 0;
}

.box p {
  font-size: 1.1rem;
  margin: 0;
  max-width: 90%;
}

.box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* FEATURE CARD HOVER EFFECT – wie Pricing Cards */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.feature-card .button {
  transition: 0.3s ease;
}

.feature-card .button:hover {
  background: #335cad;
  transform: scale(1.05);
}


/* ---------------------------------------------------------------------
  SUB-FEATURELIST BOXES
------------------------------------------------------------------------ */

#feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px;
}

.feature-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.feature-page h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-page h3 {
  margin-top: 40px;
  font-size: 1.4rem;
}

.feature-page p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.features-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-top: -20px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.features-subtitle::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: var(--color-primary);
  margin: 10px auto 0 auto;
  border-radius: 2px;
}


.feature-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 30px;
}


.feature-card {
  width: 300px;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 20px;
  text-align: center;

  /* NEW: Fix uneven heights */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card p {
  font-size: 1rem;
  margin-bottom: 15px;

  /* NEW: Stabilize text height */
  min-height: 48px;
}

.feature-card .button {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;

  /* NEW: prevent full-width stretching */
  align-self: center;
}



.feature-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.feature-card h3 {
  margin: 10px 0;
}

.feature-card p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.feature-card .button {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.feature-card .button:hover {
  background: #335cad;
}


/* ---------------------------------------------------------------------
  HERO SECTION
------------------------------------------------------------------------ */

#hero {
  background-image: url("../images/footprint-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  color: white;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
}

.hero-content p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 20px;
}

.cta-button {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #335cad;
}

/* ---------------------------------------------------------------------
  TRUST BADGES
------------------------------------------------------------------------ */

#trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.badge {
  background: #eee;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
}

/* ---------------------------------------------------------------------
  PRICING TEASER
------------------------------------------------------------------------ */

#pricing {
  text-align: center;
  padding: 40px;
}

.buy-button {
  background: #28a745;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.buy-button:hover {
  background-color: #218838;
}


/* ---------------------------------------------------------------------
  PRICING PAGE
------------------------------------------------------------------------ */

#pricing-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

#pricing-intro {
  text-align: center;
  margin-bottom: 40px;
}


#pricing-intro h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}


#pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Pricing Cards */
.pricing-card {
  width: 300px;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* WICHTIG: wie Feature-Cards */
}



.pricing-card:hover {
  transform: scale(1.05);
}

.pricing-card.highlight {
  border: 2px solid var(--color-primary);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden; /* wichtig für Ribbon */
}

.pricing-card.highlight:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.pricing-card .price {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Stabilisiert die Höhe des Textbereichs */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  min-height: 200px; /* sorgt für identische Höhe */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.pricing-card ul li {
  margin: 6px 0;
  font-size: 1rem;
}



/* Einheitlicher Button-Stil */
.pricing-card .button,
.lifetime-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
  margin-top: 10px;
}

.pricing-card .button:hover,
.lifetime-btn:hover {
  background: #335cad;
  transform: scale(1.05);
}

/* Pro Ribbon */
.ribbon {
  position: absolute;
  top: 12px;
  right: -40px;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ---------------------------------------------------------------------
  PRICING TABLE
------------------------------------------------------------------------ */

#pricing-table-section {
  margin-top: 60px;
  text-align: center;
}

#pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 1rem;
}

#pricing-table th,
#pricing-table td {
  border: 1px solid var(--color-border);
  padding: 12px;
}

#pricing-table th {
  background: var(--color-primary);
  color: white;
}

#pricing-table td {
  background: var(--color-light);
}

#pricing-table td:nth-child(2),
#pricing-table td:nth-child(3),
#pricing-table td:nth-child(4) {
  text-align: center;
  font-weight: bold;
}

#pricing-table td:contains("✔") {
  color: var(--color-accent);
}

/* ---------------------------------------------------------------------
  LIFETIME BOX
------------------------------------------------------------------------ */

#lifetime-box {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 35px 25px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden; /* sorgt für korrektes Abschneiden des Ribbons */
}


#lifetime-box h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}


#lifetime-box .price-large {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-dark);
}

/* Lifetime Button */
.lifetime-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.lifetime-btn:hover {
  background: #335cad;
  transform: scale(1.05);
}

/* Golden Lifetime Ribbon */
.lifetime-ribbon-gold {
  position: absolute;
  top: 12px;
  right: -40px; /* funktioniert jetzt perfekt dank overflow:hidden */
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #fff;
  padding: 6px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
}

#lifetime-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#lifetime-box:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}


/* DEMO PAGE */

#demo-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

#demo-intro {
  text-align: center;
  margin-bottom: 40px;
}


#demo-intro h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}



/* DEMO BOX (Lifetime‑style) */

#demo-box {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 35px 25px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#demo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.demo-features li {
  margin: 8px 0;
  font-size: 1.1rem;
}

/* DEMO BUTTON */

.demo-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.demo-btn:hover {
  background: #335cad;
  transform: scale(1.05);
}

.demo-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #444;
}

.demo-secondary {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: none;
}

.demo-secondary:hover {
  text-decoration: underline;
}

/* DEMO RIBBON */

.demo-ribbon {
  position: absolute;
  top: 12px;
  right: -40px;
  background: linear-gradient(135deg, #c62828, #8e0000);
  color: #fff;
  padding: 6px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
}

/* DEMO FEATURE GRID */

#demo-feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 0;
}


/* FAQ PAGE */

#faq-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-category {
  margin-bottom: 50px;
}

.faq-category h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: var(--color-light);
  border: none;
  padding: 18px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f0f4ff;
}

.faq-answer {
  display: none;
  padding: 18px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
}


/* TERMS & PRIVACY PAGE */

#terms-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.terms-block {
  margin-bottom: 60px;
}

.terms-block h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  text-align: left;
}

.terms-block h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.terms-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}


/* CONTACT & SUPPORT PAGE */

#contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-block {
  margin-bottom: 50px;
}

.contact-block h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.contact-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.contact-email {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.contact-list li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.contact-links {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.contact-links li {
  margin-bottom: 8px;
}

.contact-links a {
  color: var(--color-primary);
  font-weight: bold;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* Changelog paragraph style */
#pricing-page p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}


/* PURCHASE PAGE */

#purchase-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.purchase-warning {
  background: #ffe9e9;
  border: 1px solid #ffb3b3;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  text-align: center;
}

.purchase-warning .button {
  margin: 10px;
}



/* ---------------------------------------------------------------------
   ACCOUNT PAGES (Login + Register)
------------------------------------------------------------------------ */

#account-wrapper {
  max-width: 450px;
  margin: 40px auto;
  padding: 0 20px; /* sorgt für gleichen Abstand links/rechts */
}

.account-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 35px 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  text-align: center;

  /* gleiche Optik wie Feature Cards */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

/* Form Layout */
.account-card form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Input Fields */
.account-card input[type="email"],
.account-card input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Buttons – exakt wie Feature Cards */
.account-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.account-btn:hover {
  background: #335cad;
  transform: scale(1.03);
}

/* Link unter Login */
.account-link {
  margin-top: 10px;
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: none;
}

.account-link:hover {
  text-decoration: underline;
}

.success-box {
  background: #e6ffe6;
  border: 1px solid #8cd98c;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  color: #2d662d;
}



/* Accounting */
#account-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.account-section {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 30px 25px;
  margin-bottom: 35px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.account-section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--color-primary);
  text-align: left;
}

.account-section p {
  margin-bottom: 12px;
  color: #333;
}


/* -----------------------------------------------------------
   SUPPORT PAGE
----------------------------------------------------------- */

#support-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Row 1: Intro */
#support-intro {
  text-align: center;
  margin-bottom: 40px;
}

#support-intro h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

#support-intro p {
  font-size: 1.1rem;
  color: #333;
}

/* Row 2: Breite Support-Card */
.support-form-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 35px 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-form-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.support-form-card form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.support-form-card input[type="text"],
.support-form-card textarea,
.support-form-card input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.support-form-card textarea {
  resize: vertical;
  min-height: 150px;
}

/* Row 3: 4 Cards nebeneinander */
#support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.support-box {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.support-box h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.support-box p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.support-box ul {
  list-style: disc;
  text-align: left;
  padding-left: 20px;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* FIX: Buttons gleich groß, gleiche Abstände, nicht überstehend */
.support-box .button {
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  margin-top: auto;
  text-align: center;
}



/* -----------------------------------------------------------
   DOWNLOADS PAGE
----------------------------------------------------------- */

#downloads-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Intro */
#downloads-intro {
  text-align: center;
  margin-bottom: 40px;
}

#downloads-intro h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

#downloads-intro p {
  font-size: 1.1rem;
  color: #333;
}

/* Grid */
#downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Cards */
.download-box {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.download-box h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.download-box p {
  font-size: 1rem;
  margin-bottom: 15px;
}

/* Buttons gleich groß */
.download-box .button {
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  margin-top: auto;
}

/* -----------------------------------------------------------
   DOCUMENTATION PAGE
----------------------------------------------------------- */

#documentation-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

#documentation-wrapper {
  max-width: 1400px; /* breiter, nutzt den Bildschirm besser */
  margin: 0 auto;
  padding: 40px 20px;
}

/* Documentation heading centered */
#documentation-page .contact-block h2,
#documentation-page .contact-block p {
  text-align: center;
}

/* 3 Cards pro Reihe – Standard */
#documentation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

/* Cards */
.doc-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 35px; /* etwas mehr Luft */
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  position: relative;
  overflow: hidden; /* sorgt dafür, dass das Ribbon bündig abschließt */

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gemeinsamer Block für Titel + Text */
.doc-card-text {
    min-height: 150px; /* Höhe anpassen bis alle 3 Cards perfekt ausgerichtet sind */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.doc-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.doc-card img {
  width: 100%;
  height: auto;
  flex-grow: 1;          /* Bild nimmt den gesamten freien Platz ein */
  object-fit: contain;   /* Bild bleibt unverändert */
  margin-bottom: 20px;
}


.doc-card h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.doc-card p {
  font-size: 1.05rem;
  margin-bottom: 20px;

}


/* Nur Session-Mode Bilder weich machen */
.doc-card img[src*="sessions"] {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

/* Soft-Edge Overlay */
.doc-card img[src*="sessions"]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    /* Weicher Verlauf wie Apple, aber dunkler */
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.20) 40%,
        rgba(0,0,0,0.00) 80%
    );
}

.doc-card img[src*="sessions"] {
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Nur Tick-Source Bilder weich machen */
.doc-card img[src*="ticksource"] {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Soft-Edge Overlay */
.doc-card img[src*="ticksource"]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    /* Weicher Verlauf wie Apple, aber dunkler */
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.20) 40%,
        rgba(0,0,0,0.00) 80%
    );
}
.doc-card img[src*="ticksource"] {
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Tick-Source Bilder randlos füllen */
.doc-card img[src*="ticksource"] {
    object-fit: cover !important;
    width: 100%;
    height: 100%;
    border-radius: 14px;
}



.doc-card .button {
  width: 100%;
  padding: 14px 20px;
  box-sizing: border-box;
  margin-top: auto;
}

/* Documentation intro – identisch zu Downloads */
#documentation-page .contact-block {
  text-align: center;
  margin-bottom: 40px;
}

#documentation-page .contact-block h2 {
  font-size: 2rem; /* wie Downloads */
  color: var(--color-primary);
  margin-bottom: 10px;
  text-align: center; /* überschreibt contact-page Regel */
}

#documentation-page .contact-block p {
  font-size: 1.1rem; /* wie Downloads */
  color: #333;
  text-align: center;
}

/* -----------------------------------------------------------
   DOCUMENTATION CATEGORY HEADERS – FINAL PREMIUM VERSION
----------------------------------------------------------- */

.doc-category {
  width: 100%;
  margin: 90px 0 40px 0; /* deutlich mehr Abstand oben & unten */
  text-align: center;    /* zentriert */
}

.doc-category h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-align: center;    /* zentriert */
}

/* Linie über volle Breite, gleiche Farbe wie vorher */
.doc-category .cat-line {
  width: 100%;
  height: 3px;
  background: var(--color-primary); /* volle Farbe, kein Opacity */
  border-radius: 2px;
  margin: 0 auto;
}

/* -----------------------------------------------------------
   BADGE STYLES FOR DOCUMENTATION TABLES
----------------------------------------------------------- */
.mode-badge {
  display: inline-block;
  background: #eef3ff;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 8px;
  margin: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  border: 1px solid var(--color-border);
}

.value-badge {
  display: inline-block;
  background: #f7f7f7;
  color: #555;
  padding: 6px 12px;
  border-radius: 8px;
  margin: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  border: 1px solid var(--color-border);
}

/* Regel 2: Wenn GENAU 1 Card → mittig in Spalte 2 */
#documentation-grid:has(.doc-card:nth-child(1):last-child) .doc-card:nth-child(1) {
  grid-column: 2;
}

/* Regel 3: Wenn GENAU 4 Cards → 4. Card in Row 2 mittig (Spalte 2) */
#documentation-grid:has(.doc-card:nth-child(4):last-child) .doc-card:nth-child(4) {
  grid-column: 2;
}

/* Regel 1 + Mid‑Zentrieren bei GENAU 2 Cards:
   – gleiche Breite wie 3‑Spalten‑Layout
   – symmetrischer Außenabstand links/rechts */
#documentation-grid:has(.doc-card:nth-child(2):last-child) {
  display: flex;
  justify-content: center;
  gap: 45px;
}

#documentation-grid:has(.doc-card:nth-child(2):last-child) .doc-card {
  flex: 0 0 calc((100% - 2 * 45px) / 3); /* gleiche Breite wie 1/3 Grid */
  max-width: calc((100% - 2 * 45px) / 3);
}

/* Planned Ribbon im Pricing‑Style */
.ribbon-planned {
  position: absolute;
  top: 12px;
  right: -40px;
  background: linear-gradient(135deg, #fff4d6, #e6c98c);
  color: #b37a00;
  padding: 6px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
  z-index: 10;
}
