/*
Theme Name: PLUGO German Website
Theme URI: https://plugo.de/
Author: PLUGO Europe GmbH
Description: Wartbare, datenschutzfreundliche WordPress-Umsetzung der deutschen PLUGO.io-Website.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: plugo-de-clone
*/

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/poppins-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/poppins-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --plugo-green: #00d06a;
  --plugo-dark: #343434;
  --plugo-mid: #454545;
  --plugo-muted: #737474;
  --plugo-blue: #edf5ff;
  --plugo-white: #fff;
  --header-height: 80px;
  --shell: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  color: var(--plugo-dark);
  background: var(--plugo-white);
  font: 400 16px/1.875 "Poppins", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--plugo-green); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #006f3a; outline-offset: 3px; }
h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { font-family: "Poppins", Arial, sans-serif; }
h2 { margin-bottom: 40px; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.4; font-weight: 600; }
h3 { font-size: 1.25rem; line-height: 1.5; font-weight: 500; }
p { margin-bottom: 1rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 99999;
  transform: translateY(-150%); padding: 10px 16px; background: #fff; color: #111;
}
.skip-link:focus { transform: translateY(0); }
.content-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding-block: 60px; text-align: center; }
.section-kicker { margin: -26px 0 36px; font-size: .95rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 150px; padding: 13px 27px; border: 0; border-radius: 999px;
  cursor: pointer; font-weight: 500; text-align: center;
}
.button--green, .nav-pill--green { color: #fff; background: var(--plugo-green); }
.button--green:hover, .button--green:focus-visible, .nav-pill--green:hover { color: var(--plugo-green); background: var(--plugo-dark); }

.site-header {
  position: relative; z-index: 1000; height: var(--header-height);
  background: rgba(255,255,255,.98); box-shadow: 0 2px 5px rgba(0,0,0,.04);
}
.site-header__inner {
  width: min(calc(100% - 48px), var(--shell)); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 142px; height: 43px; object-fit: contain; }
.primary-navigation { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.primary-navigation > a { font-size: 14px; line-height: 20px; font-weight: 400; white-space: nowrap; }
.primary-navigation > a:not(.nav-pill):hover { color: var(--plugo-green); }
.primary-navigation .nav-pill { min-width: 130px; padding: 12px 24px; border-radius: 999px; color: #fff; text-align: center; }
.primary-navigation .nav-pill--dark { padding-left: 30px; background: var(--plugo-dark); }
.primary-navigation .nav-pill--dark:hover { color: var(--plugo-green); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle__label {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.menu-toggle > span:not(.menu-toggle__label) { display: block; height: 2px; margin: 5px 0; background: var(--plugo-dark); }

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid; align-items: center;
  background: var(--plugo-dark) url("assets/images/banner.jpg") bottom center / cover no-repeat;
}
.hero__content { padding-bottom: 3vh; }
.hero h1 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.4; font-weight: 600; color: #fff; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--plugo-green); }

.media-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; padding: 5px; background: var(--plugo-mid); }
.media-pair figure { margin: 0; overflow: hidden; background: var(--plugo-mid); }
.media-pair img { width: 100%; height: 100%; object-fit: cover; }

.video-stage {
  min-height: 100vh; position: relative; display: grid; align-items: center;
  background: var(--plugo-mid) url("assets/images/video-background.jpg") center / cover no-repeat;
}
.video-stage__overlay { position: absolute; inset: 0; background: rgba(52,52,52,.74); }
.video-stage__inner { position: relative; display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 70px; color: #fff; }
.video-stage h2 { margin: 0 0 22px; color: #fff; text-align: left; }
.video-stage p { margin: 0; color: #fff; font-size: 1.15rem; }
.video-play { width: 88px; height: 88px; justify-self: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.video-play img { width: 74px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.2)); }

.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px; }
.steps-grid article { position: relative; padding-top: 22px; border-top: 3px solid #e8e8e8; }
.steps-grid article:first-child { border-color: var(--plugo-green); }
.steps-grid article:first-child::before { content: ""; position: absolute; left: 0; top: -3px; width: 56px; border-top: 3px solid var(--plugo-green); }
.steps-grid h3 { margin: 0 0 12px; font-size: .95rem; font-weight: 400; }
.steps-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.steps-grid p { margin: 14px 0 0; font-size: .88rem; line-height: 1.6; }

.why-plugo { background: var(--plugo-blue); }
.why-plugo__card { padding: 60px; background: #fff; box-shadow: 0 12px 34px rgba(36,60,90,.08); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 42px 68px; text-align: left; }
.benefits-grid article { display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start; }
.benefits-grid img { width: 52px; height: 52px; object-fit: contain; }
.benefits-grid h3 { margin: 0 0 8px; font-size: 1.05rem; }
.benefits-grid p { margin: 0; color: var(--plugo-muted); font-size: .9rem; line-height: 1.7; }

.specifications__header { padding-bottom: 32px; }
.specifications__header h2 { margin-bottom: 10px; }
.specifications__header p { margin: 0; }
.spec-row { min-height: 390px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); background: var(--plugo-mid); }
.spec-row__content { display: grid; place-items: center; padding: 55px; color: #fff; }
.spec-row__content > div { width: min(100%, 520px); }
.spec-row__content h3 { margin-bottom: 18px; color: #fff; font-size: 2.2rem; font-weight: 300; }
.spec-row__content h3::after { content: ""; display: block; width: 54px; margin-top: 12px; border-bottom: 3px solid var(--plugo-green); }
.spec-row__content p { color: #fff; line-height: 1.75; }
.spec-row__image { min-height: 390px; background-position: center; background-size: cover; }

.pricing { background: var(--plugo-blue) url("assets/images/plans-bg.jpg") bottom center / cover no-repeat; }
.pricing-grid { width: min(100%, 820px); margin-inline: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; text-align: left; }
.pricing-card { padding: 38px; background: #fff; box-shadow: 0 9px 26px rgba(35,68,106,.06); }
.pricing-card h3 { color: var(--plugo-muted); letter-spacing: .22em; text-align: center; }
.pricing-card h3 span { display: inline-block; font-size: .7em; letter-spacing: .08em; }
.pricing-card__lead { color: var(--plugo-green); text-align: center; }
.pricing-card select { display: block; min-width: 150px; margin: 18px auto 30px; padding: 10px 36px 10px 14px; border: 1px solid #ccc; background: #fff; }
.pricing-card ul { display: grid; gap: 20px; margin: 35px 0 0; padding: 0; list-style: none; }
.pricing-card li { position: relative; padding-left: 30px; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--plugo-green); font-weight: 700; }

.app-download { background: var(--plugo-blue); }
.app-download__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px; }
.app-download__links img { width: auto; height: 64px; }

.locations { background: #fff; }
.locations-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 30px; margin-bottom: 42px; }
.locations-grid article { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.locations-grid img { width: 70px; height: 70px; object-fit: contain; }
.locations-grid h3 { margin: 0; font-size: .9rem; font-weight: 400; }

.video-dialog { width: min(90vw, 860px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.video-dialog::backdrop { background: rgba(0,0,0,.78); }
.video-dialog__close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; color: var(--plugo-dark); font-size: 2rem; cursor: pointer; }
.video-dialog__consent { padding: 56px; text-align: center; }
.video-dialog__consent h2 { margin-bottom: 22px; }
.video-dialog__consent a { text-decoration: underline; }
.video-dialog__frame { aspect-ratio: 16 / 9; background: #000; }
.video-dialog__frame:empty { display: none; }
.video-dialog__frame iframe { width: 100%; height: 100%; border: 0; }

.site-footer { padding: 55px 0 48px; background: #fff; }
.site-footer__inner { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; gap: 18px 50px; align-items: center; }
.site-footer__logo { width: 142px; }
.footer-navigation { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-navigation a { font-size: .875rem; }
.site-footer__copyright { grid-column: 1 / -1; margin: 0; color: var(--plugo-muted); font-size: .75rem; }
.site-footer__bar { height: 10px; background: var(--plugo-green); }

.inner-page { min-height: 70vh; background: #fff; }
.inner-page__header { padding: 72px 0; background: var(--plugo-blue); }
.inner-page__header h1 { margin: 0; color: var(--plugo-dark); font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.25; font-weight: 300; }
.prose { padding-block: 64px 80px; }
.prose > * { max-width: 960px; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 2em; margin-bottom: .7em; }
.prose h1:first-child, .prose h2:first-child { margin-top: 0; }
.prose h1 { font-size: 2.5rem; line-height: 1.25; font-weight: 500; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.3rem; }
.prose a { color: #006f3a; text-decoration: underline; text-underline-offset: 2px; }
.prose ol, .prose ul { padding-left: 1.5rem; }
.prose li { margin-bottom: .65rem; }
.prose details { max-width: 960px; margin-bottom: 14px; border: 1px solid #dce5ef; border-radius: 6px; background: #fff; }
.prose summary { padding: 18px 22px; cursor: pointer; font-weight: 600; }
.prose details > div { padding: 0 22px 20px; color: var(--plugo-muted); }

.contact-page { padding-bottom: 80px; background: var(--plugo-blue); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 46px; margin-top: 60px; }
.contact-form-card, .contact-details { padding: 44px; background: #fff; box-shadow: 0 12px 34px rgba(36,60,90,.08); }
.contact-form-card h2 { font-size: 2rem; }
.contact-form p { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 500; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #b8c3cc; border-radius: 3px; background: #fff;
}
.contact-form textarea { resize: vertical; }
.privacy-check label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .85rem; line-height: 1.6; font-weight: 400; }
.privacy-check a { color: #006f3a; text-decoration: underline; }
.form-honeypot { position: absolute !important; left: -10000px !important; }
.form-message { padding: 14px 18px; border-left: 4px solid; }
.form-message--success { border-color: #087f42; background: #edf9f1; }
.form-message--error { border-color: #a30d20; background: #fff1f2; }
.contact-details { display: grid; gap: 34px; align-content: start; }
.contact-details > div { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; }
.contact-details img { grid-row: 1 / span 2; width: 52px; height: 52px; object-fit: contain; }
.contact-details h2 { margin: 0 0 6px; font-size: 1.2rem; }
.contact-details p { margin: 0; line-height: 1.7; }

@media (max-width: 1120px) {
  .primary-navigation { gap: 18px; }
  .primary-navigation .nav-pill { min-width: 110px; padding-inline: 18px; }
}

@media (max-width: 960px) {
  :root { --header-height: 70px; }
  body.admin-bar .site-header { top: 46px; }
  .site-header__inner { width: min(calc(100% - 32px), var(--shell)); }
  .menu-toggle { display: block; margin-left: auto; border-radius: 4px; background: var(--plugo-green); }
  .primary-navigation {
    position: absolute; left: 0; right: 0; top: var(--header-height);
    display: none; padding: 24px; background: #fff; box-shadow: 0 12px 22px rgba(0,0,0,.12);
  }
  .primary-navigation.is-open { display: grid; gap: 14px; }
  .primary-navigation a { display: block; padding: 9px 12px; }
  .primary-navigation .nav-pill { min-width: 0; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
  .video-stage__inner { grid-template-columns: 1fr 2.5fr; gap: 36px; }
  .why-plugo__card { padding: 45px; }
  .spec-row__content { padding: 38px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .content-shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding-block: 42px; }
  h2 { margin-bottom: 30px; font-size: 2rem; }
  .media-pair { gap: 4px; padding: 4px; }
  .video-stage__inner { grid-template-columns: 1fr; text-align: center; }
  .video-stage h2 { text-align: center; }
  .video-play { margin-bottom: 12px; }
  .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .benefits-grid { grid-template-columns: 1fr; }
  .why-plugo__card { padding: 34px; }
  .spec-row { min-height: 0; }
  .spec-row__content, .spec-row__image { min-height: 320px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-navigation { justify-content: center; }
  .site-footer__copyright { grid-column: auto; }
  .contact-form-card, .contact-details { padding: 32px; }
}

@media (max-width: 520px) {
  .site-logo img { width: 112px; height: auto; }
  .hero { background-position: 56% bottom; }
  .hero__content { align-self: start; padding-top: 16vh; padding-bottom: 0; }
  .hero h1 { font-size: 1.65rem; line-height: 1.45; }
  .media-pair { grid-template-columns: 1fr; }
  .video-stage { min-height: 76vh; background-position: center; }
  .video-stage__inner { gap: 18px; }
  .video-stage h2 { margin-bottom: 14px; font-size: 1.55rem; }
  .video-stage p { font-size: .9rem; line-height: 1.7; }
  .video-play, .video-play img { width: 62px; height: 62px; }
  .steps-grid { grid-template-columns: 1fr; gap: 42px; }
  .steps-grid article { width: min(100%, 300px); margin-inline: auto; }
  .why-plugo__card { width: calc(100% - 24px); padding: 28px 22px; }
  .benefits-grid article { grid-template-columns: 48px 1fr; gap: 14px; }
  .benefits-grid img { width: 42px; height: 42px; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-row__content { min-height: 300px; padding: 30px 24px; }
  .spec-row__image { min-height: 300px; }
  .spec-row__content h3 { font-size: 1.6rem; }
  .pricing-card { padding: 28px 24px; }
  .app-download__links { flex-direction: column; gap: 18px; }
  .app-download__links img { height: 52px; }
  .locations-grid { grid-template-columns: 1fr; gap: 38px; }
  .locations-grid img { width: 62px; height: 62px; }
  .video-dialog__consent { padding: 48px 22px 32px; }
  .inner-page__header { padding: 46px 0; }
  .prose { padding-block: 42px 58px; }
  .contact-grid { margin-top: 34px; }
  .contact-form-card, .contact-details { padding: 26px 20px; }
  .contact-form-card h2 { font-size: 1.55rem; }
  .contact-details > div { grid-template-columns: 46px 1fr; }
  .contact-details img { width: 40px; height: 40px; }
  .footer-navigation { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .footer-navigation a { padding-block: 6px; }
}

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