:root {
  --primary: #111;
  --accent: #6366f1;
}

/* Inter Regular */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/inter-v13-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Inter 300 */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/inter-v13-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Inter 600 */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/inter-v13-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Inter 700 */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/inter-v13-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
}

/* PROGRESS BAR (modern + glow) */
#progress-bar {
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  box-shadow: 0 0 10px rgba(99,102,241,0.7);
}

/* NAV */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  position: relative;
}

nav a:hover {
  color: var(--accent);
  transition: 0.3s;
}



/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 30% 30%, #e0e7ff, #f5f5f5);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(99,102,241,0.15);
  filter: blur(120px);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.hero-title .line:nth-child(2) {
  animation-delay: 0.3s;
}

.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.9s;
}

/* Buttons */
.btn {
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 25px rgba(99,102,241,0.3);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(99,102,241,0.4);
}

.btn.ghost {
  border: 1px solid #ccc;
  color: var(--primary);
}

.btn.ghost:hover {
  background: #f3f4f6;
}

/* Animationen */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(30px); }
}


/* =========================
   ABOUT SECTION
========================= */



/* =========================
   ABOUT SECTION
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* TEXT LINKS */
.about-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #111;
}

.highlight-box {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f1f5ff;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  font-weight: 500;
}

/* =========================
   FLOATING AREA (DESKTOP)
========================= */

.topics-floating {
  position: relative;
  width: 260px;
  height: 360px;
  margin-bottom: 2rem;
}

/* BOXEN */
.topic-box {
  position: absolute;
  width: 160px;
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  animation: float 6s ease-in-out infinite;
}

/* POSITIONEN */
.topic-box:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.topic-box:nth-child(2) {
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1s;
}

.topic-box:nth-child(3) {
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.topic-box:nth-child(4) {
  top: 330px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 3s;
}

/* ANIMATION */
@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(15px);
  }
}

/* =========================
   MOBILE OPTIMIERUNG
========================= */

@media (max-width: 768px) {

  /* Layout untereinander */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Text etwas kompakter */
  .about-text h2 {
    font-size: 1.6rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .highlight-box {
    padding: 1.2rem;
  }

  /* KACHEL-LAYOUT statt Floating */
  .topics-floating {
    position: static;
    width: 100%;
    height: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .topic-box {
    position: relative;
    width: 100%;

    transform: none !important;
    animation: none;

    padding: 1.2rem;
    font-size: 0.95rem;
    border-radius: 16px;
  }

}





/* SECTIONS */
.section {
  padding: 5rem 0;
}

.alt {
  background: #fafafa;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}












/* =========================
   SERVICES / ANGEBOTE
========================= */


/* =========================
   SERVICES / ANGEBOTE (MODERN)
========================= */

.services {
  background: radial-gradient(circle at top, #ffffff, #f5f5f5);
}

/* INTRO */
.services-intro {
  max-width: 750px;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.services-intro h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.services-intro .lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* CARD */
.service-card {
  position: relative;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* GLOW EFFECT */
.service-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(99,102,241,0.15);
  filter: blur(90px);
  top: -80px;
  right: -80px;
  opacity: 0;
  transition: 0.4s;
}

.service-card:hover::before {
  opacity: 1;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

/* CARD NUMMER */
.card-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* TITEL */
.service-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

/* TEXT */
.service-card p {
  color: #444;
  line-height: 1.6;
}

/* =========================
   UNTERER BEREICH
========================= */

.services-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* BOXEN */
.services-list {
  background: white;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
}



/* HIGHLIGHT BOX */

/* HIGHLIGHT BOX */
.services-list.highlight {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border-left: 4px solid var(--accent);
}

.services-list.highlight h3 {
  color: var(--accent); /* Überschrift bleibt lila */
}

.services-list.highlight {
  color: #111; /* kompletter Textbereich schwarz */
}

/* TITEL */
.services-list h3 {
  margin-bottom: 1rem;
}

/* LISTEN */
.services-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.2rem;
}

.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* PARAGRAPH */
.services-list p {
  color: #444;
  line-height: 1.6;
}

/* SERVICES BUTTON */
.services-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.services-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

.info {
  max-width: 800px;
  margin: 3rem auto;

  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

/* Überschriften im Text hervorheben */
.info strong,
.info b {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
}

/* Optional: Absätze schöner trennen */
.info p {
  margin-bottom: 1rem;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .services-intro h2 {
    font-size: 1.8rem;
  }

  .services-bottom {
    grid-template-columns: 1fr;
  }

}



/* =========================
   KONTAKT BEREICH
========================= */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* CARDS */
.contact-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* LINKER BEREICH */
.contact-info img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.contact-text h2 {
  margin-bottom: 1rem;
}

.contact-text p {
  margin-bottom: 0.8rem;
}

/* FORMULAR */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* CHECKBOX */
.checkbox {
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* BUTTON */
.contact-form button {
  margin-top: 1rem;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* =========================
   FOOTER
========================= */

.footer {
  width: 100%;
 background: radial-gradient(circle at 30% 30%, #e0e7ff, #f5f5f5);;
  color: black;
  padding-top: 3rem;
 
}

/* TOP BEREICH */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* LINKE SEITE */
.footer-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: black;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* RECHTE SEITE */
.footer-right a {
  display: block;
  margin-bottom: 0.5rem;
  color:black;
  text-decoration: none;
  transition: 0.3s;
}

.footer-right a:hover {
  color: #a78bfa;
  transform: translateX(3px);
}

/* TRENNLINIE */
.footer-bottom {
  border-top: 1px solid rgba(130,130,130,0.09);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* SUBTILER GLOW */
.footer::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 200px;
  background: rgba(99,102,241,0.15);
  filter: blur(120px);
  left: 50%;
  transform: translateX(-50%);
  top: -80px;
  z-index: 0;
}

/* FIX für layering */
.footer {
  position: relative;
  overflow: hidden;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-right a {
    display: inline-block;
    margin: 0 0.5rem;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.legal-section {
  padding: 120px 20px;
  background: #f9fafb;
}

.legal-box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.legal-box h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #111827;
}

.legal-box h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #6366f1;
}

.legal-box p {
  line-height: 1.7;
  color: #374151;
  font-size: 1rem;
}

/* =========================
   ABOUT MOBILE FIX
========================= */

@media (max-width: 768px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .highlight-box {
    padding: 1.2rem;
  }

  /* ✅ KACHEL LAYOUT */
  .topics-floating {
    position: static;
    width: 100% !important;
    height: auto !important;

    display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  }



  .topic-box {
    position: relative !important;
    width: 100% !important;

    top: auto !important;
    left: auto !important;

    transform: none !important;
    animation: none !important;

    padding: 1.2rem;
    font-size: 0.95rem;
    border-radius: 16px;


  }

}

@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-right a {
    display: block;
    margin: 0.3rem 0;
    text-align: center;
  }

  .footer-name,
  .footer-tagline {
    text-align: center;
  }

}