
* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:root {
  --primary-color: #F5F0EB;
  --secondary-color: #EDE8E2;
  --accent-color: #AB7A38;
  --accent-hover: #8F6330;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6560;
  --border-color: #DDD8D2;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  background-color: var(--primary-color);
}

body {
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  font-family: var(--font-body);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--secondary-color);
  border-bottom: 2px solid var(--accent-color);
  box-sizing: border-box;
  z-index: 999;
}

.logo {
  width: 100px;
  height: auto;
}

.links {
  font-family: var(--font-body);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.divider {
  width: 2px;
  height: 20px;
  background: rgba(0, 0, 0, 0.289);
  margin-right: 10px;
}

.about-link {
  margin-right: 10px;
}

.cta-link {
  border-bottom: 2px solid var(--accent-color);
}

main {
  padding-top: 90px;
  background-color: var(--primary-color);
}

.text-container {
  display: flex;
  flex-direction: column; /* Erzwingt, dass Überschrift, Text und Button untereinander stehen */
  align-items: center;    /* Zentriert alle inneren Elemente horizontal */
  justify-content: center;/* Zentriert den Inhalt vertikal */
  text-align: center;
  width: 100%;
}

.hero-container {
  height: 90vh;
  padding: 0 5%;
  display: flex;          /* Macht den Hero-Container selbst zum Flexbox-Chef */
  align-items: center;    /* Zentriert den gesamten Inhalt vertikal auf dem Bildschirm */
  justify-content: center;/* Zentriert den gesamten Inhalt horizontal auf dem Bildschirm */
  box-sizing: border-box;
}

.hero-container h1 {
  color: var(--text-primary);
  font-size: clamp(36px, 5vw, 60px);
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  max-width: 900px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-container p {
  font-size: clamp(18px, 3vw, 25px);
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  max-width: 600px;
  margin-bottom: 30px; /* Schafft sauberen Abstand zum darunterliegenden Button */
}

.Hero-ctaBtn {
  text-align: center;
  font-size: 20px;
  margin-top: 2em;
  padding: 20px 30px;
  color: var(--text-primary);
  background-color: var(--accent-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-family: var(--font-body);
  font-weight: 600;
  animation: glow 2s ease infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 8px 0px rgba(171, 122, 56, 0.4);
  }
  50% {
    box-shadow: 0 0 24px 6px rgba(171, 122, 56, 0.7);
  }
}

.Hero-ctaBtn:hover {
  background-color: var(--accent-hover);
  animation-play-state: paused;
}

#services {
  padding: 100px 5%;
  background: var(--secondary-color);
}

#services h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 2.5rem);
  margin-bottom: 3rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-card {
  background: var(--primary-color);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.services-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.services-card p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.services-card ul {
  list-style: none;
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}

.services-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.services-card strong {
  color: var(--accent-color);
}

.aboutMe {
  padding: 100px 5%;
  background-color: var(--primary-color);
}

.about-card {
  background: var(--primary-color);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.about-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-text-col {
  flex: 1.2;
}

.about-grid p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  text-align: left;
}

.aboutHead {
  font-family: var(--font-heading);
}

.about-visual-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-grid img {
  height: auto;
  width: 100%;
  max-width: 450px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 400px;
  object-fit: contain;
}

.divider2 {
  background: var(--accent-color);
  width: 100%;
  height: 2px;
  margin-bottom: 3rem;
}

.demo-btn {
  padding: 20px 30px;
  color: var(--text-primary);
  background-color: var(--accent-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}

.demo-btn:hover {
  background-color: var(--accent-hover);
}

/* ==========================================================================
  Mobile & Tablet Styles
  ========================================================================== */

@media (max-width: 768px) {

  .demo-btn {
    font-size: 12px;
    padding: 15px 30px;
  }

  .Hero-ctaBtn {
    font-size: 12px;
    padding: 15px 30px;
  }

  .about-grid {
    flex-direction: column;
  }

  .about-visual-col {
    width: 100%;
    margin-top: 30px;
  }

  .links {
    justify-content: flex-end;
  }

  .hero-container h1 {
    font-size: clamp(32px, 6vw, 48px);
  }
}

/* ==========================================================================
  Footer Styles
  ========================================================================== */

footer {
  background-color: var(--secondary-color);
  color: var(--text-primary);
  padding: 60px 5% 20px 5%;
  border-top: 2px solid var(--accent-color);
  font-family: var(--font-body);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  line-height: 1.5;
}

.footer-navigation h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.footer-navigation a, .footer-contact p {
  margin-bottom: 10px;
}

.footer-navigation a {
  display: block;
  color: var(--text-secondary);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.footer-navigation a:hover {
  color: var(--accent-hover);
  padding-left: 5px;
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  margin-bottom: 12px;
}

.footer-cta {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 2px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.footer-cta:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.footer-bottom {
  max-width: 1200px;
  margin: 50px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
        flex-direction: column;
        text-align: center;
    }

    .footer-navigation a {
        margin: 0 auto 12px auto;
    }

    .footer-navigation a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links a {
        margin: 0 10px;
    }

.footer-socials i {
  font-size: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.footer-socials h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.footer-socials a {
  color: var(--text-secondary);
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}

.footer-socials a:hover {
  color: var(--accent-hover);
}