/* CSS-Variablen für einzigartige Anpassung */
:root {
  --primary-color: 89, 65, 169;
  --primary: rgb(var(--primary-color));
  --secondary: #11151f;
  --accent: #e63946;
  --accent-alt: #00b4d8;
  --success: #0cce6b;
  --info: #7209b7;
  --warning: #ff9e00;
  --danger: #d90429;
  --light: #f0f4f8;
  --dark: #0a0a1a;

  --font-main: 'Montserrat', 'Segoe UI', -apple-system, sans-serif;
  --navbar-bg: rgba(16, 17, 31, 0.92);
  --navbar-link: var(--light);
  --navbar-link-active: var(--accent);
  --hover: rgba(var(--primary-color), 0.85);
  --hero-bg: linear-gradient(135deg, rgba(10, 10, 26, 0.95), rgba(17, 21, 31, 0.9));
  --hero-title: var(--light);
  --hero-text: rgba(240, 244, 248, 0.95);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--info));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-alt));
  --gradient-dark: linear-gradient(135deg, rgba(10, 10, 26, 0.98), rgba(17, 21, 31, 0.95));
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.18), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(var(--primary-color), 0.3), 0 0 6px rgba(var(--primary-color), 0.2);
  --shadow-glow-accent: 0 0 20px rgba(230, 57, 70, 0.25), 0 0 6px rgba(230, 57, 70, 0.15);
}

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

body,
input,
button,
textarea,
select {
  font-family: 'Montserrat', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'ss03', 'salt', 'cv01', 'cv02';
  line-height: 1.7;
  color: var(--secondary);
  background-color: var(--light);
  transition: all 0.3s ease;
}

::selection {
  background-color: rgba(var(--primary-color), 0.3);
  color: var(--light);
}

.navbar-custom {
  background: var(--navbar-bg);
  backdrop-filter: blur(15px);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(137, 65, 169, 0.2);
  box-shadow: 0 4px 15px -1px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 100;
}

.navbar-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 101;
}

.navbar-custom .navbar-brand {
  font-weight: 800;
  color: var(--light);
  font-size: 1.65rem;
  letter-spacing: -0.025em;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(var(--primary-color), 0.6);
  position: relative;
}

.navbar-custom .navbar-brand:hover {
  color: var(--accent);
  transform: translateY(-1px);
  text-shadow: 0 0 15px rgba(230, 57, 70, 0.7);
}

.navbar-custom .navbar-nav .nav-link {
  color: var(--navbar-link);
  font-weight: 600;
  margin: 0 1.2rem;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.navbar-custom .navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 50%;
  background: var(--gradient-accent);
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: var(--shadow-glow-accent);
  opacity: 0;
}

.navbar-custom .navbar-nav .nav-link.active:after,
.navbar-custom .navbar-nav .nav-link:hover:after {
  width: 100%;
  opacity: 1;
}

.navbar-custom .navbar-nav .nav-link.active,
.navbar-custom .navbar-nav .nav-link:hover {
  color: var(--navbar-link-active);
  text-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
}

.btn-contact {
  background: var(--gradient-accent);
  color: var(--light);
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85rem 2.75rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: none;
  box-shadow: var(--shadow-glow-accent);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.btn-contact:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-contact:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-contact:hover:before {
  left: 100%;
}

.btn-contact:hover:after {
  opacity: 1;
}

.btn-contact:hover {
  background: linear-gradient(135deg, var(--accent-alt), var(--accent));
  color: var(--light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow-accent), 0 10px 20px -5px rgba(230, 57, 70, 0.4);
}

/* Центрирование навигации и кнопки */
.navbar-custom .navbar-nav {
  flex-direction: row;
}
@media (max-width: 991.98px) {
  .navbar-custom .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-custom .btn-contact {
    width: 100%;
  }
}

.hero-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--hero-bg);
  text-align: center;
  color: var(--hero-text);
  font-family: var(--font-main);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(114, 9, 183, 0.4) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(230, 57, 70, 0.35) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235941a9' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  opacity: 0.9;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 3;
  box-shadow: var(--shadow-glow-accent);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .hero-title {
  color: var(--hero-title);
  font-size: 3.75rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 30%, #b8c1ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(137, 65, 169, 0.5);
  position: relative;
  display: inline-block;
}

.hero-section .hero-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  box-shadow: var(--shadow-glow-accent);
}

.hero-section .hero-desc {
  font-size: 1.4rem;
  margin-bottom: 3.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-section .row {
  margin-top: 2rem;
}

.hero-section .row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(10, 10, 26, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(137, 65, 169, 0.2);
  margin: 0 10px;
}

.hero-section .row > div:hover {
  transform: translateY(-8px);
  background: rgba(10, 10, 26, 0.5);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: var(--shadow-glow-accent);
}

.hero-section [class*="icofont-"] {
  background: rgba(230, 57, 70, 0.15);
  border: 2px solid rgba(230, 57, 70, 0.3);
  border-radius: 50%;
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  color: var(--light);
  font-size: 2.8rem !important;
  box-shadow: var(--shadow-glow-accent);
  position: relative;
  z-index: 1;
}

.hero-section [class*="icofont-"]::before {
  position: relative;
  z-index: 2;
}

.hero-section [class*="icofont-"]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-accent);
  opacity: 0.1;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.hero-section .row > div:hover [class*="icofont-"] {
  transform: scale(1.15) rotate(5deg);
  border-color: rgba(230, 57, 70, 0.6);
}

.hero-section .row > div:hover [class*="icofont-"]::after {
  opacity: 0.3;
}

.hero-section .row > div div:last-child {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--light);
  margin-top: 0.5rem;
}

.btn-custom {
  background: var(--primary);
  color: var(--light);
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.5rem 2rem;
  border: none;
  transition: background 0.2s;
}
.btn-custom:hover {
  background: var(--hover);
  color: var(--light);
}

/* Informationsbereich */
.section-info {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  background: 
    linear-gradient(135deg, rgba(10, 10, 26, 0.98), rgba(17, 21, 31, 0.97)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235941a9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-info-row {
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(137, 65, 169, 0.2);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transform: perspective(1000px) rotateY(0deg);
  transition: transform 0.5s ease;
}

.section-info-row:hover {
  transform: perspective(1000px) rotateY(2deg);
}

.section-info-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 10;
}

.section-info-bg {
  background: var(--gradient-primary);
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.section-info-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>%23grid)"/></svg>css__2523grid)"/></svg>%23grid)"/></svg>'),
    radial-gradient(circle at 70% 30%, rgba(230, 57, 70, 0.25) 0%, transparent 50%);
  opacity: 0.5;
}

.section-info-bg > * {
  position: relative;
  z-index: 1;
}

.section-info-bg h2 {
  position: relative;
  display: inline-block;
}

.section-info-bg h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: var(--shadow-glow-accent);
}

.section-info-text {
  font-size: 1.15rem;
  color: rgba(248, 250, 252, 0.95);
  max-width: 520px;
  margin: 2rem auto 0;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Tarifbereich */
.section-plans {
  background: var(--gradient-dark);
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.section-plans::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(114, 9, 183, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(230, 57, 70, 0.15) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%235941a9' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.section-plans .container {
  position: relative;
  z-index: 1;
}

.section-plans .row {
  margin-top: 2rem;
}

.plan-card {
  background: linear-gradient(135deg, rgba(27, 31, 52, 0.8), rgba(10, 10, 26, 0.9));
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  padding: 3.5rem 2.8rem 1.2rem 2.8rem;
  border: 1px solid rgba(137, 65, 169, 0.25);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  box-shadow: var(--shadow-glow-accent);
}

.plan-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: radial-gradient(ellipse at bottom, rgba(137, 65, 169, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.plan-card:hover {
  box-shadow: 0 40px 80px -15px rgba(137, 65, 169, 0.4);
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(230, 57, 70, 0.4);
  z-index: 2;
}

.plan-card:hover::after {
  opacity: 1;
}

.plan-card:nth-child(2) {
  transform: scale(1.05);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: var(--shadow-glow-accent);
  z-index: 1;
}

.plan-card:nth-child(2)::before {
  height: 6px;
}

.plan-card:nth-child(2):hover {
  transform: scale(1.08) translateY(-8px);
}

.plan-card h4 {
  font-weight: 800;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.plan-card h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.plan-price {
  background: linear-gradient(135deg, rgba(240, 244, 248, 0.95), rgba(226, 232, 240, 0.85));
  color: var(--secondary);
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: 0 0 20px 20px;
  padding: 1.8rem 0;
  text-align: center;
  margin: 0 -2.8rem -1.2rem -2.8rem;
  border-top: 1px solid rgba(137, 65, 169, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.plan-card:hover .plan-price {
  background: linear-gradient(135deg, rgba(240, 244, 248, 0.98), rgba(226, 232, 240, 0.9));
  color: var(--secondary);
}
@media (max-width: 991.98px) {
  .section-info-row {
    flex-direction: column !important;
  }
  .section-info-bg {
    border-radius: 0 0 18px 18px !important;
  }
}

.about-section {
  background: #f6fafd;
  border-bottom: 3px solid var(--primary);
}

.mission-section {
  background: var(--primary);
}

.section-apart {
  background: #f6fafd;
}

.section-work {
  background: #f6fafd;
}

.apart-box {
  background: var(--primary);
  border: 3px solid #222;
}

.apart-box img {
  width: 240px;
  height: 180px;
  object-fit: cover;
  background: #fff;
  padding: 12px;
}

/* Philosophiebereich */
.section-editorial {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}
.section-editorial:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
}
.section-editorial-row {
  min-height: 380px;
  position: relative;
  z-index: 1;
}
.editorial-card {
  box-shadow: var(--shadow-xl);
  font-size: 1.15rem;
  line-height: 1.7;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.2);
  transition: all 0.3s ease;
}
.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.25);
}
.editorial-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

/* Vernetzungsbereich */
.section-connected {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.connected-card {
  border: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.connected-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.connected-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(37, 99, 235, 0.3);
}
.connected-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}
.connected-img img {
  max-width: 240px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s ease;
}
.connected-card:hover .connected-img img {
  transform: scale(1.05);
}
@media (max-width: 991.98px) {
  .section-editorial-row {
    flex-direction: column !important;
  }
  .editorial-card {
    margin-bottom: 1.5rem;
  }
  .connected-card {
    flex-direction: column !important;
    text-align: center;
  }
}

/* Kontaktbereich */
.section-contacts {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}
.section-contacts:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.section-contacts .container {
  position: relative;
  z-index: 1;
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem auto;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.2);
}
.contact-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}
.contact-icon span {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.section-contacts .fw-bold {
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.3s ease;
}
.section-contacts .col-md-4:hover .fw-bold {
  color: var(--primary);
}

/* Футер */
.footer-main {
  background: var(--gradient-dark);
  border-top: 1px solid rgba(137, 65, 169, 0.2);
  font-size: 0.95rem;
  position: relative;
  color: rgba(240, 244, 248, 0.85);
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  box-shadow: var(--shadow-glow-accent);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(240, 244, 248, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0.3rem 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
  opacity: 0;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-links a:hover::after {
  width: 100%;
  opacity: 1;
}

.footer-links svg {
  transition: transform 0.3s ease;
}

.footer-links a:hover svg {
  transform: scale(1.2);
  color: var(--accent);
}

.footer-contact {
  color: rgba(240, 244, 248, 0.9);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.footer-contact:hover {
  color: var(--accent);
  transform: translateX(-2px);
}

.footer-contact svg {
  transition: transform 0.3s ease;
}

.footer-contact:hover svg {
  transform: scale(1.2) rotate(-5deg);
  color: var(--accent);
}

.footer-logo {
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}

.footer-logo svg {
  transition: transform 0.3s ease;
}

.footer-logo:hover svg {
  transform: rotate(10deg);
}
@media (max-width: 991.98px) {
  .footer-main .row > div {
    text-align: center !important;
  }
  .footer-main .footer-contact {
    justify-content: center;
  }
}

/* Terms & Conditions Section */
.terms-section {
  background: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  padding: 60px 0 40px 0;
}
.terms-container {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
}
.terms-title {
  text-align: center;
  font-weight: 700;
  color: #222;
  font-size: 2rem;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
  word-break: break-word;
}
.terms-list {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.7;
  padding-left: 18px;
}
.terms-list li {
  margin-bottom: 18px;
}
.terms-contacts {
  margin-top: 12px;
}
.terms-contact {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.terms-contact i {
  margin-right: 7px;
}

/* --- Контакты и форма --- */
.contact-main-section {
  background: #f7f8fa;
}
.contact-main-section .bg-white {
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(34, 34, 34, 0.07);
}
.contact-main-section h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contact-main-section .form-control {
  background: #fff;
  border: none;
  box-shadow: 0 1px 6px 0 rgba(34, 34, 34, 0.04);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.contact-main-section .form-control:focus {
  border: 1.5px solid var(--primary);
  box-shadow: 0 2px 8px 0 rgba(30, 198, 182, 0.1);
}
.contact-main-section .form-control-lg {
  min-height: 52px;
}
.contact-main-section .rounded-pill {
  border-radius: 2rem !important;
}
.contact-main-section .btn-dark {
  background: #111;
  color: #fff;
  border-radius: 0.7rem;
  font-size: 1.1rem;
  padding: 0.7rem 0;
  transition: background 0.2s;
}
.contact-main-section .btn-dark:hover {
  background: var(--primary);
  color: #fff;
}
.contact-main-section .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.contact-main-section .form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.1em;
}
.contact-main-section .form-check-label {
  user-select: none;
}
@media (max-width: 991.98px) {
  .contact-main-section .row {
    flex-direction: column !important;
  }
  .contact-main-section .col-lg-5,
  .contact-main-section .col-lg-7 {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .contact-main-section .bg-white,
  .contact-main-section .p-4 {
    border-radius: 12px !important;
  }
}

.contact-row {
  min-height: 60vh;
}
.contact-info-box {
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(34, 34, 34, 0.07);
}
.contact-title {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 2rem;
}
.contact-desc {
  font-size: 1.13rem;
}
.contact-address,
.contact-phone,
.contact-email {
  font-size: 1.08rem;
}
.contact-form-box {
  background: #a7d8d3;
  border-radius: 12px;
  min-height: 100%;
  box-shadow: 0 2px 16px 0 rgba(34, 34, 34, 0.07);
}
.contact-form-desc {
  font-size: 1.08rem;
}
.contact-policy-text {
  font-size: 0.95rem;
}
.contact-policy-link {
  color: #e67e22;
  text-decoration: underline;
}
.contact-terms-link {
  color: #3498db;
  text-decoration: underline;
}
