/* ============================================
   fino taxtech - Static Landing Page Styles
   ============================================ */

/* CSS Variables / Design Tokens */
:root {    
    /* Semantic Colors */
    --background: #F8F8F8; 
    --foreground: #2A1E5C;

    --font-color: #3D3D3D;

    --primary: #6A628D;
    --primary-foreground: #F8F8F8;
    --secondary: #2A1E5C;
    --secondary-foreground: #F8F8F8;

    --muted: #f8f7fc;
    --muted-foreground: #5c4d7a;

    --accent: #E0514B;
    --accent-foreground: #f8f7fc;

    --accent-light: #F7C708;
    --accent-light-foreground: #f8f7fc;

    --border: #e5e2ed;
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, #f8f7fc 0%, #f0eef8 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(42, 30, 92, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(42, 30, 92, 0.1), 0 2px 4px -1px rgba(42, 30, 92, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(42, 30, 92, 0.1), 0 4px 6px -2px rgba(42, 30, 92, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(42, 30, 92, 0.1), 0 10px 10px -5px rgba(42, 30, 92, 0.04);
    
    /* Spacing */
    --radius: 0.75rem;
    --container-max: 1280px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', Georgia, serif;
    color: var(--font-color);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
    font-family: 'Noto Serif', Georgia, serif;
    margin-bottom: 0.5rem;
}

p {margin-bottom: 1.5rem;}

a {color: var(--secondary); text-decoration: none;}

main ul {
  list-style: none; /* Keine Standard-Punkte */
  padding-left: 0;
  margin: 0 0 10px 0;
}

main ul li {
  position: relative;
  padding-left: 20px; /* Platz für den eigenen Marker */
  margin-bottom: 5px; /* Abstand zwischen den Punkten */
  line-height: 1.5;
}

/* Eigener Marker mit ::before */
main ul li::before {
  content: "•"; /* Hier kann ein Emoji oder Sonderzeichen stehen */
  position: absolute;
  left: 0;
  color: var (var(--font-color)); /* Farbe des Markers */
  font-weight: bold;
  font-size: 20px;
  top: -3px;
}  

.mb-20 {
  margin-bottom: 20px;
}

.p-96 {
  padding: 6rem 0;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (max-width: 1280px) {
  .container {
      margin: 0 15px;
  }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 4.5rem;
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
}

.header .logo-image {
    width: 10rem;
    height: auto;
}
.footer .logo-image {
    width: 8rem;
    height: auto;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    padding: 0.75rem 0;
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--hero-gradient);
    padding-top: 4.5rem;
    display: flex;
    flex-direction: column;
}
.hero-small {
    min-height: 30vh;
    background: var(--hero-gradient);
    padding-top: 4.5rem;
}
.hero-small .hero-content {
  padding: 4rem 1.25rem;
}
.hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(1.875rem, 5vw, 2.188rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.text-headline-light {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--font-color);
    margin-bottom: 2rem;
    /*max-width: 540px;*/
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background:  var(--secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--muted);
    border-color: var(--foreground);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 280px;
}

.hero-card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hero-card-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--primary);
}

.hero-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    padding: 2rem 0;
}

.scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.scroll-link:hover {
    color: var(--foreground);
}

.scroll-link svg {
    width: 1.5rem;
    height: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
}

.grid-centered { max-width: 900px; margin: 0 auto; }

/* ============================================
   Products Section
   ============================================ */
.products {
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-description {
    font-size: 1.125rem;
    color: var(--font-color);
    max-width: 700px;
    margin: 0 auto;
}

.product-wrapper {
  display: flex;
  gap: 2rem;
  align-items: stretch;  /* gleiche Höhe der Karten */
}
@media (max-width: 968px) {
  .product-wrapper {
    display: inline-grid;
  }
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  flex: 1;               /* gleiche Breite aller Karten */
  display: flex;
  flex-direction: column;
  min-width: 0;          /* erlaubt Schrumpfen bei engem Fenster */
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.product-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-icon svg, .product-icon img {
    width: 1.75rem;
    height: 1.75rem;
}

.product-icon-green {
    background: #2f9d56;
}

.product-icon-green svg {
    stroke: var(--accent-foreground);
}

.product-icon-blue {
    background: #225E99;
}

.product-icon-lightgray {
    background: #efefef;
}

.product-icon-blue svg {
    stroke: var(--secondary-foreground);
}

.product-icon-purple {
    background: var(--secondary);
}

.product-icon-purple svg {
    stroke: var(--secondary-foreground);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.product-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    flex: 1;               /* gleiche Höhe der Beschreibungen */
}


.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--foreground);
    font-size: 0.9375rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--primary);
    flex-shrink: 0;
}

#kontakt .product-card {
  display: flex;
  flex-direction: column;
}

#kontakt .product-title {
  flex-shrink: 0;
}

/* Container für die zu zentrierenden Elemente */
#kontakt .feature-group {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Zentriert die Gruppe vertikal */
  flex: 1;  /* Nimmt den verfügbaren Platz ein */
  margin: 0;  /* Entfernt automatische Margins */
}

#kontakt .about-feature {
  margin: 10px 0;  /* Abstand zwischen den Boxen */
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: white;
}

.about-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary);
}

.about-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.about-feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 580px) {
  .about-stats {
    display: block;
  }
  .stat-card {
    margin-bottom: 20px;
  }
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-foreground);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        order: -1;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--muted);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 280px;
}

.logo-light .logo-text {
    color: var(--foreground);
}

.footer-description {
    margin-top: 1rem;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--foreground);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--primary);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--foreground);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   Legal Pages (Impressum, Datenschutz, etc.)
   ============================================ */
.legal-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    background: var(--background);
}

.legal-container {
    max-width: 800px;
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);

}

.legal-text {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-contact-item {
    margin-bottom: 1.5rem;
}

.legal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-link:hover {
    text-decoration: underline;
}

.legal-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.legal-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.legal-inline-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-inline-link:hover {
    text-decoration: underline;
}


.contact-grid { display: grid; gap: 3rem; align-items: start; }

/*.contact-form-card { padding: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--foreground); margin-bottom: 0.375rem; }
.form-input { width: 100%; padding: 0.625rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--background); color: var(--foreground); font-family: inherit; font-size: 0.9375rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input::placeholder { color: var(--muted-foreground); opacity: 0.6; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(106, 98, 141, 0.15); }
.form-textarea { resize: none; }
.form-note { font-size: 0.8125rem; color: var(--muted-foreground); text-align: center; margin-top: 0.25rem; }
.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail-item { display: flex; align-items: center; gap: 1rem; color: var(--muted-foreground); font-size: 0.9375rem; }
.contact-detail-item:hover { color: var(--primary); }*/
.contact-feature {
    align-items: center;
}
.contact-detail-icon {
  background: rgba(106, 98, 141, 0.1);
}
.contact-detail-icon svg {
  stroke: var(--primary); width: 30px;
}
/*.directors-list { display: flex; flex-direction: column; gap: 1rem; }
.director-item { display: flex; gap: 1rem; align-items: flex-start; }
.director-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.director-avatar svg { stroke: var(--secondary-foreground); }