@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

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

html {
  scroll-behavior: smooth;
}

:root {
  --color: #667dff;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --accent: #1abc9c;
  /*#00aeac*/
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-card: #0000001a;
}

[data-theme="light"] {
  --text-primary: #1a1a1a;
  --text-secondary: #050505;
  --bg-primary: #ffffff;
  --bg-secondary: #00000000;
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-card: #ffffff1e;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Loading Screen Styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
}

.loader-text {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0;
}

.loader-bar {
  width: 300px;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color), var(--accent));
}


/* Custom Cursor*/
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.2s ease;
}


/* Navigation Styles */
nav {
  position: fixed;
  top: 0;
  width: 100vw;
  padding: 1.5rem 2rem;
  border-color: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: background-color 0.3s ease;
  transform: translateY(0%);
  opacity: 0;
}

[data-theme="light"] nav {
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: "Playfair Display", serif;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  transition: transform 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background-color: var(--bg-secondary);
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 2px solid var(--border-color);
  margin-left: 1rem;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background-color: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-sizing: 0 0 10px rgba(0, 255, 229, 0.7);
}

[data-theme="light"] .theme-toggle::before {
  transform: translateX(28px);
  background: var(--color);
  box-shadow: 0 0 10px rgba(25, 117, 255, 0.7);
}

.theme-toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  transition: opacity 0.3s ease;
}

.theme-toggle-icon.sun {
  right: 6px;
  opacity: 0;
}

.theme-toggle-icon.moon {
  left: 5px;
  opacity: 1;
}

[data-theme="light"] .theme-toggle-icon.sun {
  opacity: 1;
}

[data-theme="light"] .theme-toggle-icon.moon {
  opacity: 0;
}


/* Mobile Menu*/
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0%);
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  margin: 1rem 0;
  font-family: "Playfair Display", serif;
  transform: translateY(20px);
  transition: all 0.3s ease;
  opacity: 0;
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu a:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-menu a:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-menu a:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-menu a:nth-child(5) {
  transition-delay: 0.5s;
}



















/* Hero section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%,
      rgba(0, 102, 255, 0.1), 0%, transparent 50%);
  z-index: -1;
  transform: translateY(0);
}

.hero-img {
  height: 60%;
  margin-left: 5%;
  margin-right: 5%;
  z-index: 2;
  opacity: 0;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  filter: blur(10px);
  transform: translateY(5rem);
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  filter: blur(10px);
  transform: translateY(5rem);
  opacity: 0;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  filter: blur(10px);
  transform: translateY(5rem);
  opacity: 0;
}

.hero-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color), var(--accent));
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease;
  filter: blur(10px);
  transform: translateY(5rem);
  opacity: 0;
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--accent);
}

.hero-3d-model {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  /* Hinter dem gesamten Inhalt */
  pointer-events: none;
  /* Klicks gehen durch */
}

@media (max-width: 1080px) {
  .hero-img {
    height: 38%;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 7rem);
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Versteckt die Desktop-Navigation */
  }

  .menu-toggle {
    display: flex;
    /* Zeigt das Hamburger-Menü */
  }

  .hero-content {
    padding: 0 1rem;
    /* Reduziert den Padding für kleinere Bildschirme */
  }

  .hero-container {
    padding: 0 1rem;
    /* Reduziert den Padding für kleinere Bildschirme */
  }

  .cursor,
  .cursor-follower {
    display: none;
    /* Versteckt den Cursor auf mobilen Geräten */
  }

  .hero {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-img {
    height: 40%;
    margin: 0;
  }
}














/* About Styles */
.about {
  padding: 0rem 2rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  max-width: 400px;
  border-radius: 1rem;
  overflow: hidden;
  /* WICHTIG: Erzeugt den "Reveal"-Effekt */
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}



.about-content {
  flex: 2;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--color), var(--accent));
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--accent);
}

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

/* Responsive */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
    padding: 4rem 1.5rem;
  }

  .about-content {
    animation-delay: 0.3s;
  }

  .about-image {
    max-width: 300px;
  }
}














/* ==================================== */
/* 3D Circle Skills Section Styles */
/* ==================================== */

.skills {
  padding: 0rem 2rem;
  max-width: 1400px;
  margin: 0 auto;

  /* NEU: Flexbox zum Zentrieren des Inhalts der gesamten Sektion */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Zentriert Titel, Untertitel und den skills-container */
}

.section-skills-title {
  font-size: 3rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.section-skills-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  /* Aktiviert die 3D-Perspektive für die Hover-Animationen */
  perspective: 1000px;
}

/* Der neue, schlankere Container für den Kreis */
.skill-circle-container {
  position: relative;
  width: 200px;
  height: 250px;
  /* Platz für den Text unten */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: default;
  overflow: visible;
  transition: none;
  /* GSAP übernimmt die Animation */
}

/* -------------------- */
/* 3D Circle Styling (Der eigentliche Kreis-Bereich) */
/* -------------------- */
.skill-circle-3d {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;

  /* Der wichtige 3D-Look durch Schatten */
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.5),
    /* Innerer Schatten für Tiefe */
    0 10px 20px rgba(0, 0, 0, 0.6),
    /* Unterer Schatten für "Schweben" */
    0 0 0 5px var(--bg-primary);
  /* Leichte Umrandung */

  background-color: var(--bg-secondary);
  transition: box-shadow 0.3s ease;

  display: flex;
  align-items: center;
  justify-content: center;



  /* Für die 3D-Rotation */
  transform-style: preserve-3d;
}

.progress-ring {
  transform: rotate(180deg);
  position: absolute;
  top: 0;
  left: 0;
}

/* Ring-Hintergrund in der Mitte des 3D-Kreises */
.ring-bg {
  fill: var(--bg-secondary);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* -------------------- */
/* Icon and Text Styling */
/* -------------------- */

.skill-icon {

  position: relative;

  /* DEFINIEREN Sie eine feste Größe für den Icon-Container */
  width: 35%;
  /* PASSE DIESE GRÖSSE AN IHRE BILDER AN! */
  height: 35%;
  /* PASSE DIESE GRÖSSE AN IHRE BILDER AN! */

  /* Stellt sicher, dass der Icon-Container über dem Ring liegt */
  z-index: 20;
}

.skill-icon img {
  width: 100%;
  /* Bild füllt den 60x60px Container komplett aus */
  height: 100%;
  object-fit: contain;
  /* Stellt sicher, dass das Icon nicht verzerrt wird */
  position: absolute;
  transition: opacity 0.3s ease;
}


/* Innere Bilder (Outline / Filled) */
.icon-outline,
.icon-filled {
  width: 100%;
  height: 100%;
  position: absolute;
  /* Beibehalten, um das Überblenden zu ermöglichen */
  top: 0;
  left: 0;
  object-fit: contain;
}

.icon-filled {
  opacity: 1;
  /* Filled ist initial unsichtbar, wird bei Hover von GSAP eingeblendet */
}
.icon-outline{
  opacity: 0;
}

.skill-text-area {
  text-align: center;
}

.skill-percentage-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  opacity: 0;
}

.skill-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
}


/* Responsive Styles (Bleibt) */
@media (max-width: 768px) {
  .skills {
    padding: 4rem 1rem;
  }

  .skills-container {
    flex-direction: column;
    align-items: center;
  }

  .skill-circle-container {
    width: 90%;
    max-width: 350px;
    height: auto;
    /* Muss flexibel sein auf Mobilgeräten */
  }
}












/* ====================================
   PROJECTS SECTION STYLES
==================================== */

.projects-wrapper {
  padding: 80px 0;
  position: relative;
  /* Damit die Sektion groß genug ist, um das Scrollen zu ermöglichen */
  min-height: 150vh;
}

.section-projects-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.section-projects-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Horizontal Scroll Setup */
.projects-container {
  display: flex;
  /* Benötigt, um die ScrollTrigger-Berechnung von GSAP zu ermöglichen */
  width: fit-content;
  padding: 0 5vw;
  gap: 40px;
  /* Abstand zwischen den Karten */
  position: relative;
  /* Damit die Karten auf der Hauptachse bleiben */
  z-index: 10;
}

.project-card {
  background: var(--shadow-card);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 350px;
  /* Feste Breite für jede Karte */
  min-width: 350px;
  overflow: hidden;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  border: 1px solid var(--border-color);
}

/* 3D/Hover-Effekt muss durch JS/GSAP auf der Karte selbst angewandt werden */
.project-card:hover {
  box-shadow: 0 15px 45px rgba(var(--accent-rgb), 0.3);
}

.project-image-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
  /* Für den Bild-Zoom-Effekt */
}

.project-content {
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 60px;
  /* Sorgt für gleichmäßige Höhe, falls Beschreibung kurz ist */
}

.project-tags span {
  display: inline-block;
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 15px;
  margin-right: 5px;
  margin-bottom: 10px;
}

.project-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.project-button {
  flex-grow: 1;
  text-align: center;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  font-size: 0.9em;
}

.button-demo {
  background: var(--accent);
  color: var(--bg-primary);
  border: 2px solid var(--accent);
}

.button-github {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.button-demo:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.button-github:hover {
  background: var(--accent-transparent);
  transform: translateY(-2px);
}

/* Hover Animation Targetting */
.project-card:hover .project-image {
  transform: scale(1.05) rotate(0.5deg);
}

/* Media Queries für Mobile Ansicht */
@media (max-width: 768px) {
  .projects-container {
    /* Standardmäßiges vertikales Layout auf Mobilgeräten */
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 30px;
    width: 100%;
    /* Wichtig für die Deaktivierung des horizontalen Scrolls */
  }

  .project-card {
    width: 100%;
    max-width: 400px;
    /* Begrenze die Breite, damit die Karten nicht zu breit werden */
  }

  .projects-wrapper {
    /* Zurücksetzen der Höhe auf Mobilgeräten */
    min-height: auto;
  }
}










/* ====================================
   CONTACT SECTION STYLES
==================================== */
input,
textarea {
  font-family: "Poppins", sans-serif;
}

.contact {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form {
  width: 100%;
  max-width: 820px;
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form {
  background-color: var(--accent);
  position: relative;
}

.circle {
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, #15a286);
  position: absolute;
}

.circle.one {
  width: 130px;
  height: 130px;
  top: 130px;
  right: -40px;
}

.circle.two {
  width: 80px;
  height: 80px;
  top: 10px;
  right: 30px;
}

.contact-form:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: var(--accent);
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}

form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.input-container {
  position: relative;
  margin: 1rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid var(--text-primary);
  background: none;
  padding: 0.6rem 1.2rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  margin: 0;
  background: linear-gradient(135deg, var(--color), var(--accent));
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  transition: transform 0.3s ease;

}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--shadow);
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: var(--accent);
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}



.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
  background-color: #1abc9c1f;

 
}

.contact-info .title {
  color: var(--text-primary);
  opacity: 1;
}

.text {
  color: var(--text-primary);
  margin: 1.5rem 0 2rem 0;
  opacity:100;
}

.information {
  display: flex;
  color: var(--text-primary);
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}

.icon {
  width: 28px;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: var(--text-primary);
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #1abc9c, #149279);
  color: var(--text-primary);
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid var(--accent);
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}

.big-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  /* Gradient von Akzent zu Color */
  background: linear-gradient(-45deg, var(--border-color), var(--accent));
  bottom: 50%;
  right: 50%;
  transform: translate(-40%, 38%);
}

.big-circle:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  /* Füllt den Kreis mit der Primär-Hintergrundfarbe (BG) */
  background-color: var(--bg-primary);
  border-radius: 50%;
  top: calc(50% - 180px);
  left: calc(50% - 180px);
}

.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}




/* Wichtige Ergänzung/Sicherstellung im CSS */
.hero, .about, .skills, .projects-wrapper, .contact {
    min-height: 100vh; 
    /* width: 100%; (Ist bereits vorhanden) */
}


#smooth-wrapper {
  opacity: 0;
 }

#particles-js {
    opacity: 0; 
}

.hero-3d-model{
  opacity: 0;
}