/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts */
body {
  font-family: "Open Sans", sans-serif;
  background: #f7f9fc;
  color: #2e3a59;
  line-height: 1.6;
  font-size: 16px;
}

/* Container */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: #0b3d91;
  padding: 1rem 0;
  color: white;
  box-shadow: 0 3px 10px rgba(11, 61, 145, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-container {
  flex: 0 0 auto;
}

.logo {
  max-height: 50px;
  width: auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}

.brand-text {
  flex-grow: 1;
  min-width: 200px;
  padding-left: 1rem;
}

.brand-text h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.1rem;
  color: #ffffff;
}

.brand-text .slogan {
  font-size: 0.95rem;
  color: #d0d9ff;
  font-style: italic;
}

/* Navigation */
nav {
  flex: 0 0 auto;
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav a:focus {
  background-color: #ffb800;
  color: #0b3d91;
  outline: none;
}

/* Hero */
.hero {
  background: url("https://benz24.de/wp-content/uploads/2020/03/baustoffe-hero.jpg")
    no-repeat center/cover;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0b3d91;
  text-shadow: 0 0 12px rgba(214, 188, 188, 0.7);
  padding: 2rem 1.5rem;
  margin-bottom: 3rem;
}

.hero-content {
  max-width: 900px;
}

.hero-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-section {
  background: #ffffff;
  padding: 4rem 2rem;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(11, 61, 145, 0.1);
  margin-bottom: 4rem;
}

.about-header h2 {
  font-size: 2.6rem;
  text-align: center;
  color: #0b3d91;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 2rem;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 55%;
  font-size: 1.15rem;
  color: #2e3a59;
  line-height: 1.7;
  font-weight: 500;
}

.about-text h3 {
  color: #0b3d91;
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-family: "Montserrat", sans-serif;
}

.about-text ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.about-text li {
  margin-bottom: 0.6rem;
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}

.about-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffb800;
  font-weight: bold;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: inline-block;
}

.about-image img:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

#agb_h1 {
  text-align: center;
  font-size: 2.5em;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    flex-direction: column;
  }

  .about-image {
    order: -1;
  }
}

/* Products Section */
.products-section .content-block {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  gap: 2.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(11, 61, 145, 0.12);
  padding: 2rem 2.5rem;
  transition: transform 0.3s ease;
}

.products-section .content-block:hover {
  transform: translateY(-6px);
}

.content-block.image-left img {
  order: 0;
}

.content-block.image-left .text {
  order: 1;
}

.content-block.image-right img {
  order: 1;
}

.content-block.image-right .text {
  order: 0;
}

.content-block img {
  width: 280px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(11, 61, 145, 0.14);
  transition: transform 0.3s ease;
}

.content-block img:hover {
  transform: scale(1.07);
}

.content-block .text {
  width: 55%;
}

.content-block h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: #0b3d91;
}

.content-block p {
  font-size: 1.15rem;
  color: #4a5a7a;
  line-height: 1.5;
}

/* Info Sections */
.info-sections {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.info-block {
  background: #0b3d91;
  color: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  flex: 1 1 420px;
  box-shadow: 0 12px 35px rgba(11, 61, 145, 0.3);
  transition: background-color 0.3s ease;
}

.info-block:hover {
  background-color: #ffb800;
  color: #0b3d91;
}

.info-block h2 {
  margin-bottom: 1.6rem;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

.info-block ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 500;
}

.info-block li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 1.2rem;
  transition: color 0.3s ease;
}

.info-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffb800;
  font-weight: 900;
  font-size: 1.4rem;
  top: -2px;
  transition: color 0.3s ease;
}

.info-block p {
  font-size: 1.15rem;
  margin-bottom: 1.3rem;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  background: #e9f0ff;
  padding: 3rem 1.5rem;
  margin-bottom: 3rem;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(11, 61, 145, 0.15);
  text-align: center;
  transition: background-color 0.3s ease;
}

.contact-section:hover {
  background-color: #d4e0ff;
}

.contact-section h2 {
  font-family: "Montserrat", sans-serif;
  color: #0b3d91;
  font-size: 2.4rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.contact-info p {
  font-size: 1.25rem;
  color: #2e3a59;
  margin: 0.4rem 0;
  font-weight: 600;
}

.contact-info a {
  color: #0b3d91;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-info a:hover,
.contact-info a:focus {
  color: #ffb800;
  outline: none;
}

/* Footer */
footer {
  background: #071a3d;
  color: #bbb;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 6px rgba(255, 255, 255, 0.12);
}

footer a {
  color: #ffb800;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #fff;
  outline: none;
}

@media (max-width: 900px) {
  .header-inner {
    justify-content: center;
    text-align: center;
    gap: 0.7rem;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .products-section .content-block {
    flex-direction: column;
  }

  .content-block img,
  .content-block .text {
    width: 100%;
  }

  .content-block img {
    margin-bottom: 1.3rem;
  }

  .info-sections {
    flex-direction: column;
  }
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: "Open Sans", sans-serif;
}

.contact-form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  border-color: #0056b3;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 86, 179, 0.4);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  align-self: flex-start;
  background-color: #0056b3;
  color: white;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: #004080;
  outline: none;
}

/* Responsive tweak */
@media (max-width: 480px) {
  .contact-form button {
    width: 100%;
    text-align: center;
  }
}

.welcome-section {
  margin: 3rem auto;
  padding: 2rem 1rem;
  background-color: #f8f9fb;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.welcome-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.welcome-text {
  flex: 1;
  min-width: 300px;
  font-family: "Open Sans", sans-serif;
  color: #333;
}

.welcome-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #003366;
}

.welcome-text .highlight {
  color: #0073e6;
}

.welcome-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.welcome-image {
  flex: 1;
  min-width: 300px;
}

.welcome-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-button,
.catalog-button {
  padding: 0.75rem 1.5rem;
  background-color: #0054e6;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover,
.catalog-button:hover {
  background-color: #3e80f3;
}
/* FAQ Section */
.faq-section {
  margin-bottom: 4rem;
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(11, 61, 145, 0.1);
}

.faq-section h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  color: #0b3d91;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-item h3 {
  font-size: 1.3rem;
  color: #0056b3;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 1.1rem;
  color: #2e3a59;
  line-height: 1.6;
}

/* Legal Section */
.legal-section {
  background: #f3f7ff;
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(11, 61, 145, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.legal-block h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  color: #0b3d91;
  margin-bottom: 1rem;
}

.legal-block p {
  font-size: 1.05rem;
  color: #2e3a59;
  line-height: 1.6;
}

.legal-block a {
  color: #0056b3;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-block a:hover,
.legal-block a:focus {
  color: #ffb800;
}

@media (max-width: 600px) {
  .faq-section,
  .legal-section {
    padding: 2rem 1rem;
  }

  .legal-block h2 {
    font-size: 1.5rem;
  }
}
.faq-section {
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(11, 61, 145, 0.1);
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.faq-title {
  font-size: 2.6rem;
  color: #0b3d91;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 2.5rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8faff;
  border-left: 6px solid #ffb800;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(11, 61, 145, 0.05);
}

.faq-question {
  font-size: 1.5rem;
  color: #003366;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0.8rem;
}

.faq-answer {
  font-size: 1.1rem;
  color: #4a5a7a;
  line-height: 1.7;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  opacity: 0.85;
}

/* Main Section Styling */
.main-section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
  font-family: "Open Sans", sans-serif;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
}

/* Headings */
.main-section h1,
.main-section h2,
.main-section h3 {
  font-family: "Montserrat", sans-serif;
  color: #004b87;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Paragraphs */
.main-section p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Lists */
.main-section ul,
.main-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 20px;
}

.main-section li {
  margin-bottom: 10px;
}

.main-section a {
  color: #004b87;
  text-decoration: underline;
}

.main-section a:hover {
  color: #ffcc00;
}

.notice {
  background-color: #f7f9fc;
  border-left: 4px solid #004b87;
  padding: 10px 15px;
  margin: 30px 0;
  color: #333;
  font-style: italic;
}

/* Map Section */
.map-section {
  background-color: #f0f4f8;
  padding: 50px 20px;
  text-align: center;
}

.map-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2e3a59;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border: 4px solid #dfe6ee;
  border-radius: 12px;
  overflow: hidden;
}

.floating-download-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: rgb(255, 255, 255);
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  animation: blink 1.5s ease-in-out infinite;
  transition: background-color 0.3s, transform 0.2s;
  font-family: "Open Sans", sans-serif;
}

.floating-download-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.floating-download-btn:active {
  transform: scale(0.95);
  background-color: #5298e3;
}

/*LOGIN BUTTON*/
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 10px;
}

nav .login-btn.standout {
  padding: 12px 26px;
  background: #ffffff;
  color: #0056b3;
  font-weight: bold;
  border-radius: 40px;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 87, 179, 0.1);
  margin-left: 25px;
  transition: all 0.3s ease;
  border: 2px solid #0056b3;
}

nav .login-btn.standout:hover,
nav .login-btn.standout:active {
  background: linear-gradient(135deg, #fbb40d, #f99b0d);
  color: white;
  border: 2px solid #f99b0d;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(251, 180, 13, 0.4);
}

nav a {
  margin-left: 10px;
}

.form-status {
  margin-top: 20px;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
