/* ============================================================
   HOTZ ABFLUSS SERVICE – Design System
   Farbschema: Blau (#2B5EA7) / Schwarz / Weiß
   ============================================================ */

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

/* --- CSS Variables / Design Tokens --- */
:root {
  --color-primary: #2B5EA7;
  --color-primary-dark: #1E4A8A;
  --color-primary-light: #3A7BD5;
  --color-accent: #00B4D8;
  --color-accent-light: #48CAE4;
  --color-dark: #1A1A1A;
  --color-dark-soft: #2D2D2D;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #888888;
  --color-border: #E2E8F0;
  --color-bg-light: #F5F7FA;
  --color-bg-white: #FFFFFF;
  --color-cta-red: #CC0000;
  --color-cta-red-hover: #A30000;
  --color-success: #10B981;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--color-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: #fff;
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--color-accent-light);
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.top-bar-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #aaa;
}

/* --- Header / Navbar --- */
.header {
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

/* Footer logo */
.footer-brand .logo img {
  height: 48px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  transition: all var(--transition);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
  background: rgba(43, 94, 167, 0.06);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: 11px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
}

.nav-dropdown-menu a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-dark) 0%, #0d1b2a 60%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  mask-image: linear-gradient(to left, rgba(0,0,0,1), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), transparent);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
  color: var(--color-primary);
}

.hero h1 span {
  color: var(--color-primary-light);
}

.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: #333333; /* Dunkleres Grau für bessere Kontraste */
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8899aa;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .check {
  color: var(--color-success);
  font-weight: 700;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(43, 94, 167, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 94, 167, 0.4);
}

.btn-cta {
  background: var(--color-cta-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(204, 0, 0, 0.35);
  animation: pulse-subtle 2.5s infinite;
}

.btn-cta:hover {
  background: var(--color-cta-red-hover);
  color: #fff;
  transform: translateY(-2px);
}

@keyframes pulse-subtle {
  0%, 100% { box-shadow: 0 4px 14px rgba(204, 0, 0, 0.35); }
  50% { box-shadow: 0 4px 24px rgba(204, 0, 0, 0.55); }
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* --- Section --- */
.section {
  padding: 80px 0;
}

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

.section-dark {
  background: linear-gradient(135deg, var(--color-dark) 0%, #0d1b2a 100%);
  color: #fff;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 640px;
}

.section-dark .section-subtitle {
  color: #8899aa;
}

.section-center {
  text-align: center;
}

.section-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.trust-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.trust-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.trust-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.trust-item p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Partner / Verband Logos --- */
.partner-logos {
  padding: 30px 0;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.partner-title {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.partner-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.partner-grid img {
  max-height: 55px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.partner-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.service-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.service-card .service-icon-overlay {
  position: absolute;
  top: 176px; /* Positioned half-way over the image boundary (200px - 24px) */
  left: 24px;
  z-index: 10;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
}

.service-card-body {
  padding: 32px 24px 24px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.service-card-link:hover {
  gap: 10px;
}

/* --- Advantages / USPs --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.advantage-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.advantage-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.advantage-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-primary);
}

.advantage-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.advantage-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- Emergency Banner --- */
.emergency-banner {
  background: linear-gradient(135deg, #CC0000 0%, #8B0000 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emergency-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 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='%23ffffff' 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");
}

.emergency-banner .container {
  position: relative;
  z-index: 2;
}

.emergency-banner h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.emergency-banner p {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.emergency-phone {
  font-size: 36px;
  font-weight: 900;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.emergency-phone a {
  color: #fff;
  text-decoration: none;
}

.emergency-phone a:hover {
  text-decoration: underline;
  color: #fff;
}

/* --- Region Tags --- */
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.region-tag {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}

.region-tag:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 0 -40px 0;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  color: #c8d6e5;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .contact-info {
  margin-top: 20px;
  font-size: 14px;
  color: #8899aa;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: #aaa;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  color: #888;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: #888;
  font-size: 14px;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--color-accent-light);
}

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

.footer-bottom a {
  color: #888;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --- Page Header / Breadcrumb --- */
.page-header {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 48px 0 52px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 16px;
  color: #8899aa;
}

.breadcrumb a {
  color: #8899aa;
}

.breadcrumb a:hover {
  color: var(--color-accent-light);
}

.breadcrumb .separator {
  color: #556677;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
}

.page-header p {
  font-size: 16px;
  color: #c8d6e5;
  margin-top: 12px;
  max-width: 640px;
}

/* --- Content Layout --- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.content-main h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 32px 0 12px;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 24px 0 8px;
}

.content-main p {
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

.content-main ul {
  margin-bottom: 16px;
  padding-left: 0;
}

.content-main ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.content-image {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.content-image img {
  width: 100%;
  display: block;
}

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.sidebar-nav a {
  display: block;
  padding: 10px 14px;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--color-bg-light);
  color: var(--color-primary);
  padding-left: 18px;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
  text-align: center;
}

.sidebar-cta h3 {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.sidebar-cta .phone {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--color-text);
  transition: border-color var(--transition);
  background: var(--color-bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-text {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    padding: 24px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 18px;
    padding: 12px 24px;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 0;
    background: transparent;
  }

  .nav-dropdown > a::after {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--color-dark);
    display: none;
  }

  .nav.open .mobile-close {
    display: block;
  }

  .header-phone {
    display: none;
  }

  .top-bar-badges {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-section {
    padding: 40px 24px;
    border-radius: var(--radius-md);
  }

  .emergency-phone {
    font-size: 28px;
  }

  .page-header h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-items {
    grid-template-columns: 1fr;
  }
}
