/* TuğraPen – Kömmerling tarzı tema */
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: #474745;
  font-size: 1em;
  line-height: 1.5;
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: #0078c0; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, p, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }

.page-wrap { display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1; }

.wrap {
  width: 100%;
  max-width: 73.125em;
  margin: 0 auto;
  padding: 0 1.25em;
}
.main > .wrap { padding-top: 3.4em; }
.main > .wrap.penultimate { padding-bottom: 1em; }

h2 {
  color: #474745;
  margin-bottom: .88em;
  line-height: 1.4;
  font-size: 1.375em;
  font-weight: 700;
  text-transform: none;
}
h3 { font-size: 1em; font-weight: 700; margin: 1em 0 .4em; }
h4 { font-size: 1em; font-weight: 700; margin-bottom: .5em; }
p { margin-bottom: 1em; }
.content-inner ul { list-style: none; margin: 0 0 1em; }
.content-inner ul li, .accordion-body ul li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: .35em;
}
.content-inner ul li::before, .accordion-body ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #0078c0;
  font-weight: 700;
}
p.highlight { font-weight: 700; margin-bottom: .2em; }

/* ---------- Header ---------- */
.header-meta {
  min-height: 2.3125em;
  background: #fff;
  font-size: .8125em;
}
.header-meta .wrap { display: flex; align-items: center; min-height: 2.3125em; }
.nav-meta li a { color: #474745; display: inline-flex; align-items: center; gap: .4em; }
.globe-ico {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid #474745; display: inline-block; position: relative;
}
.globe-ico::before {
  content: ""; position: absolute; inset: 1px 4px;
  border-left: 1px solid #474745; border-right: 1px solid #474745; border-radius: 50%;
}
.header-main { background: #fff; position: relative; z-index: 90; }
.header-main .wrap { display: flex; align-items: center; gap: 2em; padding-top: .6em; padding-bottom: .9em; }
.header-main-brand .logo img { max-height: 56px; width: auto; display: block; }
.header-nav { display: flex; gap: 1.6em; flex: 1; justify-content: center; flex-wrap: wrap; }
.header-nav a { color: #474745; font-weight: 700; font-size: .95em; padding: .3em 0; border-bottom: 2px solid transparent; }
.header-nav a:hover, .header-nav a.active { color: #0078c0; border-bottom-color: #0078c0; text-decoration: none; }
.header-main-title { margin-left: auto; }
.header-main-title p { font-size: 1.05em; font-weight: 400; color: #474745; margin: 0; }

/* ---------- Hero ---------- */
.welcome-stage {
  position: relative;
  width: 100%;
  min-height: 36.25em;
  overflow: hidden;
  z-index: 1;
}
.welcome-images { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-slide.active { opacity: 1; }
.welcome-swoosh {
  position: absolute;
  left: -14%;
  bottom: -68%;
  width: 68%;
  padding-bottom: 68%;
  border-radius: 50%;
  border: 5.5em solid #f39200;
  z-index: 3;
  pointer-events: none;
}
.welcome-content { position: relative; z-index: 4; min-height: 36.25em; display: flex; align-items: center; }
.welcome-content .wrap { display: flex; justify-content: flex-end; width: 100%; }
.welcome-panel {
  background: #fff;
  width: 22em;
  max-width: 100%;
  padding: 1.6em 1.6em 1.2em;
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.news-slide { display: none; }
.news-slide.active { display: block; }
.news-slide h1, .news-slide h2 { font-size: 1.15em; font-weight: 700; margin-bottom: .8em; color: #474745; }
.news-slide p { font-size: .85em; margin-bottom: .8em; }
.pagination.news { display: flex; gap: .4em; margin-top: .6em; }
.pagination.news li a {
  display: block; width: 1.8em; height: 1.8em; line-height: 1.8em;
  text-align: center; font-size: .8em; font-weight: 700;
  color: #474745; background: #eee; border-radius: 2px;
}
.pagination.news li.slick-active a, .pagination.news li a:hover { background: #0078c0; color: #fff; text-decoration: none; }

/* ---------- Subpage hero ---------- */
.page-hero { position: relative; min-height: 16em; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center 25%; }
.page-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,40,70,.55), rgba(0,40,70,.05)); }
.page-hero-title { position: relative; z-index: 2; width: 100%; padding: 1.2em 0; }
.page-hero-title h1 { color: #fff; font-size: 1.9em; font-weight: 700; }

/* ---------- Grid / aside ---------- */
.grid { display: flex; gap: 2.5em; align-items: flex-start; }
.grid .content { flex: 1; min-width: 0; }
.aside { width: 18.5em; flex-shrink: 0; }
.panel {
  background: #eaf4fb;
  padding: 1.3em 1.4em;
  font-size: .875em;
}
.panel > h4 { color: #0078c0; text-transform: none; }
.vcard .org { font-weight: 700; }
.vcard .adr { margin-bottom: .8em; }
.table-listing { border-collapse: collapse; margin-bottom: .8em; }
.table-listing th { text-align: left; padding-right: 1em; font-weight: 400; }
.table-listing a { font-weight: 700; }
.e-mail { margin-bottom: .5em; }
.e-mail a { font-weight: 700; }
.panel hr { border: 0; border-top: 1px solid #c8dfee; margin: 1em 0; }
.calculate-route { font-weight: 700; display: block; }
.calculate-route span { display: block; font-weight: 400; font-size: .85em; color: #474745; }

/* ---------- Buttons ---------- */
.button, a.button {
  display: inline-block;
  background: #0078c0;
  color: #fff;
  font-weight: 700;
  font-size: .875em;
  padding: .75em 1.15em;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
}
.button:hover { background: #0069a8; text-decoration: none; }

/* ---------- Download lists ---------- */
.distributor-download-list { display: flex; flex-wrap: wrap; gap: 1em; margin: 1em 0 2em; }
.distributor-download-list li { flex: 0 0 calc(50% - .5em); max-width: 26em; }
.distributor-download-list a {
  display: block;
  background: #eaf4fb;
  padding: .9em 1.1em;
  font-weight: 700;
  color: #0078c0;
  border-left: 4px solid #0078c0;
}
.distributor-download-list a:hover { background: #dcecf7; text-decoration: none; }
.distributor-download-list a span { display: block; font-weight: 400; font-size: .8em; color: #474745; }

/* ---------- Products ---------- */
.distributor-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin: 2.5em 0 3em;
}
.distributor-visual img { width: 100%; display: block; }
.distributor-intro { padding: 1em 0; }
.distributor-intro h2 { font-size: 1.15em; margin-bottom: .5em; }
.distributor-intro p { font-size: .875em; }

.accordion { border-top: 1px solid #dcdcdc; }
.accordion-head {
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .8em .2em;
  border-bottom: 1px solid #dcdcdc;
  cursor: pointer;
  user-select: none;
}
.accordion-head h3 { margin: 0; color: #0078c0; font-size: .95em; font-weight: 700; }
.acc-icon {
  width: 0; height: 0; flex-shrink: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #0078c0;
  transition: transform .2s ease;
}
.accordion-head.open .acc-icon { transform: rotate(90deg); }
.accordion-body {
  padding: 1em .2em;
  border-bottom: 1px solid #dcdcdc;
  font-size: .875em;
}
.accordion-body img { margin-bottom: 1em; }
.accordion-body .download-list li { margin-top: .6em; }
.accordion-body .download-list a { font-weight: 700; }
.accordion-body .download-list a span { font-weight: 400; color: #474745; font-size: .85em; }

/* ---------- Timeline (hero teaser) ---------- */
.heroteaser {
  background: #0078c0;
  color: #fff;
  max-width: none;
  padding-top: 2.6em !important;
  padding-bottom: 2.6em;
  margin-top: 3.5em;
}
.heroteaser .group { max-width: 70.625em; margin: 0 auto; }
.heroteaser h2 { color: #fff; }
.heroteaser ul { margin-bottom: 1em; }
.heroteaser ul li { position: relative; padding-left: 1.1em; margin-bottom: .45em; font-size: .95em; }
.heroteaser ul li::before { content: "›"; position: absolute; left: 0; font-weight: 700; }
.heroteaser .button { background: #fff; color: #0078c0; }
.heroteaser .button:hover { background: #eaf4fb; }

/* ---------- Footer ---------- */
.footer-area {
  margin-top: 4em;
  position: relative;
  overflow: hidden;
  background: #0e3a5c;
  color: #cfe0ee;
}
.footer-area::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90%;
  background-image: url('../assets/deco/background_logo_full_grey.png');
  background-repeat: no-repeat;
  background-size: 60% auto;
  background-position: right -8% bottom -20%;
  z-index: 0;
  opacity: .06;
  pointer-events: none;
}
.footer-cols {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 2.5em;
  padding-top: 3em;
  padding-bottom: 2.4em;
}
.footer-col h4 {
  color: #fff;
  font-size: .95em;
  font-weight: 700;
  margin-bottom: 1em;
  padding-bottom: .6em;
  border-bottom: 2px solid #0078c0;
  display: inline-block;
}
.footer-logo img { max-height: 52px; width: auto; display: block; margin-bottom: 1em; }
.footer-about { font-size: .85em; line-height: 1.6; color: #a9c4da; margin-bottom: 1.1em; max-width: 22em; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .55em; }
.footer-links a, .footer-contact a { color: #cfe0ee; font-size: .875em; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: none; }
.footer-contact li { font-size: .875em; line-height: 1.55; color: #a9c4da; }
.footer-socials { display: flex; gap: .6em; }
.footer-socials .soc {
  display: flex; align-items: center; justify-content: center;
  width: 2.3em; height: 2.3em; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  transition: background .2s ease;
}
.footer-socials .soc:hover { background: #0078c0; }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8em;
  padding-top: 1.1em;
  padding-bottom: 1.1em;
}
.footer-bottom span { font-size: .8em; color: #8faec8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2em; }
.footer-nav a { color: #8faec8; font-size: .8em; }
.footer-nav a:hover { color: #fff; text-decoration: none; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5em;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: #0078c0; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 64em) {
  .distributor-products { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2em; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 48em) {
  html { font-size: 15px; }
  .grid { flex-direction: column; gap: 1.8em; }
  .aside { width: 100%; }
  .distributor-products { grid-template-columns: 1fr; gap: 1.6em; margin: 1.8em 0 2em; }
  .main > .wrap { padding-top: 2.4em; }

  /* Header + mobile nav */
  .header-main .wrap { flex-wrap: wrap; gap: .6em 1em; padding-top: .5em; padding-bottom: .6em; }
  .header-main-brand .logo img { max-height: 46px; }
  .nav-toggle { display: flex; }
  .header-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .header-nav.open { max-height: 20em; margin-top: .4em; }
  .header-nav a {
    width: 100%;
    padding: .7em 0;
    border-bottom: 1px solid #eee;
  }
  .header-nav a:hover, .header-nav a.active { border-bottom-color: #eee; }
  .header-main-title { display: none; }

  /* Hero */
  .welcome-stage, .welcome-content { min-height: 30em; }
  .welcome-content .wrap { justify-content: center; padding: 1.2em; }
  .welcome-panel { width: 100%; max-width: 26em; padding: 1.3em; }
  .welcome-swoosh { left: -30%; bottom: -55%; width: 90%; padding-bottom: 90%; border-width: 3.2em; }

  /* Subpage hero */
  .page-hero { min-height: 11em; }
  .page-hero-title h1 { font-size: 1.5em; }

  h2 { font-size: 1.25em; }

  /* Downloads / footer */
  .distributor-download-list li { flex-basis: 100%; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.6em; padding-top: 2.2em; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
}
