/* --- SecureAI-inspiriertes Farbschema und Typografie --- */
:root {
  --primary-bg: #0f172a;
  --secondary-bg: #1e293b;
  --primary-text: #f8fafc;
  --secondary-text: #94a3b8;
  --accent-color: #3b82f6;
  --accent-hover: #2563eb;
  --gradient-start: #3b82f6;
  --gradient-end: #8b5cf6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --border-color: #334155;
  --highlight-bg: rgba(59, 130, 246, 0.1);
  --card-bg: rgba(30, 41, 59, 0.7);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.5rem;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3rem;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.25rem;
}
h3 {
  font-size: 1.5rem;
}

p, .nav-link, .btn, label, input, select, textarea {
  font-family: var(--font-family);
}

/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .header {
    margin-bottom: 1.5rem;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-brand h2 {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  color: var(--secondary-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  font-size: 1rem;
  padding: 0.75rem 0;
  display: inline-block;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-text);
  transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-width: 100px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), #7c3aed);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-text);
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: white;
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--primary-text);
  background: transparent;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--accent-color);
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* --- Hero Section --- */
.hero {
  padding: 6rem 0 8rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 0 0 3rem 3rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 8s infinite alternate;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-text .highlight {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-description {
  color: var(--secondary-text);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.profile-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.2);
}

.profile-overlay {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 41, 59, 0.8);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--success-color);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.status-indicator {
  width: 12px;
  height: 12px;
  background: var(--success-color);
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
  box-shadow: 0 0 8px var(--success-color);
}

/* --- Skills Section --- */
.skills {
  background: var(--secondary-bg);
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.skills h2 {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.skill-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
}

.skill-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.skill-card h3 {
  color: var(--primary-text);
  margin-bottom: 0.5rem;
}

/* --- Featured Projects --- */
.featured-projects {
  background: var(--primary-bg);
  padding: 6rem 0;
}

.featured-projects h2 {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.project-content {
  padding: 1.5rem;
  position: relative;
}

.project-category {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-color);
  background: var(--highlight-bg);
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-card h3 {
  color: var(--primary-text);
  margin-bottom: 0.5rem;
}

.text-center {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-outline {
  margin-top: 1rem;
}

/* --- FAQ Section --- */
.faq {
  background: var(--secondary-bg);
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.faq-item h3 {
  color: var(--primary-text);
  margin-bottom: 0.5rem;
}

/* --- Kontakt Section --- */
.contact-content {
  background: var(--primary-bg);
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-form-section, .contact-info {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-color);
}

.contact-form h2, .contact-info h2 {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  color: var(--primary-text);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--secondary-bg);
  color: var(--primary-text);
  font-size: 1rem;
  margin-top: 0.25rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-text);
  font-size: 0.95rem;
}

/* --- Kontakt Info --- */
.contact-info h3 {
  color: var(--primary-text);
  margin-bottom: 0.5rem;
}

.contact-card {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.availability {
  margin-bottom: 2rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success-color);
  display: inline-block;
  box-shadow: 0 0 8px var(--success-color);
}

.status-dot.available {
  background: var(--success-color);
}

.social-links {
  margin-top: 1.5rem;
}

.social-buttons {
  display: flex;
  gap: 1rem;
}

.social-btn {
  background: var(--secondary-bg);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--accent-color);
  color: white;
}

/* --- Footer --- */
.footer {
  background: var(--secondary-bg);
  color: var(--secondary-text);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-section h3 {
  color: var(--primary-text);
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--secondary-text);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .skills-grid, .projects-grid, .faq-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    position: relative;
  }
  .nav-menu {
      display: none;
  }
  .hamburger {
      display: flex;
  }
  .hero {
    padding: 4rem 0 4rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .skills, .featured-projects, .faq, .contact-content {
    padding: 3rem 0;
  }
  .footer {
    padding: 2rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  h1 {
    font-size: 2rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .skills h2, .featured-projects h2, .faq h2 {
    font-size: 1.5rem;
  }
}

/* --- SecureAI-Style Feature Section für Portfolio --- */
.features {
  padding: 6rem 0;
  background: var(--primary-bg);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, var(--primary-text), var(--secondary-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  background-color: var(--card-bg);
  border-radius: 1.5rem;
  padding: 2.75rem 2.25rem;
  border: 1px solid var(--border-color);
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card.animate {
  transform: translateY(0);
  opacity: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--highlight-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
      font-size: 2rem;
  color: var(--accent-color);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.feature-icon i {
  font-size: 2.2rem;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--primary-text);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--accent-color);
}

.feature-text {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.8;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .features {
    padding: 3rem 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-card {
    padding: 2rem 1rem;
  }
}

/* --- About Gallery Styles --- */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-gallery-item {
  background: var(--card-bg);
  border-radius: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-gallery-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
}

.about-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  border-radius: 1.5rem 1.5rem 0 0;
}

.about-gallery-caption {
  padding: 1rem;
  color: var(--primary-text);
  font-weight: 600;
  text-align: center;
  background: none;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .about-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-gallery-item img {
    height: 140px;
  }
}

/* --- About Me Hero/Intro Section (SecureAI-Style) --- */
.about-page .page-header {
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(139,92,246,0.08) 100%);
  border-radius: 0 0 3rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
}
.about-page .page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  z-index: 0;
  animation: pulse 10s infinite alternate;
}
.about-page .container {
  position: relative;
  z-index: 1;
}
.section-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  animation: gradient-shift 8s infinite alternate;
}
.section-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeIn 1.5s ease;
}

/* --- About Features Grid --- */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 2rem 0;
}
.about-feature-card {
  background: var(--card-bg);
  border-radius: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.about-feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.3);
}
.about-feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin: 0 auto 1.5rem auto;
  font-size: 2.2rem;
  box-shadow: 0 4px 16px rgba(59,130,246,0.15);
  transition: all 0.4s;
}
.about-feature-card:hover .about-feature-icon {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(59,130,246,0.3);
}
.about-feature-card h3 {
  color: var(--primary-text);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-feature-card p {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.7;
}

/* --- About Gallery Styles (unique) --- */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.about-gallery-item {
  background: var(--card-bg);
  border-radius: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.about-gallery-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
  opacity: 0.5;
  z-index: 0;
}
.about-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  border-radius: 1.5rem 1.5rem 0 0;
  z-index: 1;
  position: relative;
  transition: filter 0.3s;
}
.about-gallery-item:hover img {
  filter: brightness(1.08) saturate(1.2);
}
.about-gallery-caption {
  padding: 1rem;
  color: var(--primary-text);
  font-weight: 600;
  text-align: center;
  background: none;
  font-size: 1.1rem;
  z-index: 1;
  position: relative;
}

/* --- Responsive About --- */
@media (max-width: 1024px) {
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .about-page .page-header {
    padding: 3rem 0 1.5rem;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-gallery-item img {
    height: 140px;
  }
}

/* --- Timeline Steps (SecureAI-Style) --- */
.timeline-section {
  padding: 6rem 0 4rem;
  background: var(--primary-bg);
}
.timeline-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 7%;
  width: 86%;
  height: 3px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  opacity: 0.5;
  z-index: 0;
}
.timeline-step {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}
.timeline-step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 15px 30px rgba(59,130,246,0.3);
  position: relative;
  transition: all 0.5s;
  z-index: 2;
  animation: pulse-step 3s infinite;
}
@keyframes pulse-step {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}
.timeline-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 0.5rem;
  margin-top: 0;
  transition: color 0.3s;
}
.timeline-step-text {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .timeline-steps {
    gap: 1rem;
  }
  .timeline-step {
    min-width: 140px;
    max-width: 1fr;
  }
}
@media (max-width: 768px) {
  .timeline-steps {
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    margin-top: 2rem;
    min-width: 0;
    width: 100%;
    position: relative;
    padding-left: 0;
    padding-right: 0;
  }
  .timeline-steps::before {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% - 40px);
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    z-index: 0;
  }
  .timeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: unset;
    max-width: 90vw;
    margin-bottom: 0;
    gap: 0.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
  }
  .timeline-step-number {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    width: 56px;
    height: 56px;
    box-shadow: 0 8px 18px rgba(59,130,246,0.18);
  }
  .timeline-step-title, .timeline-step-text {
    margin: 0;
    text-align: center;
    width: 100%;
  }
}

/* --- Inspiration/Motivation Quote Section (unique) --- */
.inspiration-section {
  padding: 6rem 0 6rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.10) 0%, rgba(139,92,246,0.10) 100%);
      display: flex;
  align-items: center;
  justify-content: center;
}
.inspiration-quote-card {
  background: var(--card-bg);
  border-radius: 2rem;
  box-shadow: 0 10px 32px rgba(59,130,246,0.10);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
      text-align: center;
  position: relative;
  border: 1.5px solid var(--border-color);
  backdrop-filter: blur(10px);
  animation: fadeInUp 1.2s;
  }
.inspiration-quote-icon {
      font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: pulse 3s infinite alternate;
}
.inspiration-quote {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: gradient-shift 8s infinite alternate;
}
.inspiration-quote-author {
  color: var(--secondary-text);
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .inspiration-section {
    padding: 3rem 0 3rem;
  }
  .inspiration-quote-card {
    padding: 2rem 1rem 1.5rem 1rem;
    max-width: 98vw;
  }
  .inspiration-quote {
    font-size: 1.2rem;
  }
}

.project-badge-inactive {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(239, 68, 68, 0.13);
  color: #ef4444;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.32em 1em 0.32em 0.8em;
  border-radius: 1.2em;
  border: 1.2px solid rgba(239,68,68,0.25);
  box-shadow: 0 4px 18px 0 rgba(239,68,68,0.08), 0 1.5px 8px 0 rgba(59,130,246,0.08);
  letter-spacing: 0.2px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  background-clip: padding-box;
  z-index: 2;
  transition: background 0.2s, color 0.2s, border 0.2s;
  user-select: none;
}
.project-badge-inactive::before {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #ef4444;
  margin-right: 0.5em;
  box-shadow: 0 0 6px 2px #ef444455;
}
.project-badge-inactive:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #dc2626;
  border-color: #ef4444;
}
@media (max-width: 600px) {
  .project-content {
      flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  .project-badge-inactive {
    top: 0.7rem;
    right: 0.7rem;
    font-size: 0.92rem;
    padding: 0.25em 0.7em 0.25em 0.7em;
  }
}

.project-badge-aktiv {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(16, 185, 129, 0.13);
  color: var(--success-color);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.32em 1em 0.32em 0.8em;
  border-radius: 1.2em;
  border: 1.2px solid rgba(16,185,129,0.25);
  box-shadow: 0 4px 18px 0 rgba(16,185,129,0.08), 0 1.5px 8px 0 rgba(59,130,246,0.08);
  letter-spacing: 0.2px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  background-clip: padding-box;
  z-index: 2;
  transition: background 0.2s, color 0.2s, border 0.2s;
  user-select: none;
}
.project-badge-aktiv::before {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--success-color);
  margin-right: 0.5em;
  box-shadow: 0 0 6px 2px #10b98155;
}
.project-badge-aktiv:hover {
  background: rgba(16, 185, 129, 0.18);
  color: #059669;
  border-color: var(--success-color);
}
@media (max-width: 600px) {
  .project-badge-aktiv {
    top: 0.7rem;
    right: 0.7rem;
    font-size: 0.92rem;
    padding: 0.25em 0.7em 0.25em 0.7em;
  }
}

.newsletter-section {
  background: linear-gradient(120deg, rgba(30,41,59,0.95) 60%, rgba(59,130,246,0.10) 100%);
  padding: 6rem 0 7rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-section .container {
  max-width: 540px;
  background: rgba(30,41,59,0.75);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(59,130,246,0.10), 0 1.5px 8px 0 rgba(139,92,246,0.10);
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
}
.newsletter-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  background: linear-gradient(to right, var(--primary-text), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.newsletter-title-accent {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.newsletter-desc {
  color: var(--secondary-text);
  font-size: 1.18rem;
  margin-bottom: 2.2rem;
  margin-top: 0.5rem;
}
.newsletter-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
}
.newsletter-input {
  flex: 1 1 220px;
  padding: 0.9rem 1.2rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-color);
  background: rgba(30,41,59,0.85);
  color: var(--primary-text);
  font-size: 1.08rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.newsletter-input:focus {
  border: 1.5px solid var(--accent-color);
  box-shadow: 0 0 0 2px var(--accent-color);
}
.newsletter-btn {
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  font-size: 1.08rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  border: none;
  box-shadow: 0 4px 18px 0 rgba(59,130,246,0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
}
.newsletter-btn:hover {
  background: linear-gradient(90deg, var(--gradient-end), var(--gradient-start));
  color: #e0e7ef;
  box-shadow: 0 8px 32px rgba(139,92,246,0.18);
}
@media (max-width: 600px) {
  .newsletter-section .container {
    padding: 1.2rem 0.3rem 1.2rem 0.3rem;
  }
  .newsletter-title {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
  }
  .newsletter-desc {
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-items: stretch;
  }
  .newsletter-input {
    display: inline-block;
    height: 1.3rem;
    min-height: 0 !important;
    max-width: 320px;
    width: 100%;
    padding: 0.18rem 0.6rem;
    border-radius: 0.7em;
    font-size: 0.95rem;
    line-height: 1;
    box-sizing: border-box;
    margin: 0 auto 0.5rem auto;
  }
  .newsletter-btn {
    width: 100%;
    padding: 0.35rem 0;
    border-radius: 0.7em;
    font-size: 0.98rem;
    max-width: 320px;
    margin: 0 auto;
    margin-top: 0.2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: var(--primary-bg);
    z-index: 100;
    padding: 1.5rem 0;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  }
  .nav-menu.active {
    display: flex;
  }
}

.favorite-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(255, 215, 0, 0.13);
  color: #ffd700;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.32em 1em 0.32em 0.8em;
  border-radius: 1.2em;
  border: 1.2px solid rgba(255,215,0,0.25);
  box-shadow: 0 4px 18px 0 rgba(255,215,0,0.08), 0 1.5px 8px 0 rgba(59,130,246,0.08);
  letter-spacing: 0.2px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  background-clip: padding-box;
  z-index: 2;
  transition: background 0.2s, color 0.2s, border 0.2s;
  user-select: none;
}
.favorite-badge::before {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #ffd700;
  margin-right: 0.5em;
  box-shadow: 0 0 6px 2px #ffd70055;
}
.favorite-badge:hover {
  background: rgba(255, 215, 0, 0.18);
  color: #ffb300;
  border-color: #ffd700;
}

.glass-card {
  background: rgba(30,41,59,0.75);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(59,130,246,0.10), 0 1.5px 8px 0 rgba(139,92,246,0.10);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
}
.contact-title-gradient {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}