/* ============ RESET ============ */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Ubuntu, "Helvetica Neue", Arial;
  color: #e7e7ea;
  background: radial-gradient(1200px 800px at 20% 0%, #0f1017, #0b0b0f 55%) fixed;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: none; /* am Anfang unsichtbar */
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    z-index: 1000;
  }

  .back-to-top.show {
    display: flex;
  }

  

/* ============ CONTAINER ============ */
.container {
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 12px;
  z-index: 99;
}

.logo {
  justify-self: start;
}

.logo img {
  height: 3.5rem;
  /* fix statt clamp */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;     /* wieder aktivieren */
  justify-self: center;
  gap: 2rem;         /* Abstand zwischen Links */
  z-index: 90;
}


.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
  padding: 6px 2px;
  transition: color 0.2s ease, opacity 0.2s ease;
  
}

.nav-links a:hover {
  color: #a78bfa;
}

a.active {
  color: #a78bfa;
}

.cta {
  justify-self: end;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);     /* Etwas kräftiger, aber immer noch semi-transparent */
  border: 1px solid rgba(255, 255, 255, 0.24); /* Deutlichere Umrandung */
  color: #ffffff;                           /* Klarer Kontrast */
  text-decoration: none;
  border-radius: 999px;
  font-size: 17px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.cta:hover {
  background: rgba(255, 255, 255, 0.2);       /* etwas mehr Sichtbarkeit beim Hover */
  color: #ffffff;
}


.navbar.scrolled {
  background-color: rgba(14, 17, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Für Safari */
}

/* ============ HAMBURGER BUTTON ============ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle svg {
  fill: white;
  width: 28px;
  height: 28px;
}

/* ============ RESPONSIVE NAVIGATION ============ */
@media (max-width: 768px) {
  #nav-logo {
    height: 3rem;
  }

  .nav-inner {
    display: flex;              /* ← Wechsel zu Flexbox */
    justify-content: space-between;
    align-items: center;
  }

  .nav-links,
  .cta {
    display: none;
  }

  .navbar.open .nav-links,
  .navbar.open .cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0f1017;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 18px;
    padding: 8px 0;
  }

  .cta {
    padding: 10px 18px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }
}


/* ============ HERO ============ */
/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  background-color: #0e1117;
  color: #ffffff;
  padding: 0 20px;
  /* Entferne Top/Bottom Padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 👈 fügt vertikale Zentrierung hinzu */
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.07) 0%, /* heller Glow */
      rgba(14, 17, 23, 0.4) 40%,
      rgba(14, 17, 23, 0.9) 70%,
      /* mehr Kontrast */
      rgba(14, 17, 23, 1) 100%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%234b5567' /%3E%3C/svg%3E");
  background-size: cover, 40px 40px;
  background-repeat: no-repeat, repeat;
  opacity: 1;
  /* kannst du auf z.B. 1.1 oder höher setzen wenn du mehr willst */
}

.floating-imgs img {
  position: absolute;
  width: 145px;
  /* 👈 größer als vorher */
  height: auto;
  animation: float 5s ease-in-out infinite;
  opacity: 0.95;
}

/* Positionen */
.float1 {
  top: 10%;
  right: 18%;
  animation-delay: 0s;
}

/* Rakete */
.float2 {
  top: 15%;
  left: 12%;
  animation-delay: 1s;
}

/* Glühbirne */
.float3 {
  bottom: 12%;
  left: 18%;
  animation-delay: 2s;
}

/* Zielscheibe */
.float4 {
  bottom: 18%;
  right: 12%;
  animation-delay: 3s;
}

/* Monitor */

/* Animation */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 5rem;
  /* vorher 1.5rem */
  font-weight: 700;
  /* vorher 500 */
  width: 50rem;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-description {
  max-width: 720px;
  /* vorher 600px */
  margin: 0 auto 40px;
  font-size: 1.25rem;
  /* vorher 1.1rem */
  line-height: 1.6;
  color: #ffffff;
  /* etwas heller für bessere Lesbarkeit */
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: #a78bfa;
  color: #fff;
}

.btn-primary:hover {
  background-color: #7761bb;
}

.btn-outline {
  border: 2px solid #a78bfa;
  color: #fff;
  background-color: #1e293b;
}

.btn-outline:hover {
  background-color: #161f2e;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation für den Hero-Text */
.hero-title,
.hero-description,
.hero-buttons a {
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
}

.hero-title {
  animation-delay: 0.3s;
}

.hero-description {
  animation-delay: 0.6s;
}

.hero-buttons a:nth-child(1) {
  animation-delay: 0.9s;
}

.hero-buttons a:nth-child(2) {
  animation-delay: 1.2s;
}

/* ---------- TABLET (z. B. iPad) ---------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
    width: auto;
    padding: 0 1rem;
  }

  .hero-description {
    font-size: 1.125rem;
    max-width: 90%;
    padding: 0 1rem;
  }

  .floating-imgs img {
    width: 100px;
  }
}

/* ---------- MOBILE (z. B. iPhone) ---------- */
@media (max-width: 768px) {
  .hero-section {
    padding: 0 16px;
    height: 90vh;
    padding-top: 80px; /* Platz für mobile Navbar */
    text-align: center;
  }


  .hero-title {
    font-size: 2.5rem;
    width: 100%;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 32px;
  }

  .hero-buttons {
    z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 40px;
}

.btn {
  max-width: 240px; /* oder 240px – je nach Look */
}


  .floating-imgs img {
    z-index: 0;
    width: 90px; 
  }
  .float1 {
    top: 12%;
  right: 12%;
  }
  .float3 {
    bottom: 8%;
    left: 3%; /* vorher z. B. 12% → jetzt weiter links */
  }

  .float4 {
    bottom: 14%;
    right: 3%; /* vorher z. B. 12% → jetzt weiter rechts */
  }
}

/* ============ SERVICES ============ */
.services {
  padding: 100px 0;
  color: #e7e7ea;
}

.services-title {
  text-align: center;
  font-weight: 800;
  font-size: 48px;
  margin: 0 0 10px;
}

.gradient {
  background: linear-gradient(90deg, #a78bfa, #d1c2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-sub {
  text-align: center;
  color: #b9bbc6;
  max-width: 900px;
  margin: 0 auto 56px;
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff05;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: 26px 28px;
  color: #e7e7ea;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  outline: none;
}

.service-card:hover,
.service-card:focus {
  border-color: #a78bfa80;
  transform: translateY(-3px);
  background: #ffffff06;
}




.service-card h3 {
  margin: 10px 0 8px;
  font-size: 17px;
}

.service-card p {
  color: #b9bbc6;
  line-height: 1.5;
  font-size: 15.5px;
  max-width: 46ch;
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a78bfa, #c2afff);
  box-shadow: inset 0 1px 0 #ffffff26;
}

.service-card .icon svg {
  width: 22px;
  height: 22px;
  color: #f5f5ff;
  fill: currentColor;
  stroke: currentColor;
  opacity: 0.95;
}

/* Keyframes für Fade-In von unten */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initialzustand */
.service-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Staggered Effekt */
.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Hover-Effekt bleibt gleich */
.service-card:hover,
.service-card:focus,
.service-card.mobile-hover {
  border-color: #a78bfa80;
  transform: translateY(-3px);
  background: #ffffff06;
}




@media (max-width: 1024px) {
  .services {
    padding: 80px 0;
  }

  .services-title {
    font-size: 36px;
  }

  .services-sub {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 16px;
  }

  .service-card {
    padding: 22px 24px;
  }

  .service-card p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services-title {
    font-size: 28px;
    padding: 0 12px;
  }

  .services-sub {
    font-size: 15px;
    margin-bottom: 32px;
    padding: 0 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 12px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 14.5px;
  }

  .service-card .icon {
    width: 40px;
    height: 40px;
  }

  .service-card .icon svg {
    width: 20px;
    height: 20px;
  }
}


/* ============ ABOUT ============ */
.about {
  padding: 100px 0;
  color: #e7e7ea;
}

.about-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-title {
  margin: 0 0 12px;
  line-height: 1.05;
  font-weight: 800;
  font-size: 56px;
}

.about-title-grad {
  background: linear-gradient(90deg, #a78bfa, #d1c2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-title-plain {
  color: #e7e7ea;
}

.about-lead {
  color: #b9bbc6;
  margin: 12px 0;
  max-width: 62ch;
  font-size: 16.3px;
}

.about-stack-title {
  margin: 26px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #e7e7ea;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: #dfe0ea;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
}

.about-cta {
  display: inline-block;
  text-decoration: none;
  width: fit-content;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  background-color: #a78bfa;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: none;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.about-cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Cards */
.card {
  background: #0f1017;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: 22px;
}

.why {
  margin-bottom: 26px;
}

.why-title {
  margin: 0 0 18px;
  text-align: center;
  font-weight: 800;
  font-size: 20px;
}

.why-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.why-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.why-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #f5f5ff;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #c2afff);
  box-shadow: inset 0 1px 0 #ffffff26;
}

.why-item-title {
  font-weight: 800;
  margin-bottom: 2px;
}

.why-item-sub {
  color: #b9bbc6;
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.stat {
  text-align: center;
  padding: 26px 12px;
}

.stat-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 10px;
  color: #a78bfa;
}

.stat-number {
  font-weight: 800;
  font-size: 25px;
  background: linear-gradient(90deg, #a78bfa, #d1c2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  color: #b9bbc6;
  font-size: 15px;
}

/* Initialer Zustand – unsichtbar und nach unten verschoben */
.stat {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

/* Wenn sichtbar im Viewport */
.stat.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: gestaffelte Delay je nach Position */
.stat:nth-child(1) {
  transition-delay: 0.1s;
}
.stat:nth-child(2) {
  transition-delay: 0.2s;
}
.stat:nth-child(3) {
  transition-delay: 0.3s;
}
.stat:nth-child(4) {
  transition-delay: 0.4s;
}


/* ======================== */
/* TABLET */
/* ======================== */
@media (max-width: 1024px) {
  .about {
    padding: 80px 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-title {
    font-size: 42px;
  }

  .about-lead {
    font-size: 15.5px;
  }

  .pill-list {
    justify-content: flex-start;
  }

  .why-title {
    font-size: 18px;
  }

  .why-list {
    gap: 14px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 22px;
  }
}


/* ======================== */
/* MOBILE */
/* ======================== */
@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }

  .about-title {
    font-size: 32px;
    text-align: center;
    padding: 0 12px;
  }

  .about-lead {
    font-size: 15px;
    text-align: center;
    padding: 0 12px;
  }

  .about-stack-title {
    text-align: center;
  }

  .pill-list {
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
  }

  .about-cta {
    display: block;
    margin: 20px auto 0;
    text-align: center;
  }

  .why {
    margin-bottom: 20px;
  }

  .why-title {
    font-size: 17px;
    text-align: center;
  }

  .why-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-item {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }

  .why-item-sub {
    font-size: 14px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat {
    padding: 20px 10px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 14px;
  }
}


/* ============ Portfolio ============ */
.portfolio {
  padding: 100px 0;
  color: #e7e7ea;
}

.portfolio-title {
  text-align: center;
  font-weight: 800;
  font-size: 48px;
  margin: 10px 0 10px;
  z-index: 1;
}

.portfolio-sub {
  text-align: center;
  color: #b9bbc6;
  max-width: 900px;
  margin: 0 auto 56px;
  font-size: 17px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff05;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  height: 100%; /* Karte passt sich an Grid an */
  max-height: 600px; /* ✨ Begrenzung */
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: #7b61ff80;
}

.portfolio-image {
  position: relative;
  z-index: 1;
}

.portfolio-image img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ffffff14;
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
}

.portfolio-project-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.portfolio-project-title a {
  color: #E7E7EA;
  text-decoration: none;
}

.portfolio-project-title a:hover {
  cursor: pointer;
  color: #a78bfa;
  text-decoration: none;
}

.portfolio-description {
  color: #b9bbc6;
  font-size: 15.5px;
  line-height: 1.5;
  margin-bottom: 16px;
  max-height: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}



.portfolio-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
}

.portfolio-tech-list li {
  font-size: 13.5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  color: #dfe0ea;
}


.btn-portfolio{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* ========== TABLET ========== */
@media (max-width: 1024px) {
  .portfolio {
    padding: 80px 0;
  }

  .portfolio-title {
    font-size: 38px;
  }

  .portfolio-sub {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 16px;
  }

  .portfolio-content {
    padding: 18px;
  }

  .portfolio-description {
    min-height: 60px;
    font-size: 15px;
  }
}


/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .portfolio {
    padding: 60px 0;
  }

  .portfolio-title {
    font-size: 30px;
    padding: 0 12px;
  }

  .portfolio-sub {
    font-size: 15px;
    padding: 0 12px;
    margin-bottom: 32px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 12px;
  }

  .portfolio-content {
    padding: 16px;
  }

  .portfolio-project-title {
    font-size: 16px;
  }

  .portfolio-description {
    font-size: 14.5px;
    min-height: 50px;
  }

  .portfolio-tech-list li {
    font-size: 13px;
    padding: 5px 9px;
  }

  .btn-portfolio {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  white-space: nowrap;

}


}


/* ============ CONTACT ============ */
.contact {
  padding: 100px 0;
  color: #e7e7ea;
}

.contact-title {
  text-align: center;
  font-weight: 800;
  margin: 0;
  font-size: 56px;
}

.contact-title-grad {
  background: linear-gradient(90deg, #a78bfa, #d1c2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-sub {
  text-align: center;
  color: #b9bbc6;
  max-width: 980px;
  margin: 10px auto 26px;
  font-size: 17px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 26px;
  align-items: stretch; /* ← jetzt gleich hohe Spalten */
}


.card-title {
  margin: 4px 0 18px;
  font-size: 18px;
  font-weight: 800;
}

/* Form */
.form-row {
  display: block;
  margin-bottom: 14px;
}

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #dfe0ea;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ffffff17;
  background: #0b0b0f;
  color: #e7e7ea;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 15.5px;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8c8da0;
}

input:focus,
textarea:focus {
  border-color: #7b61ff66;
  box-shadow: 0 0 0 3px #7b61ff1f;
}

.form-row--checkbox {
  margin: 16px 0;
  font-size: 14px;
  color: #b9bbc6;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-checkbox:hover {
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #a78bfa;
  /* optional lila */
}

.form-checkbox a {
  color: #a3a3b5;
  /* dezentes Grau-Violett */
  text-decoration: underline;
  transition: color 0.2s ease;
}

.form-checkbox a:hover {
  color: #c6c6d9;
  /* heller beim Hover */
}

/* Submit */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.center-div{
display: flex;
  justify-content: center;
  align-items: center;
}
.btn-contact {
  width: 50%;
  text-wrap: nowrap;
}

.btn--primary:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

input.invalid,
textarea.invalid {
  border-color: #d9534f !important;
}

#loadingText {
  display: none; 
  margin-left: 8px;
}

.form-hint {
  color: #b9bbc6;
  font-size: 14.5px;
  text-align: center;
  margin: 10px 0 0;
}

/* Right column details */
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #a78bfa, #c2afff);
  color: #f5f5ff;
  box-shadow: inset 0 1px 0 #ffffff26;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-label {
  font-weight: 800;
  margin-bottom: 2px;
}

.info-value {
  color: #cfd0d8;
  text-decoration: none; 
}

.info-value a {
  color: #cfd0d8;
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: none;
  color: #a78bfa; /* optional: Hover-Farbe */
}

.local-text {
  color: #b9bbc6;
  margin-top: 6px;
}

.local-bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.local-bullets li {
  color: #dfe0ea;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.local-bullets .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.contact-right {
  display: grid;
  gap: 22px;
}

/* ======================== */
/* TABLET */
/* ======================== */
@media (max-width: 1024px) {
  .contact {
    padding: 80px 0;
  }

  .contact-title {
    font-size: 42px;
    padding: 0 16px;
  }

  .contact-sub {
    font-size: 16px;
    padding: 0 16px;
    margin-bottom: 32px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-right {
    grid-template-columns: 1fr;
  }
}


/* ======================== */
/* MOBILE */
/* ======================== */
@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact-title {
    font-size: 30px;
    text-align: center;
    padding: 0 12px;
  }

  .contact-sub {
    font-size: 15px;
    padding: 0 12px;
    margin-bottom: 28px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 12px;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-contact {
    width: 60%;
    font-size: 15px;
    padding: 12px 16px;
    margin: 0 auto;
  }

  .form-hint {
    font-size: 13.5px;
  }

  .info-item {
    grid-template-columns: 36px 1fr;
    gap: 10px;
  }

  .info-icon {
    width: 36px;
    height: 36px;
  }

  .info-icon svg {
    width: 18px;
    height: 18px;
  }

  .info-label {
    font-size: 14.5px;
  }

  .info-value {
    font-size: 14px;
  }

  .local-bullets li {
    font-size: 15px;
  }
}


/* ============ FOOTER ============ */
.site-footer {
  background: #0b0b0f;
  color: #e7e7ea;
  border-top: 1px solid #ffffff0f;
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 26px 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  line-height: 0;
}

.brand img {
  height: 55px;
  width: auto;
  display: block;
}

.brand-text {
  color: #b9bbc6;
  max-width: 36ch;
  line-height: 1.55;
}

.footer-title {
  margin: 6px 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #e7e7ea;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 8px 0;
  color: #cfd0d8;
}

.footer-links a {
  color: #cfd0d8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #a78bfa;
}

.footer-sep {
  height: 1px;
  background: #ffffff10;
  margin: 26px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copy {
  color: #b9bbc6;
  font-size: 15px;
}

.legal {
  display: flex;
  gap: 24px;
}

.legal a {
  color: #cfd0d8;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.legal a:hover {
  color: #a78bfa;
}

/* ======= FOOTER RESPONSIVE ======= */
@media (max-width: 1024px) {
  .site-footer {
    text-align: center;
    
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}
