/*
Theme Name: dynasys 2026
Author: dynasys rebuild
Description: Neu implementiertes, schlankes Theme für den forensisch sauberen Wiederaufbau.
Version: 0.1.0
Text Domain: dynasys-2026
*/

:root {
  --dyna-blue: #0a3c81;
  --dyna-blue-light: #18468c;
  --dyna-ink: #414747;
  --dyna-muted: #f1f3f2;
  --dyna-pink: #ea018b;
  --dyna-max: 1550px;
  --dyna-gutter: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--dyna-ink); background: #fff; font-family: "Pero W01 Regular", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--dyna-blue); text-decoration-thickness: .08em; text-underline-offset: .14em; }
a:hover, a:focus { color: var(--dyna-pink); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.site-shell, .dyna-container { width: 100%; margin: 0 auto; padding-right: 15px; padding-left: 15px; }
.site-header { position: fixed; z-index: 1030; top: 0; right: 0; left: 0; height: 140px; background: #fff; }
.site-header__inner { display: flex; min-height: 140px; align-items: center; justify-content: space-between; gap: 2rem; }
.site-branding { display: flex; flex-wrap: nowrap; align-items: baseline; color: var(--dyna-blue); }
.site-title { color: var(--dyna-blue); font-size: 4.3rem; font-weight: 400; letter-spacing: 0; line-height: 1; text-decoration: none; }
.site-description { color: var(--dyna-blue); font-size: 1.3rem; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--dyna-blue); font-weight: 700; }
.primary-menu, .footer-menu, .sidebar-menu, .post-categories { display: flex; margin: 0; padding: 0; list-style: none; }
.primary-menu { align-items: center; gap: 1.75rem; }
.primary-menu a { color: var(--dyna-ink); font-size: 1rem; font-weight: 400; text-decoration: none; text-transform: none; }
.primary-menu .current-menu-item > a, .primary-menu a:hover { color: var(--dyna-blue); }
.primary-menu li { position: relative; }

.site-main { padding: 0; }
.content { margin-top: 140px; min-height: calc(100vh - 190px); }
.site-main--with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 21rem); gap: clamp(2rem, 6vw, 7rem); }
.entry-header { margin: 0 0 1rem; }
.entry-title { margin: 0 0 10px; color: var(--dyna-ink); font-size: 2.5em; font-family: "Pero W01 Regular", Arial, Helvetica, sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.1; }
.entry-meta { margin-top: 1rem; color: #6a7070; font-size: .88rem; }
.entry-content { font-size: 1.2rem; line-height: 1.3; }
.entry-content h2 { color: var(--dyna-ink); font-size: 1.4rem; line-height: 1.4rem; margin-bottom: 25px; }
.entry-content h3 { color: var(--dyna-ink); line-height: 1.1; }
.entry-content .wp-block-image { overflow: hidden; max-height: 200px; margin: 0 0 1.2rem; border-radius: 1rem; }
.entry-content .wp-block-button__link, .button { display: inline-block; padding: .8rem 1.35rem; border: 1px solid var(--dyna-blue); background: var(--dyna-blue); color: #fff; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-button__link:hover, .button:hover { background: var(--dyna-pink); border-color: var(--dyna-pink); color: #fff; }
.img-einleser { height: 25vh; margin-bottom: 3rem; overflow: hidden; border-radius: 1rem; background: var(--dyna-muted); }
.img-einleser img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.news-hero { background-image: url('assets/images/dyna_megafon_header_aktuell.jpg'); background-position: center; background-size: cover; }
.dyna-layout { display: grid; gap: 1.875rem; padding-bottom: 3rem; }
.dyna-sidebar-column { order: 2; }
.dyna-content-column { order: 1; }
.dyna-news-grid { display: grid; gap: 3rem 30px; }
.dyna-news-card { min-height: 0; background: #fff; }
.dyna-news-image { display: block; height: 25vh; border-radius: 1rem 1rem 0 0; background: #f1f3f2 center/cover no-repeat; }
.dyna-news-card-body { padding: 1.25rem 0; }
.dyna-news-title { margin: 0 0 1rem; font-size: 1.6rem; line-height: 1.1; }
.dyna-news-title a { color: #414747; text-decoration: none; }
.read-more { display: block; margin-top: 1rem; color: #18468c; }

.page-hero { margin-bottom: clamp(2.5rem, 6vw, 6rem); padding: clamp(2rem, 5vw, 5rem); background: var(--dyna-muted); }
.page-hero .entry-header { margin: 0; }
.product-grid, .posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.product-card, .post-card { background: var(--dyna-muted); padding: 1.5rem; }
.product-card h2, .post-card h2 { margin: 0 0 .75rem; color: var(--dyna-blue); font-size: 1.45rem; line-height: 1.1; }
.product-card a, .post-card a { text-decoration: none; }
.sidebar { align-self: start; }
.sidebar__title { margin: 0 0 1rem; color: var(--dyna-blue); font-size: 1rem; text-transform: uppercase; }
.sidebar-menu, .sidebar-menu .sub-menu { display: block; margin: 0; padding: 0; list-style: none; }
.sidebar-menu > .menu-item-has-children > .sub-menu { margin-top: 10px; }

.site-footer { padding: 2rem 0; background: #1d1d1b; color: #fff; }
.site-footer a { color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-menu { flex-wrap: wrap; gap: .6rem 1.5rem; }
.footer-menu a { font-size: .86rem; text-decoration: none; }
.footer-menu a:hover { color: #fff; text-decoration: underline; }

/* Historical start-page sections. The images are individually validated theme assets. */
.dyna-home { margin-top: 140px; overflow-x: hidden; }
.dyna-home article { min-height: 0; }
.dyna-home .entry-content { font-size: inherit; }
.dyna-home .wp-block-code { display: none; }
.cd-section { display: flex; position: relative; z-index: 2; align-items: center; justify-content: center; height: 500px; min-height: calc(100vh - 190px); margin-bottom: 40px; border-radius: 1rem; background-position: center; background-repeat: no-repeat; background-size: cover; color: #fff; }
.cd-section h2, .cd-section h3, .cd-section a, .cd-section a:hover { color: #fff !important; }
.cd-section--bg-fixed { background-attachment: fixed; }
.max-width-sm { max-width: 80%; }
.text-inhalt { text-align: center; }
.text-inhalt h1, .text-inhalt h2 { display: flex; align-self: center; margin-bottom: 10px; font-size: 6rem; }
.text-inhalt h3, .text-inhalt h4 { margin-bottom: 50px; font-size: 3rem; }
.text-inhalt p { font-family: "Pero W01 SemiLight", Arial, Helvetica, sans-serif; font-size: 1.5em; font-weight: 400; line-height: 1.2em; }
#SECTION_0 { display: none; height: auto; min-height: auto; background-color: #ea018b; text-align: center; }
#SECTION_1 { background-image: url('assets/images/dynasys.jpg'); }
#SECTION_2 { background-color: #3555ac; }
#SECTION_3 { background-image: url('assets/images/produkte.jpg'); }
#SECTION_4 { background-color: #74c832; }
#SECTION_5 { background-image: url('assets/images/support.jpg'); }
#SECTION_6 { background-color: #32b886; }
#SECTION_7 { background-image: url('assets/images/dyna_konzeptbild_handshake_2023.jpg'); }
#SECTION_8 { background-color: #344570; }
#SECTION_9 { background-image: url('assets/images/dyna_konzeptbild_jobs_springer_2023.jpg'); }
#SECTION_10 { background-color: #8aacd0; }

@media (min-width: 768px) { .site-shell, .dyna-container { max-width: 698px; } .dyna-layout { grid-template-columns: 25% 75%; } .dyna-sidebar-column { order: 1; } .dyna-content-column { order: 2; } }
@media (min-width: 992px) { .site-shell, .dyna-container { max-width: 952px; } .img-einleser { height: 48vh; } .dyna-content-column { max-width: 66.666667%; } }
@media (min-width: 768px) { .dyna-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .site-shell, .dyna-container { max-width: 1400px; } }
@media (min-width: 1650px) { .site-shell, .dyna-container { max-width: 1550px; } }

@media (max-width: 1199px) {
  .site-header__inner { position: relative; min-height: 140px; }
  .menu-toggle { display: block !important; position: absolute; z-index: 1001; top: 50%; right: 0; width: 50px; height: 39px; margin: 0; padding: 0; transform: translateY(-50%); border: 0; border-radius: 0; background: transparent; color: transparent; font-size: 0; }
  .menu-toggle::before { position: absolute; top: 0; left: 0; width: 40px; height: 7px; border-radius: 7px; background: #1d1d1b; box-shadow: 0 16px #1d1d1b, 0 32px #1d1d1b; content: ""; }
  .menu-toggle[aria-expanded="true"] { background: transparent; color: #414747; font-size: 1.2rem; }
  .primary-navigation { display: flex; position: fixed; z-index: 999; top: 0; bottom: 0; left: -100%; width: 80%; min-width: 140px; max-width: 450px; padding: 5px 20px; background: #f1f3f2; transition: all .2s ease-out; }
  .primary-navigation.is-open { left: 0; }
  .site-main--with-sidebar { grid-template-columns: 1fr; }
  .product-grid, .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header__inner { gap: 1rem; }
  .site-description { width: 100%; }
  .product-grid, .posts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) { .custom-logo-wrapper.site-branding { align-items: flex-start !important; } .custom-logo-wrapper .custom-logo-link.site-title { font-size: 3rem; } .custom-logo-wrapper .claim.site-description { width: auto; margin-top: -.25rem; font-size: 1.1rem; } .text-inhalt h1, .text-inhalt h2 { font-size: 3.5rem; } .text-inhalt h3, .text-inhalt h4 { font-size: 2rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
