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

body {
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  line-height: 1.5;
  color: #333333;
  background-color: #ffffff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Dummy Banner Styles */
.dummy-banner {
  background: #d32f2f;
  color: white;
  padding: 8px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2000;
  font-size: 14px;
  font-weight: 500;
}

.dummy-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.dummy-icon {
  font-size: 16px;
}

.dummy-text {
  font-size: 14px;
}

/* Header Styles - BDK Bank Style */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 38px;
  /* Account for dummy banner */
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  min-height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.logo-text {
  font-size: 28px;
  font-weight: bold;
  color: #003d82;
  font-family: Arial, sans-serif;
}

.logo-subtitle {
  font-size: 16px;
  font-weight: normal;
  color: #666666;
}

.tagline {
  font-size: 14px;
  color: #666666;
  font-style: italic;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #333333;
  font-weight: normal;
  font-size: 16px;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #003d82;
}

/* Hero Section - BDK Bank Style */
.hero {
  background: #f8f9fa;
  padding: 60px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: bold;
  color: #003d82;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
}

.hero-text h2 {
  font-size: 32px;
  font-weight: normal;
  color: #333333;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #666666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  text-align: center;
}

.hero-visual {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #003d82 0%, #002a5c 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-visual-content {
  text-align: center;
  color: white;
}

.hero-icon {
  font-size: 64px;
  margin-bottom: 15px;
}

.hero-visual-text {
  font-size: 24px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  line-height: 1.3;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: normal;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.btn-primary {
  background: #003d82;
  color: white;
  border: 2px solid #003d82;
}

.btn-primary:hover {
  background: #002a5c;
  border-color: #002a5c;
}

.btn-secondary {
  background: transparent;
  color: #003d82;
  border: 2px solid #003d82;
}

.btn-secondary:hover {
  background: #003d82;
  color: white;
}

.btn-outline {
  background: transparent;
  color: #003d82;
  border: 1px solid #003d82;
  padding: 8px 16px;
  font-size: 14px;
}

.btn-outline:hover {
  background: #003d82;
  color: white;
}

/* Customer Categories Section - BDK Bank Style */
.customer-categories {
  padding: 80px 0;
  background: white;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.category-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: Arial, sans-serif;
}

.category-visual.privatkunden {
  background: linear-gradient(135deg, #003d82 0%, #002a5c 100%);
}

.category-visual.gewerbekunden {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.category-visual.handelspartner {
  background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.category-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.category-visual-text {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.category-content {
  padding: 30px;
}

.category-content h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
}

.category-content p {
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
}

.category-link {
  color: #003d82;
  text-decoration: none;
  font-weight: normal;
  font-size: 16px;
  transition: color 0.2s ease;
}

.category-link:hover {
  color: #002a5c;
  text-decoration: underline;
}

/* About Section - BDK Bank Style */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  text-align: left;
}

.about-text h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
}

.about-text h3 {
  font-size: 24px;
  font-weight: normal;
  color: #003d82;
  margin-bottom: 30px;
}

.about-text p {
  color: #666666;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.about-image {
  text-align: center;
}

.about-visual {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #003d82 0%, #002a5c 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-visual-content {
  text-align: center;
  color: white;
}

.about-icon {
  font-size: 64px;
  margin-bottom: 15px;
}

.about-visual-text {
  font-size: 20px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

/* Contact Section - BDK Bank Style */
.contact {
  padding: 80px 0;
  background: white;
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
}

.contact h3 {
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  color: #0066cc;
  margin-bottom: 15px;
}

.contact-intro {
  text-align: center;
  color: #666666;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h4,
.contact-categories h4 {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 25px;
  font-family: Arial, sans-serif;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 20px;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  color: #333333;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-item p {
  color: #666666;
  margin: 0;
  font-size: 16px;
}

.contact-category {
  background: #f8f9fa;
  padding: 20px;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  text-align: center;
}

.contact-category h5 {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 8px;
}

.contact-category p {
  color: #666666;
  margin-bottom: 15px;
  font-size: 14px;
}

/* Footer - BDK Bank Style */
.footer {
  background: #333333;
  color: #cccccc;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
  font-family: Arial, sans-serif;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: #cccccc;
  line-height: 1.5;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #555555;
  padding-top: 20px;
  text-align: center;
  color: #cccccc;
  font-size: 12px;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .dummy-banner {
    position: relative;
    top: 0;
  }

  .header {
    top: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text h2 {
    font-size: 24px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .category-image {
    height: 150px;
  }

  .category-content {
    padding: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }

  .nav-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

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

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text h2 {
    font-size: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .contact h2 {
    font-size: 28px;
  }

  .category-content {
    padding: 15px;
  }

  .customer-categories,
  .about,
  .contact {
    padding: 50px 0;
  }
}

/* Image Styles for WebP Support */
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* WebP fallback support for older browsers */
@supports not (background-image: url('image.webp')) {
  .hero-image img[src$=".webp"] {
    display: none;
  }

  .category-image img[src$=".webp"] {
    display: none;
  }

  .about-image img[src$=".webp"] {
    display: none;
  }

  .hero-visual,
  .category-visual,
  .about-visual {
    display: flex !important;
  }
}

/* Logo Image Styles */
.logo-image {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-logo {
  height: 35px;
  filter: brightness(0) invert(1);
  /* Makes logo white for dark footer */
}

.logo-text-fallback {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .logo-image {
    height: 35px;
    max-width: 100px;
  }

  .footer-logo {
    height: 30px;
  }
}

@media (max-width: 576px) {
  .logo-image {
    height: 30px;
    max-width: 90px;
  }

  .footer-logo {
    height: 25px;
  }
}

/* BDK Logo SVG Styles */
.logo-image {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-logo {
  height: 35px;
  /* Blue logo works well on dark footer background */
}

.logo-text-fallback {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

/* SVG logo specific styles */
.logo-image svg {
  height: 100%;
  width: auto;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .logo-image {
    height: 35px;
    max-width: 100px;
  }

  .footer-logo {
    height: 30px;
  }
}

@media (max-width: 576px) {
  .logo-image {
    height: 30px;
    max-width: 90px;
  }

  .footer-logo {
    height: 25px;
  }
}

/* Hero fallback image styles */
.hero-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Hero main image styles */
.hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Error message styling */
.hero-error {
  background: #f8d7da;
  color: #721c24;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}