/* ===== WÜRTH Corporate Design System ===== */

.wrapper_inner .left_block{display:none !important;}
.wrapper_inner .right_block{padding: 0 !important;}

:root {
  /* Brand Colors */
  --wuerth-red: #cc0000;
  --wuerth-red-dark: #a30000;
  --wuerth-red-light: #ff1a1a;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* 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), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

/* ===== Reset & Base ===== */
#navigation {display: none !important;}

h2 {
    all: revert;
    box-sizing: border-box !important;
}

.main *:not(.card-title) {font-family: 'wuerthbook' !important;}

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



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

body {
  font-family: 'wuerthbook' , 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif !important;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

/* ===== Container ===== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===== Header ===== */

.header {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--wuerth-red);
}

.header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(204, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.logo {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--wuerth-red);
}

.logo-country {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
}

@media (min-width: 640px) {
  .page-title {
    font-size: 1.75rem;
  }
}

/* ===== Main Content ===== */

.main {
  flex: 1;
  padding: 0 0 var(--space-3xl);
}

/* ===== Contacts Grid ===== */

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Contact Card ===== */

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.contact-card--primary {
  border: 2px solid var(--wuerth-red);
}

.contact-card--primary .card-header {
  background: linear-gradient(135deg, var(--wuerth-red) 0%, var(--wuerth-red-dark) 100%);
}

.contact-card--primary .card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.contact-card--primary .card-title {
  color: var(--white);
}

.contact-card--wide {
  grid-column: 1 / -1;
}

/* Card Header */

.card-header {
  max-height: 120px;
  min-height: 120px;
  background: var(--gray-900);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--wuerth-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.card-title {
  font-family:Wuerthbold;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* Card Body */

.card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  flex: 1;
}

/* Address */

.address {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.6;

}

/* Schedule */

.schedule {
  background: var(--gray-50);
  border-radius: var(--radius-md);

}

.schedule-label {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.schedule-times {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.schedule-time {
  font-size: 18px;
  color: var(--gray-700);
  font-weight: 500;
}

.schedule-break {
  font-size: 18px;
  color: var(--gray-500);
}

.schedule-weekend {
  font-size: 18px;
  color: var(--wuerth-red);
  font-weight: 500;
}

/* Contact Groups */

.contact-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Contact Links */

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 18px;
  color: var(--gray-700);
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
}

.contact-link:hover {
  color: var(--wuerth-red);
}

.contact-link svg {
  color: var(--wuerth-red);
  flex-shrink: 0;
}

.contact-link--phone:hover svg,
.contact-link--email:hover svg,
.contact-link--gps:hover svg {
  transform: scale(1.1);
  transition: transform var(--transition-fast);
}

.contact-note {
  font-size: 18px;
  color: var(--gray-500);
  font-weight: 400;
}

/* Departments */

.department {
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-200);
}

.department-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--wuerth-red);
  margin-bottom: var(--space-sm);
}

/* Requisites */

.requisites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .requisites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.requisite-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--wuerth-red);
}

.requisite-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.requisite-value {
  font-size: 18px;
  color: var(--gray-800);
  line-height: 1.5;
  word-break: break-word;
}

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

.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-lg) 0;
  margin-top: auto;
}

.footer-text {
  text-align: center;
  font-size: 18px;
}

/* ===== Print Styles ===== */

@media print {
  .header {
    background: var(--white);
    color: var(--black);
    border-bottom: 2px solid var(--wuerth-red);
  }
  
  .header::before,
  .header::after {
    display: none;
  }
  
  .logo-text {
    color: var(--wuerth-red);
  }
  
  .page-title,
  .card-title {
    color: var(--black);
  }
  
  .card-header {
    background: var(--gray-100);
  }
  
  .contact-card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
    break-inside: avoid;
  }
  
  .contact-card:hover {
    transform: none;
  }
  
  .footer {
    background: var(--white);
    border-top: 1px solid var(--gray-300);
  }
}
