/* ==========================================================================
   RESPONSIVE
   Werbeagentur Falkner
   ========================================================================== */


/* ==========================================================================
   TABLET   bis 1200px
   ========================================================================== */
@media (max-width: 1200px) {
    .service-highlights {
        column-gap: 24px;
    }

    .service-highlight {
        padding-inline: 14px;
    }

    .service-highlight:not(:first-child)::before {
        left: -12px;
    }

	.scroll-controls {
        display: none;
    }
}


/* ==========================================================================
   TABLET / MOBILE   bis 991px
   ========================================================================== */
@media (max-width: 991px) {
    	
	.service-highlight__title {
        white-space: normal;
    }


    /* HEADER */
    .site-header {
        min-height: 90px;
        padding: 1.25rem 1.5rem;
    }

    .custom-logo {
        width: 180px;
    }


    /* NAVIGATION */
    .main-navigation {
        display: none;
    }

    .navbar-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .main-navigation.is-open {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        min-height: 100vh;
        padding: 7rem 1.5rem 3rem;
        background: #111;
    }

    .main-navigation.is-open .primary-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}



/* Footer – ab 1024px */
@media (min-width: 1024px) and (max-width: 1100px) {

     .reference-hero-title {
        transform: translateY(-35px);
    }
	
	
	.site-footer-contact {
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}
	 .tablet-break {
        display: inline;
    }
}



/* =========================
   Footer – Tablet 901–1100px
========================= */
@media (min-width: 901px) and (max-width: 1100px) {

    .site-footer-grid {
        grid-template-columns: 0.75fr 1.75fr;
        gap: 30px;
    }

    .site-footer-contact {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 24px;
    }    

    .site-footer-logos {
        gap: 28px;
    }

    .site-footer-logos > img {
        width: 110px;
    }

    .site-footer-logos a img {
        width: 55px;
    }

    .site-footer-contact p,
    .site-footer-contact a {
        font-size: 1em;
    }
}



/* =========================
   Footer – Tablet Porträt
========================= */
@media (min-width: 768px) and (max-width: 900px) {

    .site-footer-brand {
		transform: translateX(-25px);
	}
	
	
	.site-footer-content {
        padding: 60px 0 30px;
    }

    .site-footer-grid {
		grid-template-columns: 0.75fr 1.75fr;
		gap: 24px;
	}

    .site-footer-contact {
		grid-template-columns: 1.2fr 0.9fr;
		gap: 16px;
	}

	.tablet-break {
        display: inline;
    }
	

    .site-footer-brand h2 {
        font-size: 1.45rem;
        margin-bottom: 24px;
    }

    .site-footer-logos {
        gap: 28px;
    }

    .site-footer-logos > img {
        width: 110px;
    }

    .site-footer-logos a img {
        width: 56px;
    }

    .site-footer-contact h3 {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .site-footer-contact p {
        font-size: 1.0em;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }
	.site-footer-logos {
		gap: 22px;
	}

	.site-footer-logos > img {
		width: 100px;
	}

	.site-footer-logos a img {
		width: 50px;
	}
}


/* ==========================================================================
   tablet porträt  
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991px) {

    .main-navigation.is-open {
        padding-left: 3rem;
        padding-right: 3rem;
    }
	
	
	.falkner-hero-inner {
        padding-top: 0;
        justify-content: center;
        align-items: center;
    }

    .falkner-hero-title {
        width: 88%;
        max-width: 720px;
        margin: 1rem auto 0;
    }

    /* WEB + DESIGN auf Tablet wieder nebeneinander */
	 .logo-svg-wrapper {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;

		width: 100% !important;
		max-width: none !important;

		gap: 0 !important;
		white-space: nowrap;
	}

	.logo-svg-wrapper .text-line {
		display: block !important;
		flex: 0 0 auto !important;

		/* WEB größer */
		width: 50% !important;
		max-width: none !important;

		margin: 0 !important;
	}

	.logo-svg-wrapper .text-line.zwei {
		display: block !important;
		flex: 0 0 auto !important;

		/* DESIGN größer */
		width: 64% !important;
		max-width: none !important;

		/* deutlich näher an WEB */
		margin-left: -15% !important;
		margin-top: 0 !important;
	}



    .falkner-hero-line {
        width: 290px;
        margin-top: -8px;
        margin-left: 0;
    }

    .falkner-hero-post {
        margin-left: 0;
    }

    .falkner-hero-subtitle {
        margin-top: 0.5rem;
        font-size: 1rem;
    }
	.main-navigation.is-open .nav-link {
        border: 0;
    }
}



/* ==========================================================================
   MOBILE   bis 767px
   ========================================================================== */
@media (max-width: 767px) {

     .main-navigation.is-open .nav-info {
        display: none;
    }

    .main-navigation.is-open .menu-content {
        display: block;
    }

    .main-navigation.is-open .menu-main {
        padding-right: 0;
    }

	.main-navigation.is-open .menu-content {
		transform: translateY(-50px);
	}


	.main-navigation.is-open .nav-link {
		font-size: 1.75rem;
		line-height: 1.15;
	}
	
	
	/* Hero an tatsächlich sichtbare Smartphone-Höhe anpassen */
    .falkner-hero {
		min-height: 100svh;
		height: auto;
	}


    /* HERO BACKGROUND */
    .falkner-hero-background img {
        opacity: 0.65;
    }


    /* Seitenelemente wirklich ausblenden */
    .falkner-hero .falkner-hero-side-left,
    .falkner-hero .falkner-hero-scroll {
        display: none !important;
    }


    /* Hero-Inhalt etwas nach oben */
    .falkner-hero-inner {
        transform: translateY(-45px);
    }


    /* Untertitel auf Mobile ausblenden */
    .falkner-hero-subtitle {
        display: none;
    }


    /* KI & TYPO3 weiter nach links */
    .falkner-hero-post {
		margin-left: 5% !important;
		width: 95%;
		white-space: nowrap;
		font-size: clamp(3.2rem, 13.5vw, 4.4rem);
	}


    .falkner-hero-line {
        width: 290px;
        max-width: none;
        height: 4px;

        margin-top: -2px;
        margin-left: 0;
        margin-bottom: 25px;

        border-radius: 10px;
    }


    /* ==========================================================================
       SERVICE ICONS UNTEN
       ========================================================================== */
    .falkner-hero .footer-head {
		bottom: 20px !important;
	}

    .service-highlights {
		display: grid;
		grid-template-columns: repeat(3, max-content);

		justify-content: center;
		align-items: center;
		width: auto;
		max-width: none;
		margin: 0;
		column-gap: 32px;
		transform: translateX(15px);
	}

    .service-highlight {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0;
    }

    .service-highlight__link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }


    /* Texte ausblenden */
    .service-highlight__title {
        display: none;
    }


    /* Trennlinien ausblenden */
    .service-highlight:not(:first-child)::before {
        display: none;
    }


    /* TyrolBot */
    .service-highlight__icon-new {
        width: 92px;
        max-width: 100%;
        height: auto;
    }


    /* TYPO3 */
    .service-highlight__icon,
    .service-highlight__icon--typo3 {
        width: 28px;
        height: 28px;
    }


    /* Barrierefrei */
    .service-highlight__icon-font {
        top: 0;
        font-size: 28px;
        line-height: 1;
    }


    /* Accessibility-Button auf Mobile nicht fixed */
    .accessibility-side-button {
        position: absolute;
        left: 24px;
        bottom: 20px !important;
    }

	/* =========================
	   Section Intro
	========================= */
    .section-intro {
        padding: 60px 6px 35px;
    }

    .section-intro .leist_title-smaller {
        font-size: 2.3rem;
        line-height: 1.1;
    }

    .section-intro-line {
        max-width: 85%;
        margin-top: 16px;
        margin-bottom: 22px;
    }

    .section-intro .title-block {
        font-size: 1.25rem;
        line-height: 1.55;
        letter-spacing: 1px;
		color:#ddd;
    }

    .section-intro .title-block {
		width: 100%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-left: 8px;
		padding-right: 8px;
		text-align: center;
	}

    .section-intro .title-block p {
        text-align: center;
    }

   /* =========================
	   Footer
	========================= */	
	.site-footer-content {
        padding: 50px 0 25px;		
    }

    .site-footer-grid,
    .site-footer-contact {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .site-footer-logos {
        gap: 30px;
    }

	/* =========================
	   Scroll / To Top
	========================= */
    .scroll-controls {
        display: none;
    }

}



/* ==========================================================================
   SMALL MOBILE   bis 480px
   ========================================================================== */
@media (max-width: 480px) {
    /* ==========================================================================
       HEADER
       ========================================================================== */
    .site-header .custom-logo {
        width: 145px;
        max-width: none;
        height: auto;
    }


    /* Hamburger */
    .navbar-toggle {
        gap: 0.7rem;
        font-size: 1.15rem;
    }

    .toggle-icon {
        width: 34px;
        gap: 6px;
    }

    .toggle-line {
        height: 2px;
    }

    .toggle-line:nth-child(1) {
        width: 34px;
    }

    .toggle-line:nth-child(2) {
        width: 24px;
    }

    .toggle-line:nth-child(3) {
        width: 29px;
    }


    /* ==========================================================================
       HERO
       ========================================================================== */
    .falkner-hero-inner {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .falkner-hero-title {
        width: 100%;
        max-width: 100%;
    }


    /* WEB + DESIGN untereinander */
      /* WEB + DESIGN untereinander */
    .logo-svg-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    /* WEB */
    .logo-svg-wrapper .text-line {
        display: block !important;
        flex: none !important;
        width: 85% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    /* DESIGN */
    .logo-svg-wrapper .text-line.zwei {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: -2rem !important;
    }

	.section-intro .title-block {
        width: 100%;
        max-width: 100%;
        padding-left: 4px;
        padding-right: 4px;
        text-align: center;
    }

    .section-intro .title-block p {
        font-size: 0.85em;
        line-height: 1.5;
        text-align: left;
        hyphens: auto;
        -webkit-hyphens: auto;
        overflow-wrap: break-word;
    }

	.site-footer {
        padding: 2rem 0.5rem;
    }

}


/* =========================
	   Widget
========================= */
@media (max-width: 480px) {
    #wa-chat-widget #chat-toggle {
        bottom: 20px !important;
    }
}
