/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    display: block;
    height: 110px; /* Same as nav height */
}

/* Light Cyan/Aqua Accent Color */
:root {
    --accent-color: #40E0D0; /* Approximate light cyan/aqua color */
}

header {
    max-width: 1000px;         /* Limit header width to match main content */
    margin: 0 auto 10px;       /* Add bottom margin to create space below */
    padding: 10px 20px;
}

/* Flex layout for nav */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

/* Header and Navigation */
.logo-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 15px;
    line-height: 1;
}

.logo {
    width: 60px;
    height: auto;
    display: block;
}

.title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.3em;
    color: #333;
    letter-spacing: 0.8px;
    margin: 0;
    padding-left: 12px;
    line-height: 1.1;
    display: block;
    white-space: nowrap;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Adjust nav ul for spacing */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
}

nav ul a:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 5px;
}

h1 {
    color: #333;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.nav-container-landing {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Main Content */
section {
    padding: 1px 20px 10px 20px;
    max-width: 1000px;
    margin: 0 auto 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Safe and scoped scroll offset */
section[id] {
    scroll-margin-top: 110px;
}

h2 {
    color: #0056b3;
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h3 {
    color: #333;
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 10px;
}

h4 {
    color: #0056b3;
    font-size: 1em;
    margin-top: 11px;
    margin-bottom: 11px;
}

.cta-button {
    display: block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin: 20px auto;
    max-width: max-content;
    border: 1px solid #bbb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #32c1b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

section a {
    text-decoration: none;
    color: #007BFF;
}

section a:hover {
    color: var(--accent-color);
}

#FAQ {
    max-width: 1000px;
    margin: 0 auto 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.faq-item {
    margin-bottom: 10px; /* Reduced space between FAQ items */
}

.faq-item h3 {
    color: #333;
    transition: color 0.3s;
    margin-bottom: 5px; /* Reduced space between question and answer */
}

.faq-item p {
    margin-left: 20px;
    color: #666;
    margin-top: 0; /* Remove extra space above answers */
}

/* Email link default style */
a[href^="mailto:"] {
    color: #007BFF;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

/* Minimal hover effect */
a[href^="mailto:"]:hover {
    color: #0056b3;
    border-bottom: 1px solid #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f1f1f1;
    color: #666;
    border-top: 1px solid #ddd;
}

/* Footer Navigation Menu - matching existing top nav style */
.footer-nav {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0 0 10px 0;
    padding: 0;
}
  
.footer-nav a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
}
  
.footer-nav a:hover {
    background-color: var(--accent-color, #0077cc);
    color: #fff;
    border-radius: 5px;
}
  

/* Accent Borders */
section ul li {
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
    margin-bottom: 10px;
}

/* General Form Styling */
form {
    max-width: 600px;
    margin: 40px 0; /* Remove auto centering */
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Ensure only the #kontakt section is left-aligned */
#kontakt {
    max-width: 1000px;
    margin: 40px auto;
    padding-left: 20px; /* Moves only this section to the left */
}

/* Form Group - Ensures labels are close to inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Adds small space between label and input */
    margin-bottom: 12px; /* Keeps spacing consistent between fields */
}

/* Inputs & Textarea */
input,
textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.3s ease-in-out;
    background-color: #fafafa;
    box-sizing: border-box;
}

/* Ensure text inside inputs does not reach the edge */
input,
textarea {
    padding-left: 15px;
    padding-right: 15px;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
  
.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
  
.checkbox-label a {
    color: #007BFF;
    text-decoration: underline;
}
  
.checkbox-label a:hover {
    text-decoration: none;
}

/* Style for the #submit-button */
#submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

/* Hover effect for #submit-button */
#submit-button:hover {
    background-color: #32c1b3;
    transform: translateY(-2px);
}

/* Focus effect for accessibility */
#submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.4);
}

/* Datenschutz Section Styling */
#datenschutz .dataprotection-item {
    margin-bottom: 2.5rem;
}
  
#datenschutz .dataprotection-item h3,h4 {
    margin-bottom: 0.2rem;
}
  
#datenschutz .dataprotection-item p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Solutions Table Styling */
.solutions-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.solutions-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.solutions-table td {
    padding: 10px;
    vertical-align: top;
    text-align: center;
}

.solution-image {
    width: 100%;
    height: auto;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.solution-item {
    margin-bottom: 20px;
}

.solution-title {
    display: flex;
    align-items: center;
    gap: 6px; /* small gap between icon and text */
    font-size: 1rem;
    color: #0056b3;
    margin: 0 0 4px 0; /* small bottom space */
    font-weight: bold;
}

.solution-title strong {
    font-weight: 600;
    color: #0056b3;
}

.check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.solution-description {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.solution-link {
    display: block;
    text-decoration: none;
}

.solution-link:hover .solution-image {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Align <header> neatly between <h2> and <h3> in #quickstart */
#quickstart h2,
#sprint h2 {
    margin-bottom: 10px;
}

#quickstart h3,
#sprint h3 {
    margin-top: 25px;
}

#quickstart > header,
#sprint > header {
    margin: 0 auto 20px auto;
    padding: 0;
    text-align: center;
}

.program-header-table {
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 500px;
}

.program-header-table .price-cell {
    font-size: 1.4em;
    font-weight: 600;
    color: #222;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e2e2;
}

.program-header-table .price-cell span {
    font-size: 0.75em;
    font-weight: 400;
    color: #888;
    margin-left: 4px;
    vertical-align: middle;
}

.program-header-table .info-cell {
    font-size: 0.95em;
    color: #555;
    padding-top: 10px;
    font-weight: 400;
    letter-spacing: 0.3px;
    opacity: 0.85;
}

/* DocSearch Landing Page Scoped Styling */
.docsearch-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.docsearch-title {
  text-align: center;
  color: #0056b3;
  margin: 0 0 24px 0;
  font-weight: 600;
}

.docsearch-features {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.docsearch-feature {
  flex: 1;
  min-width: 240px;
  text-align: center;
  padding: 10px;
}

.docsearch-feature-title {
  font-size: 1.1em;
  color: #0056b3;
  font-weight: 600;
  margin-bottom: 10px;
}

.docsearch-feature-description {
  font-size: 0.97em;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* Highlighted Price */
.docsearch-price {
  background-color: #ffffff;
  color: #333;
  font-size: 1.4em;
  font-weight: 700;
  text-align: center;
  padding: 20px 30px;
  border-radius: 12px;
  max-width: max-content;
  margin: 0 auto;
  border: 2px solid #2ecc71;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ROI Table Section */
.roi-table-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Title */
.roi-title {
  color: #0056b3;
  margin: 0 0 24px 0;
}

/* Table Styling */
.roi-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.roi-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  margin: 0 auto;
  font-size: 1em;
}

.roi-table thead {
  background-color: #f4f8fb;
  border-bottom: 2px solid #ddd;
}

.roi-table th,
.roi-table td {
  padding: 12px 16px;
  text-align: center;
  color: #333;
}

.roi-table th {
  font-weight: 600;
  color: #0056b3;
}

.roi-table tbody tr {
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
}

.roi-table tbody tr:last-child {
  border-bottom: none;
}

/* Paragraph */
.roi-description {
  font-size: 0.95em;
  color: #555;
  max-width: 700px;
  margin: 15px auto 0 auto;
  line-height: 1.6;
}

.guarantee-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(64, 224, 208, 0.08);
  padding: 36px 20px 32px 20px;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  text-align: center;
  position: relative;
  border: 1.5px solid #e8f7f5;
}

.guarantee-title {
  color: #009875;
  margin: 0 0 22px 0;
  font-weight: 700;
}

.guarantee-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9fef8;
  border: 1.5px solid #47e3b7;
  color: #009875;
  font-size: 1.13em;
  font-weight: 600;
  padding: 20px 28px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(64, 224, 208, 0.07);
  margin: 0 auto;
  gap: 16px;
}

.guarantee-icon {
  font-size: 1.6em;
  margin-right: 8px;
}

.guarantee-text b {
  color: #07916b;
  font-weight: 800;
  font-size: 1.08em;
}

body.no-nav::before {
  height: 0 !important;
}

.landing-title {
  margin-top: 54px;
}

.landing-cta {
  margin-bottom: 54px;
}


/* ===========================
   Responsive Design (Max 768px)
=========================== */
@media (max-width: 768px) {

    .logo-title {
        display: none;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
    
      nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
      }
    
      nav ul li {
        list-style: none;
      }
    
      nav ul li a {
        display: inline-block;
        padding: 8px 12px;
        font-size: 1rem;
        font-weight: 500;
      }
    
    body::before {
        height: 80px; /* Adjust scroll space below fixed nav */
    }
    
    section[id] {
        scroll-margin-top: 80px;
    }

    form {
        width: 90%;
        padding: 20px;
    }

    /* Responsive Design for Solutions Table */
    .solutions-table tr {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .solutions-table td {
        width: 100%;
        padding: 10px 0;
    }

    .docsearch-features {
        flex-direction: column;
        align-items: center;
    }

    .nav-container-landing {
        flex-direction: column;
        align-items: center;
        justify-content: center;
  }

}


/* ===========================
   Extra Small Devices (Max 480px)
=========================== */
@media (max-width: 480px) {
    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 4px; /* Reduced vertical space between items */
      margin: 0;
      padding: 0;
    }
  
    nav ul li {
      width: auto;
      text-align: center;
    }
  
    nav ul li a {
      display: block;
      padding: 5px 0; /* Compact vertical padding */
      font-size: 0.9rem;
      line-height: 1.1;
    }
  
    body::before {
      height: 160px; /* Adjusted nav height spacing */
    }
  
    section[id] {
      scroll-margin-top: 160px;
    }
  }
  
body.no-nav section[id] {
  scroll-margin-top: 0 !important;
}
