/* ==========================================================================
   Alfred Scholze GmbH - Full-Service Manufacturing Solutions - Made in Germany
   Stylesheets & Design System
   ========================================================================== */

/* @import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap'); */

/* ========================================
   Local Fonts
   ======================================== */

/* Inter */

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter/Inter_18pt-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter/Inter_18pt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter/Inter_18pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter/Inter_18pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter/Inter_18pt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter/Inter_18pt-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* Outfit */

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/Outfit/Outfit-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/Outfit/Outfit-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/Outfit/Outfit-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/Outfit/Outfit-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/Outfit/Outfit-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* Caveat */

@font-face {
  font-family: 'Caveat';
  src: url('../assets/fonts/Caveat/Caveat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Caveat';
  src: url('../assets/fonts/Caveat/Caveat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Caveat';
  src: url('../assets/fonts/Caveat/Caveat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================================================================== */

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette - Premium Automotive & Industrial Metallic Theme */
  --color-primary-dark: #0F172A;
  --color-navy: #1E293B;
  --color-accent-blue: #0284C7;
  --color-accent-blue-hover: #0369A1;
  --color-accent-blue-light: #E0F2FE;
  --color-gold: #D97706;
  --color-gold-light: #FEF3C7;
  
  --color-bg-body: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-bg-surface: #F1F5F9;
  
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-white: #FFFFFF;
  
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --max-width: 1280px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-blue-hover);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Utility Bar */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
}

.top-info-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  color: var(--color-accent-blue);
}

.top-info-item a {
  color: #CBD5E1;
}

.top-info-item a:hover {
  color: var(--color-white);
}

.top-right-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
  color: #94A3B8;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: none;
  background: none;
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--color-white);
}

.lang-btn.active {
  background: var(--color-accent-blue);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
}

.sticky-top-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Main Navbar */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--color-accent-blue);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  background-color: var(--color-accent-blue);
  color: var(--color-white) !important;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  background-color: var(--color-accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  fill: var(--color-primary-dark);
}

/* Made in Germany */
.made-in-germany {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  line-height: 1;
}

.made-in-germany-text {
  font-family: 'Caveat', cursive;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  white-space: nowrap;
  transform: rotate(-2deg);
}

.germany-underline {
  display: block;
  position: relative;
  width: 108%;
  height: 18px;
  margin-top: 0;
  transform: rotate(-2deg);
  transform-origin: left center;

  background: linear-gradient(
    90deg,
    #000000 0%,
    #000000 34%,
    #DD0000 34%,
    #DD0000 64%,
    #FFCE00 64%,
    #FFCE00 100%
  );

  clip-path: polygon(
  /* obere Kante */
  1% 22%,
  3% 17%,
  8% 14%,
  16% 10%,
  25% 8%,
  34% 9%,
  43% 12%,
  52% 15%,
  61% 19%,
  70% 24%,
  78% 30%,
  85% 38%,
  91% 47%,
  96% 57%,
  100% 68%,

  /* untere Kante */
  96% 69%,
  91% 65%,
  85% 59%,
  78% 53%,
  70% 47%,
  61% 41%,
  52% 36%,
  43% 32%,
  34% 29%,
  25% 28%,
  16% 30%,
  8% 34%,
  3% 34%,
  1% 30%
);

}

/* Rundet den kräftigen schwarzen Anfang ab */
.germany-underline::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 20%;
  width: 9px;
  height: 20%;
  min-height: 5px;
  background: #000000;
  border-radius: 50%;
}







/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0B132B 0%, #1C2D42 50%, #0F172A 100%);
  color: var(--color-white);
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(rgba(2, 132, 199, 0.15) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #7DD3FC;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.45;
  max-width: 100%;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-grid .hero-title {
  font-size: 3.25rem;
}

.hero-title span {
  background: linear-gradient(90deg, #38BDF8 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #94A3B8;
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-accent-blue-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-card-header {
  font-size: 1.1rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-header .badge-tag {
  white-space: nowrap;
  flex-shrink: 0;
}


.hero-spec-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.spec-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.2);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.spec-text strong {
  display: block;
  color: #F1F5F9;
  font-size: 0.95rem;
}

.spec-text span {
  color: #94A3B8;
  font-size: 0.85rem;
}

/* ==========================================================================
   Sections & Component Cards
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-bg-surface);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--color-accent-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Clean Services List Grid (At a Glance - No Heavy Icons/Paragraphs) */
.services-glance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-glance-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent-blue);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.service-glance-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-blue);
}

.service-glance-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.service-glance-en {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Key Stats Bar */
.stats-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1E293B 100%);
  color: var(--color-white);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.75rem;
  color: #38BDF8;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: #94A3B8;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Interactive Filter Tabs */
.filter-container {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-accent-blue);
  color: var(--color-white);
  border-color: var(--color-accent-blue);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Product Card */
.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-img-wrapper {
  height: 260px;
  background: #E2E8F0;
  position: relative;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: var(--color-white);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Certificate Cards */
.cert-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-blue);
}

.cert-img-thumb {
  max-height: 280px;
  width: auto;
  margin: 0 auto 1.25rem auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

/* Jobs Card */
.job-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-accent-blue);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-blue);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.job-title-group h3 {
  font-size: 1.35rem;
  color: var(--color-primary-dark);
}

.job-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.job-benefits {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

.benefit-pill {
  background: #EFF6FF;
  color: var(--color-accent-blue-hover);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Contact Info Card */
.contact-info-card {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-card h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: #94A3B8;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.2);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--color-primary-dark);
  color: #94A3B8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.footer-title {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-title a {
  color: inherit;
  text-decoration: none;
}

.footer-title a:hover {
  text-decoration: underline; /* optional */
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #94A3B8;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-glance-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 85px;
    left: 0; right: 0;
    background: var(--color-bg-card);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .hero-tag {
    border-radius: 12px;
    padding: 0.5rem 1rem;
    text-align: center;
    justify-content: center;
  }
  .hero-title {
    font-size: clamp(1.55rem, 5.2vw, 2.1rem);
    line-height: 1.25;
    overflow-wrap: normal;
    hyphens: none;
  }
  .hero-grid .hero-title {
    font-size: clamp(1.75rem, 5.8vw, 2.35rem);
  }
  .job-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.6rem;
  }
  .job-meta span {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Privacy Policy */
.privacy-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.privacy-list li {
  margin-bottom: 0.35rem;
}


/* ========================================
   404 ERROR PAGE
   ======================================== */

.error-page {
  width: 100%;
  min-height: calc(100vh - 250px);

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

  padding: 6rem 1.5rem;

  background: var(--color-bg-body);
}

.error-page > .container {
  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;
  padding: 0;

  display: flex;
  justify-content: center;
}

.error-content {
  width: 100%;
  max-width: 720px;

  margin: 0 auto;
  padding: 0;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ========================================
   404 Zahl
   ======================================== */

.error-number {
  display: block;

  width: 100%;

  margin: 0 0 1.5rem;
  padding: 0;

  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 0.85;
  font-weight: 800;
  letter-spacing: -0.06em;

  color: var(--color-accent-blue);

  text-align: center;
}


/* ========================================
   Kleiner Text über der Überschrift
   ======================================== */

.error-tag {
  display: block;

  width: 100%;

  margin: 0 0 1rem;
  padding: 0;

  color: var(--color-accent-blue);

  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  text-align: center;
}


/* ========================================
   Überschrift
   ======================================== */

.error-title {
  display: block;

  width: 100%;
  max-width: 100%;

  margin: 0 0 1rem;
  padding: 0;

  color: var(--color-primary-dark);

  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;

  text-align: center;
}


/* ========================================
   Beschreibung
   ======================================== */

.error-text {
  display: block;

  width: 100%;
  max-width: 560px;

  margin: 0 auto 2.5rem;
  padding: 0;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;

  text-align: center;
}


/* ========================================
   Button-Bereich
   ======================================== */

.error-actions {
  width: 100%;

  display: flex;
  flex-direction: row;

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

  flex-wrap: wrap;

  gap: 1rem;

  margin: 0 auto;
  padding: 0;

  text-align: center;
}


/* ========================================
   Button
   ======================================== */

/*
   Wichtig:
   Kein "padding: 0" hier!
   Dadurch bleibt das normale .btn-primary
   Styling inklusive Größe erhalten.
*/

.error-actions .btn-primary {
  display: inline-flex;

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

  width: auto;
  min-width: 180px;

  margin: 0;
  padding: 0.9rem 1.8rem;

  box-sizing: border-box;

  text-align: center;

  float: none;
  position: static;
  transform: none;
}


/* Hover nicht durch error-page überschreiben */

.error-actions .btn-primary:hover {
  transform: translateY(-2px);
}


/* ========================================
   Mobile
   ======================================== */

@media (max-width: 768px) {

  .error-page {
    min-height: calc(100vh - 200px);
    padding: 4rem 1.25rem;
  }

  .error-page > .container {
    max-width: 100%;
  }

  .error-content {
    max-width: 100%;
  }

  .error-number {
    font-size: clamp(5rem, 25vw, 9rem);
  }

  .error-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .error-text {
    max-width: 100%;
    font-size: 1rem;
  }

  .error-actions {
    width: 100%;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 0.75rem;
  }

  .error-actions .btn-primary {
    width: auto;
    min-width: 180px;
  }
}
