/*
 * INVDR – Stylesheet
 * Übernommen aus dem Angular-Shop (styles.css + Komponenten-Styles).
 * Seitenspezifische Styles sind über die Klasse an <main> (z. B. .page-home) gekapselt.
 */

/* ===== Global ===== */
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-size: 16px;
  font-family: Roboto, "Helvetica Neue", sans-serif;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}

@font-face {
  font-family: "Energize";
  src: url("../fonts/Energize-Regular.otf") format("opentype");
  font-display: swap;
}
.special-text {
  font-family: "Energize", sans-serif;
}

.menu_line {
  background-color: #a1a2a0 !important;
  padding: 1px !important;
}

.headline {
  text-align: center;
  padding-top: 3%;
}

h1 {
  font-size: 4.5rem;
  color: #000;
}
li {
  list-style: none;
}
ul li a {
  font-weight: bold;
  text-decoration: none;
  color: #000;
  font-size: 1.5rem;
}
a:hover {
  cursor: pointer;
}

@media (max-width: 500px) {
  .special-text {
    font-size: 40px;
  }
}

/* ===== Header ===== */
header {
  position: relative;
  padding: 0 2rem;
}
.logo a img {
  width: 80% !important;
  height: 80% !important;
}
.links a {
  display: inline-block;
  transition: transform 0.3s ease;
}
.links a:hover {
  color: #000;
  transform: scale(1.1);
}
.navbar {
  width: 100%;
  height: 60px;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .links {
  display: flex;
  gap: 2rem;
  margin: 0;
}
.navbar .toggle_btn {
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}
/* Sprachauswahl: dezent, rechts abgesetzt, aktive Sprache unterstrichen */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.links .lang-switch {
  margin-left: -0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid #a1a2a0;
}
.lang-switch a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a8b89;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
}
.links .lang-switch a:hover {
  transform: none;
}
.lang-switch a:hover {
  color: #000;
}
.lang-switch a.active {
  color: #000;
  border-bottom-color: #000;
}
.dropdown_menu .lang-switch {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.toggle_btn .icon-close,
.toggle_btn.is-open .icon-open {
  display: none;
}
.toggle_btn.is-open .icon-close {
  display: inline;
}

.dropdown_menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 60px;
  height: 0;
  width: 300px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
}
.dropdown_menu.open {
  height: auto;
}
.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1290px) {
  .navbar .links {
    display: none;
  }
  .navbar .toggle_btn {
    display: block;
  }
  .dropdown_menu {
    display: block;
  }
}
@media (max-width: 576px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
}
@media only screen and (max-device-width: 768px) {
  .logo {
    width: 200px;
  }
}

/* ===== Footer ===== */
.site-footer.container-fluid {
  padding: 0;
  background-color: #000000;
}
.site-footer {
  background: #000000;
  min-height: 200px;
  /* body ist ein Flex-Container mit height: 100 % – ohne flex-shrink: 0 wird der
     Footer gestaucht und sein Inhalt ragt als weißer Streifen darunter heraus. */
  flex-shrink: 0;
}
.site-footer .footer_left {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer .footer_left img {
  padding-top: 20px;
  width: 288px;
}
.site-footer .footer_center {
  margin: auto;
  margin-top: 13.5px;
  padding: 12px;
}
.site-footer .footer_right {
  margin-top: 20px;
}
.site-footer .footer_center h3,
.site-footer .footer_right h3 {
  color: #fff;
  font-size: 36px;
  padding-top: 5px;
  padding-left: 25px;
}
.site-footer .footer_center h3 {
  text-align: center;
}
.site-footer .footer_right h3 {
  text-align: right;
}
.site-footer ul {
  list-style: none;
}
.site-footer .footer_center ul {
  text-align: center;
}
.site-footer .footer_right ul {
  text-align: right;
}
.site-footer ul li a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}
.site-footer ul li a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .site-footer .footer_center,
  .site-footer .footer_right {
    width: 50%;
    float: left;
    margin-top: 20px;
    box-sizing: border-box;
  }
  .site-footer .footer_right {
    padding-top: 12px;
    padding-left: 35px;
  }
  .site-footer .footer_center h3,
  .site-footer .footer_right h3,
  .site-footer .footer_center ul li,
  .site-footer .footer_right ul li {
    text-align: left;
  }
}
@media (max-width: 450px) {
  .site-footer .footer_center,
  .site-footer .footer_right {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
  }
  .site-footer .footer_right {
    padding-top: 0;
    padding-left: 12px;
  }
}

/* ===== Startseite ===== */
.page-home .home-img {
  width: 100%;
  height: auto;
}
.page-home .mobile-container {
  display: none;
}
.page-home .products-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  padding: 75px 50px 0;
}
.page-home .middle-header {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}
.page-home .middle-content .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.page-home .product-card {
  display: block;
  width: 600px;
  margin-bottom: 20px;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
.page-home .middle-header a {
  color: inherit;
  text-decoration: none;
}
.page-home .product-image img {
  width: 100%;
  height: auto;
}
.page-home .product-name {
  color: #000;
  padding: 10px;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}
.page-home .product-name:hover {
  transform: scale(1.1);
}
@media (max-width: 500px) {
  .page-home .mobile-container {
    display: flex;
  }
  .page-home .main-container {
    display: none;
  }
  .page-home .special-text {
    font-size: 48px;
  }
}

/* ===== Produkte ===== */
.page-products .products-text {
  text-align: center;
  padding-top: 5%;
  padding-bottom: 2%;
}
.page-products .products-text h1 {
  font-size: 72px;
}
.page-products .product-line {
  padding: 40px 0;
  border-top: 1px solid #e3e3e3;
  scroll-margin-top: 20px;
}
.page-products .product-line:first-of-type {
  border-top: none;
}
.page-products .product-line-header {
  text-align: center;
  margin-bottom: 30px;
}
.page-products .product-line-header h2 {
  font-size: 2.5rem;
  margin: 0;
}
.page-products .product-line-edition {
  margin: 6px 0 0;
  color: #8a8b89;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-products .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}
.page-products .product-tile {
  list-style: none;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.page-products .product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.page-products .product-tile-image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
}
.page-products .product-tile-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.page-products .product-tile:hover .product-tile-image img {
  transform: scale(1.05);
}
.page-products .product-tile-name {
  margin: 0;
  padding: 14px 12px;
  border-top: 1px solid #f1f1f1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Abstand zwischen letzter Produktlinie und Footer */
.page-products .product-line:last-of-type {
  padding-bottom: 80px;
}
@media (max-width: 576px) {
  .page-products .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .page-products .products-text h1 {
    font-size: 48px;
  }
  .page-products .product-line-header h2 {
    font-size: 1.8rem;
  }
  .page-products .product-tile-name {
    font-size: 0.75rem;
    padding: 10px 6px;
  }
}

/* ===== About ===== */
.page-about .container {
  min-height: 700px;
}
.page-about .about-text {
  text-align: center;
  padding-bottom: 3%;
}
.page-about .special-text {
  font-size: 72px;
}
.page-about h3 {
  padding-top: 5%;
}

/* ===== Socialmedia ===== */
.page-socialmedia .socialmedia-text {
  text-align: center;
  padding-bottom: 3%;
  padding-top: 5%;
}
.page-socialmedia .special-text {
  font-size: 72px;
}
.page-socialmedia .video-grid {
  padding-left: 5%;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
}
.page-socialmedia .video-list {
  width: 45%;
}
.page-socialmedia .content-column {
  flex-basis: 50%;
  max-width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.page-socialmedia .video-item {
  flex-direction: column;
  height: auto;
  margin-bottom: 20px;
  padding-left: 50px;
}
.page-socialmedia .video-item h5 {
  height: 50px;
  color: #af9a64;
}
.page-socialmedia .video-placeholder {
  width: 560px;
  max-width: 100%;
  height: 315px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}
.page-socialmedia .video-placeholder button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.page-socialmedia .video-placeholder button:hover {
  transform: scale(1.1);
}
.page-socialmedia .video-placeholder p {
  margin: 0;
  max-width: 380px;
}
.page-socialmedia .video-placeholder a {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 1450px) {
  .page-socialmedia .video-placeholder {
    margin: 0 auto;
  }
}
@media (max-width: 1450px) {
  .page-socialmedia .content-column {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
  }
  .page-socialmedia .video-grid {
    justify-content: center;
  }
  .page-socialmedia .video-list {
    width: 90%;
  }
  .page-socialmedia .video-item {
    text-align: center;
  }
}
@media (max-width: 700px) {
  .page-socialmedia .video-item {
    padding-left: 0;
  }
  .page-socialmedia .video-item iframe,
  .page-socialmedia .video-placeholder {
    width: 500px;
    height: 280px;
  }
  .page-socialmedia .video-item h5 {
    height: 75px;
  }
}
@media (max-width: 580px) {
  .page-socialmedia .video-grid {
    padding-left: 0;
  }
  .page-socialmedia .video-list {
    margin: 10px;
    width: 100%;
  }
  .page-socialmedia .video-item iframe,
  .page-socialmedia .video-placeholder {
    width: 400px;
    height: 225px;
  }
}
@media (max-width: 440px) {
  .page-socialmedia .content-column {
    margin: 0;
  }
  .page-socialmedia .video-item iframe,
  .page-socialmedia .video-placeholder {
    width: 100%;
  }
}

/* ===== Rechtstexte (Impressum, Datenschutz) ===== */
.page-legal .legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3% 0 80px;
  line-height: 1.6;
}
.page-legal .headline h1 {
  hyphens: auto;
  overflow-wrap: break-word;
}
.page-legal .legal-language-note {
  margin-top: 2rem;
  background: #f1f1f1;
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-style: italic;
}
.page-legal .legal-content h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 2.5rem;
}
.page-legal .legal-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 1.5rem;
}
.page-legal .legal-content ul li {
  list-style: disc;
}
.page-legal .legal-content a {
  color: #000;
  font-weight: bold;
}
.page-legal .legal-content .legal-date {
  margin-top: 3rem;
  color: #6c757d;
}

/* ===== Kontakt ===== */
.page-contact .container {
  min-height: 700px;
}
.page-contact .contact-text {
  text-align: center;
  padding-top: 5%;
  padding-bottom: 3%;
}
.page-contact .special-text {
  font-size: 72px;
}
.page-contact .contact-row {
  padding-bottom: 80px;
}
.page-contact .contact-info {
  margin-bottom: 30px;
}
.page-contact .contact-info h4,
.page-contact .contact-success h4 {
  font-weight: bold;
}
.page-contact .contact-info a,
.page-contact .contact-success a,
.page-contact .contact-privacy a {
  color: #000;
  font-weight: bold;
}
.page-contact .form-field {
  margin-bottom: 18px;
}
.page-contact .form-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}
.page-contact .form-field input,
.page-contact .form-field textarea {
  width: 100%;
  border: 0.5px solid #a1a2a0;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 1rem;
  font-family: inherit;
}
.page-contact .form-field input:focus,
.page-contact .form-field textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}
.page-contact .form-field .invalid {
  border-color: #c0392b;
}
.page-contact .field-error {
  display: block;
  color: #c0392b;
  font-size: 0.875rem;
  margin-top: 4px;
}
.page-contact .contact-error {
  background: #fdecea;
  border: 1px solid #c0392b;
  border-radius: 5px;
  color: #8e2a1f;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.page-contact .contact-success {
  background: #f1f1f1;
  border-radius: 5px;
  padding: 30px;
}
.page-contact .contact-privacy {
  font-size: 0.875rem;
  color: #555;
}
.page-contact .contact-submit {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}
.page-contact .contact-submit:hover {
  transform: scale(1.05);
}
.page-contact .contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== 404 ===== */
.page-404 .container {
  min-height: 500px;
  text-align: center;
}
