/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(13, 41, 155);
  background-image: url('images/background.png');
  background-repeat: repeat;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  min-height: 100vh;
}

a {
  color: #003399;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

pre {
  white-space: pre-wrap;
}

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

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

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

.w-100 {
  width: 100%;
}

/* ===== MAIN CONTAINER ===== */
.site-wrapper {
  width: 920px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* ===== EMOTION HEADER ===== */
.emotion-header {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 462px;
}

.emotion-header .slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.emotion-header .slideshow img {
  width: 920px;
  height: 462px;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.emotion-header .slideshow img.active {
  opacity: 1;
}

/* ===== MOBILE NAV ===== */
#diyfeMobileNav {
  -webkit-text-size-adjust: 100%;
  position: relative;
  z-index: 99;
  top: 0;
  left: 0;
  display: none;
  overflow: auto;
  background-color: #123888;
}

#diyfeMobileNav>a {
  display: none;
}

#diyfeMobileNav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#diyfeMobileNav li {
  /* border-bottom: 1px solid; */
  position: relative;
}

@media only screen and (max-width: 767px) {
  .main-nav {
    display: none;
  }

  #diyfeMobileNav {
    display: block;
  }

  #diyfeMobileNav .mainNav1 {
    display: none;
    background-color: #fff;
  }

  #diyfeMobileNav.open .mainNav1 {
    display: block;
  }

  #diyfeMobileNav .mainNav1 li a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #6e94e3;
    background-color: #123988;
    font-family: Arial, sans-serif;
    /* font-weight: bold; */
  }

  #diyfeMobileNav .mainNav1 li a.current {
    background-color: #10202a;
    color: #cad7df;
  }

  #diyfeMobileNav .mainNav1 li a:hover {
    background-color: #f0f0f0;
    text-decoration: none;
  }

  #diyfeMobileNav>a {
    height: 43px;
    text-align: left;
    text-indent: -9999px;
    margin: 5px;
    padding: 0;
    position: relative;
    cursor: pointer;
    display: block;
    text-decoration: none;
  }

  #diyfeMobileNav>a:before {
    top: 0;
    left: 0;
    width: 43px;
    text-indent: 0;
    text-align: center;
    position: absolute;
    text-decoration: none;
    font-family: Arial !important;
    content: "≡";
    font-size: 36px;
    line-height: 44px;
    -webkit-transform: scale(1.5, 1);
    -moz-transform: scale(1.5, 1);
    -ms-transform: scale(1.5, 1);
    -o-transform: scale(1.5, 1);
    transform: scale(1.5, 1);
    cursor: pointer;
    color: #e7ebf3;
  }
}

/* ===== HEADER TITLE ===== */
.header-title {
  bottom: 0;
  left: 50%;
  position: absolute;
  width: 100%;
  background-color: transparent;
  padding: 12px 20px;
  text-align: center;
  /* font-family: 'Lucida Handwriting', 'Brush Script MT', cursive; */
  font-family: 'Comic Sans MS', cursive;
  font-weight: 600;
  font-size: clamp(6px, .9vw, 17px);
  font-style: italic;
  color: #000000;
  transform: translate(-50%, 0);
}

/* ===== NAVIGATION ===== */
.main-nav {
  background-color: #123888;
  border-bottom: 2px solid #0d1b3e;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.main-nav ul li {
  position: relative;
}

.main-nav ul li a {
  display: block;
  padding: 1em 1em 1.075em;
  margin: 0.5em 0.2em;
  border-radius: 5px;
  color: #c0c8e0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav ul li a:hover {
  background: #00000033;
}

.main-nav ul li a.active {
  background-color: #10202a;
  color: #cad7df;
  text-decoration: none;
}

/* ===== CONTENT AREA ===== */
.content-area {
  display: flex;
  min-height: 500px;
  background-color: #f5f5f5;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 250px;
  min-width: 250px;
  padding: 20px 15px;
  background-color: #f0f0f0;
  border-right: 1px solid #ddd;
  font-size: 13px;
  text-align: center;
}

.sidebar h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  margin-bottom: 18px;
  font-weight: bold;
}

.sidebar p {
  margin-bottom: 18px;
  line-height: 1.5;
  font-size: 14px;
}

.sidebar a {
  color: #003399;
}

.sidebar .contact-info {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
}

.sidebar .fett-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  /* border-bottom: 1px solid #ccc; */
}

.sidebar .fett-section img {
  margin: 10px auto;
  display: block;
  max-width: 120px;
  mix-blend-mode: darken;
}

.sidebar .fett-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  margin: 20px 0 0px;
}

.sidebar .fett-subtitle {
  font-weight: bold;
  color: #000000;
  font-size: 20px;
}

/* .sidebar .brochure-section {
  text-align: start;
} */

.sidebar .brochure-section img {
  display: block;
  /* margin: 10px auto; */
  margin-bottom: 10px;
  max-width: 160px;
  border: 1px solid #ccc;
}

.sidebar .hours-section h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
  text-align: start;
}

.sidebar .hours-section p {
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
  text-align: start;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  padding: 25px 30px;
  background-color: #fff;
}

.main-content h1 {
  font-family: Arial, Helvetica, sans-serif;
  /* font-size: 22px; */
  color: #333;
  margin-bottom: 20px;
  /* font-style: italic; */
  /* text-align: center; */
}

.main-content h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
}

.main-content p {
  margin-bottom: 15px;
  line-height: 1.5;
  /* text-align: justify; */
}

.main-content .content-image {
  text-align: center;
  margin: 25px 0;
}

.main-content .content-image img {
  max-width: 100%;
}

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

.main-content ul li {
  padding-block: 2px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #1a2a5e;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #c0c8e0;
  border-top: 2px solid #0d1540;
}

.footer a {
  color: #c0c8e0;
  text-decoration: none;
  margin-right: 10px;
}

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

.footer .footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer .footer-left img {
  width: 16px;
  height: 16px;
}

.footer .copyright {
  margin-top: 3px;
}

/* ===== KONTAKT FORM ===== */
.contact-form {
  margin-top: 20px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #333;
  margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  background-color: #fafafa;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .required {
  color: #cc0000;
}

.contact-form button {
  background-color: #1a2a5e;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-form button:hover {
  background-color: #0d1540;
}

.contact-form .form-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* ===== ANFAHRT ===== */
.map-container {
  margin: 20px 0;
  text-align: center;
}

.map-container iframe {
  width: 100%;
  max-width: 558px;
  height: 400px;
  border: 1px solid #ccc;
}

/* ===== IMPRESSUM ===== */
.impressum-content h2 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.impressum-content p {
  font-size: 13px;
}

/* ===== GROSSHANDEL ===== */
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.product-list .col {
  width: 50%;
  padding-right: 15px;
}

.product-list ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.product-list ul li {
  margin-bottom: 4px;
  line-height: 1.5;
}

/* ===== FETTENTSORGUNG ===== */
.fett-page-title {
  color: #cc0000 !important;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE (minimal, original is fixed-width) ===== */
@media (max-width: 960px) {
  .site-wrapper {
    width: 100%;
  }

  .content-area {
    flex-direction: column-reverse;
  }

  .sidebar {
    width: 100%;
    min-width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .emotion-header {
    height: auto;
  }

  .emotion-header .slideshow {
    display: grid;
  }

  .emotion-header .slideshow img {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    position: static;
  }
}