.app-section,
.container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.container,
.cookie-inner,
.nav {
  max-width: var(--container-width);
}
@font-face {
  font-family: "Amazon Ember", sans-serif;
  src: url("/assets/fonts/amazon-ember/Amazon_Ember_V2.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
:root {
  --color-navigation-bar: #000000;
  --color-footer-bar: #000000;
  --color-navigation-links: rgb(196, 95, 0);
  --color-navigation-links-hover: rgb(209, 106, 10);
  --color-primary: #bb5415;
  --color-secondary: #d15f18;
  --color-promo-card: black;
  --color-normal-card: black;
  --color-bg: #fff;
  --color-surface: #fff;
  --color-text: #222;
  --color-muted: #777;
  --font-main: "Amazon Ember", sans-serif;
  --font-color-primary: #222;
  --font-size-small: 0.9rem;
  --font-size-base: 18px;
  --font-size-md: 1.2rem;
  --font-size-lg: 2.5rem;
  --font-size-xxlg: 4rem;
  --container-width: 1400px;
  --section-padding: 5rem 2rem;
  --nav-height: 78px;
  --transition-fast: 0.25s ease;
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --z-mobile-menu: 1001;
  --z-header: 1000;
  --z-footer: 900;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  background: var(--color-bg);
  color: var(--color-text);
}
.app,
.app-main {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.app-header,
.app-header-distancer {
  align-items: center;
  background: var(--color-navigation-bar);
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
  width: 100%;
}
.container {
  margin: 0 20px;
  width: 100%;
  display: grid;
  gap: 2rem;
}
hr {
  border: none;
  height: 2px;
  width: 90dvw;
  margin: 2rem auto;
  background: linear-gradient(to right, transparent, #454444, transparent);
}
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  z-index: var(--z-header);
  box-shadow: #666 0 3px 20px 9px;
}
.app-header-distancer {
  position: relative;
  height: 120px;
  display: flex;
  z-index: 0;
}
.mobile-nav-section,
.nav__mobile-menu {
  z-index: var(--z-mobile-menu);
  position: absolute;
}
.app-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}
.nav {
  width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tel-btn-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.2rem;
  padding: 10px;
  background-color: rgb(0, 0, 0);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #f7a253;
}
.tel-btn-nav a {
  justify-content: flex-start;
  align-items: end;
  padding: 0px;
  margin: 0px;
  border: none;
  min-width: 40px;
}
.tel-btn-nav a:hover {
  border: none !important;
}
.tel-btn-nav:hover {
  color: var(--color-secondary);
  box-shadow: inset 0 0 0 1px #f07502; /* inner border */
}
.nav__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  margin-left: 20px;
}
.nav__logo img {
  height: 90px;
  display: block;
}
.nav__logo h1 {
  font-size: 28px;
  font-weight: 600;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
}
.nav__dropdown-btn,
.nav__links a {
  text-decoration: none;
  color: var(--color-navigation-links);
  font-weight: 500;
  font-size: 1rem;
  background: 0 0;
  min-width: 110px;
  text-align: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  height: 50%;
  transition: color var(--transition-fast);
}
.footer-grid h3,
.footer-links a {
  font-size: var(--font-size-small);
}
.nav__dropdown-menu,
.nav__mobile-menu {
  background: var(--color-navigation-bar);
}
.nav__dropdown-btn:hover,
.nav__links a:hover {
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.nav__dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
  border-radius: 6px;
}
.nav__dropdown-menu a {
  padding: 0.7rem 1.5rem;
  width: 100%;
}
.nav__dropdown-menu a:hover {
  color: #1e1e1e;
  background: var(--color-navigation-links-hover);
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}
.nav__hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 2px;
}
.mobile-nav-section {
  top: 25px;
  right: 0;
}
.nav__mobile-menu {
  display: none;
  top: var(--nav-height);
  right: 0;
  width: 100dvw;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
}
.nav__mobile-dropdown .nav__dropdown-menu {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0.5rem 0;
}
.nav__mobile-dropdown.active .nav__dropdown-menu {
  display: flex;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding-left: 0.5rem;
}
.app-section {
  position: relative;
  padding: var(--section-padding) 0;
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  scroll-margin-top: var(--nav-height);
  transition:
    opacity var(--transition-smooth),
    transform var(--transition-smooth);
}
.container.hero-grid {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 24px;
}
.contact-option {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.contact-option img {
  width: 30px;
  height: 30px;
}
.app-footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background: var(--color-footer-bar);
  color: #fff;
  padding: 10px !important;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  z-index: var(--z-footer);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
.footer-grid h3 {
  margin-bottom: 0.5rem;
}
.footer-section.company-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-links li {
  padding-top: 5px;
}
.footer-links a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  text-decoration: none;
  margin-left: 5px;
}
.footer-links a:hover {
  color: var(--color-secondary);
}
.app-footer.visible {
  transform: translateY(0);
}
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 10px;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}
.cookie-banner.show {
  bottom: 0;
}
.cookie-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.cookie-text h3 {
  margin-bottom: 10px;
}
.cookie-text p {
  font-size: 0.8rem;
  opacity: 0.9;
}
.cookie-text a {
  color: #fff;
}
.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner button {
  transition: background var(--transition-fast);
  padding: 0.8rem 1.5rem;
  font-size: 14px;
}
.btn-light {
  background: #fff;
  color: var(--color-primary);
  padding: 1rem 2rem;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.cookie-modal.show {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  width: 500px;
  max-width: 95%;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.cookie-option {
  margin-bottom: 1.5rem;
}
.cookie-option p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.3rem;
}
.cookie-modal-actions {
  text-align: right;
}
.mobile-footer {
  display: none;
}
.container.impressum-container {
  height: calc(100vh - var(--nav-height));
  margin: var(--nav-height) auto;
  display: block;
  overflow-y: scroll;
  grid-template-columns: none;
}
.impressum-container {
  margin: 0 auto;
  display: block;
}
.impressum-container h1 {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 0.8rem;
}
.impressum-container h2 {
  font-size: 1.4rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.impressum-container h3 {
  font-size: 1.1rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-weight: 600;
}
.impressum-container p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}
.impressum-container ul {
  margin: 1rem 0 1.5rem 1.5rem;
}
.impressum-container li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--color-text);
}
.impressum-container a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.impressum-container h2:not(:first-of-type) {
  border-top: 1px solid #e5e5e5;
  padding-top: 2rem;
}
@media (max-width: 1350px) {
  .container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .app-section,
  .container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .app-header,
  .container,
  .nav {
    max-width: 100%;
  }
  .app-section {
    justify-content: center;
    align-items: center;
  }
  .app-header-distancer,
  .desktop-footer,
  .nav__links {
    display: none;
  }
  .container {
    margin: 0 auto;
    padding: 0 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .nav {
    justify-content: space-between;
    padding: 0;
  }
  .nav__hamburger {
    display: flex;
    margin-right: 1rem;
  }
  .nav__mobile-menu {
    display: none;
    flex-direction: column;
  }
  .nav__mobile-menu.show {
    display: flex;
    position: relative;
  }
  .nav__mobile-menu.show a {
    font-size: 1rem;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    transition: background var(--transition-fast);
  }
  .nav__dropdown-btn,
  .nav__links a {
    min-width: 0;
  }
  .nav__logo img {
    height: 70px;
  }
  .nav__logo h1 {
    font-size: 1.5rem;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1rem;
  }
  .footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .mobile-footer {
    display: block;
  }
  .app-footer {
    position: relative;
    transform: translateY(0);
    padding: 2rem 1rem;
    width: 100%;
    background: var(--color-primary);
    color: #fff;
  }
  .footer-mobile-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .footer-mobile-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .footer-mobile-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-mobile-section li {
    margin-bottom: 0.5rem;
  }
  .footer-mobile-section a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
  }
  .company-info p,
  .container.impressum-container p {
    font-size: 0.9rem;
  }
  .footer-mobile-section a:hover {
    color: var(--color-secondary);
  }
  .footer-section.company-info {
    width: 100%;
    background-color: #181818;
    padding: 3px;
    border-radius: 4px;
  }
  .company-info p {
    margin: 0;
  }
  .footer-credits {
    font-size: 0.7rem !important;
  }
  .container.impressum-container {
    margin-top: var(--nav-height);
  }
}
