/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-white: #FFFFFF;
  --bg-light: #FAFBFC;
  --bg-gray: #F5F7FA;
  --bg-overlay: rgba(255, 255, 255, 0.95);
  --text-dark: #0A0E27;
  --text-gray: #4A5568;
  --text-light-gray: #718096;
  --accent-color: #3B82F6;
  --accent-secondary: #8B5CF6;
  --border-color: rgba(203, 213, 225, 0.4);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --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);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.47059;
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  height: 100vh;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(203, 213, 225, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 213, 225, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Gradient Canvas Background */
#gradient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.75;
  display: block;
}

/* hVerify Banner */
.hverify-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  font-size: 14px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hverify-banner:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hverify-text {
  font-weight: 400;
  letter-spacing: 0.3px;
}

.hverify-text strong {
  font-weight: 700;
}

.hverify-arrow {
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.hverify-banner:hover .hverify-arrow {
  transform: translateX(4px);
}

/* Navigation */
nav {
  position: fixed;
  top: 44px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
  height: 44px;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
}

.logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  transition: opacity 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

.logo:hover {
  opacity: 0.7;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  height: 44px;
  align-items: center;
}

.nav-links a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #0066cc;
  transition: width 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
  border-radius: 1px;
}

.nav-links a:hover {
  color: #0066cc;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #0066cc;
  font-weight: 500;
}

.nav-links a.active::after {
  width: 100%;
}

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

/* Language Switcher */
.language-switcher {
  cursor: pointer;
  height: 44px;
  border: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  gap: 0.25rem;
  padding: 0 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
}

.language-switcher:hover {
  opacity: 0.7;
}

.language-switcher .material-icons {
  font-size: 1.125rem;
  color: #1d1d1f;
}

.language-switcher span:not(.material-icons) {
  font-size: 0.75rem;
  font-weight: 400;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: opacity 0.3s ease;
}

.mobile-menu-toggle:hover {
  opacity: 0.7;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
  border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Section Styles */
section {
  min-height: 100vh;
  height: 100vh;
  padding: 5.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

section:first-of-type {
  padding-top: 7rem;
}

/* Impressum/Imprint page section - disable snap scrolling */
#impressum-page {
  height: auto;
  min-height: 100vh;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  padding-top: 8rem;
}

.section-content {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero Section */
#hero {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: left;
  z-index: 1;
  position: relative;
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--accent-color);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-dark);
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text-gray);
  max-width: 720px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
  color: var(--bg-white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: var(--transition);
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

/* About Section */
#about {
  background: linear-gradient(180deg, rgba(250, 251, 252, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-dark);
  position: relative;
  line-height: 1.1;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.about-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
  border-radius: 24px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 102, 204, 0.3) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  border: 1px solid rgba(0, 102, 204, 0.2);
}

.about-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066cc 0%, #0055ff 100%);
  border-radius: 18px;
  margin-bottom: 2rem;
  color: white;
  box-shadow:
    0 8px 20px rgba(0, 102, 204, 0.25),
    0 2px 6px rgba(0, 102, 204, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.about-card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow:
    0 12px 30px rgba(0, 102, 204, 0.4),
    0 4px 12px rgba(0, 102, 204, 0.2),
    inset 0 -2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.025em;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.about-card:hover h3 {
  color: #0066cc;
}

.about-card p {
  color: #86868b;
  line-height: 1.6;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.about-card:hover p {
  color: #6e6e73;
}

/* Services Section */
#services {
  background: var(--bg-white);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 968px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

.service-item {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 1.5rem 1.75rem;
  border: 0.5px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: visible;
  letter-spacing: -0.009em;
}

.service-item::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  height: 0%;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-color), var(--accent-secondary));
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 2px 2px 0;
}

.service-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
  pointer-events: none;
}

.service-item:hover::before {
  height: 60%;
}

.service-item:hover::after {
  opacity: 1;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.01);
  border: 0.5px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-radius: 10px;
  color: var(--accent-color);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.service-item:hover .service-icon {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
  color: white;
  transform: scale(0.96);
}

/* Contact Section */
#contact {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  max-width: 900px;
}

.contact-intro {
  font-size: 1.0625rem;
  line-height: var(--line-height);
  color: var(--text-gray);
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 3rem;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 3rem;
  border: 0.5px solid rgba(0, 0, 0, 0.04);
  position: relative;
  transition: all 0.35s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.contact-form:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 0.5px solid rgba(59, 130, 246, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.008em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.28, 0.11, 0.32, 1);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

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

.contact-form .cta-button {
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-block {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.28, 0.11, 0.32, 1);
  border: 0.5px solid rgba(0, 0, 0, 0.04);
}

.contact-block:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 0.5px solid rgba(59, 130, 246, 0.1);
  transform: scale(1.015);
}

.contact-block:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 0.6875rem;
  color: var(--text-gray);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.8;
}

.contact-info {
  font-size: 1.0625rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: var(--line-height);
}

.contact-info a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.2s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.contact-info a:hover {
  opacity: 0.7;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-light-gray);
  font-style: italic;
}

/* Footer */
footer {
  background: linear-gradient(180deg, rgba(250, 251, 252, 0.6) 0%, rgba(245, 247, 250, 0.8) 100%);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 3rem 0 2rem;
  color: #6e6e73;
  font-size: 0.8125rem;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  position: relative;
  scroll-snap-align: end;
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
  padding: 0 22px;
}

.footer-section h4 {
  color: #1d1d1f;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #6e6e73;
  font-size: 0.8125rem;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  transition: color 0.2s ease;
}

.footer-section a {
  color: #0066cc;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 400;
  position: relative;
}

.footer-section a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  margin-top: 1.5rem;
  color: #86868b;
  font-size: 0.75rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

/* Modal (Impressum) */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal:target {
  display: block;
}

.modal-content {
  background-color: var(--bg-white);
  margin: 5% auto;
  padding: 3rem;
  border-radius: 16px;
  max-width: 800px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 2rem;
  top: 2rem;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-weight: 700;
}

.impressum-content h3 {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.impressum-content h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.impressum-content p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.impressum-content a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

.impressum-content a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
  html {
    scroll-snap-type: none;
  }

  body {
    height: auto;
  }

  section {
    height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .hverify-banner {
    padding: 8px 16px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .hverify-text {
    font-size: 0.8rem;
  }

  .hverify-arrow {
    font-size: 1rem;
  }

  nav {
    height: 48px;
    top: 40px;
  }

  .nav-container {
    padding: 0 16px;
    height: 48px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 88px);
    background: rgba(251, 251, 253, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 0;
    gap: 0;
    transition: left 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.04);
  }

  .nav-links a {
    display: flex;
    justify-content: center;
    padding: 1.25rem;
    font-size: 0.875rem;
    height: auto;
  }

  .logo {
    font-size: 1.15rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .about-card {
    padding: 2rem;
  }

  .service-item {
    padding: 1.5rem;
    font-size: 1rem;
    flex-direction: row;
    gap: 1rem;
  }

  .service-icon {
    font-size: 1.75rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .contact-info {
    font-size: 1rem;
  }

  .contact-form {
    padding: 2rem;
    border-radius: 16px;
  }

  .contact-block {
    padding: 1.75rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hverify-banner {
    padding: 6px 12px;
    font-size: 0.7rem;
    gap: 6px;
  }

  .hverify-text {
    font-size: 0.7rem;
  }

  .hverify-text strong {
    display: block;
  }

  .hverify-arrow {
    font-size: 0.9rem;
  }

  nav {
    padding: 1rem 1.5rem;
    top: 32px;
  }

  .logo {
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .about-card h3 {
    font-size: 1.1rem;
  }

  .service-item {
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .service-icon {
    font-size: 1.5rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  .language-switcher {
    width: 28px;
    height: 28px;
  }

  .contact-form {
    padding: 1.75rem;
    border-radius: 14px;
  }

  .contact-block {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .contact-intro {
    font-size: 1rem;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notification Animations */
@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Toast notification styles */
.toast-notification {
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toast-notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Mobile responsive toast */
@media (max-width: 768px) {
  .toast-notification {
    right: 15px !important;
    left: 15px !important;
    min-width: auto !important;
    max-width: none !important;
  }

  @keyframes slideInRight {
    from {
      transform: translateY(-100px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes slideOutRight {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(-100px);
      opacity: 0;
    }
  }
}
