/* Global variables and typography */
:root {
  /* Primary colour palette derived from the EUAIDITOR hero graphic */
  --brand1: #aea27a; /* neon blue for highlights */
  --brand2: #aea27a; /* turquoise secondary accent */
  --brand3: #0b1c29; /* EU stars yellow */
  --bg-dark: #2a4558; /* very dark background */
  --bg-light: #192935; /* card background on dark pages */
  --text-light: #eaf4ff; /* light text colour for dark backgrounds */
  --radius: 8px;
}

html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

body {
  font-family: Inter, sans-serif;
  color: var(--text-light);
  background: var(--bg-dark);
  padding-top: 60px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

a {
  color: var(--brand2);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--brand2);
  color: #fff;
}
.btn--large {
  font-size: 1.125rem;
}
.btn--small {
  font-size: 0.775rem;
  margin-left: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  /* dark header bar matching site theme */
  background: var(--brand3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.site-header .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand2);
  border: 2px solid var(--brand1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  background: var(--bg-dark);
}

.site-header .logo-img{
max-height: 60px;
max-width: 150px;
padding-bottom: 10px;
}
body.light .site-header .logo-text {
  background: var(--bg-light);
}

/* Header controls for theme and language toggles */
.header-controls {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.header-controls button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.35rem 0.6rem;
  margin-left: 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.login-button {
  background-color: #007bff; /* Ein typisches Blau */
  color: white; /* Textfarbe auf Weiß setzen */
  border: none;
}
.login-button:hover {
  background-color: #0056b3; /* Dunkleres Blau beim Überfahren */
}
.header-controls button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Light theme overrides */
body.light {
  --bg-dark: #f7f8fa;
  --bg-light: #ffffff;
  --text-light: #0b0f19;
}
body.light .site-header {
  /* keep gradient but make text dark for contrast */
  color: var(--text-light);
}
body.light .main-nav a {
  color: var(--bg-light);
}
body.light .main-nav a:hover {
  color: var(--brand1);
}
body.light .header-controls button {
  color: var(--bg-light);
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(155, 144, 144, 0.288);
}
body.light .header-controls button:hover {
  background: rgba(0, 0, 0, 0.1);
}
body.light .menu-toggle {
  background: transparent;
  border: none;
  color: var(--bg-light);
}
body.light .menu-toggle:hover {
  background: transparent;
  color: var(--brand1);
}
body.light .main-nav {
  background: rgba(255, 255, 255, 0.4);
}
/* Ensure clicking the logo takes users back to the start page without altering styling */
.logo-link {
  display: flex;
  align-items: center;
}
.logo-link:hover {
  opacity: 0.9;
}
.menu-toggle {
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
}
.menu-toggle:hover {
  background: transparent;
  color: var(--brand2);
}
.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(1, 10, 29, 0.4);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  gap: 1rem;
  text-align: center;
}
.nav-open .main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav a {
  flex: 1 1 150px;
  margin: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Narrow spacing when English labels are active to prevent wrapping */
html[lang="en"] .main-nav a {
  margin: 0.5rem 0;
}
.main-nav a:hover {
  color: var(--brand1);
  transform: scale(1.1);
}

/* Hero section */
.hero {
  position: relative;
  text-align: center;
  padding: 8rem 2rem 6rem;
  color: #fff;
  /* combine hero image with overlay to improve contrast */
  /* Use the same splash-logo image for the hero section to unify the branding */
  background-image:
    /* linear-gradient(to bottom, rgba(0, 10, 29, 0.7), rgba(0, 10, 29, 0.95)),
    url("../assets/splash-logo.jpg"); */
        linear-gradient(to bottom, rgba(0, 10, 29, 0.7), rgba(0, 10, 29, 0.322)),
    url("../assets/euai-background.jpg");
  background-size: cover;
  background-position: center;
}

/* Allow for a smaller hero variant on secondary pages */
.hero.small {
  padding: 4rem 2rem 3rem;
}

.hero.hero-about {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 10, 29, 0.7),
      rgba(0, 10, 29, 0.322)
    ),
    url("../assets/euaiditor-frau-recherchiert-eu-ai-act-imac-buero-modern.jpg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 80vh;
}

.hero-about .hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Grid layout for feature cards on the about/product page */
.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Optional style for act sections */
.act-section {
  margin-bottom: 3rem;
}
.hero h1 {
  font-size: 3rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}
.hero .btn {
  margin-top: 1rem;
}

/* Features section */
.features {
  padding: 4rem 2rem;
  background: var(--bg-dark);
  color: var(--text-light);
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}
.feature {
  flex: 1 1 280px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  color: var(--text-light);
}
.feature h3 {
  margin-bottom: 0.5rem;
  color: var(--brand2);
}

/* Pricing section */
.pricing {
  padding: 4rem 2rem;
  background: var(--bg-dark);
  color: var(--text-light);
}
.pricing h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.pricing-table {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.pricing-card {
  flex: 1 1 280px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricing-card h3 {
  margin-bottom: 0.5rem;
  color: var(--brand2);
}
.pricing-card h2 {
  margin-bottom: 0.5rem;
  color: var(--brand2);
}
.pricing-card .price {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: var(--brand2);
}
.pricing-card ul {
  
  margin-bottom: 1.5rem;
}
 .pricing-card li {
  margin: 0.5rem 0;
} 

/* FAQ section */
.faq {
  padding: 4rem 2rem;
  background: var(--bg-dark);
  color: var(--text-light);
}
.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.faq details {
  max-width: 800px;
  margin: 1rem auto;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--brand2);
}

/* Footer */
.site-footer {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 2rem;
  margin-top: 4rem;
}
.site-footer .footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.footer-col {
  flex: 1 1 300px;
}
.footer-col h4 {
  margin-bottom: 0.5rem;
  color: var(--brand2);
}
.footer-col p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.site-footer small {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.8;
}
/* Login page */
.login-page{
  height: 100%;
  margin: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.login-page .site-header {
  justify-content: space-between;
}

.login-page .site-footer{
  margin-top: auto;
} 
/* .login-container {
  max-width: 360px;
  margin: auto;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
} */
 .login-container {
  max-width: 430px;
  margin: auto;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--text-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
} 
.login-container h2 {
  margin-bottom: 2rem;
  text-align: center;
}
.login-container .input-box {
  width: 310px;
  margin: 30px 0;
  position: relative;
  border-bottom: 2px solid var(--text-light);
}
.login-container .input-box label{
  position:absolute;
  top:50%;
  left: 5px;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  transition: .5s;
}

.login-container .input-box input:focus~label,
.login-container .input-box input:valid~label{
  top: -5px;
}  

.login-container .input-box input{
width: 100%;
height: 50px;
background: transparent;
border: none;
outline: none;
font-size: 1em;
color: #fff;
padding: 0 35px 0 5px;
}
.login-container .input-box .icon{
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: var(--text-light);
  line-height: 57px;
}

.checkbox{
  margin: -15px 0 15px;
  font-size: .9rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
}

.checkbox label input{
  margin-right: 3px;
}
.checkbox a{
  color: var(--brand2);
  text-decoration: none;
}
.checkbox a:hover{
  text-decoration: underline;
}

.registerlink {
  text-align: center;
  font-size: .9em;
  margin: 25px 0 10px;
}
.registerlink a {
  color: var(--brand2);
  text-decoration: none;
}
.registerlink a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-container {
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: 0;
  }
  .input-box {
    width: 290px;
  }
}

.login-container h1 {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}
.login-container form {
  display: flex;
  flex-direction: column;;
}
.login-container label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  
  color: var(--text-light);
}
.login-container input {
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #445;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: var(--text-light);
}
input::placeholder {
  color: #888;
}
.login-container button {
  align-self: stretch;
}
.login-info {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #aaa;
  text-align: center;
}

/* Registrieren page */
.registrieren-page{
  height: 100%;
  margin: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.registrieren-page .site-header {
  justify-content: space-between;
}

.registrieren-page .site-footer{
  margin-top: auto;
} 

.registrieren-container {
  max-width: 430px;
  margin: auto;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--text-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.registrieren-container h2 {
  margin-bottom: 2rem;
  text-align: center;
}
.registrieren-container .input-box {
  width: 310px;
  margin: 30px 0;
  position: relative;
  border-bottom: 2px solid var(--text-light);
}
.registrieren-container .input-box label{
  position:absolute;
  top:50%;
  left: 5px;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  transition: .5s;
}

.registrieren-container .input-box input:focus~label,
.registrieren-container .input-box input:valid~label{
  top: -5px;
}  

.registrieren-container .input-box input{
width: 100%;
height: 50px;
background: transparent;
border: none;
outline: none;
font-size: 1em;
color: #fff;
padding: 0 35px 0 5px;
}
.registrieren-container .input-box .icon{
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: var(--text-light);
  line-height: 57px;
}

.checkbox{
  margin: -15px 0 15px;
  font-size: .9rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
}

.checkbox label input{
  margin-right: 3px;
}
.checkbox a{
  color: var(--brand2);
  text-decoration: none;
}
.checkbox a:hover{
  text-decoration: underline;
}

.registrieren-container button{
  width: 100%;
  height: 40px;
  background: var(--brand2);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

@media (max-width: 768px) {
  .login-container {
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: 0;
  }
  .input-box {
    width: 290px;
  }
}
/* Compact footer styles */
.site-footer.compact {
  background: var(--brand3);
  /* background: linear-gradient(90deg, var(--bg-light), var(--bg-dark)); */
  color: var(--text-light);
  padding: 1rem 1rem 1rem 1rem;
  text-align: center;
  border-top: 2px solid var(--brand2);
}
/* .site-footer.compact .footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 1rem;
  width: 100%;
} */
 
/*lamea*/
.site-footer.compact .footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-social-icons{
  display: flex;
  align-items: center;
}
.footer-social-icons a{
  margin-left:15px ;
}
.footer-social-icons a img{
  height: 50px;
  width: auto;
}

.site-footer.compact .footer-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 0.5rem;
}
.site-footer.compact .footer-logo img {
  height: 60px;
  width: auto;
}
.site-footer.compact .footer-nav {
  flex: 3;
  display: flex;
  justify-content: flex-end;
}
.site-footer.compact .footer-nav a {
  margin: 0 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}
.site-footer.compact .footer-nav a:hover {
  color: var(--brand2);
  text-decoration: underline;
}

.footer-brand {
  color: var(--brand2);
  font-weight: 700;
}
