/* ===== AGENTUR PAGE STYLES ===== */

/* Padding – from system.min.css */
.padding {
    padding-left: 20px;
    padding-right: 20px;
}

/* Stats Bar – after header */
.agentur-stats-bar {
    background: #231F20;
}
.agentur-stats-bar .stats-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 0;
}
.agentur-stats-bar .stat-item {
    flex: 1;
    text-align: center;
    /* border-right: 1px solid rgba(255, 255, 255, 0.1); */
    padding: 10px 20px;
}
.agentur-stats-bar .stat-item:last-child {
    border-right: none;
}
.agentur-stats-bar .stat-number {
    display: block;
    font-family: 'GT Walsheim Pro', 'GTWalsheimProMedium', sans-serif;
    font-size: 55px;
    font-weight: 700;
    color: #00beff;
    line-height: 1;
    margin-bottom: 6px;
}
.agentur-stats-bar .stat-label {
    display: block;
    font-size: 19px;
    font-weight: 400;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Section – uses services hero-section class */
section.hero-section {
    background-image: none;
    background-image: url(/assets/image/agentur/header.webp);
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
}
.hero-section .headBox {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 60px;
}
.hero-section .headBoxLeft {
    width: 55%;
}
.hero-section .headBoxLeft h2 {
    font-size: 3.6rem;
    color: #fff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    line-height: 1;
}
.hero-section .headBoxLeft h2 span {
    color: #00beff;
}
.hero-section .headBoxLeft .hero-subtitle {
   font-size: 25px;
    color: rgb(0 190 255);
    line-height: 1.2;
    max-width: 90%;
    font-weight: bold;
    text-transform: uppercase;
}
.hero-section .headBoxRight {
    width: 45%;
}
.hero-section .headBoxRight img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: lighten;
}

/* SEO hidden – visually hidden but accessible to search engines */
.seo-hidden {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}

/* Intro Section */
.agentur-intro {
    padding-top: 80px;
    padding-bottom: 60px;
}
.agentur-intro .intro-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
}
.agentur-intro .intro-col {
    flex: 1;
    min-width: 280px;
}
.agentur-intro h2 {
    font-size: 2.6rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}
.agentur-intro h2 span {
    color: #00beff;
}
.agentur-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary, #888);
}

/* Team Image Section */
.agentur-team-images {
    padding-top: 40px;
    padding-bottom: 80px;
}
.agentur-team-images .image-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}
.agentur-team-images .image-card {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 260px;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}
.agentur-team-images .image-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    mix-blend-mode: lighten;
}
.agentur-team-images .image-card .image-placeholder {
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    color: #555;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* CTA Section */
.agentur-cta {
    background-color: #00beff;
    padding-top: 60px;
    padding-bottom: 60px;
}
.agentur-cta h2 {
    font-size: 2.8rem;
    color: #000;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    line-height: 1;
}
.agentur-cta p {
    font-size: 1.2rem;
    color: #000;
    margin: 0 0 30px 0;
    max-width: 600px;
}
.agentur-cta .cta-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 16px 36px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.agentur-cta .cta-btn:hover {
    background: #1a1a1a;
}

/* Units Section */
header.ag-units-header {
    display: block;
    margin-bottom: 16px;
}
.ag-units-container {
    margin-top: 64px;
}
.ag-units-row {
    display: flex;
    gap: 3rem;
}
h2.ag-units-main-title {
    font-size: 36px;
      font-weight: bold;
    display: block;
}
h2.ag-unit-name {
    font-size: 55px;
    margin-bottom: 0px;
}
img.ag-lead-img-demad {
    width: 200px;
height: 66px;
}
.ag-unit-lead {
    background: #ffffff;
}
h3.ag-lead-name {
    font-size: 18px;
    margin-bottom: 0px;
}
p.ag-lead-role {
    margin-bottom: 0;
    font-size: 14px;
    color: #939393;
}
a.ag-lead-link {
    font-size: 16px;
    color: #00BEFF;
}
.ag-lead-info {
    padding: 20px;
    margin-top: 32px;
}
img.ag-lead-img {
    height: 340px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 32px;
}
h2.ag-unit-name.ag-color-demad-color {
    color: #00beff;
}
h2.ag-unit-name.ag-color-demad-color span {
    color:#231f20;
}
/*  */
span.ag-locs-tagline {
    font-size: 36px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    line-height: 1.2;
}
h2.ag-locs-title {
    font-size: 55px;
    margin-bottom: 0px;
    width: 60%;
    margin-bottom: 16px;
}
.ag-locs-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1%;
}
article.ag-locs-card {
    flex: 0 0 32.3%;
    position: relative;
}
.ag-locs-overlay {
    bottom: 0;
    margin: auto;
    position: absolute;
    width: 100%;
    height: 85%;
    left: 0;
    top: auto;
    background: linear-gradient(1deg, #2D2D2D 14.14%, rgba(0, 0, 0, 0) 69.14%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
}
h3.ag-card-city {
    font-size: 36px;
    color: white;
    margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
}

p.ag-card-tags {
    font-style: normal;
    font-weight: 350;
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
    color: #00BEFF;
    padding-left: 10px;
    padding-right: 10px;
}

/*  */
.ag-locs-container {
    padding-top: 80px;
    padding-bottom: 100px;
}
.ag-net-container {
    background-color: #000000;
    color: white;
}
.ag-net-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 3rem;
}
.ag-net-content, .ag-net-media {
    flex: 1;
}
span.ag-net-tagline {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    text-transform: uppercase;
    color: #00BEFF;
    display: block;
    margin-bottom: 30px;
}
h2.ag-net-title {
    font-style: normal;
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
}
/*  */
.ag-hist-wrapper {
    padding-top: 75px;
    padding-bottom: 75px;
}

header.ag-hist-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
span.ag-hist-subtitle {
    font-size: 36px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
h2.ag-hist-main-title {
    font-size: 55px;
    margin-bottom: 0px;
    width: 60%;
    margin-bottom: 16px;
}
h3.ag-hist-highlight {
    font-size: 22px;
    padding-left: 15px;
    border-left: 3px solid #00beff;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Timeline scroll wrapper */
.ag-dev-timeline-scroll {
    position: relative;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
}

/* Horizontal scroll wrapper container for the timeline */
.ag-dev-timeline-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    justify-content: space-between;
    padding-top: 60px;
    position: relative;
}

/* Individual list item columns representing milestones */
.ag-dev-step {
    width: 150px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
    word-break: break-word;
    flex-shrink: 0;
}

/* Scrollbar aesthetic rules for modern browsing viewports */
.ag-dev-timeline-list::-webkit-scrollbar {
    height: 6px;
}
.ag-dev-timeline-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
.ag-dev-timeline-list::-webkit-scrollbar-thumb {
    background: #00bfff;
    border-radius: 3px;
}

/* Timeline graphics – line, dot, arrow – always visible */
.ag-dev-timeline-graphics {
    position: absolute;
    border-top: 2px solid #00beff;
    width: 100%;
    top: 15px;
    left: 10px;
    right: 10px;
    pointer-events: none;
    z-index: 2;
}
svg#ag-dev-timeline-dot {
    position: absolute;
    top: -12px;
    left: 0;
}
svg#ag-dev-timeline-arrow {
    position: absolute;
    top: -11px;
    right: 0;
}
li.ag-dev-step time {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}
li.ag-dev-step strong {
    font-size: 14px;
    font-weight: 200;
    color: #939393;
    white-space: break-spaces;
    text-align: center;
    line-height: 1;
    min-height: 40px;
    margin-top: 10px;
}
.ag-dev-timeline-wrapper {
    background-color: #1E2123;
    padding-top: 64px;
    padding-bottom: 128px;
}
h2.ag-dev-main-title {
    font-size: 55px;
    color: #00beff;
    margin-bottom: 40px;
}
h2.ag-dev-main-title span {
    color: #fff;
    display: block;
}
p.ag-dev-step-description {
    background-color: #343753;
    width: 100%;
    color: white;
    font-size: 14px;
    padding: 15px;
    white-space: break-spaces;
    text-align: center;
    height: 100%;
    min-height: 100px;
    border: 1px solid #55596F;
}
li.ag-dev-step {
    position: relative;
}
svg#ag-dev-timeline-line {
    position: absolute;
    top: -60px;
    z-index: 3;
}
header.ag-values-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

span.ag-values-tagline {
    font-size: 36px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    line-height: 1.2;
}
h2.ag-values-main-title {
    font-size: 55px;
    margin-bottom: 0px;
    width: 60%;
    margin-bottom: 16px;
}

.ag-values-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 32px;
}
.ag-value-card {
   flex: 1 1 calc(33.333% - 2rem);
    min-width: 280px;
    box-sizing: border-box;
    background: white;
    padding: 20px;
    border: 1px solid #D9D9D9;
}
.ag-value-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}
.ag-value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #939393;
}
/*  */

.ag-values-wrapper {
    padding-top: 80px;
}

.ag-values-footer-row {
    margin-top: 72px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4rem;
}
.ag-values-intro-text, .ag-values-cta-box {
    flex: 1;
}

h4.ag-cta-title {
    font-size: 22px;
}
.ag-cta-text {
    padding-left: 15px;
    border-left: 3px solid #00beff;
    margin-bottom: 30px;
}
a.ag-cta-button {
    font-family: inherit;
    font-size: 21px;
    padding: 0.5rem 40px;
    border: none;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    background: #00beff;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    display: block;
    text-align: center;
}
.hero-image-wrapper {
    opacity: 0;
}

/* Tablet: 2 columns */
@media only screen and (max-width: 1024px) {
    .ag-value-card {
        flex: 1 1 calc(50% - 2rem);
    }
    h2.ag-values-main-title {
        font-size: 42px;
        width: 100%;
    }
}

/* Mobile: 1 column */
@media only screen and (max-width: 667px) {
         h3.ag-card-city {
    font-size: 24px;
}
    .ag-value-card {
        flex: 1 1 100%;
    }
    h2.ag-values-main-title {
        font-size: 30px;
    }
   article.ag-locs-card {
    flex: 0 0 100%;
    position: relative;
            margin-bottom: 20px;
}
.ag-locs-media img {
    width: 100%;
}
}

/* ===== RESPONSIVE ===== */
@media only screen and (max-width: 1250px) {
    .ag-dev-timeline-list {
        overflow-x: auto;
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }
    .ag-dev-timeline-graphics {
        width: auto;
    }
}    
@media only screen and (max-width: 1024px) {
   
    .ag-units-row {
    display: flex;
    gap: 3rem;
    flex-direction: column;
}
.ag-net-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 3rem;
    align-items: center;
}
h2.ag-unit-name,
h2.ag-locs-title,
h2.ag-net-title,
h2.ag-hist-main-title,
h2.ag-dev-main-title {
    font-size: 42px;
}
h2.ag-locs-title,
h2.ag-hist-main-title,
h2.ag-values-main-title {
    width: 100%;
}
span.ag-locs-tagline,
span.ag-net-tagline,
span.ag-hist-subtitle,
span.ag-values-tagline {
    font-size: 28px;
}
}

@media only screen and (max-width: 867px) {
    .hero-image-wrapper {
    opacity: 1;
}
    section.hero-section {
    background-image: none;    
}

    .ag-values-footer-row {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 4rem;
}
    .hero-section .headBox {
        flex-direction: column;
        padding-top: 50px;
    }
    .hero-section .headBoxLeft {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .hero-section .headBoxRight {
        width: 100%;
    }
    .hero-section .headBoxLeft .hero-subtitle {
        max-width: 100%;
    }
    .hero-section .headBoxRight img {
        height: auto;
    }
    .agentur-stats-bar .stats-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .agentur-stats-bar .stat-item {
        flex: 1 1 calc(50% - 1px);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 16px 10px;
    }
    .agentur-stats-bar .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
    .agentur-stats-bar .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .agentur-team-images .image-card {
        flex: 1 1 calc(50% - 1rem);
    }
    .agentur-intro .intro-grid {
        gap: 2rem;
    }
}

@media only screen and (max-width: 667px) {
     header {
        padding-top: 30px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-around;
    }

    .hero-section .headBoxLeft h2 {
        font-size: 2.2rem;
    }
    .hero-section .headBoxLeft .hero-subtitle {
        font-size: 1.05rem;
    }
    .agentur-stats-bar .stat-number {
        font-size: 2rem;
    }
    .agentur-stats-bar .stat-label {
        font-size: 0.8rem;
    }
    .agentur-stats-bar .stat-item {
        flex: 1 1 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .agentur-stats-bar .stat-item:last-child {
        border-bottom: none;
    }
    .agentur-intro h2 {
        font-size: 2rem;
    }
    .agentur-team-images .image-card {
        flex: 1 1 100%;
    }
    .agentur-cta h2 {
        font-size: 2rem;
    }
    .hero-section .headBox {
        padding-left: 16px;
        padding-right: 16px;
    }
    h2.ag-unit-name,
    h2.ag-locs-title,
    h2.ag-net-title,
    h2.ag-hist-main-title,
    h2.ag-dev-main-title {
        font-size: 30px;
    }
    h2.ag-locs-title,
    h2.ag-hist-main-title,
    h2.ag-values-main-title {
        width: 100%;
    }
    span.ag-locs-tagline,
    span.ag-net-tagline,
    span.ag-hist-subtitle,
    span.ag-values-tagline {
        font-size: 20px;
    }
}

/* Dark mode support */
@media screen and (prefers-color-scheme: dark) {
    .agentur-team-images .image-card {
        background: #0a0a0a;
    }
    .agentur-team-images .image-card .image-placeholder {
        background: #1a1a1a;
        color: #444;
    }
    .agentur-cta {
        background-color: #00beff;
    }
     .agentur-cta {
        background-color: #00beff;
    }
    .ag-unit-lead {
    background: #000000;
}
.ag-value-card {
    background: #000000;
    border: 1px solid #1c1c1c;
}
}
