﻿/* ==========================================================================
   Responsive: desktop narrowing
   Shared homepage/header adjustments for medium desktop widths.
   ========================================================================== */

@media (max-width: 1500px) {

  .main-nav a{
    margin:0 20px;
  }
  
  .hero-grid {
    display: flex;
    align-items: center;
  }

  .footer-inner img{
    display:inline-block;
  }

  .hero h1 {
    font-size: 58px;
  }

  .course-bottom:before {
    left: 226.8px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(470.4px, 714px);
  }

  .about-panel {
    padding-left: 58.8px;
  }

  .founder-photo--v2 {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1300px) {
  .hero-collage {
    width: min(40%, 537.6px);
    transform: scale(.86);
    transform-origin: right center;
  }
    
  .founder-card--v2 .wrapper {
    padding: 40px 0 40px 50px;
  }
}

@media (max-width: 900px) {
  .institute-hero-quote .quote-mark {
    display: block;
  }

  .kurz-signup-quote .quote-mark {
    display: block;
  }
  .kurz-profile-copy{
    padding:40px 0!important;
  }
}

@media (max-width: 560px) {
  .kurz-outcome-card {
    padding: 24px 20px 28px;
  }

  .kurz-outcome-head {
    align-items: flex-start;
    gap: 14px;
  }

  .kurz-outcome-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
  }

  .kurz-outcome-icon img {
    width: 27px;
    height: 27px;
  }

  .kurz-outcome-card h3 {
    font-size: 22px;
  }

  .kurz-arrow-list li {
    padding-left: 25px;
    font-size: 15px;
  }

  .kurz-schedule h3 {
    font-size: 23px;
  }

  .kurz-signup-quote {
    min-height: 0;
    padding: 0 44px;
    margin-bottom: 44px;
  }

  .kurz-signup-quote h2 {
    text-align: center;
  }

  .kurz-signup-quote .quote-mark {
    width: 34px;
  }

  .kurz-signup-quote .quote-left {
    left: 0;
    bottom:0;
  }

  .kurz-signup-quote .quote-right {
    right: 0;
    top: 0px;
  }

  .kurz-signup-cta h2 {
    margin-bottom: 26px;
  }
}

@media (max-width: 900px) {
  #pro-firmy-compliance-course {
    margin-top: 44px;
    padding-bottom: 62px;
  }

  .origin-signature{
    text-align:left;
  }

  #pro-firmy-compliance-course .course-panel {
    width: min(100%, calc(100vw - 28px));
    min-height: 0;
    padding: 34px 20px 38px;
    border-radius: 14px;
  }

  #pro-firmy-compliance-course .pro-firmy-course-title {
    font-size: clamp(31px, 8vw, 42px);
    line-height: 1.12;
  }

  #pro-firmy-compliance-course .pro-firmy-course-title span {
    white-space: normal;
  }

  #pro-firmy-compliance-course .pro-firmy-course-lead {
    margin-bottom: 38px;
    font-size: clamp(22px, 6vw, 30px);
  }

  #pro-firmy-compliance-course .pro-firmy-course-program h3 {
    font-size: clamp(24px, 6.6vw, 31px);
  }

  #pro-firmy-compliance-course .pro-firmy-course-program p:last-child {
    font-size: 15px;
  }

  #pro-firmy-compliance-course .kurz-meta {
    align-items: center;
    justify-content: center;
    margin-top: 26px;
  }

  #pro-firmy-compliance-course .course-bottom {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 32px;
    transform: none;
  }

  #pro-firmy-compliance-course .course-bottom:before {
    display: none;
  }
}

@media (max-width: 1050px) {
  body{
    margin:0;padding:0;
    padding:90px 0 0 0;
  }

  .container{
    width:100%;
    padding:0 13px;
    margin:0 auto;
  }
  .mobile-no-box-container{
    width:100%;
    padding:0 28px;
    margin:0 auto;
  }
  .container--full-width {
    width: 100%;
    padding: 0 13px;
    margin: 0 auto;
  }
  body.preferred-mobile-box .mobile-box-padding{
    padding-left:30px;
    padding-right:30px;
  }

  .institute-pillars {
    padding: 44px 0;
  }

  .institute-founder{
    padding: 0px 0;
  }  

  .founder-grid,
  .institute-pillars .kurz-modules-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .founder-grid {
    width: 98%;
    max-width: 1280px;
    padding: 0 1%;
  }

  .founder-media {
    grid-template-rows: auto auto;
  }

  .founder-card {
    padding: 32px 24px;
  }

  .founder-card {
    min-height: 0;
    margin-top: 0;
    border-right: 1px solid rgba(239, 188, 39, .65);
    border-radius: 18px;
  }

  .institute-founder h2,
  .institute-pillars h2 {
    font-size: 34px;
  }

  .founder-quote {
    min-height: 132px;
    padding: 24px 62px 20px;
    font-size: 25px;
  }

  .founder-quote:before,
  .founder-quote:after {
    font-size: 62px;
  }

  .founder-quote:before {
    left: 24px;
  }

  .founder-quote:after {
    right: 26px;
  }

  .founder-media img {
    height: auto;
    min-height: 0;
  }

  .institute-pillars .section-intro {
    max-width: 100%;
  }

  .institute-pillars .kurz-module-list {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .institute-pillars .kurz-module-list article:nth-child(5) {
    grid-column: auto;
  }

  .institute-founder--v2 .grid-area {
    grid-template-columns: 1fr;
  }

  .founder-photo-wrap {
    padding: 0 0 30px;
  }

  .founder-quote--v2 {
    justify-content: center;
  }

  .founder-quote--v2 h2 {
    text-align: center;
  }

  .founder-quote--v2 .wrapper {
    padding:60px;
  }

  .founder-card--v2 {
    min-height: 0;
    margin-top: 0;
    border: 1px solid rgba(239, 188, 39, .65);
    border-radius: 18px;
    padding:30px;
  }

  .founder-card--v2 .wrapper {
    width: auto;
    max-width: none;
    padding: 0px 0px;
  }
  .side-services .accordion-body{
    padding-left:0;
  }
}

@media (max-width: 900px) {
  .page-bg-subpage .site-header {
    position: fixed;
    top: 0;
  }

  .page-bg-subpage .header-inner {
  }

  .institute-hero,
  .institute-origin,
  .institute-trusted {
    padding: 44px 0;
  }

  .institute-hero-quote {
    max-width: 100%;
    margin: 24px 0 28px;
    padding: 28px 70px 18px;
  }

  .institute-hero-quote p {
    font-size: 15px;
  }

  .institute-hero-quote .quote-mark {
    width: 42px;
  }

  .institute-hero-quote .quote-left {
    left: 0px;
    bottom: 4px;
  }

  .institute-hero-quote .quote-right {
    right: 0px;
    top: 4px;
  }

  .institute-origin-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .institute-origin-panel {
    padding: 32px 24px;
  }

  .institute-values {
    grid-template-columns: 1fr;
  }

  .institute-values article {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 22px;
  }

  .institute-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .institute-icon:before {
    width: 31px;
    height: 31px;
  }

  .institute-origin-copy h2 {
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .institute-hero-quote {
    min-height: 0;
    padding: 25px 48px 22px;
  }

  .institute-hero-quote p {
    font-size: 14px;
  }

  .institute-hero-quote .quote-mark {
    width: 34px;
  }

  .institute-origin-panel {
    border-radius: 18px 0 18px 0;
  }

  .institute-values article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .institute-icon {
    width: 68px;
    height: 68px;
  }

  .institute-origin-copy h2,
  .institute-founder h2,
  .institute-pillars h2 {
    font-size: 28px;
  }

  .founder-quote {
    padding: 22px 0px 18px;
    font-size: 21px;
  }

  .founder-card h3 {
    font-size: 21px;
  }
}

/* ==========================================================================
   Responsive: tablet and mobile navigation
   Shared header, mobile menu, homepage layout stacking.
   ========================================================================== */

@media (max-width: 1200px) {
  body.page-bg-home {
    --hero-bg-size: 142vw;
    --hero-bg-x: 50%;
    --hero-bg-y: 0;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(6, 55, 66, .96);
    backdrop-filter: blur(10.08px);
  }

  .site-header:after {
    content: none;
  }

  .topline {
    flex-wrap: wrap;
    gap: 6.72px 11.76px;
    font-size: 11px;
  }

  .header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-height: 72.24px;
  }

  .brand img {
    width: 154.56px;
  }

  .nav-toggle {
    position: static;
    margin-left: auto;
    z-index: 85;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.2px;
    width: 38.64px;
    height: 36.96px;
    padding: 0;
    border: 0.84px solid rgba(237, 189, 49, .35);
    border-radius: 10.08px;
    background: rgba(3, 40, 50, .42);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 22.68px;
    height: 2.52px;
    border-radius: 839.16px;
    background: var(--gold);
  }

  .main-nav,
  .header-inner > .btn {
    display: none;
  }

  .cloneNav {
    position: fixed;
    inset: 0;
    z-index: 80;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 28, 35, .58);
  }

  .cloneNav.is-open {
    display: block;
  }

  .nav-mobile-easy {
    position: absolute;
    top: 0;
    right: -100%;
    display: block;
    width: min(88vw, 361.2px);
    min-height: 100%;
    padding: 0 0 26.88px;
    background: linear-gradient(180deg, #063f4a 0%, #052f3a 100%);
    box-shadow: -20.16px 0 58.8px rgba(0, 0, 0, .32);
    transition: right .22s ease;
  }

  .cloneNav.is-open .nav-mobile-easy {
    right: 0;
  }

  .button-nav-mobile-close {
    position: absolute;
    top: 21px;
    right: 20.16px;
    display: grid;
    place-items: center;
    width: 36.96px;
    height: 36.96px;
    border: 0.84px solid rgba(237, 189, 49, .55);
    border-radius: 50%;
    background: rgba(4, 38, 48, .72);
    cursor: pointer;
  }

  .button-nav-mobile-close span {
    position: absolute;
    width: 17.64px;
    height: 1.68px;
    border-radius: 839.16px;
    background: var(--gold);
  }

  .button-nav-mobile-close span:first-child {
    transform: rotate(45deg);
  }

  .button-nav-mobile-close span:last-child {
    transform: rotate(-45deg);
  }

  .nav-mobile-easy ul {
    width: 100%;
    padding: 73.92px 20.16px 21.84px;
    list-style: none;
    text-align: left;
  }

  .nav-mobile-easy li {
    display: block;
  }

  .nav-mobile-easy a {
    display: block;
    width: 84%;
    margin: 0;
    padding: 10.08px 0;
    border-bottom: 0.84px solid rgba(237, 189, 49, .24);
    color: #eaf6f7;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: .031em;
    text-decoration: none;
  }

  .nav-mobile-easy a.active {
    color: var(--gold);
  }

  .nav-mobile-easy li:last-child a {
    border-bottom: 0;
  }

  .nav-mobile-easy .mobile-nav-cta a {
    max-width: 100%;
    margin-top: 16.8px;
    padding: 11.76px 15.12px;
    border: 0;
    border-radius: 839.16px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 11.76px 26.88px rgba(21, 151, 212, .25);
  }

  .hero {
    min-height: 0;
    padding-top: 47.04px;
  }

  .hero-grid,
  .benefit-grid,
  .card-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .course-panel,
  .audience .container,
  .about-grid,
  .faq-inner {
    justify-items: center;
  }

  .hero-copy {
    padding-left: 0;
    text-align: center;
    padding:0;
    text-align:left;
  }

  .hero h1,
  .course-panel h2,
  .audience h2,
  .faq h2 {
    font-size: clamp(36px, 8vw, 53px);
    overflow-wrap: anywhere;
  }

  .lead {
    width: 100%;
    font-size: 18px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-ctas {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  .date {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-collage {
    justify-self: center;
    margin-top: 23.52px;
    transform-origin: center top;
  }

  .course-section {
    margin-top: 43.68px;
  }

  .course-panel {
    padding: 36.96px 21.84px 33.6px;
  }

  .benefit-grid {
    
    gap: 0;
    margin-bottom: 48.72px;
  }

  .chips {
    margin-bottom: 28.56px;
  }

  .chip-popover {
    position: fixed;
    left: 50%;
    top: 50%;
    width: min(552px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    overflow: auto;
    transform: translate(-50%, -50%);
  }

  .chip-popover:before {
    display: none;
  }

  .course-bottom {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28.56px;
    transform: none;
  }

  .course-bottom:before {
    display: none;
  }

  .about-grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .card-grid {
    width: 100%;
    max-width: 760px;
    grid-template-columns: 1fr;
  }

  .info-card {
    text-align: center;
  }

  .card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .quote-copy {
    min-height: auto;
    padding: 0 20.16px 33.6px;
  }

  .quote-copy h2 {
    max-width: none;
    padding-top: 0;
    font-size: clamp(32px, 7vw, 44px);
    text-align:center;
    padding:0;
  }

  .quote-mark {
    display: none;
  }

  .about-photo {
    height: 361.2px;
  }

  .about-panel {
    min-height: 0;
    margin: 0 15.12px;
    padding: 43.68px 25.2px;
    border-radius: 15.12px;
  }

  .trusted {
    padding-top: 67.2px;
  }
}

/* ==========================================================================
   Responsive: homepage hero composition
   Repositions collage and copy before the full mobile layout.
   ========================================================================== */

@media (max-width: 1100px) {
    .hero-collage {
        position:absolute;
        top: 3%;
        right: -25vw;
        width: 60%;
        margin:0;
    }
    .hero-copy{
        position:absolute;
        top:0;
        left:0;
        width: 65%;
        margin:0;
    }
    .item-rocket, .item-esg{display:none;}
}

/* ==========================================================================
   Responsive: phone layout
   Shared buttons, homepage sections, FAQ and footer.
   ========================================================================== */

@media (max-width: 700px) {
  body {
    font-size: 14px;
    padding:90px 0 0 0;
  }

  .topline {
    display: none;
  }

  .btn {
    width: auto;
    min-height: 42px;
    padding: 13px 14px 13px 14px;
    flex-wrap: nowrap;
    gap: 6px;
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    text-align: unset;
  }

  .hero-ctas .btn {
    font-size: 12px;
    line-height: 1.2;
  }

  .btn-arrow:before,
  .btn-icon-svg {
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 64px;
  }

  body.page-bg-home {
    --hero-bg-size: 160vw;
    --hero-bg-x: 5%;
    --hero-bg-y: 50px;
  }

  .hero-grid {
    display: block;
    min-height: 570px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 38px;
    text-align: left;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(34px, 9.6vw, 38px);
    line-height: 1.05;
  }

  .lead {
    max-width: 350px;
    margin-top: 78px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .hero-ctas {
    align-items: stretch;
    flex-direction: column;
    gap: 10.08px;
    width: min(312px, 100%);
    margin: 28.56px auto 0;
  }

  .hero-ctas .btn-arrow {
    justify-content: flex-start;
    text-align: left;
  }
  
    .hero-ctas {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        width: min(294px, 100%);
        margin: 35px auto 0;
        padding: 0;
    }
    
    .hero-ctas .btn-arrow {
        justify-content: flex-start;
        text-align: left;
    }
    
    .hero-ctas .btn {
        font-size: 14px;
        line-height: 1.18;
    }
    
    .hero-ctas .btn-dark {
        justify-content: center;
        max-width: 210px;
        margin: 0 auto;
    }

  .btn-arrow {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-ctas .btn-dark {
    justify-content: center;
  }

  .date {
    width: 100%;
    max-width: 312px;
    margin-top: 24px;
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: left;
  }

  .hero-collage {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: min(310px, 82.67vw);
    aspect-ratio: 310 / 365;
    margin-top: 0;
    transform: none;
    pointer-events: none;
  }

  .course-section {
    margin-top: 0px;
  }

  .collage-base {
    left: 20%;
    bottom: 21.92%;
    width: 80.65%;
  }

  .item-phone { left: 26.77%; top: 8.77%; width: 9.03%; }
  .item-hash { left: 38.71%; top: 8.77%; width: 9.03%; }
  .item-whistle { left: 17.42%; top: 26.03%; width: 30.97%; }
  .item-esg { right: 0; top: 8.22%; width: 29.68%; }
  .item-rocket { right: -1.61%; top: 49.32%; width: 29.03%; }
  .item-home { left: 23.87%; top: 56.44%; width: 11.61%; }

  .course-panel h2 {
    max-width: 315px;
    margin-bottom: 43.68px;
    font-size: 25px;
    line-height: 1.15;
  }

  .course-panel h2 span {
    white-space: normal;
  }

  .course-panel h2 span:after {
    display:none;
  }

  .course-panel h3 {
    font-size: 17px;
  }

  .chip {
    white-space: normal;
  }

  .chip em {
    left: 0;
    width: min(235.2px, calc(100vw - 45.36px));
    transform: translate(0, 6.72px);
  }

  .chip:hover em,
  .chip:focus em {
    transform: translate(0, 0);
  }

  .audience {
    padding-top: 63.84px;
  }

  .info-card {
    min-height: auto;
    padding: 23.52px 20.16px 25.2px;
  }

  .about-photo {
    height: 252px;
  }

  .quote-copy {
    padding-right: 11.76px;
    padding-left: 11.76px;
  }

  .about-panel {
    margin-right: 11.76px;
    margin-left: 11.76px;
  }

  .about-panel h2 {
    font-size: 31px;
  }

  .logo-track {
    gap: 0;
    animation-duration: 18s;
  }

  .logo-slot {
    flex-basis: 184px;
    width: 184px;
    height: 122px;
    padding: 0 18px;
  }

  .logo-track img.logo-gcp { max-width: 108px; max-height: 58px; }
  .logo-track img.logo-kb { max-width: 102px; max-height: 40px; }
  .logo-track img.logo-hbo { max-width: 104px; max-height: 43px; }
  .logo-track img.logo-saint { max-width: 118px; max-height: 49px; }
  .logo-track img.logo-lidl { max-width: 52px; max-height: 52px; }
  .logo-track img.logo-unicredit { max-width: 122px; max-height: 32px; }
  .logo-track img.logo-tipsport { max-width: 122px; max-height: 35px; }

  .faq-question {
    padding-left: 16px;
    padding-right: 40px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 15.12px;
    font-size: 14px;
  }

  .faq-question.open + .faq-answer {
    padding: 13.44px 15.12px 16.8px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 24px;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
  }

  .footer-inner p:last-child {
    display: flex;    
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: start;
    gap: 5px 8px;
  }

  .footer-inner img {
    width: 48.72px;
  }
}

/* ==========================================================================
   Responsive: narrow homepage hero
   ========================================================================== */

@media (max-width: 600px) {
    .hero-collage{
      right: 0;
      top: -60px;
    }
    
    .hero h1 {
        max-width: 180px;
        font-size: 28px;
        line-height: 1.05;
    }
    .hero h1 span {
        display:block;
    }    
    .hero h1 span br {
        display:none;
    }
}

/* ==========================================================================
   Responsive: smallest homepage viewport
   ========================================================================== */

@media (max-width: 420px) {
    .brand img {
        width: 192px;
    }
    
    .hero-copy{
      padding:5px 0;
    }
    
    .hero h1 {
        max-width: 200px;
        font-size: 34px;
        line-height: 1;
        margin:40px 0 0 0;
    }
    
    .lead {
        max-width: 320px;
        margin-top: 30px;
        font-size:21px;
    }
        
    .hero-collage {
        right: -19%;
        top: -6vw;
        width: 72vw;
    }
    
    .course-section {

    }
    
    .course-panel {
        padding: 22px 7px 33px;
    }
    

}

/* ==========================================================================
   Responsive: kurz page tablet layout
   Applies to reusable kurz-* section classes.
   ========================================================================== */

@media (max-width: 1200px) {
  .mobile-sticky-header .site-header {
    position: fixed;
    top: 0;
  }

  .mobile-sticky-header .header-inner {
    min-height: 72px;
  }

  .kurz-hero {
    padding: 42px 0 48px;
  }

  .kurz-hero-grid,
  .kurz-profile-grid,
  .kurz-modules-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .kurz-hero-grid {
    grid-template-columns: 1fr;
  }

  .kurz-hero-copy {
    padding-right: 0;
  }

  .kurz-hero-copy h1,
  .kurz-profile-copy h2,
  .kurz-outcomes h2,
  .kurz-lecturers h2,
  .kurz-modules h2,
  .kurz-steps h2,
  .kurz-faq h2 {
    font-size: clamp(32px, 7vw, 46px);
  }

  .kurz-hero-media {
    height: auto;
    min-height: 0;
    margin-right: 0;
    aspect-ratio: 16 / 9;
  }

  .kurz-feature-grid,
  .kurz-outcome-grid,
  .kurz-lecturer-grid,
  .kurz-module-list,
  .kurz-schedule,
  .kurz-profile-content {
    grid-template-columns: 1fr;
  }

  .kurz-feature-grid {
    gap: 34px;
  }

  .kurz-profile-media {
    position: relative;
    min-height: 0;
    height: auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
    aspect-ratio: 4 / 3;
  }

  .kurz-profile-media img {
    position: absolute;
    inset: 0;
  }

  .kurz-profile-copy {
    padding-left: 0;
  }

  .kurz-profile-content {
    display: block;
  }

  .kurz-tooltip-card {
    position: fixed;
    left: 50% !important;
    top: 50% !important;
    right: auto;
    bottom: auto;
    width: min(552px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    margin-top: 0;
    overflow: auto;
    transform: translate(-50%, -50%);
  }

  .kurz-tooltip-card:before {
    display: none;
  }

  .kurz-tooltip-card.is-visible {
    transform: translate(-50%, -50%);
  }

  .kurz-modules-grid {
    gap: 26px;
  }

  .kurz-outcome-grid {
    gap: 30px;
    margin-top: 38px;
  }

  .kurz-outcome-card {
    min-height: 0;
  }

  .kurz-schedule {
    gap: 38px;
  }

  .kurz-schedule article {
    max-width: none;
  }

  .kurz-signup-quote {
    width: min(100%, 760px);
    min-height: 155px;
    margin-bottom: 58px;
    padding: 10px 88px 0;
  }

  .kurz-signup-quote h2,
  .kurz-signup-cta h2 {
    font-size: clamp(32px, 7vw, 46px);
    text-align:center;
  }

  .kurz-signup-quote .quote-mark {
    display: block;
    width: 52px;
  }

  .kurz-signup-quote .quote-left {
    left: 0px;
    bottom: 0px;
  }

  .kurz-signup-quote .quote-right {
    right: 0px;
  }

  .terms-page .kurz-hero {
    padding-top: 24px;
  }

  .terms-page .kurz-hero-media {
    height: auto;
    aspect-ratio: 16 / 5;
  }

  .privacy-page .kurz-hero {
    padding-top: 24px;
  }

  .privacy-page .kurz-hero-media {
    height: auto;
    aspect-ratio: 16 / 5;
  }

  .kontakt-hero {
    padding-top: 24px;
  }

  .kontakt-hero .kurz-hero-media {
    height: auto;
    aspect-ratio: 16 / 5;
  }

  .terms-content {
    left: 0;
    width: 100%;
    margin-left: 0;
    padding-right: 0;
  }

  .privacy-content {
    width: 100%;
    font-size: 22px;
  }

  .privacy-block h2 {
    gap: 18px;
    font-size: 32px;
  }

  .privacy-copy {
    padding-left: 0;
  }

  .kontakt-hero-details {
    margin-top: 28px;
  }

  .contact-form-grid,
  .contact-team-grid,
  .more-lecturers-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    gap: 20px 34px;
  }

  .profile-popover,
  .team-card:nth-child(2) .profile-popover {
    left: 0;
    top: calc(100% + 16px);
    width: min(516px, calc(100vw - 48px));
  }

  .profile-popover:before,
  .team-card:nth-child(2) .profile-popover:before {
    left: 46px;
  }
}

/* ==========================================================================
   Responsive: kurz page phone layout
   Applies to reusable kurz-* section classes.
   ========================================================================== */

@media (max-width: 700px) {
  .page-bg-subpage .topline {
    display: none;
  }

  .page-bg-subpage .brand img {
    width: 192px;
  }

  .page-bg-subpage .nav-toggle {
    position: fixed;
    top: 18px;
    right: 12px;
  }

  .kurz-hero {
    padding: 28px 0 35px;
  }

  .kurz-hero-copy h1 {
    max-width: calc(100vw - 28px);
    font-size: 29px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .kurz-hero-copy h1 span {
    display: block;
  }

  section[class^="kurz-"] p,
  section[class^="kurz-"] li,
  section[class^="kurz-"] h2,
  section[class^="kurz-"] h3 {
    max-width: calc(100vw - 28px);
    overflow-wrap: anywhere;
  }

  .kurz-hero-copy p,
  .kurz-feature p,
  .section-intro,
  .kurz-profile-copy p,
  .kurz-dash-list li,
  .kurz-list li,
  .kurz-module-list li {
    font-size: 15px;
  }

  .kurz-meta {
    flex-direction: row;
    align-items: flex-start;
  }

  .kurz-meta span {
    justify-content: flex-start;
    white-space: normal;
  }

  .kurz-meta span:before {
    min-width: 0;
    flex: 0 0 auto;
  }

  .terms-page .kurz-hero {
    padding-top: 10px;
    padding-bottom: 32px;
  }

  .terms-page .kurz-hero-copy h1 {
    padding-top: 0;
  }

  .terms-page .kurz-hero-media {
    aspect-ratio: 16 / 8;
  }

  .privacy-page .kurz-hero {
    padding-top: 10px;
    padding-bottom: 32px;
  }

  .privacy-page .kurz-hero-copy h1 {
    padding-top: 0;
  }

  .privacy-page .kurz-hero-media {
    aspect-ratio: 16 / 8;
  }

  .kontakt-hero {
    padding-top: 10px;
    padding-bottom: 32px;
  }

  .kontakt-hero .kurz-hero-copy h1 {
    padding-top: 0;
  }

  .kontakt-hero .kurz-hero-media {
    aspect-ratio: 16 / 8;
  }

  .kurz-terms {
    padding-bottom: 70px;
  }

  .privacy-section {
    padding-bottom: 70px;
  }

  .terms-content {
    width: calc(100vw - 42px);
    max-width: calc(100vw - 42px);
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .terms-content h2,
  .terms-content p,
  .terms-content li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .terms-content h2 {
    font-size: 24px;
  }

  .privacy-content {
    width: calc(100vw - 42px);
    max-width: calc(100vw - 42px);
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .privacy-lead {
    margin-bottom: 28px;
  }

  .privacy-block {
    margin-top: 38px;
  }

  .privacy-block h2 {
    gap: 12px;
    font-size: 24px;
  }

  .privacy-block h2 span {
    flex-basis: 28px;
  }

  .privacy-copy p,
  .privacy-copy li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .privacy-copy .terms-list {
    gap: 14px;
  }

  .privacy-copy .terms-list li {
    padding-left: 32px;
  }

  .kontakt-hero-details h2,
  .contact-form-copy h2,
  .kurz-contact-team h2,
  .kurz-contact-info h2 {
    font-size: 24px;
  }

  .kontakt-hero-details {
    font-size: 20px;
  }

  .kontakt-hero-details p {
    font-size: 19px;
  }

  .kontakt-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .kurz-contact-form,
  .kurz-contact-team,
  .kurz-contact-info {
    padding-bottom: 64px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    font-size: 14px;
  }

  .field-name,
  .field-phone,
  .field-email,
  .field-message,
  .consent,
  .consent-error,
  .contact-submit,
  .contact-success {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .contact-form-copy p,
  .team-card p,
  .profile-link,
  .contact-info-grid p {
    font-size: 15px;
  }

  .team-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 22px;
  }

  .team-card img {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }

  .team-card h3,
  .more-lecturers-grid h3 {
    font-size: 20px;
  }

  .profile-popover {
    font-size: 14px;
    padding: 36px 24px 24px;
  }

  .more-lecturers-title {
    margin-top: 58px;
  }

  .terms-block + .terms-block {
    margin-top: 44px;
  }

  section[class^="kurz-"] .btn {
    max-width: 100%;
    white-space: normal;
  }

  .kurz-benefits,
  .kurz-outcomes,
  .kurz-lecturers,
  .kurz-modules,
  .kurz-signup,
  .kurz-steps,
  .kurz-faq,
  .kurz-profile {
    padding: 20px 0;
  }

  .kurz-feature h2,
  .kurz-lecturer-grid h3,
  .kurz-module-list h3 {
    font-size: 24px;
  }

  .kurz-tooltip-card {
    padding: 22px 20px;
  }

  .kurz-lecturer-grid {
    gap: 34px;
    margin: 36px auto 38px;
  }

  .kurz-module-list {
    gap: 30px;
  }

  .kurz-steps h2:after {
    display: none;
  }
}

@media (max-width: 900px) {
  .institute-hero-quote .quote-mark {
    display: block;
  }

  .kurz-signup-quote .quote-mark {
    display: block;
  }
}

@media (max-width: 560px) {
  .kurz-outcome-card {
    padding: 24px 20px 28px;
  }

  .kurz-outcome-head {
    align-items: flex-start;
    gap: 14px;
  }

  .kurz-outcome-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
  }

  .kurz-outcome-icon img {
    width: 27px;
    height: 27px;
  }

  .kurz-outcome-card h3 {
    font-size: 22px;
  }

  .kurz-arrow-list li {
    padding-left: 25px;
    font-size: 15px;
  }

  .kurz-schedule h3 {
    font-size: 23px;
  }

  .kurz-signup-quote {
    min-height: 0;
    padding: 0 44px;
    margin-bottom: 44px;
  }

  .kurz-signup-quote h2 {
    text-align: center;
  }

  .kurz-signup-quote .quote-mark {
    width: 34px;
  }

  .kurz-signup-quote .quote-left {
    left: 0;
    bottom: 0px;
  }

  .kurz-signup-quote .quote-right {
    right: 0;
    top: 0px;
  }

  .kurz-signup-cta h2 {
    margin-bottom: 26px;
  }

  .footer-inner a{
    display:block;
  }
  /**/
  .founder-quote--v2 .wrapper:before{
    bottom:50px;
    left:0;
  }
  .founder-quote--v2 .wrapper:after {
    top:30px;
    right:0;
  }
}

@media (max-width: 900px) {
  #pro-firmy-risks {
    padding: 42px 0 50px;
  }

  #pro-firmy-risks h2,
  #pro-firmy-invest-return h2 {
    font-size: clamp(32px, 8vw, 44px);
  }

  #pro-firmy-risks .pro-firmy-risks-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #pro-firmy-risks .pro-firmy-risk-card {
    min-height: 0;
    padding: 26px 22px 30px;
  }

  #pro-firmy-risks p {
    font-size: 16px;
  }

  #pro-firmy-invest-return {
    padding: 48px 0 58px;
  }

  #pro-firmy-invest-return h2 {
    margin-bottom: 42px;
  }
}

@media (max-width: 700px) {
  .error-404-visual {
    height: 72px;
  }

  .error-404-visual img {
    width: 72vw;
  }

  .error-404-section {
    padding: 58px 0 0;
  }

  .error-404-section h1 {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .error-404-copy {
    margin-bottom: 36px;
    font-size: 17px;
    line-height: 1.32;
  }

  .error-404-home {
    min-height: 50px;
    padding: 12px 18px;
    font-size: 15px;
    white-space: normal;
  }

  .error-404-home img {
    width: 26px;
    height: 26px;
  }

  .error-404-note {
    margin-top: 18px;
    font-size: 17px;
  }

  .error-404-contact {
    padding: 72px 0 56px;
  }

  .error-404-contact .btn {
    min-height: 50px;
    padding: 14px 20px;
    font-size: 15px;
    white-space: normal;
  }
}

