/**
 * Custom CSS for retavi Website
 * Defines reusable utility classes to reduce inline styles
 */

/* Brand Colors */
:root {
  --retavi-accent-green: #1f4e4a;
  --retavi-orange: #F7A418;
  --retavi-white: whitesmoke;
  --retavi-dark: #1B2A34;
}

/* Typography Utilities */
.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-white {
  color: whitesmoke !important;
}

.text-retavi {
  color: var(--retavi-orange) !important;
}

.font-bold {
  font-weight: bold !important;
}

/* Brand Elements */
.retavi-highlight {
  color: var(--retavi-orange);
  font-weight: bold;
}

/* Language Switcher Separator */
.language-switcher .separator {
  color: var(--nav-color);
  font-weight: normal;
}

/* Retavi Box - Highlighted Information Box */
.retavi-box {
  border: 4px solid var(--retavi-orange);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 40px;
  text-align: center;
  color: whitesmoke;
}

.retavi-box p {
  margin-bottom: 0.5rem;
  padding: 0.25rem;
}

.retavi-box p:last-child {
  margin-bottom: 0;
}

/* Hero Section Specific */
.hero-subheading {
  color: var(--retavi-orange);
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 20px;
  margin-bottom: 5px;
}

.hero-text {
  max-width: 500px;
  margin: 0 auto;
  color: whitesmoke !important;
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-title-retavi {
  color: var(--retavi-orange);
}

.hero-title-white {
  color: whitesmoke;
}
.hero-title-mono {
  color: var(--retavi-white);
  font-family: 'Roboto Mono', monospace;
}

.hero-cta-container {
  padding: 0;
  padding-bottom: 20px;
}

/* Buttons */
.btn-retavi {
  background-color: var(--retavi-orange) !important;
  color: var(--retavi-dark) !important;
  transition: all 0.3s ease !important;
  font-weight: bold !important;
  border-radius: 8px !important;
}

.btn-retavi:hover {
  background-color: color-mix(in srgb, var(--retavi-orange) 85%, black) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 1px 3px rgba(120, 120, 120, 0.4) !important;
}

/* Content Sections */
.content-left {
  text-align: left;
}

.content-white {
  color: whitesmoke;
}


/* Section Subtitle */
.section-subtitle {
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}


/* Product Section - Image Containers */
.product-image-container {
  padding-left: 20px;
}

.problems-image {
  max-height: 100%;
}

/* Lifecycle Section Icons */
.lifecycle-icon {
  color: #1B2A34;
  border: 1px solid #1B2A34;
}

.lifecycle-icon-green {
  border: 1px solid #1f4e4a;
}

.lifecycle-icon-red {
  border: 1px solid #7B2B35;
  color: black;
}

.lifecycle-icon-img {
  color: #1f4e4a;
  border: 1px solid #1f4e4a;
  width: 42px;
  height: 42px;
}

/* About Section */
.exist-logo {
  margin-top: 10px;
}

.team-image {
  max-height: 600px;
  object-fit: cover;
  border-radius: 12px;
}

/* Contact Section */
.contact-title {
  color: whitesmoke !important;
  background: color-mix(in srgb, var(--retavi-orange), transparent 10%) !important;
}

.contact-ready-title {
  color: var(--retavi-orange) !important;
}

.contact-subtitle {
  color: whitesmoke;
  font-size: 1.15rem;
}

.contact-image {
  background-color: whitesmoke;
  max-height: 200px;
  border-radius: 5px;
}

.contact-info {
  margin: 20px;
  min-width: 280px;
  color: whitesmoke;
}

.contact-name {
  font-weight: bolder;
  font-size: x-large;
  margin-bottom: 15px;
  text-align: left;
}

.contact-info h3 {
  text-align: left;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.contact-info .bi {
  border: 2px solid var(--retavi-orange);
  border-radius: 50%;
  padding: 10px;
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-info .bi:hover {
  background-color: var(--retavi-orange);
  color: var(--retavi-dark);
}

/* Newsletter Section */
.newsletter-container {
  width: 80%;
  background: #F9FBFB;
  padding: 20px;
  margin-top: 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Newsletter Scroll Offset - Oberkante der Box gerade noch sichtbar */
#newsletter {
  scroll-margin-top: 40px;
  position: relative;
  top: -0px;
}

.newsletter-title {
  margin-bottom: 15px;
  font-size: 1.4em;
  color: #333;
  text-align: center;
}

/* Footer */
.footer-credits {
  margin-top: 10px;
}

.footer-link {
  padding-right: 50px;
  color: whitesmoke;
}

/* Spacing Utilities */
.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-15 {
  margin-bottom: 15px;
}

.p-4 {
  padding: 4px;
}

/* Image Container Utilities */
.image-container-margin {
  margin: 20px;
  margin-top: 20px;
}

/* Tab Section Specific */
.tab-title {
  font-size: medium;
}

.tab-description {
  font-size: small;
}

.tab-description-small {
  font-size: small;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .retavi-box {
    padding: 0.5rem;
  }
  
  .newsletter-container {
    width: 95%;
  }
}

/* Section Background Types */
.section-bg-green {
  background: color-mix(in srgb, var(--retavi-accent-green), transparent 10%) !important;
}

.section-bg-white {
  background: #fdffff !important;
}

/* Text Colors for Green Background Sections */
.section-bg-green .section-title h2 {
  background: #fdffff  !important;
  color: var(--retavi-accent-green) !important;
}

.section-contact {
  background: #1B2A34 !important;
}

/* Contact Section Title Chip - Orange like green sections */
#contact .section-title h2 {
  background: var(--retavi-orange) !important;
  color: var(--retavi-dark) !important;
}

.section-bg-green h3,
.section-bg-green .content-section-title {
  color: var(--retavi-orange) !important;
}

.section-bg-green .section-subtitle,
.section-bg-green p {
  color: whitesmoke !important;
}

/* Technology Section - Green Service Cards with Orange Icons */
.service-item-tech {
  background: var(--retavi-accent-green) !important;
  padding: 30px 20px !important;
  border-radius: 18px !important;
  transition: all ease-in-out 0.3s !important;
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1) !important;
  border-bottom: 5px solid transparent !important;
  height: 100% !important;
  text-align: center !important;
}

.service-item-tech:hover {
  transform: translateY(-10px) !important;
  border-color: var(--retavi-orange) !important;
  box-shadow: 0px 10px 100px 0px rgba(0, 0, 0, 0.15) !important;
}

.service-item-tech .icon-tech {
  background-color: white !important;
  border: 3px solid var(--retavi-orange) !important;
  color: var(--retavi-orange) !important;
  margin: 0 auto !important;
  width: 55px !important;
  height: 55px !important;
  border-radius: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
  font-size: 28px !important;
  transition: ease-in-out 0.3s !important;
}

.service-item-tech .icon-tech i {
  color: var(--retavi-orange) !important;
}

.service-item-tech h3 {
  color: whitesmoke !important;
  font-weight: 700 !important;
  margin: 10px 0 15px 0 !important;
  font-size: 22px !important;
  transition: ease-in-out 0.3s !important;
}

.service-item-tech:hover h3 {
  color: var(--retavi-orange) !important;
}

.service-item-tech p {
  color: whitesmoke !important;
  line-height: 26px !important;
  font-size: 16px !important;
  margin-bottom: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 52px !important; /* 2 Zeilen × 26px line-height */
}