/* ========================================= KHADIJA OKBI - PORTFOLIO CSS VOLLSTÄNDIG REORGANISIERT & OPTIMIERT ========================================= */
/* TABLE OF CONTENTS: 1. Design System (Zeile 10) 2. Base & Reset (Zeile 90) 3. Typography (Zeile 150) 4. Header (Zeile 210) 5. Hero (Zeile 280) 6. Section Titles & Animations (Zeile 350) 7. Skills Section (Zeile 450) 8. Projects Grid (Zeile 570) 9. About Section (Zeile 720) 10. Timeline (Zeile 900) 11. Blog Section (Zeile 1100) 12. Footer (Zeile 1220) 13. Responsive (Zeile 1280) 14. Photography Slider Section (Zeile 3630) 15. Carousel Section - Fotografie (Zeile 2706) */
/* ========================================= 1. DESIGN SYSTEM ========================================= */
@font-face {
    font-family: 'Higuen';
    src: url('../fonts/Higuen.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
  }
  :root {
   /* Colors */
    --bg-primary: #000;
    --bg-secondary: #F5F5F5;
    --bg-accent: #F5F5F5;
    --bg-dark: #314A51;
    --text-primary: #0A0A0A;
    --text-primary-light: #EBE1D1;
    --text-secondary: #525252;
    --text-tertiary: #56686A;
    --accent-primary: #2D2D2D;
    --accent-secondary: #56686A;
    --accent-burgundy: #6E3B49;
    --border-light: #56686A;
    --border-default: #6E3B49;
    --mauve: #B5A19E;
   /* Typography */
    --font-body: 'Work Sans', sans-serif;  font-optical-sizing: auto;
    --font-display: 'Abril Fatface', serif;
    --font-higuen: 'Higuen', serif;
   /* Spacing */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-12: 6rem;
   /* Motion */
    --speed-fast: 150ms;
    --speed-base: 250ms;
    --speed-slow: 350ms;
    --speed-slower: 500ms;

    --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --easing-decelerate: cubic-bezier(0, 0, 0.2, 1);
    --easing-accelerate: cubic-bezier(0.4, 0, 1, 1);
   /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  }
  /* ========================================= 2. BASE & RESET ========================================= */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  body {
    font-family: var(--font-body);
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img {
    max-width: 100%;
    display: block;
  }
  a {
    color: inherit;
    text-decoration: none;
    transition: color var(--speed-base) var(--easing-standard);
  }
  button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
  }
  .container {
    max-width: 85vw;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
  }

  /* ========================================= 3. TYPOGRAPHY ========================================= */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--space-3) 0;
  }
  h1 {
    font-family: var(--font-higuen);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    color: var(--mauve);
  }
  h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-burgundy);
  }
  h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
  }
  h4 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-3);
  }  
  
  /* =========================================
   4. HEADER/NAVIGATION
   ========================================= */
  
  .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--speed-base) var(--easing-standard);
  backdrop-filter: blur(0px);
  }
  
  .site-header.is-solid {
  background: rgba(49, 74, 81, 0.95);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  }
  
  .nav-bar {
  padding: 10px 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
  }
  
  .logo {
  position: relative;
  width: 38px;
  height: 38px;
  }
  
  .logo img {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity var(--speed-base);
  }
  
  .logo .logo-onscroll {
  opacity: 0;
  }
  
  .site-header.is-solid .logo .logo-onscroll {
  opacity: 1;
  }
  
  .site-header.is-solid .logo img:not(.logo-onscroll) {
  opacity: 0;
  }
  
  .nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  }
  
  .nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary-light);
  position: relative;
  padding-bottom: var(--space-1);
  transition: all var(--speed-base);
  }
  
  .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-burgundy);
  transform: translateX(-50%);
  transition: width var(--speed-base) var(--easing-standard);
  }
  
  .nav-link:hover {
  color: var(--accent-burgundy);
  }
  
  .nav-link:hover::after {
  width: 100%;
  }
  
  
  .site-footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  background: var(--bg-dark);
  }
  
  .footer-inner {
  display: grid;
  gap: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  }
  .container.footer-inner {
    text-align: center;
  }
  .footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  }
  
  .footer-socials .social-link {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-primary-light);
  position: relative;
  margin-bottom: 20px;
  }
  
  .footer-socials .social-link:hover {
  color: var(--accent-burgundy);
  transform: translateY(-4px);
  }
  
  .footer-copy {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: white;
  }
  
  /* ========================================= WAVE TRANSITIONS - Komplett ========================================= */
  /* 1. Hero Section Wave (unten) */
  .hero-section::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 23vh;
    background-color: var(--bg-secondary);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0,160L60,176C120,192,240,224,360,229.3C480,235,600,213,720,186.7C840,160,960,128,1080,122.7C1200,117,1320,139,1380,149.3L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z' fill='black'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0,160L60,176C120,192,240,224,360,229.3C480,235,600,213,720,186.7C840,160,960,128,1080,122.7C1200,117,1320,139,1380,149.3L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z' fill='black'%3E%3C/path%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: 4;
    pointer-events: none;
  }
  /* 2. About Section Wave (oben) */
  .section-about::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 25vh;
    background-color: var(--accent-burgundy);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
  }
  /* 3. Projects Section Wave (unten) */
  .section-projects::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 25vh;
    background-color: var(--accent-burgundy);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,224L48,213.3C96,203,192,181,288,192C384,203,480,245,576,250.7C672,256,768,224,864,202.7C960,181,1056,171,1152,181.3C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,224L48,213.3C96,203,192,181,288,192C384,203,480,245,576,250.7C672,256,768,224,864,202.7C960,181,1056,171,1152,181.3C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
    margin-top: 20px;
  }
  .section-carousel::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 25vh;
    background-color: var(--accent-burgundy);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,224L48,213.3C96,203,192,181,288,192C384,203,480,245,576,250.7C672,256,768,224,864,202.7C960,181,1056,171,1152,181.3C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,224L48,213.3C96,203,192,181,288,192C384,203,480,245,576,250.7C672,256,768,224,864,202.7C960,181,1056,171,1152,181.3C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
    margin-top: 25px;
  }
  /* 4. Blog Section Wave (unten) */
  .section-blog::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 20vh;
    background-color: var(--bg-dark);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,133.3C672,128,768,160,864,186.7C960,213,1056,235,1152,224C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,133.3C672,128,768,160,864,186.7C960,213,1056,235,1152,224C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
  }
  

/* ========== WAVE TRANSITIONS ========== */
/* Dark to Cream */
.work-section.bg-dark::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 23vh;
  background-color: var(--bg-secondary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0,160L60,176C120,192,240,224,360,229.3C480,235,600,213,720,186.7C840,160,960,128,1080,122.7C1200,117,1320,139,1380,149.3L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z' fill='black'%3E%3C/path%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0,160L60,176C120,192,240,224,360,229.3C480,235,600,213,720,186.7C840,160,960,128,1080,122.7C1200,117,1320,139,1380,149.3L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z' fill='black'%3E%3C/path%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  z-index: 4;
  pointer-events: none;
  margin-top: 25px;
}

/* Cream to Dark */
.work-section.bg-cream::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 20vh;
  background-color: var(--bg-dark);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0,160L60,176C120,192,240,224,360,229.3C480,235,600,213,720,186.7C840,160,960,128,1080,122.7C1200,117,1320,139,1380,149.3L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z' fill='black'%3E%3C/path%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0,160L60,176C120,192,240,224,360,229.3C480,235,600,213,720,186.7C840,160,960,128,1080,122.7C1200,117,1320,139,1380,149.3L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z' fill='black'%3E%3C/path%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  z-index: 4;
  pointer-events: none;
  margin-top: 25px;
}

/* Burgundy to Footer */
.work-section.bg-burgundy::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 20vh;
  background-color: var(--bg-dark);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,224L48,213.3C96,203,192,181,288,192C384,203,480,245,576,250.7C672,256,768,224,864,202.7C960,181,1056,171,1152,181.3C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,224L48,213.3C96,203,192,181,288,192C384,203,480,245,576,250.7C672,256,768,224,864,202.7C960,181,1056,171,1152,181.3C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  z-index: 10;
  pointer-events: none;
  margin-top: 25px;
}


/* ========== 6. SECTIONS ========== */
.work-section {
  padding: clamp(4rem, 12vh, 8rem) 0;
  position: relative;
}

.work-section.bg-cream {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.work-section.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-primary-light);
}

.work-section.bg-burgundy {
  background-color: var(--bg-burgundy);
  color: var(--text-primary-light);
}


  /* ========================================= 6. SECTION TITLES & ANIMATIONS ========================================= */
  /* UNIFIED SECTION TITLE STYLE */
  section h2 {
    font-family: var(--font-higuen);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0 0 3rem 0;
    position: relative;
    color: var(--accent-burgundy);
    opacity: 0;
    transform: translateY(60px) skewY(2deg);
    animation: titleReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
  }
  
  @keyframes titleReveal {
    to {
      opacity: 1;
      transform: translateY(0) skewY(0deg);
    }
  }
  
  /* Scroll animation trigger - wird via JavaScript gesetzt */
  section h2.in-view {
    animation: titleReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
  }
  
/* ========================================= FOOTER ========================================= */
.site-footer {
  background: var(--bg-dark);
  padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 60px);
  border-top: 2px solid rgba(110, 59, 73, 0.3);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-burgundy), transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 3vw, 3rem);
  text-align: center;
}

.footer-copy {
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: var(--text-primary-light);
  letter-spacing: 0.02em;
  font-weight: 400;
  opacity: 0.9;
  order: 1;
}

.footer-socials {
  display: flex;
  gap: clamp(2rem, 3vw, 2.5rem);
  align-items: center;
  justify-content: center;
  order: 2;
}

.social-link {
  color: var(--text-primary-light);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid transparent;
  border-radius: 50%;
  position: relative;
  flex-direction: column;
  gap: 0.3rem;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-burgundy);
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.social-link::after {
  content: attr(aria-label);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary-light);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-link:hover::before {
  opacity: 0.25;
  transform: scale(1);
}

.social-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-link:hover {
  color: var(--accent-burgundy);
  transform: translateY(-6px) rotate(10deg);
  border-color: var(--accent-burgundy);
}

.social-link svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  order: 3;
}

.footer-link {
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary-light);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.footer-link:not(.contact-btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-burgundy);
  transition: width 0.3s ease;
}

.footer-link:not(.contact-btn):hover {
  color: var(--accent-burgundy);
}

.footer-link:not(.contact-btn):hover::after {
  width: 100%;
}

.footer-link.contact-btn {
  padding: 1rem 3rem;
  margin: 0 1rem;
  border: 2.5px solid var(--accent-burgundy);
  background: var(--accent-burgundy);
  color: var(--bg-secondary);
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 700;
  letter-spacing: 0.15em;
  box-shadow: 0 6px 20px rgba(110, 59, 73, 0.5);
  position: relative;
  overflow: hidden;
}

.footer-link.contact-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--bg-secondary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.footer-link.contact-btn span {
  position: relative;
  z-index: 1;
}

.footer-link.contact-btn:hover::before {
  width: 400px;
  height: 400px;
}

.footer-link.contact-btn:hover {
  color: var(--accent-burgundy);
  border-color: var(--accent-burgundy);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(110, 59, 73, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-inner {
    gap: 2rem;
  }

  .footer-socials {
    gap: 2.5rem;
  }

  .footer-links {
    flex-direction: row; /* Erzwungene horizontale Ausrichtung */
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    width: 100%;
    padding: 0 1rem;
  }

  .footer-link {
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    white-space: nowrap;
  }

  .footer-link.contact-btn {
    padding: clamp(0.6rem, 2vh, 0.8rem) clamp(1rem, 4vw, 2rem);
    margin: 0;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 3rem 0 2.5rem;
  }

  .footer-inner {
    gap: 1.8rem;
  }

  .footer-copy {
    font-size: 0.75rem;
    opacity: 0.85;
  }

  .footer-links {
    gap: 0.75rem;
    flex-wrap: wrap; /* Erlaubt Umbruch nur wenn absolut notwendig bei sehr kleinen Screens */
  }

  .footer-socials {
    gap: 1.5rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .footer-link {
    font-size: 0.7rem;
  }

  /* Sicherstellen, dass der Kontakt-Button dominant bleibt, aber kompakt */
  .footer-link.contact-btn {
    padding: 0.9rem 2.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    border-width: 1.5px;
  }
}
