/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f9fafb;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  color: white;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0891b2, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #14b8a6;
  color: #14b8a6;
}

.btn-full {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #14b8a6;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Toggle */
.language-toggle {
  display: flex;
  background: #f3f4f6;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6b7280;
}

.lang-btn.active {
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  color: white;
}

.lang-btn:hover:not(.active) {
  color: #14b8a6;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  color: #1f2937;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #14b8a6;
}

.mobile-language-toggle {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-lang-btn {
  background: #f3f4f6;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6b7280;
}

.mobile-lang-btn.active {
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  color: white;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.hero-highlight {
  display: block;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}
.hero-img-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.hero-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.decoration-1 {
  top: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
}
.decoration-2 {
  bottom: -1.5rem;
  left: -1.5rem;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(45deg, #059669, #14b8a6);
}
/* About Section */
.about {
  padding: 5rem 0;
  background: white;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.about-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  border: 1px solid #a7f3d0;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}
.about-card:nth-child(2) {
  background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
  border-color: #7dd3fc;
}
.about-card:nth-child(3) {
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdfa 100%);
  border-color: #86efac;
}
.about-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}
.about-card:nth-child(2) .about-icon {
  background: linear-gradient(45deg, #0891b2, #059669);
}

.about-card:nth-child(3) .about-icon {
  background: linear-gradient(45deg, #059669, #14b8a6);
}

.about-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.about-card-text {
  color: #6b7280;
}

/* Skills Section */
.skills {
  padding: 5rem 0;
  background: #f9fafb;
}

/* Icons werden gestreckt angezeigt */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.skill-icon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  font-size: 1.1rem;
}

.skill-icon-item i {
  font-size: 1.75rem;
  color: #14b8a6;
  min-width: 2rem;
}

.skill-icon-item:hover {
  transform: translateY(-3px);
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.skills-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.skill-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}
.skill-level {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  border-radius: 0.375rem;
  transition: width 2s ease;
  width: 0;
}

.skill-progress.animated {
  animation: fillBar 2s ease forwards;
}
@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: var(--skill-level);
  }
}
/* Bild bekommt Abstände */
.skills-image {
  position: relative;
  margin-top: 2rem;
}
.skills-img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .skills-content {
    grid-template-columns: 1fr;
  }
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background: white;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  display: block;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  text-decoration: none; /* entfernt Unterstrich */
  color: inherit; /* übernimmt Textfarbe der Kinder */
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none; /* bleibt ohne Unterstrich beim Hover */
  color: inherit; /* verhindert blaue Hover-Farbe */
}
.project-image {
  position: relative;
  height: 12rem;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  overflow: hidden;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.project-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.project-status.completed {
  background: #dcfce7;
  color: #166534;
}
.project-status.development {
  background: #dbeafe;
  color: #1e40af;
}
.project-content {
  padding: 1.5rem;
}
.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.project-description {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
* Contact Section */ .contact {
  padding: 5rem 0;
  background: #f9fafb;
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact-text {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}
.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.contact-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.contact-item-text {
  color: #6b7280;
}
.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 3rem;
  height: 3rem;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  transform: translateY(-2px);
}

.contact-form-container {
  position: relative;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.checkbox-group {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.3rem;
  accent-color: #14b8a6; /* Modernes Styling für Checkbox */
}

.form-checkbox-label a {
  color: #0891b2;
  text-decoration: underline;
}

.form-checkbox-label a:hover {
  text-decoration: none;
}

.form-label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-decoration {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  border-radius: 50%;
  opacity: 0.1;
}

/*E-Mail contact*/
.contact-email {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem; /* Abstand vor Standort */
  font-size: 1rem;
  color: #374151;
}

.contact-email i {
  font-size: 2.25rem;
  color: #14b8a6;
  flex-shrink: 0; /* verhindert, dass das Icon gequetscht wird */
}

.contact-email i .contact-email-link {
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.contact-email-link:hover {
  color: #14b8a6;
}

.btn-send-email {
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-send-email:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-brand-desc {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;

  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-copyright {
  color: #9ca3af;
  margin: 0;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .skills-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image {
    order: -1;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    padding: 6rem 0 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.125rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .contact-form-container {
    padding: 1.5rem;
  }
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #0891b2, #0284c7);
}

/* Print Styles */
@media print {
  .navbar,
  .mobile-nav,
  .contact-form,
  .footer {
    display: none;
  }

  body {
    background: white !important;
    color: black !important;
  }
  .text-gradient {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: black !important;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  text-gradient {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: #000 !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
