@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root{
  --elwet-blue: #1f4598;
  --elwet-blue-dark: #16377d;
  --elwet-blue-soft: #eaf0ff;
  --elwet-text: #1a1f2b;
  --elwet-muted: #5e677b;
  --elwet-line: #d8dfeb;
  --elwet-bg: #f4f6fa;
  --elwet-white: #ffffff;
  --elwet-shadow: 0 20px 60px rgba(19, 41, 82, 0.10);
  --elwet-radius: 22px;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--elwet-text);
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef2f8 100%);
}

h1, h2, h3, h4{
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--elwet-blue);
  margin-bottom: 1rem;
}

h1{
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  max-width: 14ch;
}

h2{
  font-size: clamp(1.9rem, 2.5vw, 2.8rem);
}

h3{
  font-size: 1.6rem;
}

h4{
  font-size: 1.2rem;
  font-weight: 500;
}

p{
  margin-bottom: 1.2rem;
  color: var(--elwet-muted);
  max-width: 60ch;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: var(--elwet-blue);
  text-decoration: none;
}

a:hover{
  color: var(--elwet-blue-dark);
}

.topbar-accent{
  height: 10px;
  background: var(--elwet-blue);
}

/* ===============================
   HEADER / NAVIGATION
=============================== */

.site-header{
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 69, 152, 0.08);
  box-shadow: 0 8px 24px rgba(12, 31, 74, 0.06);
}

.navbar{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand{
  display: inline-block;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.navbar-brand img{
  transition: transform 0.25s ease;
}

.navbar-brand:hover{
  opacity: 0.85;
}

.navbar-brand:hover img{
  transform: scale(1.04);
}

.navbar-brand img{
  width: 220px;
}

.nav-fullwidth{
  padding-left: 2rem;
  padding-right: 2rem;
}

.navbar-nav{
  gap: 0.35rem;
}

.navbar .nav-link{
  color: #4f5b70;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1rem !important;
  border-radius: 0;
  background: transparent;

  transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: var(--elwet-blue);
  transform: translateY(-2px);
}

.navbar .nav-link.active{
  color: var(--elwet-blue);
}

.dropdown-menu{
  border: 1px solid rgba(31, 69, 152, 0.08);
  border-radius: 18px;
  box-shadow: var(--elwet-shadow);
  padding: 0.75rem;
}

.dropdown-item{
  border-radius: 0;
  padding: 0.7rem 0.9rem;
  background: transparent;
  color: #4f5b70;

  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus{
  background: transparent;
  color: var(--elwet-blue);
  transform: translateX(4px); /* leichter Move nach rechts */
}

.dropdown-item.active{
  background: transparent;
  color: var(--elwet-blue);
}

/* Altbestand, falls noch vorhanden */
.header-contact{
  display: flex;
  gap: 1rem;
}

.header-contact-item{
  min-width: 145px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(31, 69, 152, 0.10);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.header-contact-item strong{
  display: block;
  margin-bottom: 0.2rem;
  color: var(--elwet-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header-contact-item a{
  font-weight: 700;
  color: var(--elwet-blue);
}

/* ===============================
   GLOBAL SECTIONS
=============================== */

.section-space{
  padding: 5rem 0;
}

.section-kicker,
.hero-kicker{
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--elwet-blue);
}

/* ===============================
   HERO
=============================== */

.hero{
  padding: 0;
}

.hero-fullwidth{
  width: 100%;
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef2f8 100%);
}

.hero-panel{
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero-content h1{
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--elwet-blue);
  margin-bottom: 1.25rem;
  max-width: 13ch;
}

.hero-content p{
  font-size: 1.15rem;
  color: var(--elwet-muted);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-image-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
  overflow: hidden;
}

.hero-image{
  display: block;
}

.hero-image-portrait{
  display: block;
  width: 100%;
  max-width: 360px;
  height: 640px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(16, 35, 72, 0.22);

  transform: scale(1.01);
}

/* ===============================
   INTRO / CONTENT
=============================== */

.section-intro{
  max-width: 760px;
  margin-left: auto;.intro-section.section-space{
  padding-bottom: 2rem;
}
  margin-right: auto;
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro h2{
  margin-left: auto;
  margin-right: auto;
  max-width: 20ch;
}

.section-intro p{
  margin-left: auto;
  margin-right: auto;
  max-width: 55ch;
}

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.intro-section.section-space{
  padding-bottom: 1rem;
}

.section-head-text{
  max-width: 32rem;
  margin: 0;
}

.content-panel{
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid rgba(31, 69, 152, 0.08);
  border-radius: 30px;
  box-shadow: var(--elwet-shadow);
  padding: clamp(2rem, 3vw, 3.2rem);
}

.content-panel p{
  margin-bottom: 1.35rem;
  max-width: 85ch;
}

/* ===============================
   PRODUKTE (EDITORIAL STYLE)
=============================== */

#produkte{
  scroll-margin-top: 120px;
}

.products-intro{
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.products-intro h2{
  margin-bottom: 0.8rem;
}

.products-intro p{
  font-size: 1.1rem;
  max-width: 40rem;
}

.products-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-item{
  display: flex;
  flex-direction: column;
}

.product-item-image{
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 1.2rem;
}

.product-item-image img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-item:hover .product-item-image img{
  transform: scale(1.04);
}

.product-item-content h3{
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
  line-height: 1.15;
}

.product-item-content p{
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: none;
}

.product-link{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--elwet-blue);
  transition: color 0.2s ease;
}

.product-link::after{
  content: "→";
  transition: transform 0.2s ease;
}

.product-link:hover::after{
  transform: translateX(4px);
}

/* Alte Produktkarten deaktiviert, falls noch Alt-HTML existiert */
.product-card{
  background: var(--elwet-white);
  border: 1px solid rgba(31, 69, 152, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--elwet-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(18, 40, 84, 0.14);
}

.product-card-image-link{
  display: block;
  overflow: hidden;
}

.product-card-image{
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image{
  transform: scale(1.04);
}

.product-card-body{
  padding: 2rem;
}

.product-card-body h3{
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
  line-height: 1.15;
}

.product-card-body h3 a{
  color: var(--elwet-blue);
}

.product-card-body p{
  font-size: 1rem;
  line-height: 1.7;
  color: var(--elwet-muted);
  margin-bottom: 1.5rem;
}

/* ===============================
   BUTTONS
=============================== */

.btn{
  border-radius: 999px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.35rem;
}

.btn-lg{
  padding: 1rem 1.6rem;
}

.btn-primary{
  background: var(--elwet-blue);
  border-color: var(--elwet-blue);
}

.btn-primary:hover,
.btn-primary:focus{
  background: var(--elwet-blue-dark);
  border-color: var(--elwet-blue-dark);
}

.btn-outline-primary{
  color: var(--elwet-blue);
  border-color: rgba(31, 69, 152, 0.22);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus{
  background: var(--elwet-blue-soft);
  color: var(--elwet-blue-dark);
  border-color: rgba(31, 69, 152, 0.22);
}

/* ===============================
   SUBPAGES
=============================== */

.page-hero{
  position: relative;
  overflow: hidden;
  background: #dfe5ef;
}

.page-hero img{
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
}

.breadcrumb-wrap{
  margin-bottom: 1.5rem;
}

.breadcrumb{
  margin: 0;
  padding: 0;
  background: transparent;
}

.breadcrumb-item,
.breadcrumb-item a{
  font-size: 0.98rem;
}

.product-detail-box{
  height: auto;
  padding: 2rem;
  background: #f8faff;
  border: 1px solid var(--elwet-line);
  border-radius: 24px;
}

.product-detail-box h2{
  font-size: 1.7rem;
  color: var(--elwet-blue);
  margin-bottom: 1.25rem;
}

.product-detail-box h2 i{
  margin-right: 0.4rem;
}

.product-list{
  margin: 0;
  padding-left: 1.2rem;
}

.product-list li{
  margin-bottom: 0.45rem;
}

/* ===============================
   FOOTER
=============================== */

.site-footer{
  margin-top: 3rem;
  background: linear-gradient(180deg, #23459c 0%, #1b3c8c 100%);
  color: rgba(255,255,255,0.92);
  padding: 5rem 0 2rem;
}

.site-footer p{
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.site-footer,
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer h2,
.site-footer h3,
.site-footer h4{
  color: rgba(255,255,255,0.92);
}

.site-footer a{
  color: #ffffff;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.site-footer a:hover{
  color: #ffffff;
  opacity: 0.82;
  text-decoration: none;
}

.footer-box{
  padding: 0;
  border: 0;
  background: none;
  backdrop-filter: none;
  height: 100%;
}

.footer-box h3{
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-box p{
  margin-bottom: 0;
  max-width: none;
  color: rgba(255,255,255,0.88);
}

.footer-list{
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
}

.footer-list li{
  margin-bottom: 0.45rem;
  color: rgba(255,255,255,0.88);
}

.footer-contact-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li{
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
}

.footer-contact-list i{
  font-size: 1rem;
  min-width: 18px;
  margin-top: 0.15rem;
  opacity: 0.88;
}

.footer-meta{
  margin-top: 3rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.footer-bottom{
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.92rem;
  opacity: 0.82;
}

.footer-legal{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: flex-end;
  align-items: center;
}

.footer-legal a{
  font-size: 0.92rem;
  opacity: 0.9;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (min-width: 1200px){
  .nav-fullwidth{
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero-image-portrait{
    max-width: 400px;
    height: 700px;
  }
}

@media (max-width: 1399.98px){
  .navbar-brand img{
    width: 190px;
  }

  .header-contact{
    display: none !important;
  }
}

@media (max-width: 1199.98px){
  .navbar .nav-link{
    border-radius: 14px;
  }

  .section-head{
    display: block;
  }

  .section-head-text{
    max-width: none;
    margin-top: 0.75rem;
  }
}

@media (max-width: 991.98px){
  .section-space{
    padding: 4rem 0;
  }

  .hero-fullwidth{
    padding: 3rem 0 2rem;
  }

  .hero-content h1{
    max-width: none;
  }

  .hero-image-wrap{
    padding-left: 0;
  }

  .hero-image-portrait{
    max-width: 100%;
    height: 480px;
  }

  .products-grid{
    grid-template-columns: 1fr 1fr;
  }

  .footer-box h3{
    font-size: 1.3rem;
  }

  .footer-meta{
    margin-top: 2.5rem;
  }

  .footer-legal{
    justify-content: flex-start;
    margin-top: 0.75rem;
  }
}

@media (max-width: 767.98px){
  body{
    font-size: 1rem;
  }

  h1{
    font-size: 2.2rem;
  }

  h2{
    font-size: 1.6rem;
  }

  h3{
    font-size: 1.3rem;
  }

  p{
    max-width: none;
  }

  .navbar-brand img{
    width: 168px;
  }

  .hero-fullwidth{
    padding: 2.5rem 0 1.5rem;
  }

  .hero-image-portrait{
    height: 340px;
  }

  .hero-content p,
  .section-intro p,
  .section-head-text,
  .products-intro p{
    font-size: 1rem;
  }

  .products-grid{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-item-image img{
    height: 220px;
  }

  .page-hero img{
    height: 220px;
  }

  .content-panel,
  .product-detail-box{
    border-radius: 20px;
  }

  .site-footer{
    margin-top: 2rem;
    padding: 3.5rem 0 1.75rem;
  }

  .footer-box{
    padding: 0;
  }

  .footer-box h3{
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }

  .footer-contact-list li{
    margin-bottom: 0.55rem;
  }

  .footer-meta{
    margin-top: 2rem;
    padding-top: 1.2rem;
  }
}

/* ===============================
   BACK TO TOP BUTTON
=============================== */

.back-to-top{
  position: fixed;
  bottom: 88px;
  right: 40px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(31, 69, 152, 0.25);
  border-radius: 50%;

  color: var(--elwet-blue);

  box-shadow: 0 10px 30px rgba(16, 35, 72, 0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.3s ease, transform 0.2s ease;

  z-index: 999;
}

.back-to-top i{
  font-size: 1.1rem;
}

/* sichtbar beim Scrollen */
.back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
.back-to-top:hover{
  background: #3a63d1; /* heller als Footer */
  color: #fff;
  border-color: var(--elwet-blue);
  transform: translateY(-3px);
}

@media (max-width: 767.98px){
  .back-to-top{
    bottom: 60px;
  }
}