/*
Theme Name: Dialognetz Punktgenau – Elementor Child
Theme URI: https://www.dialognetz-punktgenau.de/
Description: Schlankes Child-Theme für Hello Elementor. Header und Footer entsprechen der bereitgestellten Dialognetz-Punktgenau-Vorlage; der Inhaltsbereich bleibt vollständig mit Elementor Free editierbar.
Author: OpenAI
Version: 1.6.0
Template: hello-elementor
Text Domain: dnpg-elementor
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --dnpg-orange: #ef7015;
  --dnpg-pink: #ed3f78;
  --dnpg-cyan: #00aecd;
  --dnpg-ink: #090909;
  --dnpg-white: #ffffff;
  --dnpg-menu-width: 1366px;
  --dnpg-footer-width: 1500px;
  --dnpg-logo-width-desktop: 800px;
  --dnpg-logo-width-tablet: 610px;
  --dnpg-logo-width-mobile: 450px;
  --dnpg-font-family: "Poppins", Arial, Helvetica, sans-serif;
  --dnpg-heading-font-family: "Poppins", Arial, Helvetica, sans-serif;
  --dnpg-body-font-weight: 400;
  --dnpg-heading-font-weight: 700;
  --dnpg-navigation-font-weight: 500;
  --dnpg-base-font-size: 16px;
  --dnpg-navigation-font-size: 16px;
  --dnpg-h1-font-size: 48px;
  --dnpg-h2-font-size: 40px;
  --dnpg-h3-font-size: 32px;
  --dnpg-h4-font-size: 26px;
  --dnpg-h5-font-size: 22px;
  --dnpg-h6-font-size: 18px;
  --dnpg-header-title-font-size: 52px;
  --dnpg-header-subtitle-font-size: 45px;
  --dnpg-footer-font-size: 17px;
  --dnpg-footer-menu-font-size: 16px;
  --dnpg-page-background: #ffffff;
  --dnpg-text-color: #090909;
  --dnpg-heading-color: #202124;
  --dnpg-link-color: #202124;
  --dnpg-link-hover-color: #ef7015;
  --dnpg-accent-color: #ef7015;
  --dnpg-navigation-color: #090909;
  --dnpg-header-label-background: #f8b900;
  --dnpg-header-label-color: #ffffff;
  --dnpg-footer-text-color: #ffffff;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dnpg-text-color);
  background: var(--dnpg-page-background);
  font-family: var(--dnpg-font-family);
  font-size: var(--dnpg-base-font-size);
  font-weight: var(--dnpg-body-font-weight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dnpg-menu-open { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--dnpg-link-color); }
a:hover, a:focus-visible { color: var(--dnpg-link-hover-color); }
h1, h2, h3, h4, h5, h6 {
  color: var(--dnpg-heading-color);
  font-family: var(--dnpg-heading-font-family);
  font-weight: var(--dnpg-heading-font-weight);
}
h1 { font-size: var(--dnpg-h1-font-size); }
h2 { font-size: var(--dnpg-h2-font-size); }
h3 { font-size: var(--dnpg-h3-font-size); }
h4 { font-size: var(--dnpg-h4-font-size); }
h5 { font-size: var(--dnpg-h5-font-size); }
h6 { font-size: var(--dnpg-h6-font-size); }
img { max-width: 100%; height: auto; }

.dnpg-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99999;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  background: #111;
  color: #fff;
  text-decoration: none;
}
.dnpg-skip-link:focus { transform: translateY(0); }

/* Elementor owns the complete area between header and footer. */
.dnpg-elementor-content,
.dnpg-site-main,
.dnpg-site-main > .elementor,
.dnpg-site-main > .elementor > .elementor-element {
  width: 100%;
  max-width: none;
}
.dnpg-site-main { margin: 0; padding: 0; }
.dnpg-site-main :where(.elementor-widget-text-editor, .elementor-button, input, textarea, select) {
  font-family: var(--dnpg-font-family);
}
.dnpg-site-main :where(h1, h2, h3, h4, h5, h6, .elementor-heading-title) {
  color: var(--dnpg-heading-color);
  font-family: var(--dnpg-heading-font-family);
  font-weight: var(--dnpg-heading-font-weight);
}

/* Header: logo area + navigation + optional hero text on the wave image. */
.dnpg-site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #fff;
  border-top: 1px solid #dfe3e7;
}
.dnpg-site-header.is-sticky {
  position: sticky;
  top: 0;
}
.admin-bar .dnpg-site-header.is-sticky { top: 32px; }

.dnpg-header-logo-area {
  position: relative;
  height: 227px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 24px;
  background: #fff;
}
.dnpg-brand {
  display: block;
  width: var(--dnpg-logo-width-desktop);
  max-width: calc(100% - 48px);
  line-height: 0;
  text-decoration: none;
  transform: translateX(-24px);
}
.dnpg-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 195px;
  object-fit: contain;
}

.dnpg-primary-nav {
  position: relative;
  z-index: 3;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.dnpg-menu-container { width: 100%; }
.dnpg-primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dnpg-primary-nav > .dnpg-menu-container > ul,
.dnpg-primary-nav > ul {
  width: min(calc(100% - 44px), var(--dnpg-menu-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.dnpg-primary-nav .menu-item { position: relative; }
.dnpg-primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  color: var(--dnpg-navigation-color);
  font-size: var(--dnpg-navigation-font-size);
  font-weight: var(--dnpg-navigation-font-weight);
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .18s ease;
}
.dnpg-primary-nav a:hover,
.dnpg-primary-nav a:focus-visible,
.dnpg-primary-nav .current-menu-item > a,
.dnpg-primary-nav .current-menu-ancestor > a { color: var(--dnpg-accent-color); }

.dnpg-primary-nav .menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.dnpg-primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 20;
  width: 280px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  background: #fff;
  border-top: 3px solid var(--dnpg-accent-color);
  box-shadow: 0 14px 32px rgba(0,0,0,.16);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.dnpg-primary-nav .menu-item:hover > .sub-menu,
.dnpg-primary-nav .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dnpg-primary-nav .sub-menu a {
  width: 100%;
  min-height: 0;
  padding: 11px 20px;
  font-size: max(11px, calc(var(--dnpg-navigation-font-size) - 2px));
  line-height: 1.25;
  white-space: normal;
}
.dnpg-primary-nav .sub-menu a:hover,
.dnpg-primary-nav .sub-menu a:focus-visible { background: #f5f5f5; }

.dnpg-header-wave {
  position: relative;
  width: 100%;
  height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("assets/images/dialognetz-punktgenau-wave.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.dnpg-header-wave--with-copy {
  height: clamp(360px, 27vw, 520px);
  background-size: 100% 100%;
}
.dnpg-header-wave-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dnpg-header-wave-title,
.dnpg-header-wave-subtitle {
  margin: 0;
  color: var(--dnpg-header-label-color);
  line-height: 1.05;
}
.dnpg-header-wave-title {
  position: relative;
  z-index: 2;
  font-size: clamp(32px, 2.7vw, var(--dnpg-header-title-font-size));
  font-weight: 800;
  text-transform: uppercase;
}
.dnpg-header-wave-subtitle {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: clamp(25px, 2.35vw, var(--dnpg-header-subtitle-font-size));
  font-weight: 400;
}
.dnpg-header-wave-title span,
.dnpg-header-wave-subtitle span {
  display: inline-block;
  padding: .08em .28em .1em;
  background: var(--dnpg-header-label-background);
  box-shadow: 5px 6px 6px rgba(0,0,0,.34);
}

.dnpg-menu-toggle {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 1002;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}
.dnpg-menu-icon,
.dnpg-menu-icon::before,
.dnpg-menu-icon::after {
  display: block;
  width: 27px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.dnpg-menu-icon { position: relative; }
.dnpg-menu-icon::before,
.dnpg-menu-icon::after { content: ""; position: absolute; left: 0; }
.dnpg-menu-icon::before { top: -8px; }
.dnpg-menu-icon::after { top: 8px; }
.dnpg-menu-toggle[aria-expanded="true"] .dnpg-menu-icon { background: transparent; }
.dnpg-menu-toggle[aria-expanded="true"] .dnpg-menu-icon::before { top: 0; transform: rotate(45deg); }
.dnpg-menu-toggle[aria-expanded="true"] .dnpg-menu-icon::after { top: 0; transform: rotate(-45deg); }

/* Footer: compact wave panel from the supplied reference. */
.dnpg-site-footer {
  width: 100%;
  padding: 0;
  background: var(--dnpg-page-background);
  color: var(--dnpg-footer-text-color);
  font-family: var(--dnpg-font-family);
}
.dnpg-footer-panel {
  width: 100%;
  min-height: 85px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  background-image: url("assets/images/dialognetz-punktgenau-wave.jpg");
  background-repeat: no-repeat;
  background-position: center 58%;
  background-size: cover;
}
.dnpg-footer-inner {
  width: min(calc(100% - 40px), var(--dnpg-footer-width));
  min-height: 85px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(520px, 1fr) auto;
  align-items: center;
  column-gap: 50px;
}
.dnpg-footer-inner--without-menu {
  grid-template-columns: 300px minmax(520px, 1fr);
}
.dnpg-footer-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: var(--dnpg-footer-font-size);
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
}
.dnpg-footer-contactline {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--dnpg-footer-font-size);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}
.dnpg-footer-contactline a { color: var(--dnpg-footer-text-color); text-decoration: none; }
.dnpg-footer-divider { margin: 0 5px; }
.dnpg-footer-domain { font-weight: 700; }
.dnpg-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 35px;
}
.dnpg-footer-nav a {
  color: var(--dnpg-footer-text-color);
  font-size: var(--dnpg-footer-menu-font-size);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.dnpg-footer-nav a:hover,
.dnpg-footer-nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1600px) {
  .dnpg-primary-nav > .dnpg-menu-container > ul,
  .dnpg-primary-nav > ul { gap: clamp(20px, 2.1vw, 40px); }
  .dnpg-primary-nav a { font-size: max(13px, calc(var(--dnpg-navigation-font-size) - 1px)); }

  .dnpg-footer-inner {
    width: min(calc(100% - 60px), 1360px);
    grid-template-columns: 285px 1fr auto;
    column-gap: 34px;
  }
  .dnpg-footer-inner--without-menu { grid-template-columns: 285px 1fr; }
  .dnpg-footer-identity,
  .dnpg-footer-contactline { font-size: max(12px, calc(var(--dnpg-footer-font-size) - 2px)); }
  .dnpg-footer-nav { font-size: max(12px, calc(var(--dnpg-footer-menu-font-size) - 1px)); }
  .dnpg-footer-nav ul { gap: 25px; }
}

@media (max-width: 1220px) {
  .dnpg-primary-nav > .dnpg-menu-container > ul,
  .dnpg-primary-nav > ul { gap: 18px; }
  .dnpg-primary-nav a { font-size: max(12px, calc(var(--dnpg-navigation-font-size) - 3px)); }

  .dnpg-footer-inner {
    width: min(calc(100% - 48px), 1120px);
    grid-template-columns: 250px 1fr;
    row-gap: 6px;
    padding: 14px 0;
  }
  .dnpg-footer-inner--without-menu { grid-template-columns: 250px 1fr; }
  .dnpg-footer-contactline { justify-content: flex-end; }
  .dnpg-footer-nav { grid-column: 1 / -1; }
  .dnpg-footer-nav ul { justify-content: center; gap: 28px; }
  .dnpg-footer-panel,
  .dnpg-footer-inner { min-height: 112px; }
}

@media (max-width: 980px) {
  .admin-bar .dnpg-site-header.is-sticky { top: 46px; }
  .dnpg-header-logo-area {
    height: 148px;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 72px 12px 18px;
  }
  .dnpg-brand {
    width: var(--dnpg-logo-width-tablet);
    max-width: 100%;
    transform: none;
  }
  .dnpg-brand img { width: 100%; height: auto; }
  .dnpg-menu-toggle { display: inline-flex; }
  .dnpg-primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    width: min(88vw, 440px);
    height: 100vh;
    padding: 105px 30px 40px;
    display: block;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(105%);
    background: #fff;
    box-shadow: -16px 0 35px rgba(0,0,0,.18);
    transition: transform .25s ease, visibility .25s ease;
  }
  .dnpg-primary-nav.is-open { visibility: visible; transform: translateX(0); }
  .dnpg-primary-nav > .dnpg-menu-container > ul,
  .dnpg-primary-nav > ul {
    width: 100%;
    display: block;
  }
  .dnpg-primary-nav a {
    width: 100%;
    min-height: 48px;
    padding: 5px 0;
    font-size: var(--dnpg-navigation-font-size);
  }
  .dnpg-primary-nav .sub-menu {
    position: static;
    width: 100%;
    padding: 0 0 8px 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
  }
  .dnpg-primary-nav .sub-menu a { min-height: 40px; padding: 5px 0; font-size: max(11px, calc(var(--dnpg-navigation-font-size) - 2px)); }
  .dnpg-header-wave { height: 105px; }
  .dnpg-header-wave--with-copy { height: 340px; }
  .dnpg-header-wave-copy { width: min(calc(100% - 36px), 760px); }
  .dnpg-header-wave-title { font-size: clamp(28px, 5vw, min(42px, var(--dnpg-header-title-font-size))); }
  .dnpg-header-wave-subtitle { font-size: clamp(22px, 4.3vw, min(34px, var(--dnpg-header-subtitle-font-size))); }

  .dnpg-footer-inner {
    width: min(calc(100% - 36px), 760px);
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 22px 0;
    text-align: center;
  }
  .dnpg-footer-inner--without-menu { grid-template-columns: 1fr; }
  .dnpg-footer-identity { align-items: center; white-space: normal; }
  .dnpg-footer-contactline { flex-wrap: wrap; white-space: normal; }
  .dnpg-footer-nav ul { flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
  .dnpg-footer-panel,
  .dnpg-footer-inner { min-height: 180px; }
}

@media (max-width: 600px) {
  .dnpg-header-logo-area { height: 118px; padding: 10px 62px 10px 12px; }
  .dnpg-brand { width: var(--dnpg-logo-width-mobile); }
  .dnpg-menu-toggle { right: 10px; }
  .dnpg-header-wave { height: 78px; }
  .dnpg-header-wave--with-copy { height: 230px; }
  .dnpg-header-wave-copy { width: calc(100% - 24px); }
  .dnpg-header-wave-title { font-size: clamp(23px, 7vw, min(34px, var(--dnpg-header-title-font-size))); }
  .dnpg-header-wave-subtitle { margin-top: 6px; font-size: clamp(18px, 5.7vw, min(28px, var(--dnpg-header-subtitle-font-size))); }
  .dnpg-header-wave-title span,
  .dnpg-header-wave-subtitle span { box-shadow: 3px 4px 5px rgba(0,0,0,.32); }
  .dnpg-primary-nav { width: 100%; padding: 90px 24px 34px; }

  .dnpg-footer-contactline { font-size: max(12px, calc(var(--dnpg-footer-font-size) - 3px)); line-height: 1.55; }
  .dnpg-footer-identity { font-size: max(12px, calc(var(--dnpg-footer-font-size) - 2px)); }
  .dnpg-footer-nav a { font-size: max(12px, calc(var(--dnpg-footer-menu-font-size) - 2px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
